Menu

SAP Function Module WB2_SALES_INVOIC_CREATE_SINGLE

Sales Invoice(Billing): Create from single sales document

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_SALES_INVOIC_CREATE_SINGLE (Sales Invoice(Billing): Create from single sales document) 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_SALES_INVOIC_CREATE_SINGLE
Short Text Sales Invoice(Billing): Create from single sales document
Function Group WB2_TEW_ACTION_BACKGROUND
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
DELETE_FREEITEM TYPE CHAR1 SPACE Single-character flag
INVOICE_DATE TYPE FKDAT SY-DATLO Billing date for billing index and printout
INVOICE_TYPE TYPE FKART Billing type
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
I_VBELN TYPE VBELN Sales and distribution document number
WITH_COMMIT TYPE CHAR1 'B' Single-character flag

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)
INVOICE_NUMBER TYPE VBELN_VF Billing document

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_XVBFS LIKE VBFS Error Log for Collective Processing
E_T_XVBRK LIKE VBRKVB Reference Structure for XVBRK/YVBRP
RETURN LIKE BAPIRET2 Return Parameter

Exceptions

This function module does not define any Exceptions.