SAP LXE_EXTR_READ_OBJECTS Function Module for Read texts pairwise according a object list and send to indexer
LXE_EXTR_READ_OBJECTS is a standard lxe extr read objects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read texts pairwise according a object list and send to indexer 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 lxe extr read objects FM, simply by entering the name LXE_EXTR_READ_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: LXE_CSV_EXTRACTION
Program Name: SAPLLXE_CSV_EXTRACTION
Main Program: SAPLLXE_CSV_EXTRACTION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function LXE_EXTR_READ_OBJECTS 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 'LXE_EXTR_READ_OBJECTS'"Read texts pairwise according a object list and send to indexer.
EXPORTING
OBJECTS = "Translation objects + languages + texts
* CREATE_TYPEATT = '' "Einstelliges Kennzeichen
* INDEX_LOC_TRX = "Index-ID
* PUSH2TRX = '' "Einstelliges Kennzeichen
* INDEX_TRX_RFC = "RFC-Destination auf TREX
* BGRFC_DEST = "SAPOSCOL-Destination
* STDRFC_DEST = "SAPOSCOL-Destination
* PUSH2CSV = '' "Einstelliges Kennzeichen
* CSV_FILEPATH = "
* BGRFC_DEST_SINGLE = "Ued for serialization of parallel background RFC's
INDEX_RUN_ID = "Characterfeld der Länge 32
IS_FULL_INDEX_RUN = "Einstelliges Kennzeichen
* GET_TEXTS = 'X' "Einstelliges Kennzeichen
* BGRFC = "Einstelliges Kennzeichen
* PUSH2INDEX = 'X' "Einstelliges Kennzeichen
* CREATE_TADIR = 'X' "Einstelliges Kennzeichen
* CREATE_ACH = 'X' "Einstelliges Kennzeichen
* CREATE_SW_COMP = 'X' "Einstelliges Kennzeichen
IMPORTING Parameters details for LXE_EXTR_READ_OBJECTS
OBJECTS - Translation objects + languages + texts
Data type: LXE_T_IDX_COLOB_EXTOptional: No
Call by Reference: No ( called with pass by value option)
CREATE_TYPEATT - Einstelliges Kennzeichen
Data type: CHAR1Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
INDEX_LOC_TRX - Index-ID
Data type: TREX_RFC-INDEX_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
PUSH2TRX - Einstelliges Kennzeichen
Data type: CHAR1Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
INDEX_TRX_RFC - RFC-Destination auf TREX
Data type: TREX_RFC-RFC_DESTINATIONOptional: Yes
Call by Reference: No ( called with pass by value option)
BGRFC_DEST - SAPOSCOL-Destination
Data type: RFC_DESTOptional: Yes
Call by Reference: No ( called with pass by value option)
STDRFC_DEST - SAPOSCOL-Destination
Data type: RFC_DESTOptional: Yes
Call by Reference: No ( called with pass by value option)
PUSH2CSV - Einstelliges Kennzeichen
Data type: CHAR1Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
CSV_FILEPATH -
Data type: STRINGOptional: Yes
Call by Reference: No ( called with pass by value option)
BGRFC_DEST_SINGLE - Ued for serialization of parallel background RFC's
Data type: RFC_DESTOptional: Yes
Call by Reference: No ( called with pass by value option)
INDEX_RUN_ID - Characterfeld der Länge 32
Data type: CHAR32Optional: No
Call by Reference: No ( called with pass by value option)
IS_FULL_INDEX_RUN - Einstelliges Kennzeichen
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
GET_TEXTS - Einstelliges Kennzeichen
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
BGRFC - Einstelliges Kennzeichen
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
PUSH2INDEX - Einstelliges Kennzeichen
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CREATE_TADIR - Einstelliges Kennzeichen
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CREATE_ACH - Einstelliges Kennzeichen
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CREATE_SW_COMP - Einstelliges Kennzeichen
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for LXE_EXTR_READ_OBJECTS 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_objects | TYPE LXE_T_IDX_COLOB_EXT, " | |||
| lv_create_typeatt | TYPE CHAR1, " '' | |||
| lv_index_loc_trx | TYPE TREX_RFC-INDEX_ID, " | |||
| lv_push2trx | TYPE CHAR1, " '' | |||
| lv_index_trx_rfc | TYPE TREX_RFC-RFC_DESTINATION, " | |||
| lv_bgrfc_dest | TYPE RFC_DEST, " | |||
| lv_stdrfc_dest | TYPE RFC_DEST, " | |||
| lv_push2csv | TYPE CHAR1, " '' | |||
| lv_csv_filepath | TYPE STRING, " | |||
| lv_bgrfc_dest_single | TYPE RFC_DEST, " | |||
| lv_index_run_id | TYPE CHAR32, " | |||
| lv_is_full_index_run | TYPE CHAR1, " | |||
| lv_get_texts | TYPE CHAR1, " 'X' | |||
| lv_bgrfc | TYPE CHAR1, " | |||
| lv_push2index | TYPE CHAR1, " 'X' | |||
| lv_create_tadir | TYPE CHAR1, " 'X' | |||
| lv_create_ach | TYPE CHAR1, " 'X' | |||
| lv_create_sw_comp | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'LXE_EXTR_READ_OBJECTS' "Read texts pairwise according a object list and send to indexer |
| EXPORTING | ||
| OBJECTS | = lv_objects | |
| CREATE_TYPEATT | = lv_create_typeatt | |
| INDEX_LOC_TRX | = lv_index_loc_trx | |
| PUSH2TRX | = lv_push2trx | |
| INDEX_TRX_RFC | = lv_index_trx_rfc | |
| BGRFC_DEST | = lv_bgrfc_dest | |
| STDRFC_DEST | = lv_stdrfc_dest | |
| PUSH2CSV | = lv_push2csv | |
| CSV_FILEPATH | = lv_csv_filepath | |
| BGRFC_DEST_SINGLE | = lv_bgrfc_dest_single | |
| INDEX_RUN_ID | = lv_index_run_id | |
| IS_FULL_INDEX_RUN | = lv_is_full_index_run | |
| GET_TEXTS | = lv_get_texts | |
| BGRFC | = lv_bgrfc | |
| PUSH2INDEX | = lv_push2index | |
| CREATE_TADIR | = lv_create_tadir | |
| CREATE_ACH | = lv_create_ach | |
| CREATE_SW_COMP | = lv_create_sw_comp | |
| . " LXE_EXTR_READ_OBJECTS | ||
ABAP code using 7.40 inline data declarations to call FM LXE_EXTR_READ_OBJECTS
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_create_typeatt) | = ''. | |||
| "SELECT single INDEX_ID FROM TREX_RFC INTO @DATA(ld_index_loc_trx). | ||||
| DATA(ld_push2trx) | = ''. | |||
| "SELECT single RFC_DESTINATION FROM TREX_RFC INTO @DATA(ld_index_trx_rfc). | ||||
| DATA(ld_push2csv) | = ''. | |||
| DATA(ld_get_texts) | = 'X'. | |||
| DATA(ld_push2index) | = 'X'. | |||
| DATA(ld_create_tadir) | = 'X'. | |||
| DATA(ld_create_ach) | = 'X'. | |||
| DATA(ld_create_sw_comp) | = 'X'. | |||
Search for further information about these or an SAP related objects