Menu

SAP Function Module WB2_GOODS_RECEPT_CANCEL_SINGLE

Goods Receipt: Cancel

The Function Module WB2_GOODS_RECEPT_CANCEL_SINGLE (Goods Receipt: Cancel) 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_GOODS_RECEPT_CANCEL_SINGLE
Short Text Goods Receipt: Cancel
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
COMMIT TYPE CHAR1 SPACE Single-character flag
I_DOCUMENTKEYS TYPE SAPI_DOC_KEY_TAB Step API: Processed document number (DOC_KEY)
I_MODE TYPE WB2_MODE Mode of the steps of a business process
I_PRE_STEP TYPE WB2_PRE_STEP Prestep of a business process
I_STEP TYPE WB2_STEP Step of the business process
I_TEW_TYPE TYPE WB2_TEW_TYPE Trading Execution Workbench Type
MATDOCUMENTYEAR TYPE BAPI2017_GM_HEAD_02-DOC_YEAR Materialbelegjahr
MATERIALDOCUMENT TYPE BAPI2017_GM_HEAD_02-MAT_DOC Nummer des Materialbelegs
PSTNG_DATE TYPE BUDAT SYST-DATLO Posting date in the document

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DOC_YEAR TYPE MJAHR Material doc. year
E_DOCUMENTKEYS TYPE SAPI_DOC_KEY_TAB Step API: Processed document number (DOC_KEY)
MAT_DOC TYPE MBLNR Number of material 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
RETURN LIKE BAPIRET2 Return parameter

Exceptions

This function module does not define any Exceptions.