SAP ABAP Class CL_FDT_TYPEDESCR (FDT: Data object descriptor service)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_CORE (Package) BRFplus: Core
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FDT_ELEMDESCR FDT: Class for element type descriptor 20110711
2 Inheritance (c INHERITING FROM c_ref)  CL_FDT_STRUCTDESCR FDT: Data Object Structure Descriptor 20110711
3 Inheritance (c INHERITING FROM c_ref)  CL_FDT_TABLEDESCR FDT: Class for data object table descr 20110711
Properties
Class CL_FDT_TYPEDESCR  
Short Description FDT: Data object descriptor service    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_CORE   BRFplus: Core 
Created 20110711   SAP 
Last change 20130531   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 CL_ABAP_TYPEDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_FDT_STRUCTDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_TYPEDESCR has no interface implemented.
Friends
Class CL_FDT_TYPEDESCR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_KIND_ELEMENT Constant Public Type reference (TYPE) ABAP_TYPECATEGORY CL_ABAP_TYPEDESCR=>KIND_ELEM DDIC type element 20110711
2 GC_KIND_STRUCTURE Constant Public Type reference (TYPE) ABAP_TYPECATEGORY CL_ABAP_TYPEDESCR=>KIND_STRUCT DDIC type structure 20110711
3 GC_KIND_TABLE Constant Public Type reference (TYPE) ABAP_TYPECATEGORY CL_ABAP_TYPEDESCR=>KIND_TABLE DDIC type Table 20110711
4 GTS_BUFFER Static Attribute Private Type reference (TYPE) TS_BUFFER Buffer to hold all the instances of the type name for dest. 20110711
5 GTS_BUFFER_ERR Static Attribute Private Type reference (TYPE) TS_BUFFER_ERR Buffer to hold erraneous type name instances 20130521
6 GTS_CONN_BUFFER Static Attribute Private Type reference (TYPE) TS_CONN_BUFFER 20120529
7 MS_SAPSCRIPT_OBJECT Instance attribute Public Type reference (TYPE) IF_FDT_TYPES=>S_SAPSCRIPT_OBJECT SAPScript Object (ID +SAPScript docu object) 20110711
8 MS_TEXT_BUFFER Instance attribute Private Type reference (TYPE) S_TEXT_BUFFER 20120529
9 MV_ABSOLUTE_NAME Instance attribute Public Type reference (TYPE) ABAP_ABSTYPENAME Absolute Name 20110711
10 MV_IS_DDIC_TYPE Instance attribute Public Type reference (TYPE) ABAP_BOOL True when is DDIC type 20110711
11 MV_KIND Instance attribute Public Type reference (TYPE) ABAP_TYPECATEGORY Kind (see constants GC_KIND*) 20110711
12 MV_RELATIVE_NAME Instance attribute Public Type reference (TYPE) STRING Relative Name 20110711
13 MV_RFC_DESTINATION Instance attribute Public Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110711
14 MV_SWITCH_ID Instance attribute Public Type reference (TYPE) SFW_SWITCH_ID Id of a Switch in Switch Framework 20110921
15 MV_SWITCH_STATE Instance attribute Public Type reference (TYPE) SFW_SWITCHPOS Switch Position 20110921
16 MV_TYPE_KIND Instance attribute Public Type reference (TYPE) ABAP_TYPEKIND Type Kind (see contants GC_TYPE_KIND*) 20110711
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ALLOWED_ELEMENT_TYPE Static method Private Method check whether the element type is allowed 20110722
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110711
3 CREATE_DATA_REF Instance method Public Method Creates and return a data reference 20110819
4 CREATE_DEEP_STRUCTURE_COMP Static method Private Method Creates the deep components of the structure 20110712
5 CREATE_DESCR_FROM_ABAPDESCR Static method Private Method Gets the descriptor from abap descriptor 20110824
6 CREATE_DESCR_FROM_METADATA Static method Private Method Creates the descriptor from the ddic metadata 20110712
7 DESCRIBE_BY_DATA Static method Public Method Describes the data objects by data 20110711
8 DESCRIBE_BY_DATA_REF Static method Public Method Describes the data object by data reference 20110711
9 DESCRIBE_BY_NAME Static method Public Method Describes the data object by ddic type name 20110711
10 GET_ABAP_TYPEDESCR Instance method Public Method Gets the ABAP Type Descriptor for FDT Descriptor 20110717
11 GET_DDIC_TEXT Instance method Public Method Provides the text for the DDIC type 20110711
12 GET_FDT_TYPE_DESCR Static method Private Method Gets the FDT type descriptor from DDIC types and descr 20110711
13 GET_RFC_DESTINATION Static method Private Method Provides the RFC destination for the ID 20110711
14 GET_TYPE_NAME Instance method Public Method Provides the type name 20110818
Events
Class CL_FDT_TYPEDESCR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_BUFFER Private See coding Buffer to hold all the instances of the type name for dest. 20110711 BEGIN OF s_buffer, rfc_destination TYPE rfcdest , typename TYPE string, o_instance TYPE REF TO cl_fdt_typedescr , END OF s_buffer
2 S_BUFFER_ERR Private See coding 20130521 BEGIN OF s_buffer_err, rfc_destination TYPE rfcdest , typename TYPE string, timestamp TYPE if_fdt_types=>timestamp, t_message TYPE if_fdt_types=>t_message, END OF s_buffer_err
3 S_CONN_BUFFER Public See coding 20120529 BEGIN OF s_conn_buffer, rfcdest TYPE rfcdest, subrc TYPE sy-subrc, END OF s_conn_buffer
4 S_TEXT_BUFFER Private See coding 20111003 BEGIN OF s_text_buffer, langu TYPE langu, buffer_loaded TYPE abap_bool, ts_text TYPE if_fdt_types=>ts_text, ts_short_text TYPE if_fdt_types=>ts_short_text, text TYPE if_fdt_types=>text, short_text TYPE if_fdt_types=>short_text, END OF s_text_buffer
5 S_TYPE_ATTRIBUTES Public Type reference (TYPE) FDT_S_DDIC_ATTRIBUTE Attributes of the data object 20110711
6 TS_BUFFER Private See coding Buffer to hold all the instances of the type name for dest. 20110711 ts_buffer TYPE SORTED TABLE OF s_buffer WITH UNIQUE KEY rfc_destination typename
7 TS_BUFFER_ERR Private See coding 20130521 ts_buffer_err TYPE SORTED TABLE OF s_buffer_err WITH UNIQUE KEY rfc_destination typename
8 TS_CONN_BUFFER Public See coding 20120529 ts_conn_buffer TYPE SORTED TABLE OF s_conn_buffer WITH UNIQUE KEY rfcdest
Method Signatures

Method CHECK_ALLOWED_ELEMENT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DDIC_METADATA Call by reference Type reference (TYPE) FDT_S_DDIC_METADATA FDT : Component Metadata 20110812
2 Returning RV_IS_ALLOWED Value transfer Type reference (TYPE) ABAP_BOOL 20110722

Method CHECK_ALLOWED_ELEMENT_TYPE on class CL_FDT_TYPEDESCR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_TYPE_ATTRIBUTES Call by reference Type reference (TYPE) S_TYPE_ATTRIBUTES Attributes of the data object 20110711
2 Importing IV_RFC_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110711

Method CONSTRUCTOR on class CL_FDT_TYPEDESCR has no exception.

Method CREATE_DATA_REF Signature

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

Method CREATE_DATA_REF on class CL_FDT_TYPEDESCR has no exception.

Method CREATE_DEEP_STRUCTURE_COMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STRUCTURE_COMPONENT Value transfer Type reference (TYPE) CL_FDT_STRUCTDESCR=>T_STRUCTURE_COMPONENT 20110712
2 Importing IT_STRUCTURE_COMPONENT Call by reference Type reference (TYPE) FDT_T_DDIC_STRUCTURE_COMP FDT: DDIC structure component 20110712
3 Importing IV_RFC_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110712
4 Importing IV_TYPENAME Call by reference Type reference (TYPE) CSEQUENCE Name of Dictionary Type 20110712

Method CREATE_DEEP_STRUCTURE_COMP on class CL_FDT_TYPEDESCR has no exception.

Method CREATE_DESCR_FROM_ABAPDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ABAP_TYPEDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20110824
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110902
3 Returning RO_TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_FDT_TYPEDESCR FDT: Data object descriptor service 20110902
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110902

Method CREATE_DESCR_FROM_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DDIC_METADATA Call by reference Type reference (TYPE) FDT_S_DDIC_METADATA FDT : Component Metadata 20110712
2 Importing IT_STRUCTURE_COMPONENT Call by reference Type reference (TYPE) FDT_T_DDIC_STRUCTURE_COMP FDT: DDIC structure component 20110712
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110722
4 Importing IV_RFC_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110712
5 Returning RO_TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_FDT_TYPEDESCR FDT: Data object descriptor service 20110712
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110722

Method DESCRIBE_BY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IA_DATA Call by reference Type reference (TYPE) ANY 20110711
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110823
3 Returning RO_TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_FDT_TYPEDESCR FDT: Data object descriptor service 20110711
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110711

Method DESCRIBE_BY_DATA_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_DATA Call by reference Object reference (TYPE REF TO) DATA Data reference 20110711
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110823
3 Returning RO_TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_FDT_TYPEDESCR FDT: Type Descriptor 20110711
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110711

Method DESCRIBE_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Id of the object or application 20110711
2 Importing IV_TYPENAME Call by reference Type reference (TYPE) CSEQUENCE Name of Dictionary Type 20110711
3 Returning RO_TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_FDT_TYPEDESCR FDT: Data object descriptor service 20110711
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110711

Method GET_ABAP_TYPEDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_ABAP_TYPEDESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20110717

Method GET_ABAP_TYPEDESCR on class CL_FDT_TYPEDESCR has no exception.

Method GET_DDIC_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_SHORT_TEXT Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_SHORT_TEXT Short Texts (language dependent) 20110711
2 Exporting ETS_TEXT Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_TEXT Texts (language dependent) 20110711
3 Exporting EV_SHORT_TEXT Call by reference Type reference (TYPE) IF_FDT_TYPES=>SHORT_TEXT Short Text 20110711
4 Exporting EV_TEXT Call by reference Type reference (TYPE) IF_FDT_TYPES=>TEXT Text 20110711
5 Importing IV_LANGU Call by reference Type reference (TYPE) LANGU Language Key 20110711
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110711

Method GET_FDT_TYPE_DESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ABAP_TYPE_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20110711
2 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Id for deriving RFC destination 20110711
3 Importing IV_TYPENAME Call by reference Type reference (TYPE) CSEQUENCE Name of Dictionary Type 20110711
4 Returning RO_TYPE_DESCR Value transfer Object reference (TYPE REF TO) CL_FDT_TYPEDESCR FDT: Data object descriptor service 20110711
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110711

Method GET_RFC_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20110711
2 Returning RV_RFC_DESTINATION Value transfer Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110711
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20110711

Method GET_TYPE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TYPENAME Value transfer Type reference (TYPE) FDT_DDIC_TYPENAME Name of Dictionary Type 20110818

Method GET_TYPE_NAME on class CL_FDT_TYPEDESCR has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 731