SAP REUSE_ALV_EXTRACT_LOAD Function Module for Read extract









REUSE_ALV_EXTRACT_LOAD is a standard reuse alv extract load 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 extract 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 reuse alv extract load FM, simply by entering the name REUSE_ALV_EXTRACT_LOAD into the relevant SAP transaction such as SE37 or SE38.

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



Function REUSE_ALV_EXTRACT_LOAD 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 'REUSE_ALV_EXTRACT_LOAD'"Read extract
EXPORTING
IS_EXTRACT = "
* I_NO_MESSAGE = "

IMPORTING
ES_ADMIN = "
ES_SEL_HIDE = "

CHANGING
* C_EXP01 = "
* C_EXP10 = "
* C_EXP02 = "
* C_EXP03 = "
* C_EXP04 = "
* C_EXP05 = "
* C_EXP06 = "
* C_EXP07 = "
* C_EXP08 = "
* C_EXP09 = "

TABLES
* ET_EXP01 = "
* ET_EXP10 = "
* ET_EXP02 = "
* ET_EXP03 = "
* ET_EXP04 = "
* ET_EXP05 = "
* ET_EXP06 = "
* ET_EXP07 = "
* ET_EXP08 = "
* ET_EXP09 = "

EXCEPTIONS
NOT_FOUND = 1 WRONG_RELID = 2 NO_REPORT = 3 NO_EXNAME = 4 NO_IMPORT_POSSIBLE = 5
.



IMPORTING Parameters details for REUSE_ALV_EXTRACT_LOAD

IS_EXTRACT -

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

I_NO_MESSAGE -

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

EXPORTING Parameters details for REUSE_ALV_EXTRACT_LOAD

ES_ADMIN -

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

ES_SEL_HIDE -

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

CHANGING Parameters details for REUSE_ALV_EXTRACT_LOAD

C_EXP01 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP10 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP02 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP03 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP04 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP05 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP06 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP07 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP08 -

Data type:
Optional: Yes
Call by Reference: Yes

C_EXP09 -

Data type:
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for REUSE_ALV_EXTRACT_LOAD

ET_EXP01 -

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

ET_EXP10 -

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

ET_EXP02 -

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

ET_EXP03 -

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

ET_EXP04 -

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

ET_EXP05 -

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

ET_EXP06 -

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

ET_EXP07 -

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

ET_EXP08 -

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

ET_EXP09 -

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

EXCEPTIONS details

NOT_FOUND -

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

WRONG_RELID -

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

NO_REPORT -

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

NO_EXNAME -

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

NO_IMPORT_POSSIBLE -

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

Copy and paste ABAP code example for REUSE_ALV_EXTRACT_LOAD 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_c_exp01  TYPE STRING, "   
lv_es_admin  TYPE LTEXADMIN, "   
lt_et_exp01  TYPE STANDARD TABLE OF LTEXADMIN, "   
lv_not_found  TYPE LTEXADMIN, "   
lv_is_extract  TYPE DISEXTRACT, "   
lv_c_exp10  TYPE DISEXTRACT, "   
lt_et_exp10  TYPE STANDARD TABLE OF DISEXTRACT, "   
lv_c_exp02  TYPE DISEXTRACT, "   
lt_et_exp02  TYPE STANDARD TABLE OF DISEXTRACT, "   
lv_es_sel_hide  TYPE SLIS_SEL_HIDE_ALV, "   
lv_wrong_relid  TYPE SLIS_SEL_HIDE_ALV, "   
lv_i_no_message  TYPE C, "   
lv_c_exp03  TYPE C, "   
lt_et_exp03  TYPE STANDARD TABLE OF C, "   
lv_no_report  TYPE C, "   
lv_c_exp04  TYPE C, "   
lt_et_exp04  TYPE STANDARD TABLE OF C, "   
lv_no_exname  TYPE C, "   
lv_c_exp05  TYPE C, "   
lt_et_exp05  TYPE STANDARD TABLE OF C, "   
lv_no_import_possible  TYPE C, "   
lv_c_exp06  TYPE C, "   
lt_et_exp06  TYPE STANDARD TABLE OF C, "   
lv_c_exp07  TYPE C, "   
lt_et_exp07  TYPE STANDARD TABLE OF C, "   
lv_c_exp08  TYPE C, "   
lt_et_exp08  TYPE STANDARD TABLE OF C, "   
lv_c_exp09  TYPE C, "   
lt_et_exp09  TYPE STANDARD TABLE OF C. "   

  CALL FUNCTION 'REUSE_ALV_EXTRACT_LOAD'  "Read extract
    EXPORTING
         IS_EXTRACT = lv_is_extract
         I_NO_MESSAGE = lv_i_no_message
    IMPORTING
         ES_ADMIN = lv_es_admin
         ES_SEL_HIDE = lv_es_sel_hide
    CHANGING
         C_EXP01 = lv_c_exp01
         C_EXP10 = lv_c_exp10
         C_EXP02 = lv_c_exp02
         C_EXP03 = lv_c_exp03
         C_EXP04 = lv_c_exp04
         C_EXP05 = lv_c_exp05
         C_EXP06 = lv_c_exp06
         C_EXP07 = lv_c_exp07
         C_EXP08 = lv_c_exp08
         C_EXP09 = lv_c_exp09
    TABLES
         ET_EXP01 = lt_et_exp01
         ET_EXP10 = lt_et_exp10
         ET_EXP02 = lt_et_exp02
         ET_EXP03 = lt_et_exp03
         ET_EXP04 = lt_et_exp04
         ET_EXP05 = lt_et_exp05
         ET_EXP06 = lt_et_exp06
         ET_EXP07 = lt_et_exp07
         ET_EXP08 = lt_et_exp08
         ET_EXP09 = lt_et_exp09
    EXCEPTIONS
        NOT_FOUND = 1
        WRONG_RELID = 2
        NO_REPORT = 3
        NO_EXNAME = 4
        NO_IMPORT_POSSIBLE = 5
. " REUSE_ALV_EXTRACT_LOAD




ABAP code using 7.40 inline data declarations to call FM REUSE_ALV_EXTRACT_LOAD

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!