Menu

SAP Function Module WB2_EXPENSE_SINGLE_CREATE

Simple Creation of an expense document via function module

The Function Module WB2_EXPENSE_SINGLE_CREATE (Simple Creation of an expense document via function module) is a standard Function Module in SAP ERP and is part of the function group WB2B_EXPENSE_SAPI_HANDLING within the package WB2B_EXPENSE.

Technical Information

Function Module WB2_EXPENSE_SINGLE_CREATE
Short Text Simple Creation of an expense document via function module
Function Group WB2B_EXPENSE_SAPI_HANDLING
Package WB2B_EXPENSE
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_BUSINESS_STEP TYPE WB2_STEP Schritt des Geschäftsprozesses
I_BUSINESS_STEP_FROM TYPE WB2_STEP Schritt des Geschäftsprozesses
I_COMMIT TYPE C 'X' Commit work is executed
I_COPY_FROM_WBELN TYPE WBELN Number of the referencedocument
I_NEW_POSTING_TYPE TYPE WB2_EXPENSE_POSTING_TYPE Posting Type
I_REF_DOCUMENT TYPE WB2_DOCUMENT Number of the leading document
I_REF_DOC_TYPE TYPE WB2_DOC_TYPE 'Q' Documenttype of the leading document
I_REF_GJAHR TYPE GJAHR Fiscal year
I_TEW_MODE TYPE WB2_MODE Modus des Schrittes eines Geschäftsprozesses
I_TEW_TYPE TYPE WB2_TEW_TYPE Trading Execution Workbench Art
I_WITH_FI_POSTING TYPE C Posting type
I_WORKAREA TYPE WB2_WORKAREA_EXT External Workarea of the expense document to be created

Exporting Parameters

This function module does not define any EXPORTING parameters.

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
ET_KOMLFK LIKE KOMLFK Comm. Structure: Vendor Billing Doc. Header
IT_TRANS_KOMLFP LIKE WB2_CALC_RESULT_DISPLAY Trading-Expenses: Anzeige Kalkulationsergebniss

Exceptions

This function module does not define any Exceptions.