Menu

SAP Function Module SD_ORDER_CREDIT_CHECK

Kreditprüfung Vertriebsbeleg

The Function Module SD_ORDER_CREDIT_CHECK (Kreditprüfung Vertriebsbeleg) is a standard Function Module in SAP ERP and is part of the function group VKMP within the package VKM.

Technical Information

Function Module SD_ORDER_CREDIT_CHECK
Short Text Kreditprüfung Vertriebsbeleg
Function Group VKMP
Package VKM
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RECHECK LIKE SPACE X'-in the recheck mode
TABTVAK LIKE TVAK Table TVAK
TRTYP LIKE T180-TRTYP Transaction type
UPDATE LIKE SPACE Status data and order header are changed
XVBAK LIKE VBAK Order header is new
XVBAK_UPDKZ LIKE VBAPVB-UPDKZ Order header new update indicator
YVBAK LIKE VBAK Order header is old
YVBAK_UPDKZ LIKE VBAPVB-UPDKZ Order header old update indicator

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURNCODE LIKE SY-SUBRC
RKVBUK LIKE KVBUK Status fields - Credit check
RVBAK LIKE VBAK Order header

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
VBAPF LIKE VBAPF Order summarized flow (old-new)
XKOMV LIKE KOMV Prices
XVBAP LIKE VBAPVB Order item is new
XVBEP LIKE VBEPVB Order schedule lines are new
XVBFA LIKE VBFAVB Order flow is new
XVBKD LIKE VBKDVB Order business data is new
XVBPA LIKE VBPAVB Order partner is new
XVBUK LIKE VBUKVB Order header status is new
XVBUP LIKE VBUPVB Order item status is new
YVBAP LIKE VBAPVB Order item is old
YVBEP LIKE VBEPVB Order schedule lines are old
YVBFA LIKE VBFAVB Order flow is old
YVBKD LIKE VBKDVB Order business data is old
YVBPA LIKE VBPAVB Order partner is old
YVBUK LIKE VBUKVB Order header status is old
YVBUP LIKE VBUPVB Order item status is old

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERROR Credit check results in an error
WARNING Credit check results in a warning message