SAP REUSE_ALV_LIST_LAYOUT_INFO_GET Function Module for Read current ALV list information









REUSE_ALV_LIST_LAYOUT_INFO_GET is a standard reuse alv list layout info get 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 current ALV list information 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 list layout info get FM, simply by entering the name REUSE_ALV_LIST_LAYOUT_INFO_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: SALV
Program Name: SAPLSALV
Main Program: SAPLSALV
Appliation area:
Release date: 16-Jul-1997
Mode(Normal, Remote etc): Normal Function Module
Update:



Function REUSE_ALV_LIST_LAYOUT_INFO_GET 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_LIST_LAYOUT_INFO_GET'"Read current ALV list information
IMPORTING
ES_LAYOUT = "List layout specifications
ET_FILTERED_ENTRIES_HEADER = "
ET_FILTERED_ENTRIES_ITEM = "
ET_FIELDCAT = "Field catalog with field descriptions
ET_SORT = "List output sort criteria
ET_FILTER = "List output filter criteria
ES_LIST_SCROLL = "Current list scroll status
ES_VARIANT = "Current Layout
E_WIDTH = "Current width of output list
ET_MARKED_COLUMNS = "
ET_FILTERED_ENTRIES = "

TABLES
* ET_OUTTAB = "
* ET_COLLECT06 = "
* ET_COLLECT07 = "
* ET_COLLECT08 = "
* ET_COLLECT09 = "
* ET_OUTTAB_HEADER = "
* ET_OUTTAB_ITEM = "
* ET_COLLECT00 = "
* ET_COLLECT01 = "
* ET_COLLECT02 = "
* ET_COLLECT03 = "
* ET_COLLECT04 = "
* ET_COLLECT05 = "

EXCEPTIONS
NO_INFOS = 1 PROGRAM_ERROR = 2
.



EXPORTING Parameters details for REUSE_ALV_LIST_LAYOUT_INFO_GET

ES_LAYOUT - List layout specifications

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

ET_FILTERED_ENTRIES_HEADER -

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

ET_FILTERED_ENTRIES_ITEM -

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

ET_FIELDCAT - Field catalog with field descriptions

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

ET_SORT - List output sort criteria

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

ET_FILTER - List output filter criteria

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

ES_LIST_SCROLL - Current list scroll status

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

ES_VARIANT - Current Layout

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

E_WIDTH - Current width of output list

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

ET_MARKED_COLUMNS -

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

ET_FILTERED_ENTRIES -

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

TABLES Parameters details for REUSE_ALV_LIST_LAYOUT_INFO_GET

ET_OUTTAB -

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

ET_COLLECT06 -

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

ET_COLLECT07 -

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

ET_COLLECT08 -

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

ET_COLLECT09 -

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

ET_OUTTAB_HEADER -

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

ET_OUTTAB_ITEM -

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

ET_COLLECT00 -

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

ET_COLLECT01 -

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

ET_COLLECT02 -

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

ET_COLLECT03 -

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

ET_COLLECT04 -

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

ET_COLLECT05 -

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

EXCEPTIONS details

NO_INFOS - No information available

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

PROGRAM_ERROR - Program errors

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

Copy and paste ABAP code example for REUSE_ALV_LIST_LAYOUT_INFO_GET 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_no_infos  TYPE STRING, "   
lv_es_layout  TYPE SLIS_LAYOUT_ALV, "   
lt_et_outtab  TYPE STANDARD TABLE OF TABLE, "   
lt_et_collect06  TYPE STANDARD TABLE OF TABLE, "   
lv_et_filtered_entries_header  TYPE SLIS_T_FILTERED_ENTRIES, "   
lt_et_collect07  TYPE STANDARD TABLE OF TABLE, "   
lv_et_filtered_entries_item  TYPE SLIS_T_FILTERED_ENTRIES, "   
lt_et_collect08  TYPE STANDARD TABLE OF TABLE, "   
lt_et_collect09  TYPE STANDARD TABLE OF TABLE, "   
lv_et_fieldcat  TYPE SLIS_T_FIELDCAT_ALV, "   
lv_program_error  TYPE SLIS_T_FIELDCAT_ALV, "   
lt_et_outtab_header  TYPE STANDARD TABLE OF TABLE, "   
lv_et_sort  TYPE SLIS_T_SORTINFO_ALV, "   
lt_et_outtab_item  TYPE STANDARD TABLE OF TABLE, "   
lv_et_filter  TYPE SLIS_T_FILTER_ALV, "   
lt_et_collect00  TYPE STANDARD TABLE OF TABLE, "   
lt_et_collect01  TYPE STANDARD TABLE OF TABLE, "   
lv_es_list_scroll  TYPE SLIS_LIST_SCROLL, "   
lv_es_variant  TYPE DISVARIANT, "   
lt_et_collect02  TYPE STANDARD TABLE OF TABLE, "   
lv_e_width  TYPE INT4, "   
lt_et_collect03  TYPE STANDARD TABLE OF TABLE, "   
lt_et_collect04  TYPE STANDARD TABLE OF TABLE, "   
lv_et_marked_columns  TYPE SLIS_T_FIELDCAT_ALV, "   
lt_et_collect05  TYPE STANDARD TABLE OF TABLE, "   
lv_et_filtered_entries  TYPE SLIS_T_FILTERED_ENTRIES. "   

  CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET'  "Read current ALV list information
    IMPORTING
         ES_LAYOUT = lv_es_layout
         ET_FILTERED_ENTRIES_HEADER = lv_et_filtered_entries_header
         ET_FILTERED_ENTRIES_ITEM = lv_et_filtered_entries_item
         ET_FIELDCAT = lv_et_fieldcat
         ET_SORT = lv_et_sort
         ET_FILTER = lv_et_filter
         ES_LIST_SCROLL = lv_es_list_scroll
         ES_VARIANT = lv_es_variant
         E_WIDTH = lv_e_width
         ET_MARKED_COLUMNS = lv_et_marked_columns
         ET_FILTERED_ENTRIES = lv_et_filtered_entries
    TABLES
         ET_OUTTAB = lt_et_outtab
         ET_COLLECT06 = lt_et_collect06
         ET_COLLECT07 = lt_et_collect07
         ET_COLLECT08 = lt_et_collect08
         ET_COLLECT09 = lt_et_collect09
         ET_OUTTAB_HEADER = lt_et_outtab_header
         ET_OUTTAB_ITEM = lt_et_outtab_item
         ET_COLLECT00 = lt_et_collect00
         ET_COLLECT01 = lt_et_collect01
         ET_COLLECT02 = lt_et_collect02
         ET_COLLECT03 = lt_et_collect03
         ET_COLLECT04 = lt_et_collect04
         ET_COLLECT05 = lt_et_collect05
    EXCEPTIONS
        NO_INFOS = 1
        PROGRAM_ERROR = 2
. " REUSE_ALV_LIST_LAYOUT_INFO_GET




ABAP code using 7.40 inline data declarations to call FM REUSE_ALV_LIST_LAYOUT_INFO_GET

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!