SAP ABAP Class CL_WER_CONTEXT_MAPPING (Mapping between item fields and data objects)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-MM (Application Component) Material Master
⤷
WER_BUSINESS (Package) Business Layer
⤷
⤷
Properties
| Class | CL_WER_CONTEXT_MAPPING | |
| Short Description | Mapping between item fields and data objects | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WER_BUSINESS | Business Layer |
| Created | 20060705 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WER_CONTEXT_MAPPING has no forward declaration.
Interfaces
Class CL_WER_CONTEXT_MAPPING has no interface implemented.
Friends
Class CL_WER_CONTEXT_MAPPING has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | WER_CONTEXT_MAP_SRT_TTY | Context mapping of item fields againts data objects | 20060815 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | WER_CONTEXT_MAP_TTY | Unsorted context mapping of item fields againts data objects | 20070110 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_CONST | Constants | 20060815 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WER_EXCEPTION_REPORTER | Services for raising exceptions | 20060815 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds a new mapping | 20060815 | |
| 2 | Static method | Public | Constructor | 20060815 | ||
| 3 | Instance method | Public | Constructor | 20060705 | ||
| 4 | Instance method | Public | Method | Deletes an existing mapping | 20060815 | |
| 5 | Instance method | Public | Method | Returns the context map table | 20060815 | |
| 6 | Instance method | Private | Method | Returns a reference to the context mapping entry | 20060815 | |
| 7 | Instance method | Public | Method | Returns the mapped object id if it exists | 20061031 | |
| 8 | Instance method | Public | Method | Returns the field mapped to the given data object | 20070109 | |
| 9 | Instance method | Public | Method | Returns all item fields mapped | 20070723 | |
| 10 | Instance method | Public | Method | Changes an existing mapping | 20060815 |
Events
Class CL_WER_CONTEXT_MAPPING has no event.
Types
Class CL_WER_CONTEXT_MAPPING has no local type.
Method Signatures
Method ADD_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA_OBJECT | Call by reference | Type reference (TYPE) | WER_DATA_OBJECT_ID | Unique data object identifier (GUID) | 20060815 | |||
| 2 | I_ITEM_FIELD | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unique identifier exists | 20060815 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WER_CONTEXT_MAPPING has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_CONTEXT_MAPPING has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CONTEXT_MAP | Call by reference | Type reference (TYPE) | WER_CONTEXT_MAP_SRT_TTY | Context mapping of item fields againts data objects | 20060815 |
Method CONSTRUCTOR on class CL_WER_CONTEXT_MAPPING has no exception.
Method DELETE_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM_FIELD | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unique identifier exists | 20060815 |
Method GET_CONTEXT_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_CONTEXT_MAP | Value transfer | Object reference (TYPE REF TO) | WER_CONTEXT_MAP_TTY | Context mapping of item fields againts data objects | 20060815 |
Method GET_CONTEXT_MAPPING on class CL_WER_CONTEXT_MAPPING has no exception.
Method GET_CONTEXT_MAP_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM_FIELD | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060815 | |||
| 2 | RR_CONTEXT_MAP | Value transfer | Object reference (TYPE REF TO) | WER_CONTEXT_MAP_STY | Context mapping of an item field againts a data object | 20060815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20060815 |
Method GET_MAPPED_DATA_OBJECT_IDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ID | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Item field id to match | 20061031 | |||
| 2 | RR_DATA_OBJECT_IDS | Value transfer | Object reference (TYPE REF TO) | WER_ELEMENT_ID_TTY | Mapped Data Object id | 20061031 |
Method GET_MAPPED_DATA_OBJECT_IDS on class CL_WER_CONTEXT_MAPPING has no exception.
Method GET_MAPPED_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA_OBJECT | Call by reference | Type reference (TYPE) | WER_DATA_OBJECT_ID | Unique data object identifier (GUID) | 20070109 | |||
| 2 | R_FIELD_ID | Value transfer | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20070109 |
Method GET_MAPPED_FIELD on class CL_WER_CONTEXT_MAPPING has no exception.
Method GET_MAPPED_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RRT_MAPPED_FIELDS | Value transfer | Object reference (TYPE REF TO) | WER_ITEM_FIELD_ID_TTY | Table of item field identifiers | 20070723 |
Method GET_MAPPED_FIELDS on class CL_WER_CONTEXT_MAPPING has no exception.
Method SET_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA_OBJECT | Call by reference | Type reference (TYPE) | WER_DATA_OBJECT_ID | Unique data object identifier (GUID) | 20060815 | |||
| 2 | I_ITEM_FIELD | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20060815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unique identifier exists | 20060815 |
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 700 |