TREX3F01 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 TREX3F01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TREEV_CREATE_SIMPLE_TREE CALL FUNCTION 'TREEV_CREATE_SIMPLE_TREE' EXPORTING OWNER_REPID = THIS_REPID DYNNR = THIS_DYNNR CONTAINER = 'TREE_CONTAINER' LEFT = 0 " container on dynpro TOP = 0 " is used to size control WIDTH = 0 " => do not set position HEIGHT = 0 " * alignment = * METRIC = CNTL_METRIC_DYNPRO * NO_FLUSH = * LINK_REPID = * SHELLSTYLE = * PARENTID = REG_EVENT_EXPAND_NO_CHILDREN = 'X' " Definition of the REGISTER_EVENT_NODE_DBL_CLICK = 'X' " events which will be REGISTER_EVENT_NODE_CONTEXT_M = 'X' " passed to the backend.
TREEV_EVENT_CB_EXPAND_NC CALL FUNCTION 'TREEV_EVENT_CB_EXPAND_NC' EXPORTING CALLBACK_FORM = 'HANDLE_TREE_EXPAND_NC' CHANGING HANDLE = TREE EXCEPTIONS CB_NOT_FOUND = 1 FAILED = 2 INV_CALLBACK_DEFINITION = 3 OTHERS = 4.
TREEV_EVENT_CB_NODE_DBL_CLK CALL FUNCTION 'TREEV_EVENT_CB_NODE_DBL_CLK' EXPORTING CALLBACK_FORM = 'HANDLE_TREE_NODE_DBL_CLK' CHANGING HANDLE = TREE EXCEPTIONS CB_NOT_FOUND = 1 FAILED = 2 INV_CALLBACK_DEFINITION = 3 OTHERS = 4.
TREEV_EVENT_CB_NODE_CONTEXT_M CALL FUNCTION 'TREEV_EVENT_CB_NODE_CONTEXT_M' EXPORTING CALLBACK_FORM = 'HANDLE_TREE_NODE_CONTEXT_MENU' CHANGING HANDLE = TREE EXCEPTIONS CB_NOT_FOUND = 1 FAILED = 2 INV_CALLBACK_DEFINITION = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.