Menu

SAP Function Module K_ORDER_SETTLEMENT_RULE

Erzeugen einer Aufteilungsregel Einfachabrechnung über Stammdatenfelder

The Function Module K_ORDER_SETTLEMENT_RULE (Erzeugen einer Aufteilungsregel Einfachabrechnung über Stammdatenfelder) is a standard Function Module in SAP ERP and is part of the function group KOBS within the package KABR.

Technical Information

Function Module K_ORDER_SETTLEMENT_RULE
Short Text Erzeugen einer Aufteilungsregel Einfachabrechnung über Stammdatenfelder
Function Group KOBS
Package KABR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUKRS LIKE COBRB-BUKRS Company code
DELETE_FLAG LIKE DKOBR-XFELD SPACE Delete rule
I_REFOBJNR LIKE COBRA-OBJNR Referenz-Objektnummer (fürs Kopieren)
KOKRS LIKE COBRB-KOKRS Controlling area
KOSTL LIKE COBRB-KOSTL Cost center, to which a settlement should be carried out
KSTAR LIKE COBRA-KSTAR Settlement cost element
OBJNR LIKE COBRA-OBJNR Number of the CO object to be settled
SAKNR LIKE COBRB-HKONT G/L account, to which a settlement should be carried out

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ENQUEUE_FAILURE System error when blocking
FOREIGN_LOCK Settlement rule blocked
MORE_THAN_ONE_RULE More than one distribution rule is available
NO_APROF Kein Abrechnungsprofil gefunden
RECEIVER_NOT_ALLOWED Empfänger laut Abrechnungsprofil nicht erlaubt