SAP EXIT_SAPLKOBS_001 Function Module for Creation of Settlement Rules: Strategies









EXIT_SAPLKOBS_001 is a standard exit saplkobs 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Creation of Settlement Rules: Strategies processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for exit saplkobs 001 FM, simply by entering the name EXIT_SAPLKOBS_001 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XKOBS
Program Name: SAPLXKOBS
Main Program: SAPLXKOBS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPLKOBS_001 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EXIT_SAPLKOBS_001'"Creation of Settlement Rules: Strategies
EXPORTING
I_OBJNR = "Object Number
I_SLIST = "Strategy Sequence
I_STRAT = "Strategy
I_SENDERART = "Sender Type

IMPORTING
E_KONTY = "Receiver cat.
E_KONTY_STAT = "
E_RECEIVER = "Receiver Fields
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
K_DEFAULT_RULE_READ
K_KONTY_CHECK
K_OBJECT_APROF_GET
K_ORDER_SETTLEMENT_RULE
K_ORDER_SRULE_ADD
K_POSTING_RULES_DELETE
K_POSTING_RULE_COMPARE
K_POSTING_RULE_GROUP_CHECK
K_POSTING_RULE_INSERT
K_SETTLEMENT_ACTIVITIES_GET
K_SETTLEMENT_OBJECT_REPLACE
K_SETTLEMENT_RULE_CALL
K_SETTLEMENT_RULE_CHANGED
K_SETTLEMENT_RULE_CHECK
K_SETTLEMENT_RULE_COPY
K_SETTLEMENT_RULE_DEF_APROF
K_SETTLEMENT_RULE_DELETE
K_SETTLEMENT_RULE_EXISTENCE
K_SETTLEMENT_RULE_FILL
K_SETTLEMENT_RULE_GET
K_SETTLEMENT_RULE_REFRESH
K_SETTLEMENT_RULE_SAVE
K_SETTLEMENT_RULE_SAVE_ALL
K_SETTLEMENT_SENDER_GET
K_SRULE_CREATE
K_SRULE_CREATE_WITH_SL
K_SRULE_EXPORT_IMPORT
K_SRULE_GET_SLIST
K_SRULE_INSERT_WITH_SL
K_SRULE_LIST_DISPLAY
K_SRULE_PRE_READ
K_SRULE_PSG_REALIGN
K_SRULE_RECEIVERS_GET
K_SRULE_REPLACE_RECIEVER
K_SRULE_SET_STRATEGY

IMPORTING Parameters details for EXIT_SAPLKOBS_001

I_OBJNR - Object Number

Data type: COBRA-OBJNR
Optional: No
Call by Reference: Yes

I_SLIST - Strategy Sequence

Data type: TKB10SLA-SLIST
Optional: No
Call by Reference: Yes

I_STRAT - Strategy

Data type: TKB10SA-STRAT
Optional: No
Call by Reference: Yes

I_SENDERART - Sender Type

Data type: TKB10STA-SENDERART
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for EXIT_SAPLKOBS_001

E_KONTY - Receiver cat.

Data type: COBRB-KONTY
Optional: No
Call by Reference: Yes

E_KONTY_STAT -

Data type: COBRB-KONTY
Optional: No
Call by Reference: Yes

E_RECEIVER - Receiver Fields

Data type: COBR_REC
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLKOBS_001 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_konty  TYPE COBRB-KONTY, "   
lv_i_objnr  TYPE COBRA-OBJNR, "   
lv_i_slist  TYPE TKB10SLA-SLIST, "   
lv_e_konty_stat  TYPE COBRB-KONTY, "   
lv_i_strat  TYPE TKB10SA-STRAT, "   
lv_e_receiver  TYPE COBR_REC, "   
lv_i_senderart  TYPE TKB10STA-SENDERART. "   

  CALL FUNCTION 'EXIT_SAPLKOBS_001'  "Creation of Settlement Rules: Strategies
    EXPORTING
         I_OBJNR = lv_i_objnr
         I_SLIST = lv_i_slist
         I_STRAT = lv_i_strat
         I_SENDERART = lv_i_senderart
    IMPORTING
         E_KONTY = lv_e_konty
         E_KONTY_STAT = lv_e_konty_stat
         E_RECEIVER = lv_e_receiver
. " EXIT_SAPLKOBS_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLKOBS_001

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single KONTY FROM COBRB INTO @DATA(ld_e_konty).
 
"SELECT single OBJNR FROM COBRA INTO @DATA(ld_i_objnr).
 
"SELECT single SLIST FROM TKB10SLA INTO @DATA(ld_i_slist).
 
"SELECT single KONTY FROM COBRB INTO @DATA(ld_e_konty_stat).
 
"SELECT single STRAT FROM TKB10SA INTO @DATA(ld_i_strat).
 
 
"SELECT single SENDERART FROM TKB10STA INTO @DATA(ld_i_senderart).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!