SAP REUSE_ALV_TRANSFER_DATA Function Module for









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

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



Function REUSE_ALV_TRANSFER_DATA 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_TRANSFER_DATA'"
EXPORTING
* IT_FIELDCAT = "Field Catalog with Field Descriptions
* IS_PRINT = "Print information
* IS_LINEINFO = "??
* IT_EXCEPT_QINFO = "
* IS_LAYOUT = "List Layout Specifications
* IT_SORT = "List output sort criteria
* IT_FILTER = "Filter criteria for first list output
* IT_EXCLUDING = "Table of inactive function codes
* IT_SPECIAL_GROUPS = "Grouping fields for column selection
* IS_KEYINFO = "Header/posit. table field links
* IT_EVENT_EXIT = "Standard fcode exit requests table
* IS_LIST_SCROLL = "Current list scroll status

IMPORTING
ET_FIELDCAT = "Field Catalog with Field Descriptions
ES_LINEINFO = "??
ET_EXCEPT_QINFO = "
ES_LAYOUT = "List Layout Specifications
ET_SORT = "List output sort criteria
ET_FILTER = "List output filter criteria
ET_EXCLUDING = "Table of inactive function codes
ET_SPECIAL_GROUPS = "Grouping fields for column selection
ES_KEYINFO = "Header/posit. table field links
ET_EVENT_EXIT = "Standard fcode exit requests table
ES_LIST_SCROLL = "
.



IMPORTING Parameters details for REUSE_ALV_TRANSFER_DATA

IT_FIELDCAT - Field Catalog with Field Descriptions

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

IS_PRINT - Print information

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

IS_LINEINFO - ??

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

IT_EXCEPT_QINFO -

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

IS_LAYOUT - List Layout Specifications

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

IT_SORT - List output sort criteria

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

IT_FILTER - Filter criteria for first list output

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

IT_EXCLUDING - Table of inactive function codes

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

IT_SPECIAL_GROUPS - Grouping fields for column selection

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

IS_KEYINFO - Header/posit. table field links

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

IT_EVENT_EXIT - Standard fcode exit requests table

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

IS_LIST_SCROLL - Current list scroll status

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

EXPORTING Parameters details for REUSE_ALV_TRANSFER_DATA

ET_FIELDCAT - Field Catalog with Field Descriptions

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

ES_LINEINFO - ??

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

ET_EXCEPT_QINFO -

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

ES_LAYOUT - List Layout Specifications

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

ET_SORT - List output sort criteria

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

ET_FILTER - List output filter criteria

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

ET_EXCLUDING - Table of inactive function codes

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

ET_SPECIAL_GROUPS - Grouping fields for column selection

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

ES_KEYINFO - Header/posit. table field links

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

ET_EVENT_EXIT - Standard fcode exit requests table

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

ES_LIST_SCROLL -

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

Copy and paste ABAP code example for REUSE_ALV_TRANSFER_DATA 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_et_fieldcat  TYPE KKBLO_T_FIELDCAT, "   
lv_it_fieldcat  TYPE SLIS_T_FIELDCAT_ALV, "   
lv_is_print  TYPE SLIS_PRINT_ALV, "   
lv_es_lineinfo  TYPE KKBLO_LINEINFO, "   
lv_is_lineinfo  TYPE SLIS_LINEINFO, "   
lv_et_except_qinfo  TYPE SLIS_T_QINFO_ALV, "   
lv_it_except_qinfo  TYPE SLIS_T_QINFO_ALV, "   
lv_es_layout  TYPE KKBLO_LAYOUT, "   
lv_is_layout  TYPE SLIS_LAYOUT_ALV, "   
lv_et_sort  TYPE KKBLO_T_SORTINFO, "   
lv_it_sort  TYPE SLIS_T_SORTINFO_ALV, "   
lv_et_filter  TYPE KKBLO_T_FILTER, "   
lv_it_filter  TYPE SLIS_T_FILTER_ALV, "   
lv_et_excluding  TYPE KKBLO_T_EXTAB, "   
lv_it_excluding  TYPE SLIS_T_EXTAB, "   
lv_et_special_groups  TYPE KKBLO_T_SP_GROUP, "   
lv_it_special_groups  TYPE SLIS_T_SP_GROUP_ALV, "   
lv_es_keyinfo  TYPE KKBLO_KEYINFO, "   
lv_is_keyinfo  TYPE SLIS_KEYINFO_ALV, "   
lv_et_event_exit  TYPE KKBLO_T_EVENT_EXIT, "   
lv_it_event_exit  TYPE SLIS_T_EVENT_EXIT, "   
lv_es_list_scroll  TYPE KKBLO_LIST_SCROLL, "   
lv_is_list_scroll  TYPE SLIS_LIST_SCROLL. "   

  CALL FUNCTION 'REUSE_ALV_TRANSFER_DATA'  "
    EXPORTING
         IT_FIELDCAT = lv_it_fieldcat
         IS_PRINT = lv_is_print
         IS_LINEINFO = lv_is_lineinfo
         IT_EXCEPT_QINFO = lv_it_except_qinfo
         IS_LAYOUT = lv_is_layout
         IT_SORT = lv_it_sort
         IT_FILTER = lv_it_filter
         IT_EXCLUDING = lv_it_excluding
         IT_SPECIAL_GROUPS = lv_it_special_groups
         IS_KEYINFO = lv_is_keyinfo
         IT_EVENT_EXIT = lv_it_event_exit
         IS_LIST_SCROLL = lv_is_list_scroll
    IMPORTING
         ET_FIELDCAT = lv_et_fieldcat
         ES_LINEINFO = lv_es_lineinfo
         ET_EXCEPT_QINFO = lv_et_except_qinfo
         ES_LAYOUT = lv_es_layout
         ET_SORT = lv_et_sort
         ET_FILTER = lv_et_filter
         ET_EXCLUDING = lv_et_excluding
         ET_SPECIAL_GROUPS = lv_et_special_groups
         ES_KEYINFO = lv_es_keyinfo
         ET_EVENT_EXIT = lv_et_event_exit
         ES_LIST_SCROLL = lv_es_list_scroll
. " REUSE_ALV_TRANSFER_DATA




ABAP code using 7.40 inline data declarations to call FM REUSE_ALV_TRANSFER_DATA

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!