Menu

SAP Function Module WB2_CREATE_INCOMING_INVOICE_MD

LIV from Material Document items [MSEG]

The Function Module WB2_CREATE_INCOMING_INVOICE_MD (LIV from Material Document items [MSEG]) is a standard Function Module in SAP ERP and is part of the function group WB2_BACKGROUND_CREATE within the package WB2B_ACTION.

Technical Information

Function Module WB2_CREATE_INCOMING_INVOICE_MD
Short Text LIV from Material Document items [MSEG]
Function Group WB2_BACKGROUND_CREATE
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
DOC_DATE TYPE BLDAT SYST-DATLO Document date in document
ID_NUMBER TYPE LIKP-VBELN Lieferung
INVOICE_IND TYPE XRECH 'X' Indicator: post invoice
I_DOCUMENTKEYS TYPE SAPI_DOC_KEY_TAB Step API: Processed document number (DOC_KEY)
I_MODE TYPE WB2_MODE Modus des Schrittes eines Geschäftsprozesses
I_PRE_STEP TYPE WB2_PRE_STEP Vorgängerschritt eines Geschäftsprozesses
I_REFRESH_BUFFER TYPE CHAR1 'X' Einstelliges Kennzeichen
I_STEP TYPE WB2_STEP Schritt des Geschäftsprozesses
I_TEW_TYPE TYPE WB2_TEW_TYPE Trading Execution Workbench Art
MD_NUMBER TYPE MBLNR Number of material document
MD_YEAR TYPE MJAHR Materialbelegjahr
PSTNG_DATE TYPE BUDAT Posting date in the document
REFDOC_NO TYPE XBLNR1 Referenz-Belegnummer
ZFBDT_DATE TYPE BLDAT SYST-DATLO Document date in document

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_BELNR TYPE RBKP_V-BELNR Belegnummer eines Rechnungsbeleges
E_DOCUMENTKEYS TYPE SAPI_DOC_KEY_TAB Step API: Processed document number (DOC_KEY)
E_GJAHR TYPE RBKP_V-GJAHR Geschäftsjahr
MD_BUDAT TYPE BUDAT Posting date in the document
SUBRC TYPE SY-SUBRC Rückgabewert, Rückgabewert nach ABAP-Anweisungen

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
E_T_EKPO LIKE EKPO Purchasing Document Item
RETURN LIKE BAPIRET2 Returnparameter

Exceptions

This function module does not define any Exceptions.