Menu

SAP Function Module WB2_LIV_CREATE_FROM_MD

Create Incoming Invoice (LIV) from Purchase Order items: MIRO

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module WB2_LIV_CREATE_FROM_MD (Create Incoming Invoice (LIV) from Purchase Order items: MIRO) is a standard Function Module in SAP ERP and is part of the function group WB2_BATCH_INPUT within the package WB2B_ACTION.

Technical Information

Function Module WB2_LIV_CREATE_FROM_MD
Short Text Create Incoming Invoice (LIV) from Purchase Order items: MIRO
Function Group WB2_BATCH_INPUT
Package WB2B_ACTION
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CTU TYPE APQI-PUTACTIVE 'X' Queue Putq Active Flag
GROUP TYPE APQI-GROUPID Group Name: Name einer Batch-Input-Mappe
HEADER_LIV_CONTROL TYPE SAPI_LIV_HEADER_CTRL Step API: Material Doc. Header Control
HEADER_LIV_DATA TYPE SAPI_LIV_HEADER Step API: Material Doc. Header Data
HOLDDATE TYPE APQI-STARTDATE Queue Startdatum
INV_TRANSACTION TYPE MRM_VORGANG '1' MMIM: New Key Assignment GM_CODE to Transaction of Inv. Mgmt
ITEM_LIV_CONTROL TYPE SAPI_LIV_ITEM_CTRL_TAB Step API: Incoming Invoice Item Control
ITEM_LIV_DATA TYPE SAPI_LIV_ITEM_TAB Step API: Incoming Invoice Item Data
I_MODE TYPE WB2_MODE Mode of the steps of a business process
I_PRE_STEP TYPE WB2_STEP Step of the business process
I_STEP TYPE WB2_STEP Step of the business process
I_TEW_TYPE TYPE WB2_TEW_TYPE Trading Execution Workbench Type
KEEP TYPE APQI-QERASE Queue-Löschkennzeichen fuer verarbeitete Mappen
MODE TYPE APQI-PUTACTIVE 'E' Queue Putq Active Flag
NODATA TYPE APQI-PUTACTIVE ' ' Queue Putq Active Flag
TCODE TYPE SY-TCODE ABAP-Programm, aktueller Transaktionscode
UPDATE TYPE APQI-PUTACTIVE 'L' Queue Putq Active Flag
USER TYPE APQI-USERID Queue Userid / Historisch bedingt

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_BELNR TYPE RE_BELNR Document number of an invoice document
E_GJAHR TYPE GJAHR Fiscal year
SUBRC TYPE SYSUBRC Return value, return value after ABAP statements

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

This function module does not define any Exceptions.