SAP REUSE_ALV_EXTRACT_SAVE Function Module for Save extract









REUSE_ALV_EXTRACT_SAVE is a standard reuse alv extract save SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Save 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 save FM, simply by entering the name REUSE_ALV_EXTRACT_SAVE 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_SAVE 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_SAVE'"Save extract
EXPORTING
IS_EXTRACT = "
* I_EXP06 = "
* I_EXP07 = "
* I_EXP08 = "
* I_EXP09 = "
* I_EXP10 = "
* I_GET_SELINFOS = "
* I_NO_MESSAGE = "
* IS_SEL_HIDE = "
* I_EXP01 = "
* I_EXP02 = "
* I_EXP03 = "
* I_EXP04 = "
* I_EXP05 = "

TABLES
* IT_EXP01 = "
* IT_EXP10 = "
* IT_EXP02 = "
* IT_EXP03 = "
* IT_EXP04 = "
* IT_EXP05 = "
* IT_EXP06 = "
* IT_EXP07 = "
* IT_EXP08 = "
* IT_EXP09 = "

EXCEPTIONS
WRONG_RELID = 1 NO_REPORT = 2 NO_EXNAME = 3 NO_EXTRACT_CREATED = 4
.



IMPORTING Parameters details for REUSE_ALV_EXTRACT_SAVE

IS_EXTRACT -

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

I_EXP06 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP07 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP08 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP09 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP10 -

Data type:
Optional: Yes
Call by Reference: Yes

I_GET_SELINFOS -

Data type:
Optional: Yes
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)

IS_SEL_HIDE -

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

I_EXP01 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP02 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP03 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP04 -

Data type:
Optional: Yes
Call by Reference: Yes

I_EXP05 -

Data type:
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for REUSE_ALV_EXTRACT_SAVE

IT_EXP01 -

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

IT_EXP10 -

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

IT_EXP02 -

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

IT_EXP03 -

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

IT_EXP04 -

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

IT_EXP05 -

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

IT_EXP06 -

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

IT_EXP07 -

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

IT_EXP08 -

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

IT_EXP09 -

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

EXCEPTIONS details

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_EXTRACT_CREATED -

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

Copy and paste ABAP code example for REUSE_ALV_EXTRACT_SAVE 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_it_exp01  TYPE STANDARD TABLE OF STRING, "   
lv_is_extract  TYPE DISEXTRACT, "   
lv_wrong_relid  TYPE DISEXTRACT, "   
lv_i_exp06  TYPE DISEXTRACT, "   
lt_it_exp10  TYPE STANDARD TABLE OF DISEXTRACT, "   
lv_i_exp07  TYPE DISEXTRACT, "   
lv_i_exp08  TYPE DISEXTRACT, "   
lv_i_exp09  TYPE DISEXTRACT, "   
lv_i_exp10  TYPE DISEXTRACT, "   
lt_it_exp02  TYPE STANDARD TABLE OF DISEXTRACT, "   
lv_no_report  TYPE DISEXTRACT, "   
lv_i_get_selinfos  TYPE DISEXTRACT, "   
lt_it_exp03  TYPE STANDARD TABLE OF DISEXTRACT, "   
lv_no_exname  TYPE DISEXTRACT, "   
lv_i_no_message  TYPE C, "   
lt_it_exp04  TYPE STANDARD TABLE OF C, "   
lv_is_sel_hide  TYPE SLIS_SEL_HIDE_ALV, "   
lv_no_extract_created  TYPE SLIS_SEL_HIDE_ALV, "   
lv_i_exp01  TYPE SLIS_SEL_HIDE_ALV, "   
lt_it_exp05  TYPE STANDARD TABLE OF SLIS_SEL_HIDE_ALV, "   
lv_i_exp02  TYPE SLIS_SEL_HIDE_ALV, "   
lt_it_exp06  TYPE STANDARD TABLE OF SLIS_SEL_HIDE_ALV, "   
lv_i_exp03  TYPE SLIS_SEL_HIDE_ALV, "   
lt_it_exp07  TYPE STANDARD TABLE OF SLIS_SEL_HIDE_ALV, "   
lv_i_exp04  TYPE SLIS_SEL_HIDE_ALV, "   
lt_it_exp08  TYPE STANDARD TABLE OF SLIS_SEL_HIDE_ALV, "   
lv_i_exp05  TYPE SLIS_SEL_HIDE_ALV, "   
lt_it_exp09  TYPE STANDARD TABLE OF SLIS_SEL_HIDE_ALV. "   

  CALL FUNCTION 'REUSE_ALV_EXTRACT_SAVE'  "Save extract
    EXPORTING
         IS_EXTRACT = lv_is_extract
         I_EXP06 = lv_i_exp06
         I_EXP07 = lv_i_exp07
         I_EXP08 = lv_i_exp08
         I_EXP09 = lv_i_exp09
         I_EXP10 = lv_i_exp10
         I_GET_SELINFOS = lv_i_get_selinfos
         I_NO_MESSAGE = lv_i_no_message
         IS_SEL_HIDE = lv_is_sel_hide
         I_EXP01 = lv_i_exp01
         I_EXP02 = lv_i_exp02
         I_EXP03 = lv_i_exp03
         I_EXP04 = lv_i_exp04
         I_EXP05 = lv_i_exp05
    TABLES
         IT_EXP01 = lt_it_exp01
         IT_EXP10 = lt_it_exp10
         IT_EXP02 = lt_it_exp02
         IT_EXP03 = lt_it_exp03
         IT_EXP04 = lt_it_exp04
         IT_EXP05 = lt_it_exp05
         IT_EXP06 = lt_it_exp06
         IT_EXP07 = lt_it_exp07
         IT_EXP08 = lt_it_exp08
         IT_EXP09 = lt_it_exp09
    EXCEPTIONS
        WRONG_RELID = 1
        NO_REPORT = 2
        NO_EXNAME = 3
        NO_EXTRACT_CREATED = 4
. " REUSE_ALV_EXTRACT_SAVE




ABAP code using 7.40 inline data declarations to call FM REUSE_ALV_EXTRACT_SAVE

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!