SAP RSZ_DB_ELT_TXT_BY_TABLE Function Module for Retrieves Texts for Given Table









RSZ_DB_ELT_TXT_BY_TABLE is a standard rsz db elt txt by table SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Retrieves Texts for Given Table 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 rsz db elt txt by table FM, simply by entering the name RSZ_DB_ELT_TXT_BY_TABLE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSZ_DB_ELT_TXT_BY_TABLE 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 'RSZ_DB_ELT_TXT_BY_TABLE'"Retrieves Texts for Given Table
EXPORTING
I_T_ELT = "Table of GUIDs
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "
I_LANGU = "SAP R/3 System, Current Language
* I_INFOPROV = "InfoProvider
* I_TH_TEXT_HINT = "Info to allow rapid text formatting of default texts

IMPORTING
E_TH_ELTTXT = "
E_TH_ELTDIR = "
.



IMPORTING Parameters details for RSZ_DB_ELT_TXT_BY_TABLE

I_T_ELT - Table of GUIDs

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

I_OBJVERS -

Data type: RS_OBJVERS
Default: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LANGU - SAP R/3 System, Current Language

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

I_INFOPROV - InfoProvider

Data type: RSINFOPROV
Optional: Yes
Call by Reference: Yes

I_TH_TEXT_HINT - Info to allow rapid text formatting of default texts

Data type: RSZI_TH_ELT_TEXT_HINT
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RSZ_DB_ELT_TXT_BY_TABLE

E_TH_ELTTXT -

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

E_TH_ELTDIR -

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

Copy and paste ABAP code example for RSZ_DB_ELT_TXT_BY_TABLE 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_t_elt  TYPE RZD1_T_GUID, "   
lv_e_th_elttxt  TYPE RZD1_TH_ELTTXT, "   
lv_i_objvers  TYPE RS_OBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_e_th_eltdir  TYPE RZD1_TH_ELTDIR, "   
lv_i_langu  TYPE SY-LANGU, "   
lv_i_infoprov  TYPE RSINFOPROV, "   
lv_i_th_text_hint  TYPE RSZI_TH_ELT_TEXT_HINT. "   

  CALL FUNCTION 'RSZ_DB_ELT_TXT_BY_TABLE'  "Retrieves Texts for Given Table
    EXPORTING
         I_T_ELT = lv_i_t_elt
         I_OBJVERS = lv_i_objvers
         I_LANGU = lv_i_langu
         I_INFOPROV = lv_i_infoprov
         I_TH_TEXT_HINT = lv_i_th_text_hint
    IMPORTING
         E_TH_ELTTXT = lv_e_th_elttxt
         E_TH_ELTDIR = lv_e_th_eltdir
. " RSZ_DB_ELT_TXT_BY_TABLE




ABAP code using 7.40 inline data declarations to call FM RSZ_DB_ELT_TXT_BY_TABLE

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_objvers) = RS_C_OBJVERS-ACTIVE.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
 
 
 


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!