BEN42F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter BEN42F01 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Form routines for data format in tree format
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_BEN_GET_TEXT_DATA_ELEMENT call function 'HR_BEN_GET_TEXT_DATA_ELEMENT' exporting rollname = 'BEN_AREA' tlength = '3' reaction = no_msg importing text = roll_text subrc = subrc tables error_table = error_table.
RS_TREE_SET_CURRENT_LAYOUT call function 'RS_TREE_SET_CURRENT_LAYOUT' exporting cursor_column = cursor_column cursor_line = cursor_line first_node = first_node first_node_type = first_node_type list_column = list_column list_line = list_line tables layout = layout.
RS_TREE_LIST_DISPLAY call function 'RS_TREE_LIST_DISPLAY' exporting callback_program = my_repid callback_user_command = 'USER_COMMAND_300' callback_text_display = 'TEXT_DISPLAY_300' callback_color_display = 'COLOR_DISPLAY_300'.
RS_TREE_CONSTRUCT call function 'RS_TREE_CONSTRUCT' tables nodetab = nodetab.
RS_TREE_GET_CURRENT_LAYOUT call function 'RS_TREE_GET_CURRENT_LAYOUT' importing cursor_column = cursor_column cursor_line = cursor_line first_node = first_node first_node_type = first_node_type list_column = list_column list_line = list_line tables layout = layout exceptions others = 0.
HR_BEN_GET_TEXT_DATA_ELEMENT call function 'HR_BEN_GET_TEXT_DATA_ELEMENT' exporting rollname = 'BEN_AREA' tlength = '3' reaction = no_msg importing text = text subrc = subrc tables error_table = error_table.
HR_BEN_GET_TEXT_DATA_ELEMENT call function 'HR_BEN_GET_TEXT_DATA_ELEMENT' exporting rollname = 'TABNAME' tlength = '3' reaction = no_msg importing text = text subrc = subrc tables error_table = error_table.
RS_TREE_SET_LOCK call function 'RS_TREE_SET_LOCK' exporting node_id = marktab-id with_subtree = space.
RS_TREE_SET_LOCK call function 'RS_TREE_SET_LOCK' exporting node_id = worknode-id with_subtree = 'X'.
RS_TREE_RESET_LOCK call function 'RS_TREE_RESET_LOCK' exporting node_id = worknode-id with_subtree = 'X'.
RS_TREE_GET_MARKED_NODES call function 'RS_TREE_GET_MARKED_NODES' exporting with_subtree = 'X' tables marktab = marktab.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = text1 exceptions others = 0.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = text1 exceptions others = 0.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = perc text = text1 exceptions others = 0.
HR_BEN_GET_TEXT_VIEW_NAME call function 'HR_BEN_GET_TEXT_VIEW_NAME' exporting viewname = viewname reaction = no_msg IMPORTING TEXT = table_text SUBRC = subrc tables error_table = error_table.
HR_BEN_GET_TEXT_DOMVALUE call function 'HR_BEN_GET_TEXT_DOMVALUE' exporting domname = 'BEN_CATEG' domvalue = bpcat reaction = no_msg importing text = bpcat_text subrc = subrc tables error_table = error_table.
HR_BEN_GET_TEXT_TABLE_NAME call function 'HR_BEN_GET_TEXT_TABLE_NAME' exporting tabname = tabname reaction = no_msg importing text = table_text subrc = subrc tables error_table = error_table.
HR_BEN_GET_PLAN_CATEGORY call function 'HR_BEN_GET_PLAN_CATEGORY' exporting barea = i_t5uba-barea pltyp = i_t5uba-pltyp reaction = no_msg importing bpcat = act_bpcat subrc = subrc tables error_table = error_table.
call function 'HR_BEN_GET_PLAN_TYPE' exporting barea = i_t74fr-barea bplan = i_t74fr-bplan datum = i_t74fr-begda reaction = no_msg importing pltyp = pltyp subrc = subrc tables error_table = error_table.
HR_BEN_GET_PLAN_CATEGORY call function 'HR_BEN_GET_PLAN_CATEGORY' exporting barea = i_t74fr-barea pltyp = pltyp reaction = no_msg importing bpcat = act_bpcat subrc = subrc tables error_table = error_table.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name BEN42F01 or its description.