The Function Module WB2_CREATE_NEW_PO_ONLINE (Global Trade: create new PO) is a standard Function Module in SAP ERP and is part of the function group WB2_BATCH_INPUT_SERVICE within the package WB2B_ACTION.
Function Module | WB2_CREATE_NEW_PO_ONLINE |
Short Text | Global Trade: create new PO |
Function Group | WB2_BATCH_INPUT_SERVICE |
Package | WB2B_ACTION |
Module Type | Remote-Enabled |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_BEDAT | TYPE | BEDAT | Purchase Order Date | |
I_BSART | TYPE | BSART | Order type (Purchasing) | |
I_DISPLAY_ONLY | TYPE | BVAL | Boolean | |
I_MAIN_DOC | TYPE | VBELN | Vertriebsbelegnummer | |
I_MAIN_TC | TYPE | TKONN | Trad.-Kontr.: Nummer des Trading-Kontrakts | |
I_MODE | TYPE | WB2_MODE | Modus des Schrittes eines Geschäftsprozesses | |
I_NO_COMMIT | TYPE | CHAR1 | SPACE | Einstelliges Kennzeichen |
I_PRE_STEP | TYPE | WB2_STEP | Schritt des Geschäftsprozesses | |
I_SPLIT_OFF | TYPE | BVAL | 'X' | Splitt ausschalten |
I_STEP | TYPE | WB2_STEP | Schritt des Geschäftsprozesses | |
I_TCODE | TYPE | TCODE | 'ME21N' | Transaction code |
I_TEW_TYPE | TYPE | WB2_TEW_TYPE | Trading Execution Workbench Art | |
SET_ERROR_FLAG | TYPE | CHAR1 | Einstelliges Kennzeichen |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_EBELN | TYPE | EBELN | Purchasing Document Number | |
E_ITEMS_SAVED | TYPE | CHAR1 | Einstelliges Kennzeichen |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
T_ITEMDATA | LIKE | BAPIMEPOITEM | Purchase Order Item | |
T_ITEMKEY | LIKE | EKPO_KEY | Struktur fuer Array fetch auf Tabelle EKPO |
This function module does not define any Exceptions.