GHEFUNCVAR is a standard Executable ABAP Report 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 GHEFUNCVAR 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.
Selection Text: R_FCTID = Process/Function
Title: Convert Function Variant from DF55L into Hierarchy Repository
Text Symbol: RES = Function Structures Created:
INCLUDE LSF00TOP.
INCLUDE RBMTYPES01.
No SAP DATABASE tables are accessed within this REPORT code!
BM_OBJECT_TYPE_GET_STRUCT_TYPE CALL FUNCTION 'BM_OBJECT_TYPE_GET_STRUCT_TYPE' EXPORTING OBJECT_TYPE = OBJTYPE GET_VARIANT_STRUCT_TYPE = 'X' IMPORTING STRUCTURE_TYPE = TREETYPE EXCEPTIONS OTHERS = 1.
BM_OBJECT_STRUCTURES_GET CALL FUNCTION 'BM_OBJECT_STRUCTURES_GET' EXPORTING OBJECT_TYPE = OBJTYPE OBJECT_ID = T_DF55L-COMP_OBJ TABLES STRUCTURES = STRUCTURES.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING UNIQUE_ID = UID EXCEPTIONS OTHERS = 1.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING UNIQUE_ID = UID EXCEPTIONS OTHERS = 1.
BM_OBJECT_STRUCT_DESCR_CREATE CALL FUNCTION 'BM_OBJECT_STRUCT_DESCR_CREATE' EXPORTING I_OBJECT_TYPE = P_OBJTYPE I_OBJECT_ID = P_OBJID I_LANGUAGE = LANGUAGE IMPORTING E_STRUCT_DESCR = L_STRUCT_DESC * CHANGING * R_OBJECT = EXCEPTIONS OTHERS = 1.
BM_OBJECT_GET_TADIR CALL FUNCTION 'BM_OBJECT_GET_TADIR' EXPORTING OBJECT_TYPE = P_OBJTYPE OBJECT_ID = P_OBJID IMPORTING E_TADIR = L_TADIR EXCEPTIONS OTHERS = 0.
STREE_HIERARCHY_SAVE CALL FUNCTION 'STREE_HIERARCHY_SAVE' EXPORTING STRUCTURE_TYPE = P_TREETYPE STRUCTURE_ID = P_TREEID STRUCTURE_DESCRIPTION = L_STRUCT_DESC-TEXT LANGUAGE = L_STRUCT_DESC-SPRAS STRUCTURE_MASTERLANGUAGE = LANGUAGE STRUCTURE_RESPONSIBLE = SPACE DEVELOPMENT_CLASS = L_TADIR-DEVCLASS IMPORTING MESSAGE = STRUCT_MSG NEW_STRUCTURE_HEADER = P_STRUCTURE TABLES LIST_OF_NODES = STRUCT_NODES LIST_OF_REFERENCES = STRUCT_REFS LIST_OF_TEXTS = STRUCT_TEXTS.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
GHEFUNCVAR - Convert Function Variant from DF55L into Hierarchy Repository GHEFUNCVAR - Convert Function Variant from DF55L into Hierarchy Repository GHEFUN01 - Scenarios, Processes, Functions as List GHEFUN01 - Scenarios, Processes, Functions as List GHEDEVC2 - Assignment of Packages to Processes and Functions GHEDEVC2 - Assignment of Packages to Processes and Functions