SAP Function STRUCTURE_BUILD - Build Structure

Parameter Reference Type Length Default Optional Text
77AW_INT HRRHAS-77AW_INT C 1 SPACE X Switch: Read Path in T77AW ('') or 77AW (X)
ACTIV HRRHAS-ACTIV C 1 SPACE X Status Overlap Indicator
AUTHY HRRHAS-AUTHY C 1 'X' X Authorization Indicator
AUTHY_BASE HRRHAS-AUTHY_BASE C 1 '$' X
BUFFER_MODE 0 SPACE X
CBFLAG HRRHAS-CBFLAG C 1 SPACE X Indicator: Get Control Block Number
DFLAG 0 SPACE X
OBJID 0 Object Number
OTYPE HRRHAS-OTYPE C 2 Object Type
PLVAR HRRHAS-PLVAR C 2 Plan Version
RECURS HRRHAS-RECURS C 1 SPACE X Recursiveness Check: 'X' --> Yes, '' --> No
SBEGD HRRHAS-SBEGD D 8 SY-DATUM X Start Date
SENDD HRRHAS-SENDD D 8 SY-DATUM X End Date
SFLAG HRRHAS-SFLAG C 1 'X' X Cut Indicator
SVECT HRRHAS-SVECT C 5 '1' X Status Vector
TDEPTH HRRHAS-TDEPTH P 3 0 X Technical Depth
TEXT_BUFFER_FILL HRPP0C-TEST C 1 SPACE X
TFLAG HRRHAS-TFLAG C 1 SPACE X Indicator: Get Texts
VFLAG HRRHAS-VFLAG C 1 SPACE X Indicator: Get Relationship Information
WEGID HRRHAS-WEGID C 8 SPACE X Evaluation Path

Parameter Reference Type Length Text
CB_NR HRRHAS-CB_NR C 3 Control Block Number
ENTRY STRUC u 732 Structure Information on Current Object => STRUC
OBJECT OBJEC u 127 Object Information => OBJEC
ROOT GDSTR u 104 General Structure Information (Root) => GDSTR

Parameter Reference Length Optional Text
CHECK_TAB_DESC HRCHECK 6 X

Exception Text
ROOT_NOT_FOUND Root not Available
WEGID_NOT_FOUND Evaluation Path Does Not Exist

Functionality
This module creates a structure of OM objects according to anevaluation path (table T778A).
Structural reporting is done as follows:
Internal creation when the function module STRUCTURE_BUILD is called.
The function module STRUCTURE_ENTRY_GET reads the individual entries ofthe structure one after another.
Internal data is deleted using the function module STRUCTURE_DELETE.
Internal data is administered using control blocks. You can delete acontrol block using the function module CONTROL_BLOCK_DELETE.

Example
See FM RH_STRUC_GET