SAP ABAP Class CL_DRF_REPLICATION_BO (Convert data between Replication and Backend/KM format)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-MDG-DRF (Application Component) Data Replication Framework
⤷
DRF_COMMON (Package) Data Replication Framework: General / Reusable
⤷
⤷
Properties
| Class | CL_DRF_REPLICATION_BO | |
| Short Description | Convert data between Replication and Backend/KM format | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | DRF_COMMON | Data Replication Framework: General / Reusable |
| Created | 20100302 | SAP |
| Last change | 20130531 | 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) |
Interfaces
Class CL_DRF_REPLICATION_BO has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | TC_DRF_REPLICATION_BO | 20101020 | ABAP Unit test class |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRUKNAME | 'DRF_S_BP_REL_SEARCH_KEY' | Name of a structure | 20100723 | ||
| 2 | Constant | Public | Type reference (TYPE) | BU_DATTO | '99991231' | Validity Date (Valid To) | 20120515 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Convert external to internal format | 20110419 | |
| 2 | Static method | Public | Method | Convert the Repl. ID from internal to external KM format | 20100706 | |
| 3 | Static method | Public | Method | Convert BP BO Key from Key mapping to DRF BP BO key | 20100302 | |
| 4 | Static method | Public | Method | Convert BP Business Object from Key mapping to DRF BO | 20100302 | |
| 5 | Static method | Private | Method | Convert Business Partner Number | 20120511 | |
| 6 | Static method | Public | Method | Convert Replication Status from Key mapping BP BO to DRF BO | 20100302 | |
| 7 | Static method | Public | Method | DRF-internal Search structure of the BO | 20100714 | |
| 8 | Static method | Private | Method | Describe Search Key by structure name | 20100723 | |
| 9 | Static method | Public | Method | Get related BOs | 20100901 | |
| 10 | Static method | Public | Method | Retrieve all BOs for which replication is configured | 20100714 |
Events
Class CL_DRF_REPLICATION_BO has no event.
Types
Class CL_DRF_REPLICATION_BO has no local type.
Method Signatures
Method CONVERT_EXTERNAL_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_REPLICATION_OBJECT_ID | Value transfer | Type reference (TYPE) | DRF_OBJECT_ID | Object ID | 20110419 | |||
| 2 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | DRF_OBJECT_ID | Object ID | 20110419 | |||
| 3 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20110419 |
Method CONVERT_EXTERNAL_INTERNAL on class CL_DRF_REPLICATION_BO has no exception.
Method CONVERT_INTERNAL_EXTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ID_VALUE_EXTERNAL | Call by reference | Type reference (TYPE) | DRF_OBJECT_ID | Object ID | 20100706 | |||
| 2 | EV_OITC_FOR_REPL | Call by reference | Type reference (TYPE) | MDG_IDS_TYPE_CODE_BS | Object Identifier Type | 20100819 | |||
| 3 | IV_ID_VALUE_INTERNAL | Call by reference | Type reference (TYPE) | DRF_OBJECT_ID | Object ID | 20100706 | |||
| 4 | IV_OTC | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions wehn converting internal into external | 20100824 |
Method CONVERT_OBJECT_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_REPLICATION_OBJECT_ID | Call by reference | Type reference (TYPE) | DRF_OBJECT_ID | 20100302 | ||||
| 2 | EV_REPLICATION_OTC | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100302 | |||
| 3 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | DRF_OBJECT_ID | 20100302 | ||||
| 4 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | 20100302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Business Objects | 20100302 |
Method CONVERT_OBJECT_TYPE_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NO_CONVERSION | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100302 | ||||
| 2 | EV_REPLICATION_OTC | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100302 | |||
| 3 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Business Objects | 20100302 |
Method CONVERT_PARTNER_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_PARTNER | Value transfer | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20120511 | |||
| 2 | IV_PARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20120511 |
Method CONVERT_PARTNER_NUMBER on class CL_DRF_REPLICATION_BO has no exception.
Method CONVERT_REP_STA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_REPLICATION | Call by reference | Type reference (TYPE) | DRF_T_OBJ_REP_STA_FULL | Object Replication Status | 20100302 | |||
| 2 | IT_REPLICATION | Call by reference | Type reference (TYPE) | DRF_T_OBJ_REP_STA_FULL | Object Replication Status | 20100302 | |||
| 3 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for Business Objects | 20100302 |
Method DESCRIBE_BO_SEARCH_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_BO_KEY_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100714 | |||
| 2 | EV_OITC_FOR_REPL | Call by reference | Type reference (TYPE) | MDG_OITC_FOR_REPLICATION | Object ID Type for Key Structure Access | 20110415 | |||
| 3 | IV_BO | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100714 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Root Class for Exceptions | 20100714 |
Method DESCRIBE_SEARCH_KEY_BY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_BO_SEARCH_KEY_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20100723 | |||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | ANY | 20100723 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Root Class for Exceptions | 20100817 |
Method GET_RELATED_OTCS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_REPLICATION_OTC | Call by reference | Type reference (TYPE) | MDG_T_OTC_ONLY_BS | Business Object Type | 20100901 | |||
| 2 | IV_OBJECT_TYPE_CODE | Call by reference | Type reference (TYPE) | MDG_OBJECT_TYPE_CODE_BS | Business Object Type | 20100901 |
Method GET_RELATED_OTCS on class CL_DRF_REPLICATION_BO has no exception.
Method GET_REPLICATION_BO_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_BO | Call by reference | Type reference (TYPE) | MDG_T_OTC_WITH_DESCR_BS | Object Type Codes with description | 20100714 |
Method GET_REPLICATION_BO_LIST on class CL_DRF_REPLICATION_BO has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 702 |