Menu

SAP Function Module K_POSTING_RULE_INSERT

Aufteilungsregel über Defaultregel hinzufügen

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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