SAP REUSE_ALV_TRANSFER_DATA_BACK Function Module for
REUSE_ALV_TRANSFER_DATA_BACK is a standard reuse alv transfer data back 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 back FM, simply by entering the name REUSE_ALV_TRANSFER_DATA_BACK 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_BACK 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_BACK'".
EXPORTING
* IT_FIELDCAT = "Field Catalog with Field Descriptions
* IT_FILTERED_ENTRIES = "
* IS_LAYOUT = "List Layout Specifications
* IT_SORT = "List output sort criteria
* IT_FILTER = "List output filter criteria
* IT_EXCLUDING = "Table of inactive function codes
* IT_SPECIAL_GROUPS = "Grouping fields for column selection
* IS_KEYINFO = "Header/posit. table field links
* IS_LIST_SCROLL = "
* IS_LINEINFO = "??
IMPORTING
ET_FIELDCAT = "Field Catalog with Field Descriptions
ES_LINEINFO = "??
ET_FILTERED_ENTRIES = "
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
ES_LIST_SCROLL = "Current list scroll status
ES_PRINT = "Print information
IMPORTING Parameters details for REUSE_ALV_TRANSFER_DATA_BACK
IT_FIELDCAT - Field Catalog with Field Descriptions
Data type: KKBLO_T_FIELDCATOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FILTERED_ENTRIES -
Data type: KKBLO_T_SFINFOOptional: Yes
Call by Reference: Yes
IS_LAYOUT - List Layout Specifications
Data type: KKBLO_LAYOUTOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SORT - List output sort criteria
Data type: KKBLO_T_SORTINFOOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FILTER - List output filter criteria
Data type: KKBLO_T_FILTEROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_EXCLUDING - Table of inactive function codes
Data type: KKBLO_T_EXTABOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SPECIAL_GROUPS - Grouping fields for column selection
Data type: KKBLO_T_SP_GROUPOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_KEYINFO - Header/posit. table field links
Data type: KKBLO_KEYINFOOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_LIST_SCROLL -
Data type: KKBLO_LIST_SCROLLOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_LINEINFO - ??
Data type: KKBLO_LINEINFOOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for REUSE_ALV_TRANSFER_DATA_BACK
ET_FIELDCAT - Field Catalog with Field Descriptions
Data type: SLIS_T_FIELDCAT_ALVOptional: No
Call by Reference: No ( called with pass by value option)
ES_LINEINFO - ??
Data type: SLIS_LINEINFOOptional: No
Call by Reference: No ( called with pass by value option)
ET_FILTERED_ENTRIES -
Data type: SLIS_T_FILTERED_ENTRIESOptional: No
Call by Reference: Yes
ES_LAYOUT - List Layout Specifications
Data type: SLIS_LAYOUT_ALVOptional: No
Call by Reference: No ( called with pass by value option)
ET_SORT - List output sort criteria
Data type: SLIS_T_SORTINFO_ALVOptional: No
Call by Reference: No ( called with pass by value option)
ET_FILTER - List output filter criteria
Data type: SLIS_T_FILTER_ALVOptional: No
Call by Reference: No ( called with pass by value option)
ET_EXCLUDING - Table of inactive function codes
Data type: SLIS_T_EXTABOptional: No
Call by Reference: No ( called with pass by value option)
ET_SPECIAL_GROUPS - Grouping fields for column selection
Data type: SLIS_T_SP_GROUP_ALVOptional: No
Call by Reference: No ( called with pass by value option)
ES_KEYINFO - Header/posit. table field links
Data type: SLIS_KEYINFO_ALVOptional: No
Call by Reference: No ( called with pass by value option)
ES_LIST_SCROLL - Current list scroll status
Data type: SLIS_LIST_SCROLLOptional: No
Call by Reference: No ( called with pass by value option)
ES_PRINT - Print information
Data type: SLIS_PRINT_ALVOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for REUSE_ALV_TRANSFER_DATA_BACK 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 SLIS_T_FIELDCAT_ALV, " | |||
| lv_it_fieldcat | TYPE KKBLO_T_FIELDCAT, " | |||
| lv_es_lineinfo | TYPE SLIS_LINEINFO, " | |||
| lv_it_filtered_entries | TYPE KKBLO_T_SFINFO, " | |||
| lv_et_filtered_entries | TYPE SLIS_T_FILTERED_ENTRIES, " | |||
| lv_es_layout | TYPE SLIS_LAYOUT_ALV, " | |||
| lv_is_layout | TYPE KKBLO_LAYOUT, " | |||
| lv_et_sort | TYPE SLIS_T_SORTINFO_ALV, " | |||
| lv_it_sort | TYPE KKBLO_T_SORTINFO, " | |||
| lv_et_filter | TYPE SLIS_T_FILTER_ALV, " | |||
| lv_it_filter | TYPE KKBLO_T_FILTER, " | |||
| lv_et_excluding | TYPE SLIS_T_EXTAB, " | |||
| lv_it_excluding | TYPE KKBLO_T_EXTAB, " | |||
| lv_et_special_groups | TYPE SLIS_T_SP_GROUP_ALV, " | |||
| lv_it_special_groups | TYPE KKBLO_T_SP_GROUP, " | |||
| lv_es_keyinfo | TYPE SLIS_KEYINFO_ALV, " | |||
| lv_is_keyinfo | TYPE KKBLO_KEYINFO, " | |||
| lv_es_list_scroll | TYPE SLIS_LIST_SCROLL, " | |||
| lv_is_list_scroll | TYPE KKBLO_LIST_SCROLL, " | |||
| lv_es_print | TYPE SLIS_PRINT_ALV, " | |||
| lv_is_lineinfo | TYPE KKBLO_LINEINFO. " |
|   CALL FUNCTION 'REUSE_ALV_TRANSFER_DATA_BACK' " |
| EXPORTING | ||
| IT_FIELDCAT | = lv_it_fieldcat | |
| IT_FILTERED_ENTRIES | = lv_it_filtered_entries | |
| 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 | |
| IS_LIST_SCROLL | = lv_is_list_scroll | |
| IS_LINEINFO | = lv_is_lineinfo | |
| IMPORTING | ||
| ET_FIELDCAT | = lv_et_fieldcat | |
| ES_LINEINFO | = lv_es_lineinfo | |
| ET_FILTERED_ENTRIES | = lv_et_filtered_entries | |
| 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 | |
| ES_LIST_SCROLL | = lv_es_list_scroll | |
| ES_PRINT | = lv_es_print | |
| . " REUSE_ALV_TRANSFER_DATA_BACK | ||
ABAP code using 7.40 inline data declarations to call FM REUSE_ALV_TRANSFER_DATA_BACK
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