SAP EXIT_SAPLJBTR_201 Function Module for User Exit BEFORE Call Up of Flexible Procedures with Line Items









EXIT_SAPLJBTR_201 is a standard exit sapljbtr 201 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit BEFORE Call Up of Flexible Procedures with Line Items 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 sapljbtr 201 FM, simply by entering the name EXIT_SAPLJBTR_201 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLJBTR_201 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_SAPLJBTR_201'"User Exit BEFORE Call Up of Flexible Procedures with Line Items
EXPORTING
I_DBEGI = "Date of First Day of the Costing Period
I_DENDE = "Date of Last Day of the Costing Period
I_ERKRS = "Operating Concern
I_WHWAER = "Local currency of company code
I_JBTKREG = "Costing Rule
I_DKALK = "Costing Key Date
* I_DPROT = ' ' "

TABLES
T_VALUES = "Line Items
T_SPROT_K = "Log Messages
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
ISB_DBPROT_MESSAGE SAP-Banking: Nachricht (oder Texte) ins DB-Prot. und Detail-Prot.
ISB_JBDZSTR_JBDCFLOW_CONVERT IS-B: Tabellenkonvertierung JBDZSTR -> JBDCFLOW
ISB_LINE_ITEM_COSTING IS-B: Prüfung der Kalkulationsparameter + zugehöriges Protokoll
ISB_LOAN_UPDATE IS-B: Update von IS-B-Tabellen mit Treasury-Information
ISB_SPREAD_FROM_INDEX_CALC IS-B: Bestimmung von Auf- und Abschlägen zum OZ
ISB_TRANSACTION_COSTING IS-B: Einzelgeschäftskalkulation, Rahmenbaustein
ISB_TRAN_COSTING_BACK_POSTING IS-B: Kalkulation von Geschäften im Rückvalutierungsmodus
ISB_TRAN_COSTING_INIT IS-B: Prüfung der Kalkulationsparameter + zugehöriges Protokoll
ISB_TRAN_COSTING_INTERFACE IS-B: Sofortige Kalkulation von Geschäften
ISB_TRAN_COSTING_KZEIT_GET IS-B: Zeitpunkte der Kalkuation ermitteln
ISB_USER_EXIT_201 IS-B: Einsprung für User Exit 201 (vor flex. Verfahren)
ISB_USER_EXIT_202 IS-B: Einsprung für User Exit 201 (vor der Verbuchung)
ISB_USER_EXIT_301 IS-B: Einsprung für User Exit 301 (Währungseinfluß)

IMPORTING Parameters details for EXIT_SAPLJBTR_201

I_DBEGI - Date of First Day of the Costing Period

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_DENDE - Date of Last Day of the Costing Period

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_ERKRS - Operating Concern

Data type: TKEB-ERKRS
Optional: No
Call by Reference: No ( called with pass by value option)

I_WHWAER - Local currency of company code

Data type: JBIXGSC-WGWAER
Optional: No
Call by Reference: No ( called with pass by value option)

I_JBTKREG - Costing Rule

Data type: JBTKREG
Optional: No
Call by Reference: No ( called with pass by value option)

I_DKALK - Costing Key Date

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_DPROT -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EXIT_SAPLJBTR_201

T_VALUES - Line Items

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

T_SPROT_K - Log Messages

Data type: SPROT_K
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EXIT_SAPLJBTR_201 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_i_dbegi  TYPE SY-DATUM, "   
lt_t_values  TYPE STANDARD TABLE OF SY, "   
lv_i_dende  TYPE SY-DATUM, "   
lt_t_sprot_k  TYPE STANDARD TABLE OF SPROT_K, "   
lv_i_erkrs  TYPE TKEB-ERKRS, "   
lv_i_whwaer  TYPE JBIXGSC-WGWAER, "   
lv_i_jbtkreg  TYPE JBTKREG, "   
lv_i_dkalk  TYPE SY-DATUM, "   
lv_i_dprot  TYPE C. "   ' '

  CALL FUNCTION 'EXIT_SAPLJBTR_201'  "User Exit BEFORE Call Up of Flexible Procedures with Line Items
    EXPORTING
         I_DBEGI = lv_i_dbegi
         I_DENDE = lv_i_dende
         I_ERKRS = lv_i_erkrs
         I_WHWAER = lv_i_whwaer
         I_JBTKREG = lv_i_jbtkreg
         I_DKALK = lv_i_dkalk
         I_DPROT = lv_i_dprot
    TABLES
         T_VALUES = lt_t_values
         T_SPROT_K = lt_t_sprot_k
. " EXIT_SAPLJBTR_201




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLJBTR_201

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 DATUM FROM SY INTO @DATA(ld_i_dbegi).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_dende).
 
 
"SELECT single ERKRS FROM TKEB INTO @DATA(ld_i_erkrs).
 
"SELECT single WGWAER FROM JBIXGSC INTO @DATA(ld_i_whwaer).
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_dkalk).
 
DATA(ld_i_dprot) = ' '.
 


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!