SAP RSDRI_DF_TEXT_READ Function Module for









RSDRI_DF_TEXT_READ is a standard rsdri df text read 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 rsdri df text read FM, simply by entering the name RSDRI_DF_TEXT_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDRI_DF_FACADE
Program Name: SAPLRSDRI_DF_FACADE
Main Program: SAPLRSDRI_DF_FACADE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSDRI_DF_TEXT_READ 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 'RSDRI_DF_TEXT_READ'"
EXPORTING
I_TABLE_NAME = "Name of Pseudo Table
* I_DEBUG_SUFFIX = "Suffix for Debug report to be generated
* I_AUTHORITY_FILTER = RS_C_TRUE "Add authority filter
* I_T_RANGE_STRING = "BW Data Manager: Range List
* I_REFERENCE_DATE = SY-DATUM "Key Date
* I_AUTHORITY_CHECK = RSDRC_C_AUTHCHK-READ "Perform Access Check - read/write/none?
* I_S_RFCMODE = "DM API: RFC Mode
* I_MAXROWS = 0 "Stops After This Number of Records
* I_DEBUG = "Debugging mode on/off?
* I_DESTINATION = "RFC Callback destination
* I_LANGU = SY-LANGU "Language Setting for Data Federator
* I_USE_BXDATA = RS_C_FALSE "Use BXDATA Format

IMPORTING
E_END_OF_DATA = "Boolean
E_BXDATA = "
E_ERROR = "Error Code
E_S_RUNTIME_INFORMATION = "Data Federator: Runtime Information

TABLES
I_T_SFC = "BW Data Manager: List of Characteristics
I_T_RANGE = "BW Data Manager: Range List
E_T_MSG = "Return Table
E_T_DATA = "Data - Data Record with Continuation Indicator
E_T_FIELD = "Requested Characteristics/Key Figures from Remote InfoCubes
.



IMPORTING Parameters details for RSDRI_DF_TEXT_READ

I_TABLE_NAME - Name of Pseudo Table

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

I_DEBUG_SUFFIX - Suffix for Debug report to be generated

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

I_AUTHORITY_FILTER - Add authority filter

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

I_T_RANGE_STRING - BW Data Manager: Range List

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

I_REFERENCE_DATE - Key Date

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

I_AUTHORITY_CHECK - Perform Access Check - read/write/none?

Data type: RSDRI_AUTHCHK
Default: RSDRC_C_AUTHCHK-READ
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_S_RFCMODE - DM API: RFC Mode

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

I_MAXROWS - Stops After This Number of Records

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

I_DEBUG - Debugging mode on/off?

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

I_DESTINATION - RFC Callback destination

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

I_LANGU - Language Setting for Data Federator

Data type: RSDRI_DF_LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_USE_BXDATA - Use BXDATA Format

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

EXPORTING Parameters details for RSDRI_DF_TEXT_READ

E_END_OF_DATA - Boolean

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

E_BXDATA -

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

E_ERROR - Error Code

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

E_S_RUNTIME_INFORMATION - Data Federator: Runtime Information

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

TABLES Parameters details for RSDRI_DF_TEXT_READ

I_T_SFC - BW Data Manager: List of Characteristics

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

I_T_RANGE - BW Data Manager: Range List

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

E_T_MSG - Return Table

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

E_T_DATA - Data - Data Record with Continuation Indicator

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

E_T_FIELD - Requested Characteristics/Key Figures from Remote InfoCubes

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

Copy and paste ABAP code example for RSDRI_DF_TEXT_READ 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:
lt_i_t_sfc  TYPE STANDARD TABLE OF RSDRI_T_SFC, "   
lv_i_table_name  TYPE RSDRI_DF_TABLE_NAME, "   
lv_e_end_of_data  TYPE RS_BOOL, "   
lv_i_debug_suffix  TYPE CHAR15, "   
lv_i_authority_filter  TYPE RS_BOOL, "   RS_C_TRUE
lv_i_t_range_string  TYPE RSDRI_T_RANGE, "   
lv_e_bxdata  TYPE XSTRING, "   
lt_i_t_range  TYPE STANDARD TABLE OF RSDRI_T_RANGE_RFC, "   
lv_i_reference_date  TYPE RSDRI_REFDATE, "   SY-DATUM
lv_e_error  TYPE I, "   
lt_e_t_msg  TYPE STANDARD TABLE OF BAPIRET2_T, "   
lv_i_authority_check  TYPE RSDRI_AUTHCHK, "   RSDRC_C_AUTHCHK-READ
lt_e_t_data  TYPE STANDARD TABLE OF BAPI6100DA, "   
lv_i_s_rfcmode  TYPE RSDP0_S_RFCMODE, "   
lv_e_s_runtime_information  TYPE RSDRI_DF_S_RUNTIME, "   
lt_e_t_field  TYPE STANDARD TABLE OF RSDRI_DF_S_FIELD, "   
lv_i_maxrows  TYPE I, "   0
lv_i_debug  TYPE CHAR2, "   
lv_i_destination  TYPE RFCDEST, "   
lv_i_langu  TYPE RSDRI_DF_LANGU, "   SY-LANGU
lv_i_use_bxdata  TYPE RS_BOOL. "   RS_C_FALSE

  CALL FUNCTION 'RSDRI_DF_TEXT_READ'  "
    EXPORTING
         I_TABLE_NAME = lv_i_table_name
         I_DEBUG_SUFFIX = lv_i_debug_suffix
         I_AUTHORITY_FILTER = lv_i_authority_filter
         I_T_RANGE_STRING = lv_i_t_range_string
         I_REFERENCE_DATE = lv_i_reference_date
         I_AUTHORITY_CHECK = lv_i_authority_check
         I_S_RFCMODE = lv_i_s_rfcmode
         I_MAXROWS = lv_i_maxrows
         I_DEBUG = lv_i_debug
         I_DESTINATION = lv_i_destination
         I_LANGU = lv_i_langu
         I_USE_BXDATA = lv_i_use_bxdata
    IMPORTING
         E_END_OF_DATA = lv_e_end_of_data
         E_BXDATA = lv_e_bxdata
         E_ERROR = lv_e_error
         E_S_RUNTIME_INFORMATION = lv_e_s_runtime_information
    TABLES
         I_T_SFC = lt_i_t_sfc
         I_T_RANGE = lt_i_t_range
         E_T_MSG = lt_e_t_msg
         E_T_DATA = lt_e_t_data
         E_T_FIELD = lt_e_t_field
. " RSDRI_DF_TEXT_READ




ABAP code using 7.40 inline data declarations to call FM RSDRI_DF_TEXT_READ

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_authority_filter) = RS_C_TRUE.
 
 
 
 
DATA(ld_i_reference_date) = SY-DATUM.
 
 
 
DATA(ld_i_authority_check) = RSDRC_C_AUTHCHK-READ.
 
 
 
 
 
 
 
 
DATA(ld_i_langu) = SY-LANGU.
 
DATA(ld_i_use_bxdata) = RS_C_FALSE.
 


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!