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 | Constant | Public | Type reference (TYPE) | CHAR10 | 'GRP_' | Character Field Length = 10 | 20100820 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR10 | 'PROP_EN' | Character Field Length = 10 | 20100820 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR10 | 'PROP_RO' | Character Field Length = 10 | 20100820 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR10 | 'PROP_ST' | Character Field Length = 10 | 20100820 | ||
| 5 | Constant | Public | Type reference (TYPE) | CHAR10 | 'PROP_VS' | Character Field Length = 10 | 20100820 | ||
| 6 | Constant | Public | Type reference (TYPE) | CHAR1 | '_' | Single-Character Flag | 20100820 | ||
| 7 | Constant | Public | Type reference (TYPE) | CHAR10 | '_' | Character Field Length = 10 | 20100820 | ||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 14 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 15 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20100820 | |||
| 17 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20100820 | ||||
| 18 | Instance attribute | Private | Type reference (TYPE) | PLM_T_DYNTABLE_COL_INFO | UI Table Mapper Column Information | 20100820 | |||
| 19 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20100820 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | PLM_T_GROUP_KEY_MAP | Table Mapper Group Key | 20100820 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | TY_T_GROUP_KEY_MAP_IDX | Index for MT_GROUP_KEY_MAP | 20110707 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | PLM_T_DYNTABLE_COL_INFO | UI Table Mapper Column Information | 20100820 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | TT_MAPPING | 20100820 | ||||
| 24 | Instance attribute | Private | Type reference (TYPE) | PLM_T_TABMAP_GROUP | Table Mapper technical Group data | 20100820 | |||
| 25 | Instance attribute | Private | Type reference (TYPE) | I | 20100820 | ||||
| 26 | Instance attribute | Private | Type reference (TYPE) | SEQNO | Sequence Number | 20110707 |
Methods
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 | EO_TARGET_STRUCTDESCR | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 2 | 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 | IO_MAIN_STRUCTURE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 2 | IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100820 | ||||
| 3 | IT_GROUP_EXTENSION | Call by reference | Type reference (TYPE) | PLM_T_DYNTABLE_COL_INFO | UI Table Mapper Column Information | 20100820 | |||
| 4 | IT_GROUP_FIELD | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Fieldname Table | 20100820 | |||
| 5 | IT_GROUP_KEY | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Fieldname Table | 20100820 | |||
| 6 | IT_KEY_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100820 | ||||
| 7 | IT_LINE_EXTENSION | Call by reference | Type reference (TYPE) | PLM_T_DYNTABLE_COL_INFO | UI Table Mapper Column Information | 20100820 | |||
| 8 | IT_LINE_FIELD | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Fieldname Table | 20100820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100820 | |||
| 2 | 20100820 | |||
| 3 | 20100820 | |||
| 4 | 20100820 | |||
| 5 | 20100820 | |||
| 6 | 20100820 |
Method COPY_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20100820 | ||||
| 2 | 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 | EO_STRUCT_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 2 | 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 | ET_INDEX | Call by reference | Type reference (TYPE) | PLM_T_INDEX | Index of Internal Tables | 20100820 | |||
| 2 | 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 | EV_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20100820 | |||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100820 | |||
| 3 | IV_FIELDNAME_ORG | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20100820 | |||
| 4 | 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 | ET_FIELDNAME | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Field Name | 20100820 | |||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100820 | |||
| 3 | IS_NODE_ID | Call by reference | Type reference (TYPE) | ANY | Node Identifier as XSTRING | 20100820 | |||
| 4 | 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 | ET_GROUP_KEY | Call by reference | Type reference (TYPE) | PLM_T_TABMAP_GROUP_KEY | Table Mapper Group Key | 20100820 | |||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100820 | |||
| 3 | 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 | EV_GROUP_NUMBER | Call by reference | Type reference (TYPE) | SEQNO | Sequence Number | 20100820 | |||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100820 | |||
| 3 | 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 | EV_FIELDNAME_ORG | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20100820 | |||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20100820 | |||
| 3 | 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 | ERO_TARGET_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 2 | 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 | 20100820 |
Method GET_STRUCTDESCR_BY_FIELDNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ERO_TARGET_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 2 | IO_LINE_STRUCTURE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 3 | IRO_SOURCE_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100820 | |||
| 4 | IT_FIELDNAME | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Fieldname Table | 20100820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100820 |
Method MAP_EXTENSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATA | Call by reference | Type reference (TYPE) | ANY | 20100820 | ||||
| 2 | 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 | 20100820 |
Method MAP_GROUP_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATA | Call by reference | Type reference (TYPE) | ANY | 20100820 | ||||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | BOOLE_D | General Flag | 20100820 | |||
| 3 | IS_GROUP_FIELD | Call by reference | Type reference (TYPE) | ANY | 20100820 | ||||
| 4 | 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 | ET_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100820 | ||||
| 2 | IT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100820 | ||||
| 3 | IT_SORT_FIELD | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Field Name | 20100820 | |||
| 4 | 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 | CT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100820 | ||||
| 2 | IT_SORT_FIELD | Call by reference | Type reference (TYPE) | PLM_T_FIELDNAME | Fieldname Table | 20100820 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100820 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 606 |