SAP FKK_ALV_MAINTAIN_VTREF Function Module for
FKK_ALV_MAINTAIN_VTREF is a standard fkk alv maintain vtref 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 fkk alv maintain vtref FM, simply by entering the name FKK_ALV_MAINTAIN_VTREF into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKKCFCCO
Program Name: SAPLFKKCFCCO
Main Program: SAPLFKKCFCCO
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_ALV_MAINTAIN_VTREF 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 'FKK_ALV_MAINTAIN_VTREF'".
EXPORTING
* I_XDISPLAY = 'X' "
* I_DBLCLK = ' ' "
I_TABNAME = "
I_FIELDNAME = "
CHANGING
RS_SELFIELD = "
TABLES
T_APPL_ITEM_ITAB = "
* T_ALV_REQ_FIELDS = "
EXCEPTIONS
NO_HIT = 1
IMPORTING Parameters details for FKK_ALV_MAINTAIN_VTREF
I_XDISPLAY -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DBLCLK -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TABNAME -
Data type: SLIS_TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_FIELDNAME -
Data type: SLIS_FIELDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FKK_ALV_MAINTAIN_VTREF
RS_SELFIELD -
Data type: SLIS_SELFIELDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FKK_ALV_MAINTAIN_VTREF
T_APPL_ITEM_ITAB -
Data type:Optional: No
Call by Reference: Yes
T_ALV_REQ_FIELDS -
Data type: SALV_REQ_FIELDSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_HIT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FKK_ALV_MAINTAIN_VTREF 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_hit | TYPE STRING, " | |||
| lv_i_xdisplay | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_rs_selfield | TYPE SLIS_SELFIELD, " | |||
| lt_t_appl_item_itab | TYPE STANDARD TABLE OF SLIS_SELFIELD, " | |||
| lv_i_dblclk | TYPE BOOLE-BOOLE, " SPACE | |||
| lt_t_alv_req_fields | TYPE STANDARD TABLE OF SALV_REQ_FIELDS, " | |||
| lv_i_tabname | TYPE SLIS_TABNAME, " | |||
| lv_i_fieldname | TYPE SLIS_FIELDNAME. " |
|   CALL FUNCTION 'FKK_ALV_MAINTAIN_VTREF' " |
| EXPORTING | ||
| I_XDISPLAY | = lv_i_xdisplay | |
| I_DBLCLK | = lv_i_dblclk | |
| I_TABNAME | = lv_i_tabname | |
| I_FIELDNAME | = lv_i_fieldname | |
| CHANGING | ||
| RS_SELFIELD | = lv_rs_selfield | |
| TABLES | ||
| T_APPL_ITEM_ITAB | = lt_t_appl_item_itab | |
| T_ALV_REQ_FIELDS | = lt_t_alt_req_fields | |
| EXCEPTIONS | ||
| NO_HIT = 1 | ||
| . " FKK_ALV_MAINTAIN_VTREF | ||
ABAP code using 7.40 inline data declarations to call FM FKK_ALV_MAINTAIN_VTREF
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.| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xdisplay). | ||||
| DATA(ld_i_xdisplay) | = 'X'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_dblclk). | ||||
| DATA(ld_i_dblclk) | = ' '. | |||
Search for further information about these or an SAP related objects