SAP VBFS_TREE_LIST_DISPLAY Function Module for NOTRANSL: Fehlerprotokoll - Anzeige
VBFS_TREE_LIST_DISPLAY is a standard vbfs tree list display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Fehlerprotokoll - Anzeige 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 vbfs tree list display FM, simply by entering the name VBFS_TREE_LIST_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: V60P
Program Name: SAPLV60P
Main Program: SAPLV60P
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function VBFS_TREE_LIST_DISPLAY 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 'VBFS_TREE_LIST_DISPLAY'"NOTRANSL: Fehlerprotokoll - Anzeige.
EXPORTING
* I_VBFS_S_CB_PROGRAM = "
* I_HOTSPOT_MODE = '3' "
* I_TREE_TITLE = ' ' "Screens, Title Text
* I_VBTYP = ' ' "
* I_VBFS_CB_PROGRAM = "
* I_VBFS_S_CB_USER_COMMAND = "
* I_VBFS_CB_USER_COMMAND = "
* I_VBFS_S_CB_GUI_STATUS = "
* I_VBFS_CB_GUI_STATUS = "
* I_VBFS_CALLED_BY = ' ' "
* I_VBFS_CB_TOP_OF_PAGE = "
* I_VBFS_S_CB_TOP_OF_PAGE = "
TABLES
I_VBFS = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLV60P_001 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_002 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_003 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_004 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_005 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_006 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_007 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_008 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_009 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_010 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_011 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_012 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_013 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_018 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_019 DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING Parameters details for VBFS_TREE_LIST_DISPLAY
I_VBFS_S_CB_PROGRAM -
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HOTSPOT_MODE -
Data type:Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TREE_TITLE - Screens, Title Text
Data type: SY-LISELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBTYP -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_CB_PROGRAM -
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_S_CB_USER_COMMAND -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_CB_USER_COMMAND -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_S_CB_GUI_STATUS -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_CB_GUI_STATUS -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_CALLED_BY -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_CB_TOP_OF_PAGE -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBFS_S_CB_TOP_OF_PAGE -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for VBFS_TREE_LIST_DISPLAY
I_VBFS -
Data type: VBFSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for VBFS_TREE_LIST_DISPLAY 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_i_vbfs | TYPE STANDARD TABLE OF VBFS, " | |||
| lv_i_vbfs_s_cb_program | TYPE SY-REPID, " | |||
| lv_i_hotspot_mode | TYPE SY, " '3' | |||
| lv_i_tree_title | TYPE SY-LISEL, " SPACE | |||
| lv_i_vbtyp | TYPE SY, " ' ' | |||
| lv_i_vbfs_cb_program | TYPE SY-REPID, " | |||
| lv_i_vbfs_s_cb_user_command | TYPE SY, " | |||
| lv_i_vbfs_cb_user_command | TYPE SY, " | |||
| lv_i_vbfs_s_cb_gui_status | TYPE SY, " | |||
| lv_i_vbfs_cb_gui_status | TYPE SY, " | |||
| lv_i_vbfs_called_by | TYPE SY, " ' ' | |||
| lv_i_vbfs_cb_top_of_page | TYPE SY, " | |||
| lv_i_vbfs_s_cb_top_of_page | TYPE SY. " |
|   CALL FUNCTION 'VBFS_TREE_LIST_DISPLAY' "NOTRANSL: Fehlerprotokoll - Anzeige |
| EXPORTING | ||
| I_VBFS_S_CB_PROGRAM | = lv_i_vbfs_s_cb_program | |
| I_HOTSPOT_MODE | = lv_i_hotspot_mode | |
| I_TREE_TITLE | = lv_i_tree_title | |
| I_VBTYP | = lv_i_vbtyp | |
| I_VBFS_CB_PROGRAM | = lv_i_vbfs_cb_program | |
| I_VBFS_S_CB_USER_COMMAND | = lv_i_vbfs_s_cb_user_command | |
| I_VBFS_CB_USER_COMMAND | = lv_i_vbfs_cb_user_command | |
| I_VBFS_S_CB_GUI_STATUS | = lv_i_vbfs_s_cb_gui_status | |
| I_VBFS_CB_GUI_STATUS | = lv_i_vbfs_cb_gui_status | |
| I_VBFS_CALLED_BY | = lv_i_vbfs_called_by | |
| I_VBFS_CB_TOP_OF_PAGE | = lv_i_vbfs_cb_top_of_page | |
| I_VBFS_S_CB_TOP_OF_PAGE | = lv_i_vbfs_s_cb_top_of_page | |
| TABLES | ||
| I_VBFS | = lt_i_vbfs | |
| . " VBFS_TREE_LIST_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM VBFS_TREE_LIST_DISPLAY
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 REPID FROM SY INTO @DATA(ld_i_vbfs_s_cb_program). | ||||
| DATA(ld_i_hotspot_mode) | = '3'. | |||
| "SELECT single LISEL FROM SY INTO @DATA(ld_i_tree_title). | ||||
| DATA(ld_i_tree_title) | = ' '. | |||
| DATA(ld_i_vbtyp) | = ' '. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_vbfs_cb_program). | ||||
| DATA(ld_i_vbfs_called_by) | = ' '. | |||
Search for further information about these or an SAP related objects