SAP ABAP Class CL_OPS_MAP_CODE_DEBITCREDIT (Transformationclass of the Code GDT DebitCreditCode)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ MM (Application Component) Materials Management
⤷ OPS_SE_COMMON_FUNCTIONALITIES (Package) Functions for Cross-Component Use
⤷ MM (Application Component) Materials Management
⤷ OPS_SE_COMMON_FUNCTIONALITIES (Package) Functions for Cross-Component Use
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_OPS_SE_MAP_CODEGDT_COMMON | Common class for code GDT mapping | 20100827 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_ESF_CODE_LIST_PROVIDER | 20100827 | |
3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMT_PREFETCH | Prefetch Methods | 20100827 |
4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMT_TRANSFORMATION | Transformation Class | 20100827 |
Properties
Class | CL_OPS_MAP_CODE_DEBITCREDIT | |
Short Description | Transformationclass of the Code GDT DebitCreditCode | |
Super Class | CL_OPS_SE_MAP_CODEGDT_COMMON | Common class for code GDT mapping |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | OPS_SE_COMMON_FUNCTIONALITIES | Functions for Cross-Component Use |
Created | 20100827 | SAP |
Last change | 20110908 | 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) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_ESF_CODE_LIST_PROVIDER | 20100827 | |||
2 | IF_SMT_PREFETCH | Prefetch Methods | 20100827 | ||
3 | IF_SMT_TRANSFORMATION | Transformation Class | 20100827 |
Friends
Class CL_OPS_MAP_CODE_DEBITCREDIT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_DEBITCREDITCODE1 | Constant | Protected | See coding | 20100827 | ||||
2 | GC_DEBITCREDITCODE2 | Constant | Protected | See coding | 20100827 | ||||
3 | GC_GDT_CODE_CREDIT | Constant | Public | Type reference (TYPE) | STRING | '2' | Credit | 20100827 | |
4 | GC_GDT_CODE_DEBIT | Constant | Public | Type reference (TYPE) | STRING | '1' | Debit | 20100827 | |
5 | GC_LIST_AGENCY_ID | Constant | Protected | Type reference (TYPE) | MDG_LIST_AGENCY_ID | '310' | CCT List Agency ID, like UKM_E_CCT_ID_SA_ID | 20100827 | |
6 | GC_LIST_ID | Constant | Protected | Type reference (TYPE) | MDG_LIST_ID | '10019' | List ID of Codelist | 20100827 | |
7 | GC_LIST_VERSION | Constant | Protected | Type reference (TYPE) | MDG_LIST_VERSION | '1' | CCT List Version ID, like UKM_E_CCT_ID_SV_ID | 20100827 | |
8 | GT_CODE_GDTS | Static Attribute | Protected | See coding | 20100827 | ||||
9 | GT_CODE_NAMES | Static Attribute | Protected | See coding | 20100827 | ||||
10 | GT_TECHNICAL_LOG | Static Attribute | Protected | Type reference (TYPE) | BAPIRETTAB | 20100827 | |||
11 | GV_SORTED_OUTBOUND | Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 20100827 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20100827 |
2 | GET_DESCRIPTION_INTERNAL_VALUE | Static method | Protected | Method | Get description of given internal code value | 20100827 |
3 | INBOUND_CONVERSION | Static method | Public | Method | provides the internal value of a Code-GDT | 20100827 |
4 | INIT | Static method | Protected | Method | Build internal workspace | 20100827 |
5 | OUTBOUND_CONVERSION | Static method | Public | Method | provides the external value and the description | 20100827 |
Events
Class CL_OPS_MAP_CODE_DEBITCREDIT has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_WORKSPACE | Public | See coding | 20100827 | BEGIN OF ts_workspace,
internal TYPE shkzg,
external TYPE sapplco_debit_credit_code,
END OF ts_workspace
|
||
2 | TT_INT_MAP_SHKZG_2_GDT | Public | See coding | 20100827 | tt_int_map_shkzg_2_gdt TYPE STANDARD TABLE OF ts_workspace
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_OPS_MAP_CODE_DEBITCREDIT has no parameter.
Method CONSTRUCTOR on class CL_OPS_MAP_CODE_DEBITCREDIT has no exception.
Method GET_DESCRIPTION_INTERNAL_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_LOG | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100827 | ||
2 | Exporting | EV_DESCR | Call by reference | Type reference (TYPE) | SAPPLCO_MEDIUM_NAME_CONTENT | Proxy-Datenelement (generiert) | 20100827 | ||
3 | Exporting | EV_DESCR_LANGUAGE | Call by reference | Type reference (TYPE) | SAPPLCO_LANGUAGE_CODE | Language of the description | 20100827 | ||
4 | Importing | IV_DEBIT_CREDIT_INTERNAL | Call by reference | Type reference (TYPE) | SHKZG | Debit/Credit Indicator | 20100827 | ||
5 | Importing | IV_LANGUAGE_INTERNAL | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20100827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100827 |
Method INBOUND_CONVERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_LOG | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100827 | ||
2 | Exporting | EV_DEBIT_CREDIT_INTERNAL | Call by reference | Type reference (TYPE) | SHKZG | Debit/Credit Indicator | 20100827 | ||
3 | Importing | IV_GDT_DEBIT_CREDIT_VALUE | Call by reference | Type reference (TYPE) | SAPPLCO_DEBIT_CREDIT_CODE | Coded representation of the debit or credit side of an accou | 20100827 | ||
4 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | value for the prefetchmode of the smt engine | 20100827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100827 |
Method INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_SORT_FOR_OUTBOUND_MAPPING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Sort workspace for inbound or outbound mapping | 20100827 |
Method INIT on class CL_OPS_MAP_CODE_DEBITCREDIT has no exception.
Method OUTBOUND_CONVERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_LOG | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100827 | ||
2 | Exporting | EV_DESCR | Call by reference | Type reference (TYPE) | SAPPLCO_MEDIUM_NAME_CONTENT | description acording to the value of the Code-GDT | 20100827 | ||
3 | Exporting | EV_DESCR_LANGUAGE | Call by reference | Type reference (TYPE) | SAPPLCO_LANGUAGE_CODE | Language of the description text | 20100827 | ||
4 | Exporting | EV_GDT_DEBIT_CREDIT_VALUE | Call by reference | Type reference (TYPE) | SAPPLCO_DEBIT_CREDIT_CODE | Coded representation of the debit or credit side of an accou | 20100827 | ||
5 | Exporting | EV_LIST_AGENCY_ID | Call by reference | Type reference (TYPE) | MDG_LIST_AGENCY_ID | CCT List Agency ID, like UKM_E_CCT_ID_SA_ID | 20100827 | ||
6 | Exporting | EV_LIST_ID | Call by reference | Type reference (TYPE) | MDG_LIST_ID | List ID of Codelist | 20100827 | ||
7 | Exporting | EV_LIST_VERSION_ID | Call by reference | Type reference (TYPE) | MDG_LIST_VERSION | CCT List Version ID, like UKM_E_CCT_ID_SV_ID | 20100827 | ||
8 | Importing | IV_DEBIT_CREDIT_INTERNAL | Call by reference | Type reference (TYPE) | SHKZG | Debit/Credit Indicator | 20100827 | ||
9 | Importing | IV_GET_DESCR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | true the Method will return a description of the Code-GDT | 20100827 | |
10 | Importing | IV_LANGUAGE_INTERNAL | Call by reference | Type reference (TYPE) | SY-LANGU | SY-LANGU | Language of the Code-GDT description | 20100827 | |
11 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | value for the prefetchmode of the smt engine | 20100827 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100827 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 606 |