Menu

SAP Function Module K_POSTING_RULE_INSERT

Aufteilungsregel über Defaultregel hinzufügen

The Function Module K_POSTING_RULE_INSERT (Aufteilungsregel über Defaultregel hinzufügen) 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_POSTING_RULE_INSERT
Short Text Aufteilungsregel über Defaultregel hinzufügen
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
ADD_PARA LIKE COBR_INFO SPACE Additional transfer parameters for the CO object
APROF LIKE COBRA-APROF SPACE Settlement key
DFREG LIKE TKB2A-DFREG Default rule
ECASE LIKE DKOBR-XFELD SPACE Storing the rule in spite of error
FLG_OBJNR_CHECK LIKE DKOBR-XFELD 'X' Existence of object number being checked
HIENR LIKE COBRA-HIENR SPACE Hierarchy number
IVPRO LIKE TAPRF-IVPRO
I_ABUKR LIKE DKOBR-XFELD SPACE ABUKR aus ADD_PARA erzwingen
I_CHECK_MAXBR LIKE DKOBR-XFELD SPACE Maximal zulässige Anzahl Regeln prüfen
I_NEW_VALIDITY_PERIOD LIKE COBRB-GABPE Beginn der Gültigkeit der neuen Regel
I_NEW_VALIDITY_YEAR LIKE COBRB-GABJA Beginn der Gültigkeit der neuen Regel
I_NO_STATUS_UPDATE LIKE DKOBR-XFELD SPACE Status nicht aktualisieren
KONTY LIKE COBRB-KONTY Account assignment category
KSTAR LIKE COBRA-KSTAR Settlement cost element
OBJNR LIKE COBRA-OBJNR Object number of the settlement rule
RWIN_AUFRUF LIKE DKOBR-XFELD 'X' Access RWIN to check receiver
URSCH LIKE COBRA-URSCH SPACE Origin structure
XNOLOCK LIKE DKOBR-XFELD SPACE Do not block

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
LFDNR LIKE COBRB-LFDNR Serial number of the inserted distribution rule

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_COBRA LIKE COBRA Return from settlement rule header
E_COBRB LIKE COBRB Return of the created distribution rule

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DFTAB LIKE DFTABELLE Table of the fields required by default rule

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DEFAULT_RULE_NOT_FOUND Default rule not found for account assignment receivers
ENQUEUE_FAILURE System error during blocking
FOREIGN_LOCK Settlement rule blocked
INTERNAL_PROBLEMS Internal program error
MESSAGE_OCCURRED Messages were gathered from the message handler
OBJNR_NOT_FOUND Object number does not exist
RECEIVER_MISSING Receiver missing