Menu

SAP Function Module WB2_INCOM_INVOIC_CREATE

Incoming Invoice(LIV): Create multiple from table EKPO/MSEG

The Function Module WB2_INCOM_INVOIC_CREATE (Incoming Invoice(LIV): Create multiple from table EKPO/MSEG) is a standard Function Module in SAP ERP and is part of the function group WB2_TEW_ACTION_BACKGROUND within the package WB2B_ACTION.

Technical Information

Function Module WB2_INCOM_INVOIC_CREATE
Short Text Incoming Invoice(LIV): Create multiple from table EKPO/MSEG
Function Group WB2_TEW_ACTION_BACKGROUND
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
CALC_TAX TYPE XMWST 'X' Calculate tax automatically
DOC_DATE TYPE BLDAT SYST-DATLO Document date in document
DOC_TYPE TYPE BLART Document type
DOMESTIC_ABROAD TYPE CHAR1 'D' Single-character flag
FINAL_INVOICE TYPE CHAR1 SPACE Single-character flag
FI_POSTING TYPE CHAR1 'X' Single-character flag
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 ' ' Single-character flag
I_STEP TYPE WB2_STEP Schritt des Geschäftsprozesses
I_TEW_TYPE TYPE WB2_TEW_TYPE Trading Execution Workbench Art
PSTNG_DATE TYPE BUDAT Posting date in the document
READ_FROM_DB TYPE CHAR1 'X' Single-character flag
REFDOC_NO TYPE XBLNR1 Reference document number
ZFBDT_DATE TYPE DZFBDT Baseline date for due date calculation

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_DOCUMENTKEYS TYPE SAPI_DOC_KEY_TAB Step API: Processed document number (DOC_KEY)
NUMBER_OF_PROCESSING TYPE SY-TABIX Natural number
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 WB2_EKPO Purchasing Document Item
E_T_MSEG LIKE WB2_MSEG Document Segment: Material
E_T_RBKP_KEY LIKE RBKP_BG Logistics Invoice Verification (Background Processing)
I_T_EKPO LIKE WB2_EKPO Purchasing Document Item
I_T_MSEG LIKE WB2_MSEG Document Segment: Material
RETURN LIKE BAPIRET2 Return parameter

Exceptions

This function module does not define any Exceptions.