SAP ABAP Class CL_PLM_DYNTABLE_SERVICE (Service Class for Dynamic Table Creation and Data Mapping)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   CA-EPT-SPI (Application Component) Service Provider Infrastructure
     EA-PLM_CO_TABLE_MAPPER (Package) PLM Table Mapper
Properties
Class CL_PLM_DYNTABLE_SERVICE  
Short Description Service Class for Dynamic Table Creation and Data Mapping    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package EA-PLM_CO_TABLE_MAPPER   PLM Table Mapper 
Created 20100820   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_PLM_DYNTABLE_SERVICE has no forward declaration.
Interfaces
Class CL_PLM_DYNTABLE_SERVICE has no interface implemented.
Friends
Class CL_PLM_DYNTABLE_SERVICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_PREFIX Constant Public Type reference (TYPE) CHAR10 'GRP_' Character Field Length = 10 20100820
2 GC_PROP_ENABLED Constant Public Type reference (TYPE) CHAR10 'PROP_EN' Character Field Length = 10 20100820
3 GC_PROP_READ_ONLY Constant Public Type reference (TYPE) CHAR10 'PROP_RO' Character Field Length = 10 20100820
4 GC_PROP_STATE Constant Public Type reference (TYPE) CHAR10 'PROP_ST' Character Field Length = 10 20100820
5 GC_PROP_VISIBLE Constant Public Type reference (TYPE) CHAR10 'PROP_VS' Character Field Length = 10 20100820
6 GC_SEP Constant Public Type reference (TYPE) CHAR1 '_' Single-Character Flag 20100820
7 GC_SEPARATOR Constant Public Type reference (TYPE) CHAR10 '_' Character Field Length = 10 20100820
8 MO_GROUP_EXT_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
9 MO_GROUP_FLDS_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
10 MO_GROUP_KEY_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
11 MO_LINE_EXT_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
12 MO_LINE_FLDS_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
13 MO_LINE_FLDS_STRUCT_SHORT Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
14 MO_SOURCE_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
15 MO_TARGET_STRUCTDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
16 MO_TARGET_TABLEDESCR Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20100820
17 MT_DATA Instance attribute Private Object reference (TYPE REF TO) DATA 20100820
18 MT_GROUP_EXTENSION Instance attribute Private Type reference (TYPE) PLM_T_DYNTABLE_COL_INFO UI Table Mapper Column Information 20100820
19 MT_GROUP_KEY Instance attribute Private Object reference (TYPE REF TO) DATA 20100820
20 MT_GROUP_KEY_MAP Instance attribute Private Type reference (TYPE) PLM_T_GROUP_KEY_MAP Table Mapper Group Key 20100820
21 MT_GROUP_KEY_MAP_IDX Instance attribute Private Type reference (TYPE) TY_T_GROUP_KEY_MAP_IDX Index for MT_GROUP_KEY_MAP 20110707
22 MT_LINE_EXTENSION Instance attribute Private Type reference (TYPE) PLM_T_DYNTABLE_COL_INFO UI Table Mapper Column Information 20100820
23 MT_MAPPING Instance attribute Private Type reference (TYPE) TT_MAPPING 20100820
24 MT_TABMAP_GROUP Instance attribute Private Type reference (TYPE) PLM_T_TABMAP_GROUP Table Mapper technical Group data 20100820
25 MV_COL_COUNT Instance attribute Private Type reference (TYPE) I 20100820
26 MV_GROUP_KEY_LAST_GRPNUM Instance attribute Private Type reference (TYPE) SEQNO Sequence Number 20110707
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_TARGET_STRUCTDESCR Instance method Private Method 20100820
2 CONSTRUCTOR Instance method Public Constructor 20100820
3 COPY_TABLE Instance method Private Method 20100820
4 CREATE_TABLE_STRUCTURE Instance method Public Method 20100820
5 GET_ELEMENT_INDEX Instance method Public Method 20100820
6 GET_FD_4_ORG_FD_WITH_GROUP Instance method Public Method 20100820
7 GET_FIELDNAMES_4_ORG_FIELDNAME Instance method Public Method 20100820
8 GET_MAPPED_GROUP_KEY Instance method Public Method 20100820
9 GET_MAPPED_GROUP_NUMBER Instance method Public Method 20100820
10 GET_ORIGINAL_FIELDNAME Instance method Public Method 20100820
11 GET_STRUCTDESCR_4_EXTENSION Instance method Private Method 20100820
12 GET_STRUCTDESCR_BY_FIELDNAME Instance method Private Method 20100820
13 MAP_EXTENSION Instance method Private Method 20100820
14 MAP_GROUP_FIELDS Instance method Private Method 20100820
15 MAP_TABLE_DATA Instance method Public Method 20100820
16 SORT_DATA Instance method Private Method 20100820
Events
Class CL_PLM_DYNTABLE_SERVICE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_MAPPING Private See coding 20100820 BEGIN OF ts_mapping, scr_tabix LIKE sy-tabix, tgt_tabix LIKE sy-tabix, END OF ts_mapping
2 TT_MAPPING Private See coding 20100820 tt_mapping TYPE STANDARD TABLE OF ts_mapping
3 TY_S_GROUP_KEY_MAP_IDX Private See coding 20110707 BEGIN OF ty_s_group_key_map_idx, group_number TYPE SEQNO, index TYPE sytabix, END OF ty_s_group_key_map_idx
4 TY_T_GROUP_KEY_MAP_IDX Private See coding 20110707 ty_t_group_key_map_idx TYPE SORTED TABLE OF ty_s_group_key_map_idx WITH UNIQUE KEY group_number
Method Signatures

Method BUILD_TARGET_STRUCTDESCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_TARGET_STRUCTDESCR Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
2 Exporting EO_TARGET_TABLEDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20100820

Method BUILD_TARGET_STRUCTDESCR on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_MAIN_STRUCTURE Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
2 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20100820
3 Importing IT_GROUP_EXTENSION Call by reference Type reference (TYPE) PLM_T_DYNTABLE_COL_INFO UI Table Mapper Column Information 20100820
4 Importing IT_GROUP_FIELD Call by reference Type reference (TYPE) PLM_T_FIELDNAME Fieldname Table 20100820
5 Importing IT_GROUP_KEY Call by reference Type reference (TYPE) PLM_T_FIELDNAME Fieldname Table 20100820
6 Importing IT_KEY_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20100820
7 Importing IT_LINE_EXTENSION Call by reference Type reference (TYPE) PLM_T_DYNTABLE_COL_INFO UI Table Mapper Column Information 20100820
8 Importing IT_LINE_FIELD Call by reference Type reference (TYPE) PLM_T_FIELDNAME Fieldname Table 20100820
# Exception Resumable Description Created on
1 EX_INVALID_GROUP_EXTENSION 20100820
2 EX_INVALID_GROUP_FIELDS 20100820
3 EX_INVALID_GROUP_KEYS 20100820
4 EX_INVALID_LINE_EXTENSION 20100820
5 EX_INVALID_LINE_FIELDS 20100820
6 EX_INVALID_STRUCTURE 20100820

Method COPY_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100820
2 Importing IT_DATA Call by reference Type reference (TYPE) INDEX TABLE 20100820

Method COPY_TABLE on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method CREATE_TABLE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_STRUCT_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
2 Exporting EO_TABLE_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Runtime Type Services 20100820

Method CREATE_TABLE_STRUCTURE on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_ELEMENT_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_INDEX Call by reference Type reference (TYPE) PLM_T_INDEX Index of Internal Tables 20100820
2 Importing IV_ELEMENT_INDEX Call by reference Attribute reference (LIKE) SY-TABIX Index of Internal Tables 20100820

Method GET_ELEMENT_INDEX on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_FD_4_ORG_FD_WITH_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20100820
2 Exporting EV_NOT_FOUND Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100820
3 Importing IV_FIELDNAME_ORG Call by reference Type reference (TYPE) FIELDNAME Field Name 20100820
4 Importing IV_GROUP_NUMBER Call by reference Type reference (TYPE) SEQNO Node Identifier as XSTRING 20100820

Method GET_FD_4_ORG_FD_WITH_GROUP on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_FIELDNAMES_4_ORG_FIELDNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDNAME Call by reference Type reference (TYPE) PLM_T_FIELDNAME Field Name 20100820
2 Exporting EV_NOT_FOUND Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100820
3 Importing IS_NODE_ID Call by reference Type reference (TYPE) ANY Node Identifier as XSTRING 20100820
4 Importing IV_FIELDNAME_ORG Call by reference Type reference (TYPE) FIELDNAME Field Name 20100820

Method GET_FIELDNAMES_4_ORG_FIELDNAME on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_MAPPED_GROUP_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_GROUP_KEY Call by reference Type reference (TYPE) PLM_T_TABMAP_GROUP_KEY Table Mapper Group Key 20100820
2 Exporting EV_NOT_FOUND Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100820
3 Importing IV_GROUP_NUMBER Call by reference Type reference (TYPE) SEQNO Sequence Number 20100820

Method GET_MAPPED_GROUP_KEY on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_MAPPED_GROUP_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GROUP_NUMBER Call by reference Type reference (TYPE) SEQNO Sequence Number 20100820
2 Exporting EV_NOT_FOUND Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100820
3 Importing IT_GROUP_KEY Call by reference Type reference (TYPE) PLM_T_TABMAP_GROUP_KEY Table Mapper Group Key 20100820

Method GET_MAPPED_GROUP_NUMBER on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_ORIGINAL_FIELDNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FIELDNAME_ORG Call by reference Type reference (TYPE) FIELDNAME Field Name 20100820
2 Exporting EV_NOT_FOUND Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100820
3 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20100820

Method GET_ORIGINAL_FIELDNAME on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method GET_STRUCTDESCR_4_EXTENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ERO_TARGET_STRUCTDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
2 Importing IT_LINE_EXT_COMP Call by reference Type reference (TYPE) PLM_T_DYNTABLE_COL_VALUE UI Table Mapper Column Value 20100820
# Exception Resumable Description Created on
1 EX_INVALID_INPUT 20100820

Method GET_STRUCTDESCR_BY_FIELDNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ERO_TARGET_STRUCTDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
2 Importing IO_LINE_STRUCTURE Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
3 Importing IRO_SOURCE_STRUCTDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20100820
4 Importing IT_FIELDNAME Call by reference Type reference (TYPE) PLM_T_FIELDNAME Fieldname Table 20100820
# Exception Resumable Description Created on
1 EX_INVALID_INPUT 20100820

Method MAP_EXTENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DATA Call by reference Type reference (TYPE) ANY 20100820
2 Importing IT_LINE_EXTENSION Call by reference Type reference (TYPE) PLM_T_DYNTABLE_COL_INFO UI Table Mapper Column Information 20100820
# Exception Resumable Description Created on
1 EX_INTERNAL_ERROR 20100820

Method MAP_GROUP_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DATA Call by reference Type reference (TYPE) ANY 20100820
2 Exporting EV_NOT_FOUND Call by reference Type reference (TYPE) BOOLE_D General Flag 20100820
3 Importing IS_GROUP_FIELD Call by reference Type reference (TYPE) ANY 20100820
4 Importing IS_GROUP_KEY Call by reference Type reference (TYPE) ANY 20100820

Method MAP_GROUP_FIELDS on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method MAP_TABLE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20100820
2 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20100820
3 Importing IT_SORT_FIELD Call by reference Type reference (TYPE) PLM_T_FIELDNAME Field Name 20100820
4 Importing IV_DATA_IS_SORTED Call by reference Type reference (TYPE) BOOLE_D Data of static node is already sorted 20110525

Method MAP_TABLE_DATA on class CL_PLM_DYNTABLE_SERVICE has no exception.

Method SORT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20100820
2 Importing IT_SORT_FIELD Call by reference Type reference (TYPE) PLM_T_FIELDNAME Fieldname Table 20100820
# Exception Resumable Description Created on
1 EX_INVALID_SORT_FIELD 20100820
History
Last changed by/on SAP  20130531 
SAP Release Created in 606