SAP ABAP Class CL_SALV_STU_STRUCTURE_BUILDER (Utility for creation of dynamic ABAP structures)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-ATS (Application Component) ABAP Table/Tree Services
     SALV_STU (Package) ALV Services for Tables: Utilities for implementation
Properties
Class CL_SALV_STU_STRUCTURE_BUILDER  
Short Description Utility for creation of dynamic ABAP structures    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SALV_STU   ALV Services for Tables: Utilities for implementation 
Created 20100812   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SALV_STU_STRUCTURE_BUILDER has no forward declaration.
Interfaces
Class CL_SALV_STU_STRUCTURE_BUILDER has no interface implemented.
Friends
Class CL_SALV_STU_STRUCTURE_BUILDER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 R_DESCRIPTOR Instance attribute Protected Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20100812
2 T_STRUCTURE Instance attribute Protected Type reference (TYPE) YT_STRUCTURE 20100812
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_FIELD Instance method Public Method 20100812
2 CREATE_AS_SUBSTRUCTURE Static method Public Method 20120809
3 CREATE_STRUCTURE_DESCRIPTOR Static method Protected Method 20100812
4 CREATE_STRUCTURE_INSTANCE Instance method Public Method 20100812
5 CREATE_SUBSTRUCTURE Static method Public Method 20100831
6 GET_COMPONENTS_DEEP Static method Public Method 20100818
7 GET_STRUCTURE_DESCRIPTOR Instance method Public Method 20100812
Events
Class CL_SALV_STU_STRUCTURE_BUILDER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_COMPONENT Public See coding 20100818 begin of ys_component, field_path type string, type type ref to cl_abap_datadescr, end of ys_component
2 YS_STRUCTURE Protected See coding 20100812 begin of ys_structure, " either child_structure or type_descriptor is filled component_name type string, rt_child_structure type ref to data, " ys_structure r_data_descriptor type ref to cl_abap_datadescr, end of ys_structure
3 YT_COMPONENT Public See coding 20100818 yt_component type table of ys_component with default key
4 YT_FIELD_PATHS Public See coding 20100830 yt_field_paths type table of string with default key
5 YT_STRUCTURE Protected See coding 20100812 yt_structure type table of ys_structure
Method Signatures

Method APPEND_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_PATH Value transfer Type reference (TYPE) STRING 20100812
2 Importing R_DATA_DESCRIPTOR Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR 20100812

Method APPEND_FIELD on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.

Method CREATE_AS_SUBSTRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_BUILDER Value transfer Object reference (TYPE REF TO) CL_SALV_STU_STRUCTURE_BUILDER 20120809
2 Importing S_ORIGINAL_STRUCTURE Call by reference Type reference (TYPE) DATA 20120809
3 Importing T_SUBSTRUCTURE_FIELD_PATHS Call by reference Type reference (TYPE) YT_FIELD_PATHS 20120809

Method CREATE_AS_SUBSTRUCTURE on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.

Method CREATE_STRUCTURE_DESCRIPTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_DESCRIPTOR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20100812
2 Importing T_STRUCTURE Call by reference Type reference (TYPE) YT_STRUCTURE 20100812

Method CREATE_STRUCTURE_DESCRIPTOR on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.

Method CREATE_STRUCTURE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_STRUCTURE Value transfer Object reference (TYPE REF TO) DATA 20100812

Method CREATE_STRUCTURE_INSTANCE on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.

Method CREATE_SUBSTRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_PATH Value transfer Type reference (TYPE) STRING 20100831
2 Returning R_SUBSTRUCTURE_INSTANCE Value transfer Object reference (TYPE REF TO) DATA 20100831
3 Importing S_SAMPLE_OF_ORIGINAL_STRUCTURE Call by reference Type reference (TYPE) DATA 20100831
4 Importing T_FIELD_PATHS Call by reference Type reference (TYPE) YT_FIELD_PATHS 20100831

Method CREATE_SUBSTRUCTURE on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.

Method GET_COMPONENTS_DEEP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing R_STRUCTURE_DESCRIPTOR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20100818
2 Importing SUFFIX Call by reference Type reference (TYPE) STRING 20100818
3 Returning T_COMPONENTS Value transfer Type reference (TYPE) YT_COMPONENT 20100818

Method GET_COMPONENTS_DEEP on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.

Method GET_STRUCTURE_DESCRIPTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_DESCRIPTOR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR 20100812

Method GET_STRUCTURE_DESCRIPTOR on class CL_SALV_STU_STRUCTURE_BUILDER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703