SAP Reports / Programs | Basis Components | TREX | TREX ABAP + JAVA API(BC-TRX-API) SAP BC

TREX_ADMIN_TOOL_F09 SAP ABAP INCLUDE - Include TREX_ADMIN_TOOL_F09







TREX_ADMIN_TOOL_F09 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 TREX_ADMIN_TOOL_F09 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT TREX_ADMIN_TOOL_F09. "Basic submit
SUBMIT TREX_ADMIN_TOOL_F09 AND RETURN. "Return to original report after report execution complete
SUBMIT TREX_ADMIN_TOOL_F09 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include TREX_ADMIN_TOOL_F09


INCLUDES used within this REPORT TREX_ADMIN_TOOL_F09

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

TREX_EXT_GET_JOIN_INDEX_INFO CALL FUNCTION 'TREX_EXT_GET_JOIN_INDEX_INFO' EXPORTING i_rfc_destination = g_rfc_destination i_index_list = gt_selected_indexes0160 IMPORTING e_return_code = lv_return_code e_return_text = lv_return_text e_join_index_parts = lt_join_index_parts e_join_index_aliases = lt_aliases e_view_attributes = lt_view_attributes e_static_join_conditions = lt_join_conditions e_join_paths = lt_join_paths e_key_figures = lt_key_figures e_constraints = lt_constraints EXCEPTIONS conversion_error = 1 error = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_JOIN_INDEX_PARTS' CHANGING ct_fieldcat = gt_fieldcat1_0160[].

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_JOIN_VIEW_ATTRIBUTES' CHANGING ct_fieldcat = gt_fieldcat2_0160[].

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_JOIN_CONDITIONS' CHANGING ct_fieldcat = gt_fieldcat3_0160[].

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_JOIN_PATHS' CHANGING ct_fieldcat = gt_fieldcat4_0160[].

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_JOIN_KEY_FIGURES' CHANGING ct_fieldcat = gt_fieldcat5_0160[].

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_CONSTRAINTS' CHANGING ct_fieldcat = gt_fieldcat6_0160[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TREXS_INDEX_SELECTION_LIST' CHANGING ct_fieldcat = lt_fieldcat[].

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = lv_pf_status_callback i_callback_user_command = lv_callback_user_command it_fieldcat = gt_fieldcat_indexes0160[] is_layout = index_selection_layout * i_grid_title = lv_grid_title it_event_exit = lt_event_exit[] i_screen_start_column = 7 i_screen_start_line = 5 i_screen_end_column = 100 i_screen_end_line = 25 TABLES t_outtab = gt_index_selection0160.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = lv_title txt2 = lv_text2 txt1 = lv_text1. "Error in Flush

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid_09 txt2 = sy-subrc txt1 = text-141.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = g_repid_09 txt2 = sy-subrc txt1 = text-142.



Contribute (Add Comments)

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 TREX_ADMIN_TOOL_F09 or its description.