Menu

SAP Function Module WB2_CREATE_NEW_PO_ONLINE

Global Trade: create new PO

Recommended Now

All-new Echo Dot Smart speaker with Alexa

4th Gen, 2020 release - Twilight Blue

Check it out on amazon.com →

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.

Technical Information

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

Importing Parameters

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

Exporting Parameters

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

Changing Parameters

This function module does not define any CHANGING parameters.

Table 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

Exceptions

This function module does not define any Exceptions.