SAP RKD_TR_COMPOSE_LEVEL Function Module for









RKD_TR_COMPOSE_LEVEL is a standard rkd tr compose level SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rkd tr compose level FM, simply by entering the name RKD_TR_COMPOSE_LEVEL into the relevant SAP transaction such as SE37 or SE38.

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



Function RKD_TR_COMPOSE_LEVEL 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 'RKD_TR_COMPOSE_LEVEL'"
EXPORTING
I_INFO = "
I_NUMBER = "
* I_MODE = '1' "

TABLES
T_TKETRL = "
T_TKETRLF = "
T_TKETRLX = "
* SF_TAB = "
* SEL_TAB = "
* VAR_TAB = "

EXCEPTIONS
PROGRAM_ERROR = 1
.



IMPORTING Parameters details for RKD_TR_COMPOSE_LEVEL

I_INFO -

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

I_NUMBER -

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

I_MODE -

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

TABLES Parameters details for RKD_TR_COMPOSE_LEVEL

T_TKETRL -

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

T_TKETRLF -

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

T_TKETRLX -

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

SF_TAB -

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

SEL_TAB -

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

VAR_TAB -

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

EXCEPTIONS details

PROGRAM_ERROR -

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

Copy and paste ABAP code example for RKD_TR_COMPOSE_LEVEL 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_info  TYPE KEDV_INFO, "   
lt_t_tketrl  TYPE STANDARD TABLE OF TKETRL, "   
lv_program_error  TYPE TKETRL, "   
lv_i_number  TYPE TKETRL-TRCATNR, "   
lt_t_tketrlf  TYPE STANDARD TABLE OF TKETRLF, "   
lv_i_mode  TYPE C, "   '1'
lt_t_tketrlx  TYPE STANDARD TABLE OF TKETRLX, "   
lt_sf_tab  TYPE STANDARD TABLE OF CFBSF01, "   
lt_sel_tab  TYPE STANDARD TABLE OF CEDST, "   
lt_var_tab  TYPE STANDARD TABLE OF CFBVP01. "   

  CALL FUNCTION 'RKD_TR_COMPOSE_LEVEL'  "
    EXPORTING
         I_INFO = lv_i_info
         I_NUMBER = lv_i_number
         I_MODE = lv_i_mode
    TABLES
         T_TKETRL = lt_t_tketrl
         T_TKETRLF = lt_t_tketrlf
         T_TKETRLX = lt_t_tketrlx
         SF_TAB = lt_sf_tab
         SEL_TAB = lt_sel_tab
         VAR_TAB = lt_var_tab
    EXCEPTIONS
        PROGRAM_ERROR = 1
. " RKD_TR_COMPOSE_LEVEL




ABAP code using 7.40 inline data declarations to call FM RKD_TR_COMPOSE_LEVEL

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 TRCATNR FROM TKETRL INTO @DATA(ld_i_number).
 
 
DATA(ld_i_mode) = '1'.
 
 
 
 
 


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!