SAP ABAP Class CL_DD_STRUCTURE (Structure within the structure browser)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC-ED (Application Component) Dictionary Maintenance
     SEDD_ANALYSIS (Package) Analysis Program
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SERIALIZABLE_OBJECT Serializable Object 20080118
Properties
Class CL_DD_STRUCTURE  
Short Description Structure within the structure browser    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEDD_ANALYSIS   Analysis Program 
Created 20080118   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20080118
Friends
Class CL_DD_STRUCTURE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COMPONENT_TYPE Instance attribute Public Type reference (TYPE) TY_COMPONENT_TYPE Component type 20080121
2 CO_COMPONENT_TYPE Constant Public See coding Component types 20080121
3 EU_OBJECT_TYPE Instance attribute Public Type reference (TYPE) SEU_OBJTYP WB Request: Type of Object of Development Environment 20080710
4 FIELDS Instance attribute Public Type reference (TYPE) TY_FIELDS Direct fields of structure 20080118
5 GOTSTATE Instance attribute Public Type reference (TYPE) DDGOTSTATE Status of an ABAP/4 Dictionary object 20080121
6 LANGU Instance attribute Private Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080121
7 NUMC_FIELDS Static Attribute Private See coding 20100430
8 OBJECT_TYPE Instance attribute Public Type reference (TYPE) TROBJTYPE Object Type 20080121
9 PREFIX Instance attribute Public Type reference (TYPE) STRING Prefix of fields 20080118
10 SUFFIX Instance attribute Public Type reference (TYPE) STRING Suffix of fields 20080118
11 SUPPRESS_AUTHORITY_CHECKS Instance attribute Private Type reference (TYPE) ABAP_BOOL X: No authority check 20080128
12 SWITCHPOS Instance attribute Public Type reference (TYPE) SFW_SWITCHPOSITION Switch Setting for Objects 20080121
13 TABLE_HEADER Instance attribute Public Type reference (TYPE) DD02V SAP Tables 20080121
14 TTYP_HEADER Instance attribute Public Type reference (TYPE) DD40V DD: Interface structure for table types 20080121
15 VERSION Instance attribute Private Type reference (TYPE) AS4LOCAL Activation Status of a Repository Object 20080118
16 VIEW_HEADER Instance attribute Public Type reference (TYPE) DD25V V-VIEWTABLE: View of Base Tables of a View 20080704
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FIELDS Instance method Private Method Add fields 20080118
2 ADD_LINE_TYPE Instance method Private Method Add fields 20080121
3 ADD_VIEW_FIELDS Instance method Private Method Add fields 20080704
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100430
5 CREATE Static method Public Method CONSTRUCTOR 20080708
6 CREATE_FOR_TABL Static method Public Method CONSTRUCTOR 20080704
7 CREATE_FOR_TTYP Static method Public Method CONSTRUCTOR 20080704
8 CREATE_FOR_VIEW Static method Public Method CONSTRUCTOR 20080704
9 EXTRACT_NUMC_FIELDS Static method Private Method 20100430
10 GET_FIELD_LIST Instance method Public Method Get list of all fields 20080611
11 GET_TABLE_HEADER Instance method Private Method Read table header 20080118
12 GET_TTYP_HEADER Instance method Private Method Read table header 20080121
13 GET_VIEW_HEADER Instance method Private Method Read table header 20080704
14 INIT Instance method Private Method CONSTRUCTOR 20080704
15 INIT_FOR_TABL Instance method Private Method CONSTRUCTOR 20080704
16 INIT_FOR_TTYP Instance method Private Method CONSTRUCTOR 20080704
17 INIT_FOR_VIEW Instance method Private Method CONSTRUCTOR 20080704
18 INIT_INCONSISTENT_NUMC_FIELDS Instance method Private Method 20100430
Events
Class CL_DD_STRUCTURE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_COMPONENT_TYPE Public See coding 20080121 ty_component_type type c length 1
2 TY_ENVIRONMENT Public See coding 20100215 ty_environment type table of dcobjdep
3 TY_FIELD Public See coding 20080118 begin of ty_field, def type dd03p, ref type ref to cl_dd_structure, end of ty_field
4 TY_FIELDS Public See coding 20080118 ty_fields type sorted table of ty_field with unique key def-position
5 TY_FIELD_NAMES Public See coding 20100430 ty_field_names type standard table of FIELDNAME with default key
Method Signatures

Method ADD_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELDS Call by reference Type reference (TYPE) DD03PTAB Table Name 20080121

Method ADD_FIELDS on class CL_DD_STRUCTURE has no exception.

Method ADD_LINE_TYPE Signature

Method ADD_LINE_TYPE on class CL_DD_STRUCTURE has no parameter.
Method ADD_LINE_TYPE on class CL_DD_STRUCTURE has no exception.

Method ADD_VIEW_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELDS Call by reference Type reference (TYPE) DD27PTAB Table Name 20080704

Method ADD_VIEW_FIELDS on class CL_DD_STRUCTURE has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_DD_STRUCTURE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DD_STRUCTURE has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080708
2 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080708
3 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080708
4 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080708
5 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080708
6 Importing IM_TYPENAME Call by reference Type reference (TYPE) CLIKE Table Name 20080708
7 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080708
8 Returning RE_DD_STRUCTURE Value transfer Object reference (TYPE REF TO) CL_DD_STRUCTURE Structure within the structure browser 20080708
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080708

Method CREATE_FOR_TABL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080704
2 Importing IM_DD02V Call by reference Type reference (TYPE) DD02V Table Header 20080704
3 Importing IM_DD03PTAB Call by reference Type reference (TYPE) DD03PTAB Field infos for non-saved objects 20080704
4 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080704
5 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
6 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
7 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080704
8 Importing IM_TABNAME Call by reference Type reference (TYPE) CLIKE Table Name 20080704
9 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080704
10 Returning RE_DD_STRUCTURE Value transfer Object reference (TYPE REF TO) CL_DD_STRUCTURE Structure within the structure browser 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method CREATE_FOR_TTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080704
2 Importing IM_DD40V Call by reference Type reference (TYPE) DD40V 20080704
3 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080704
4 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
5 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
6 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080704
7 Importing IM_TTYPNAME Call by reference Type reference (TYPE) CLIKE Name of table type 20080704
8 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080704
9 Returning RE_DD_STRUCTURE Value transfer Object reference (TYPE REF TO) CL_DD_STRUCTURE Structure within the structure browser 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method CREATE_FOR_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080704
2 Importing IM_DD25V Call by reference Type reference (TYPE) DD25V Generated table for view DD25V 20080704
3 Importing IM_DD27PTAB Call by reference Type reference (TYPE) DD27PTAB 20080704
4 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080704
5 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
6 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
7 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080704
8 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080704
9 Importing IM_VIEWNAME Call by reference Type reference (TYPE) CLIKE Name of table type 20080704
10 Returning RE_DD_STRUCTURE Value transfer Object reference (TYPE REF TO) CL_DD_STRUCTURE Structure within the structure browser 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method EXTRACT_NUMC_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FIELDNAMES Call by reference Type reference (TYPE) TY_FIELD_NAMES 20100430
2 Importing IM_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20100430

Method EXTRACT_NUMC_FIELDS on class CL_DD_STRUCTURE has no exception.

Method GET_FIELD_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FIELDS Call by reference Type reference (TYPE) DD03PTAB 20080611
2 Importing IM_EXPAND_STRUCTURES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100215
3 Importing IM_EXPAND_TABLE_TYPES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100215
4 Importing IM_INCLUDE_APPENDS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100215
5 Importing IM_INCLUDE_SICI_INCLUDES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20100215

Method GET_FIELD_LIST on class CL_DD_STRUCTURE has no exception.

Method GET_TABLE_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FIELDS Call by reference Type reference (TYPE) DD03PTAB 20080121
2 Importing IM_TABLE Call by reference Type reference (TYPE) TABNAME Table Name 20080118
3 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE Activation Status of a Repository Object 20080121

Method GET_TABLE_HEADER on class CL_DD_STRUCTURE has no exception.

Method GET_TTYP_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TTYP Call by reference Type reference (TYPE) TTYPENAME Name 20080121
2 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE Activation Status of a Repository Object 20080121

Method GET_TTYP_HEADER on class CL_DD_STRUCTURE has no exception.

Method GET_VIEW_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FIELDS Call by reference Type reference (TYPE) DD27PTAB 20080704
2 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE Activation Status of a Repository Object 20080704
3 Importing IM_VIEW Call by reference Type reference (TYPE) VIEWNAME Table Name 20080704

Method GET_VIEW_HEADER on class CL_DD_STRUCTURE has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE Component Type (Include / Append / ..) 20080704
2 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20080704
3 Importing IM_OBJECT_NAME Call by reference Type reference (TYPE) CLIKE Object Name in Object List 20080704
4 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
5 Importing IM_READ_FROM_DB Call by reference Type reference (TYPE) ABAP_BOOL 20080704
6 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
7 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL 20080704
8 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE Activation Status of a Repository Object 20080704
9 Returning RE_VERSION Value transfer Type reference (TYPE) DDOBJSTATE Read status of an ABAP/4 Dictionary object 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method INIT_FOR_TABL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080704
2 Importing IM_DD02V Call by reference Type reference (TYPE) DD02V Table Header 20080704
3 Importing IM_DD03PTAB Call by reference Type reference (TYPE) DD03PTAB Field infos for non-saved objects 20080704
4 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080704
5 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
6 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
7 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080704
8 Importing IM_TABNAME Call by reference Type reference (TYPE) CLIKE Table Name 20080704
9 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method INIT_FOR_TTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080704
2 Importing IM_DD40V Call by reference Type reference (TYPE) DD40V 20080704
3 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080704
4 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
5 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
6 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080704
7 Importing IM_TTYPNAME Call by reference Type reference (TYPE) CLIKE Name of table type 20080704
8 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method INIT_FOR_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT_TYPE Call by reference Type reference (TYPE) TY_COMPONENT_TYPE CO_COMPONENT_TYPE-ROOT Component Type (Include / Append / ..) 20080704
2 Importing IM_DD25V Call by reference Type reference (TYPE) DD25V Generated table for view DD25V 20080704
3 Importing IM_DD27PTAB Call by reference Type reference (TYPE) DD27PTAB 20080704
4 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20080704
5 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING Prefix 20080704
6 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING Suffix 20080704
7 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080704
8 Importing IM_VERSION Call by reference Type reference (TYPE) DDOBJSTATE '*' Activation Status of a Repository Object 20080704
9 Importing IM_VIEWNAME Call by reference Type reference (TYPE) CLIKE Table Name 20080704
# Exception Resumable Description Created on
1 CX_PAK_NOT_AUTHORIZED GUI Exceptions 20080704

Method INIT_INCONSISTENT_NUMC_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_STRUCTURE Call by reference Type reference (TYPE) ANY 20100430
2 Importing IM_NUMC_FIELDS Call by reference Type reference (TYPE) TY_FIELD_NAMES 20100430

Method INIT_INCONSISTENT_NUMC_FIELDS on class CL_DD_STRUCTURE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 711