SAP TEXT_TABLES_FILL Function Module for
TEXT_TABLES_FILL is a standard text tables fill 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 text tables fill FM, simply by entering the name TEXT_TABLES_FILL into the relevant SAP transaction such as SE37 or SE38.
Function Group: KYP1_UC
Program Name: SAPLKYP1_UC
Main Program: SAPLKYP1_UC
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function TEXT_TABLES_FILL 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 'TEXT_TABLES_FILL'".
EXPORTING
* ALL = 'X' "
I_RKB1D = "
I_RKB1F = "Report information
* I_RKB1U = "
I_RKB1X = "Bar RKB1X (Aspekt, ERKRS and so on)
* LANGU = SY-LANGU "Language
* I_TS_VRANGE = "
TABLES
* E_FORM_TAB = "Row/column structure
I_FDEP_TAB = "Table of dependencies
I_FIELD_TAB = "Table of all fields
* I_LRECH = "
* I_SUMM_TAB = "
* E_PRINT = "Table of display information of columns
* E_SEIG = "Table of selected characteristics
* E_SH_TAB = "
E_TEXTE_TAB = "Table of all texts
* E_TEXTPARAM_TAB = "Table of input texts
E_VAR_TAB = "Table of all variables
* E_ZWERT = "Table of all total keys used
* I_ADD_SEL_TAB = "
IMPORTING Parameters details for TEXT_TABLES_FILL
ALL -
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RKB1D -
Data type: RKB1DOptional: No
Call by Reference: No ( called with pass by value option)
I_RKB1F - Report information
Data type: RKB1FOptional: No
Call by Reference: No ( called with pass by value option)
I_RKB1U -
Data type: RKB1UOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RKB1X - Bar RKB1X (Aspekt, ERKRS and so on)
Data type: RKB1XOptional: No
Call by Reference: No ( called with pass by value option)
LANGU - Language
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TS_VRANGE -
Data type: RKD_TS_VRANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for TEXT_TABLES_FILL
E_FORM_TAB - Row/column structure
Data type: CFBFO01Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FDEP_TAB - Table of dependencies
Data type: CDIDEPOptional: No
Call by Reference: No ( called with pass by value option)
I_FIELD_TAB - Table of all fields
Data type: CDIFIEOptional: No
Call by Reference: No ( called with pass by value option)
I_LRECH -
Data type: CFBLR01Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SUMM_TAB -
Data type: CFBSR01Optional: Yes
Call by Reference: No ( called with pass by value option)
E_PRINT - Table of display information of columns
Data type: CFBPR01Optional: Yes
Call by Reference: No ( called with pass by value option)
E_SEIG - Table of selected characteristics
Data type: CFBSE01Optional: Yes
Call by Reference: No ( called with pass by value option)
E_SH_TAB -
Data type: CFBSH01Optional: Yes
Call by Reference: No ( called with pass by value option)
E_TEXTE_TAB - Table of all texts
Data type: RKB1WOptional: No
Call by Reference: No ( called with pass by value option)
E_TEXTPARAM_TAB - Table of input texts
Data type: CFBTP01Optional: Yes
Call by Reference: No ( called with pass by value option)
E_VAR_TAB - Table of all variables
Data type: CFBVP01Optional: No
Call by Reference: No ( called with pass by value option)
E_ZWERT - Table of all total keys used
Data type: CFBZW01Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ADD_SEL_TAB -
Data type: CEDSTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TEXT_TABLES_FILL 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_all | TYPE C, " 'X' | |||
lt_e_form_tab | TYPE STANDARD TABLE OF CFBFO01, " | |||
lt_i_fdep_tab | TYPE STANDARD TABLE OF CDIDEP, " | |||
lt_i_field_tab | TYPE STANDARD TABLE OF CDIFIE, " | |||
lt_i_lrech | TYPE STANDARD TABLE OF CFBLR01, " | |||
lt_i_summ_tab | TYPE STANDARD TABLE OF CFBSR01, " | |||
lt_e_print | TYPE STANDARD TABLE OF CFBPR01, " | |||
lv_i_rkb1d | TYPE RKB1D, " | |||
lt_e_seig | TYPE STANDARD TABLE OF CFBSE01, " | |||
lv_i_rkb1f | TYPE RKB1F, " | |||
lv_i_rkb1u | TYPE RKB1U, " | |||
lt_e_sh_tab | TYPE STANDARD TABLE OF CFBSH01, " | |||
lv_i_rkb1x | TYPE RKB1X, " | |||
lt_e_texte_tab | TYPE STANDARD TABLE OF RKB1W, " | |||
lv_langu | TYPE SY-LANGU, " SY-LANGU | |||
lt_e_textparam_tab | TYPE STANDARD TABLE OF CFBTP01, " | |||
lt_e_var_tab | TYPE STANDARD TABLE OF CFBVP01, " | |||
lv_i_ts_vrange | TYPE RKD_TS_VRANGE, " | |||
lt_e_zwert | TYPE STANDARD TABLE OF CFBZW01, " | |||
lt_i_add_sel_tab | TYPE STANDARD TABLE OF CEDST. " |
  CALL FUNCTION 'TEXT_TABLES_FILL' " |
EXPORTING | ||
ALL | = lv_all | |
I_RKB1D | = lv_i_rkb1d | |
I_RKB1F | = lv_i_rkb1f | |
I_RKB1U | = lv_i_rkb1u | |
I_RKB1X | = lv_i_rkb1x | |
LANGU | = lv_langu | |
I_TS_VRANGE | = lv_i_ts_vrange | |
TABLES | ||
E_FORM_TAB | = lt_e_form_tab | |
I_FDEP_TAB | = lt_i_fdep_tab | |
I_FIELD_TAB | = lt_i_field_tab | |
I_LRECH | = lt_i_lrech | |
I_SUMM_TAB | = lt_i_summ_tab | |
E_PRINT | = lt_e_print | |
E_SEIG | = lt_e_seig | |
E_SH_TAB | = lt_e_sh_tab | |
E_TEXTE_TAB | = lt_e_texte_tab | |
E_TEXTPARAM_TAB | = lt_e_textparam_tab | |
E_VAR_TAB | = lt_e_var_tab | |
E_ZWERT | = lt_e_zwert | |
I_ADD_SEL_TAB | = lt_i_add_sel_tab | |
. " TEXT_TABLES_FILL |
ABAP code using 7.40 inline data declarations to call FM TEXT_TABLES_FILL
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_all) | = 'X'. | |||
"SELECT single LANGU FROM SY INTO @DATA(ld_langu). | ||||
DATA(ld_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects