SAP ABAP Class CL_SMT_FIELD_MAPPINGS (Field assignment)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-SOA-SMT (Application Component) Service Mapping Tool
⤷
GMT_MODEL (Package) Model Access for External Users
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SMT_TRANSFORMATION | Conversion | 20071214 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SMT_FIELD_MAPPINGS_DYN | Carry Out Field Assignment Dynamically | 20080104 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_SMT_FIELD_MAPPINGS_GEN | Field Assignments Using Generated Programs | 20080104 |
Properties
| Class | CL_SMT_FIELD_MAPPINGS | |
| Short Description | Field assignment | |
| Super Class | CL_SMT_TRANSFORMATION | Conversion |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GMT_MODEL | Model Access for External Users |
| Created | 20071214 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_SMT_FIELD_MAPPINGS has no interface implemented.
Friends
Class CL_SMT_FIELD_MAPPINGS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | SMT_APPLICATION | Application | 20071214 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_SMT_METHOD | Condition | 20071214 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SMT_PARAMETER_MAPPING | Assignment of Parameters to Fields | 20071214 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | SMT_CONTEXT | Context | 20080320 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | SMT_EVENT | Event | 20071214 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | SMT_BOOLEAN | Extended XML Handling | 20071214 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SMT_EXTENSION | Mapping Extension ID (GUID) | 20080425 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Trigger Error Due to Conversion Exception | 20080121 | |
| 2 | Instance method | Protected | Method | Trigger Error Due to Overrun | 20080121 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20071214 | |
| 4 | Static method | Public | Method | Call Up Simple Conversion | 20071214 | |
| 5 | Instance method | Protected | Method | Determine Data Type | 20071214 | |
| 6 | Instance method | Protected | Method | Provide Source Code | 20080130 | |
| 7 | Instance method | Protected | Method | Set Change Field | 20071214 |
Events
Class CL_SMT_FIELD_MAPPINGS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_MAPPING | Protected | See coding | Field Assignments | 20080131 | BEGIN OF ty_mapping,
target_structure_id TYPE smt_structure_identificator,
target_field TYPE string,
source_structure_id TYPE smt_structure_identificator,
source_field TYPE string,
fixed_value TYPE smt_fixed_value,
controller_and_field TYPE smt_controller_and_field_tab,
conversion TYPE smt_conversion_class,
source_type TYPE abap_typekind,
target_type TYPE abap_typekind,
source_structure_name TYPE smt_structure,
target_structure_name TYPE smt_structure,
END OF ty_mapping
|
|
| 2 | TY_MAPPING_TAB | Protected | See coding | Field Assignments | 20080131 | ty_mapping_tab TYPE STANDARD TABLE OF ty_mapping
WITH KEY target_structure_id target_field
|
Method Signatures
Method ADD_CONVERSION_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_ERROR_PROT | Call by reference | Object reference (TYPE REF TO) | CL_SMT_PROTOCOL | Protokoll | 20080121 | |||
| 2 | CH_TARGET_VALUE | Call by reference | Type reference (TYPE) | DATA | Zielfeld | 20080131 | |||
| 3 | I_MAPPING | Call by reference | Type reference (TYPE) | TY_MAPPING | Zuordnung | 20080121 | |||
| 4 | I_SOURCE_VALUE | Call by reference | Type reference (TYPE) | DATA | Quellfeld | 20080131 |
Method ADD_CONVERSION_ERROR on class CL_SMT_FIELD_MAPPINGS has no exception.
Method ADD_OVERFLOW_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_ERROR_PROT | Call by reference | Object reference (TYPE REF TO) | CL_SMT_PROTOCOL | Protokoll | 20080121 | |||
| 2 | CH_TARGET_VALUE | Call by reference | Type reference (TYPE) | DATA | Zielfeld | 20080131 | |||
| 3 | I_MAPPING | Call by reference | Type reference (TYPE) | TY_MAPPING | Zuordnung | 20080121 | |||
| 4 | I_SOURCE_VALUE | Call by reference | Type reference (TYPE) | DATA | Quellfeld | 20080131 |
Method ADD_OVERFLOW_ERROR on class CL_SMT_FIELD_MAPPINGS has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLICATION | Call by reference | Type reference (TYPE) | SMT_APPLICATION | Anwendung | 20071214 | |||
| 2 | I_CONDITION | Call by reference | Object reference (TYPE REF TO) | CL_SMT_METHOD | Bedingung | 20071214 | |||
| 3 | I_CONDITION_MAPPING | Call by reference | Object reference (TYPE REF TO) | CL_SMT_PARAMETER_MAPPING | Zuordnung von Parametern zu Feldern | 20071214 | |||
| 4 | I_CONTEXT | Call by reference | Type reference (TYPE) | SMT_CONTEXT | Kontext | 20080320 | |||
| 5 | I_EVENT | Call by reference | Type reference (TYPE) | SMT_EVENT | Ereignis | 20071214 | |||
| 6 | I_EXTENDED_XML_HANDLING | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | erweiterte XML Behandlung | 20071214 | |||
| 7 | I_EXTENSION_ID | Call by reference | Type reference (TYPE) | SMT_EXTENSION | Mapping Erweiterungs ID (GUID) | 20080425 |
Method CONSTRUCTOR on class CL_SMT_FIELD_MAPPINGS has no exception.
Method CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_ERROR_PROT | Call by reference | Object reference (TYPE REF TO) | CL_SMT_PROTOCOL | Protokoll | 20080121 | |||
| 2 | E_ERROR_OCCURRED | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolescher Wert | 20080121 | |||
| 3 | E_TARGET | Call by reference | Type reference (TYPE) | DATA | Zielfeld | 20071214 | |||
| 4 | I_CLASS_NAME | Call by reference | Type reference (TYPE) | SMT_CONVERSION_CLASS | Name einer Klasse für simple Feldtransformationen | 20071214 | |||
| 5 | I_SOURCE | Call by reference | Type reference (TYPE) | DATA | Quellfeld | 20071214 | |||
| 6 | I_SOURCE_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | Feld der Quellstruktur | 20080131 | |||
| 7 | I_SOURCE_STRUCTURE | Call by reference | Type reference (TYPE) | SMT_STRUCTURE | Struktur | 20071214 | |||
| 8 | I_TARGET_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | Feld der Zielstruktur | 20080131 | |||
| 9 | I_TARGET_STRUCTURE | Call by reference | Type reference (TYPE) | SMT_STRUCTURE | Struktur | 20071214 |
Method CONVERT on class CL_SMT_FIELD_MAPPINGS has no exception.
Method DET_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FIELD | Call by reference | Type reference (TYPE) | STRING | Feldname | 20071214 | |||
| 2 | I_STRUCTURE | Call by reference | Type reference (TYPE) | SMT_STRUCTURE | Struktur | 20071214 | |||
| 3 | RE_TYPE | Value transfer | Type reference (TYPE) | ABAP_TYPEKIND | Datentyp | 20071214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071214 |
Method GET_SOURCE_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DEF_CODE | Call by reference | Type reference (TYPE) | CL_CMP_COMPOSER=>TAB_CODE | Klassendefinitionscode | 20080201 | |||
| 2 | ET_IMPL_CODE | Call by reference | Type reference (TYPE) | CL_CMP_COMPOSER=>TAB_CODE | Klassenimplementierungscode | 20080201 | |||
| 3 | IT_CHANGE_FIELD | Call by reference | Type reference (TYPE) | SMT_FIELD_STAB | Felder der Änderungsstruktur | 20080130 | |||
| 4 | IT_MAPPING | Call by reference | Type reference (TYPE) | CL_SMT_FIELD_MAPPINGS=>TY_MAPPING_TAB | Feldzuordnungen | 20080130 | |||
| 5 | IT_TARGET_KEY | Call by reference | Type reference (TYPE) | SMT_FIELD_STAB | Feldname | 20080130 | |||
| 6 | I_APPLICATION | Call by reference | Type reference (TYPE) | SMT_APPLICATION | Anwendung | 20080130 | |||
| 7 | I_EVENT | Call by reference | Type reference (TYPE) | SMT_EVENT | Ereignis | 20080130 | |||
| 8 | I_LOCAL_CLASS_NAME | Call by reference | Type reference (TYPE) | STRING | Name der lokalen Klasse | 20080130 |
Method GET_SOURCE_CODE on class CL_SMT_FIELD_MAPPINGS has no exception.
Method SET_CHANGE_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_CHANGE | Call by reference | Type reference (TYPE) | DATA | Änderungsfeld | 20071214 | |||
| 2 | IT_TARGET_KEY | Call by reference | Type reference (TYPE) | SMT_FIELD_STAB | Schlüsselfelder der Zielstruktur | 20071214 | |||
| 3 | I_DO_NOT_SET_CHANGE_FIELD | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Änderungsfeld nicht setzen | 20071214 | |||
| 4 | I_TARGET_FIELD | Call by reference | Type reference (TYPE) | DATA | Wert des Zielfeldes | 20071214 | |||
| 5 | I_TARGET_FIELD_NAME | Call by reference | Type reference (TYPE) | STRING | Feld der Zielstruktur | 20071214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080121 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |