SAP RKE_DATA_READ_CALLBACK Function Module for









RKE_DATA_READ_CALLBACK is a standard rke data read callback 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 rke data read callback FM, simply by entering the name RKE_DATA_READ_CALLBACK into the relevant SAP transaction such as SE37 or SE38.

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



Function RKE_DATA_READ_CALLBACK 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 'RKE_DATA_READ_CALLBACK'"
EXPORTING
I_ERKRS = "Operating Concern
* I_CALLER_APPL = "
* I_CALLER_DETAIL = "
* I_IGNORE_VALUTYP = "
I_PA_TYPE = "
* I_READ_MODE = '11' "
I_T_SEL = "
I_T_SF = "
* I_DB_AGGREGATION = 'X' "
* I_SUMM_LEVEL_LOCK = 'X' "
I_PROGRAM_NAME = "
I_FORM_NAME = "

IMPORTING
E_INFO = "

EXCEPTIONS
PARAMETER_INVALID = 1 INTERNAL_ERROR = 2 NO_SUM_LEVEL_FOUND = 3 SUM_LEVEL_FOREIGN_LOCK = 4
.



IMPORTING Parameters details for RKE_DATA_READ_CALLBACK

I_ERKRS - Operating Concern

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

I_CALLER_APPL -

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

I_CALLER_DETAIL -

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

I_IGNORE_VALUTYP -

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

I_PA_TYPE -

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

I_READ_MODE -

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

I_T_SEL -

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

I_T_SF -

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

I_DB_AGGREGATION -

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

I_SUMM_LEVEL_LOCK -

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

I_PROGRAM_NAME -

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

I_FORM_NAME -

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

EXPORTING Parameters details for RKE_DATA_READ_CALLBACK

E_INFO -

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

EXCEPTIONS details

PARAMETER_INVALID -

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

INTERNAL_ERROR -

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

NO_SUM_LEVEL_FOUND - No suitable summarization level could be found

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

SUM_LEVEL_FOREIGN_LOCK -

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

Copy and paste ABAP code example for RKE_DATA_READ_CALLBACK 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_info  TYPE KCDD_SUMMARIZATION_INFO, "   
lv_i_erkrs  TYPE ERKRS, "   
lv_parameter_invalid  TYPE ERKRS, "   
lv_i_caller_appl  TYPE RKE_TRPR_CALLA, "   
lv_i_caller_detail  TYPE RKE_TRPR_CALLD, "   
lv_i_ignore_valutyp  TYPE FLAG, "   
lv_i_pa_type  TYPE RKE_AUSPR, "   
lv_internal_error  TYPE RKE_AUSPR, "   
lv_i_read_mode  TYPE RKE_READ_MODE, "   '11'
lv_no_sum_level_found  TYPE RKE_READ_MODE, "   
lv_i_t_sel  TYPE KED1_T_SEL, "   
lv_sum_level_foreign_lock  TYPE KED1_T_SEL, "   
lv_i_t_sf  TYPE KED1_T_SF, "   
lv_i_db_aggregation  TYPE FLAG, "   'X'
lv_i_summ_level_lock  TYPE FLAG, "   'X'
lv_i_program_name  TYPE PROGRAMM, "   
lv_i_form_name  TYPE RKE_DBFORM. "   

  CALL FUNCTION 'RKE_DATA_READ_CALLBACK'  "
    EXPORTING
         I_ERKRS = lv_i_erkrs
         I_CALLER_APPL = lv_i_caller_appl
         I_CALLER_DETAIL = lv_i_caller_detail
         I_IGNORE_VALUTYP = lv_i_ignore_valutyp
         I_PA_TYPE = lv_i_pa_type
         I_READ_MODE = lv_i_read_mode
         I_T_SEL = lv_i_t_sel
         I_T_SF = lv_i_t_sf
         I_DB_AGGREGATION = lv_i_db_aggregation
         I_SUMM_LEVEL_LOCK = lv_i_summ_level_lock
         I_PROGRAM_NAME = lv_i_program_name
         I_FORM_NAME = lv_i_form_name
    IMPORTING
         E_INFO = lv_e_info
    EXCEPTIONS
        PARAMETER_INVALID = 1
        INTERNAL_ERROR = 2
        NO_SUM_LEVEL_FOUND = 3
        SUM_LEVEL_FOREIGN_LOCK = 4
. " RKE_DATA_READ_CALLBACK




ABAP code using 7.40 inline data declarations to call FM RKE_DATA_READ_CALLBACK

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.

 
 
 
 
 
 
 
 
DATA(ld_i_read_mode) = '11'.
 
 
 
 
 
DATA(ld_i_db_aggregation) = 'X'.
 
DATA(ld_i_summ_level_lock) = 'X'.
 
 
 


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!