Menu

SAP Function Module WB2_INCOM_INVOIC_CREATE_ARRAY

Incoming Invoice(LIV): Create from table of EKPO or MSEG

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_INCOM_INVOIC_CREATE_ARRAY (Incoming Invoice(LIV): Create from table of EKPO or 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_ARRAY
Short Text Incoming Invoice(LIV): Create from table of EKPO or 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 SPACE 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_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 Belegnummer eines Rechnungsbeleges
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
I_T_EKPO LIKE WB2_EKPO Purchasing Document Item
I_T_KOMLFK LIKE KOMLFK Comm. Structure: Vendor Billing Doc. Header
I_T_KOMLFP LIKE KOMLFP Vendor billing document: billing document items
I_T_MSEG LIKE WB2_MSEG Document Segment: Material
I_T_RSEG LIKE RSEG Document Item: Incoming Invoice
RETURN LIKE BAPIRET2 Return parameter

Exceptions

This function module does not define any Exceptions.