Menu

SAP Function Module WB2_CREATE_NEW_PO_ONLINE

Global Trade: create new PO

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

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.