SAP ABAP Class /BCV/CL_FND_TRANSLATE (Translation class for data migration)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-BCV (Application Component) Business Context Viewer
⤷
/BCV/FND (Package) BCV Foundation Layer
⤷
⤷
Properties
| Class | /BCV/CL_FND_TRANSLATE | |
| Short Description | Translation class for data migration | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /BCV/FND | BCV Foundation Layer |
| Created | 20081021 | 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 /BCV/CL_FND_TRANSLATE has no interface implemented.
Friends
Class /BCV/CL_FND_TRANSLATE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | CONTFLAG | 'A' | Delivery class A: Application table (master and trans. data) | 20081027 | ||
| 2 | Constant | Private | Type reference (TYPE) | CONTFLAG | 'S' | Delivery class S: System table, maint. only by SAP, change = | 20081120 | ||
| 3 | Constant | Private | Type reference (TYPE) | CONTFLAG | 'W' | Delivery class W: System table, contents transportable via s | 20081120 | ||
| 4 | Constant | Public | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | 'I' | Migration mode: Insert (update only new date) | 20081027 | ||
| 5 | Constant | Public | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | 'M' | Migration mode: Modify (update also existing data) | 20081027 | ||
| 6 | Constant | Public | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | 'S' | Migration mode: Simulate update | 20081027 | ||
| 7 | Constant | Private | Type reference (TYPE) | TABNAME16 | '/BCV/' | BCV namespace | 20081027 | ||
| 8 | Constant | Private | Type reference (TYPE) | TABNAME16 | '/PLMPCV/' | PCV namespace | 20081027 | ||
| 9 | Constant | Private | Type reference (TYPE) | AS4LOCAL | 'A' | Activation Status of a Repository Object | 20090320 | ||
| 10 | Constant | Private | Type reference (TYPE) | TABCLASS | 'TRANSP' | Table category | 20090320 | ||
| 11 | Static Attribute | Private | Object reference (TYPE REF TO) | /BCV/CL_FND_LOG | Log | 20090217 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | TYT_TABLE_DATA | Buffer for translated table data | 20090217 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | /BCV/T_FND_TRANSLATE | Translate PCV to BCV | 20081027 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | Migration mode | 20090217 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | /BCV/FND_STATISTICS_IND | Migrate statistic data | 20090217 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Add message to log | 20081027 | |
| 2 | Instance method | Public | Method | Check for non-standard BAdI implementations | 20081027 | |
| 3 | Instance method | Public | Method | Check for non-standard BAPI DSPs | 20081027 | |
| 4 | Static method | Private | Method | Check that two given components have the same type | 20081027 | |
| 5 | Instance method | Public | Method | Check for non-standard DSPs | 20081103 | |
| 6 | Static method | Private | Method | Check that given structures are consistent by name | 20081027 | |
| 7 | Static method | Private | Method | Check that given structures are consistent by type | 20081027 | |
| 8 | Instance method | Public | Constructor | Constructor | 20081027 | |
| 9 | Static method | Private | Method | Copy fields with same name from one structure to another | 20081027 | |
| 10 | Static method | Private | Method | Copy fields with same type from one structure to another | 20081027 | |
| 11 | Instance method | Public | Method | Copy data from PCV tables into BCV tables | 20081027 | |
| 12 | Static method | Private | Method | Copy values from one field to another | 20081027 | |
| 13 | Static method | Private | Method | Translate table field name | 20081021 | |
| 14 | Static method | Private | Method | Determines a component name of a given structure | 20081027 | |
| 15 | Static method | Private | Method | Translate table name | 20081021 | |
| 16 | Static method | Private | Method | Get class for table translation | 20081024 | |
| 17 | Static method | Public | Method | Get table data for a given table from buffer | 20090217 | |
| 18 | Static method | Private | Method | Get class for table line translation | 20081024 | |
| 19 | Static method | Private | Method | Determine table name | 20081027 | |
| 20 | Static method | Private | Method | Get translation data from database | 20090217 | |
| 21 | Static method | Private | Method | Translate table field value | 20081021 | |
| 22 | Static method | Public | Method | Set table data of a given table into buffer for later update | 20090217 | |
| 23 | Static method | Private | Method | Sort table names depending on foreign key relationships | 20081030 | |
| 24 | Static method | Private | Method | Update database table with given data | 20090211 |
Events
Class /BCV/CL_FND_TRANSLATE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYS_TABLE_DATA | Private | See coding | 20090217 | BEGIN OF tys_table_data,
tabname TYPE tabname16,
data TYPE REF TO data,
END OF tys_table_data
|
||
| 2 | TYT_TABLE_DATA | Private | See coding | 20090217 | tyt_table_data TYPE STANDARD TABLE OF tys_table_data
|
Method Signatures
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CONTEXT | Call by reference | Type reference (TYPE) | /BCV/S_FND_MESS_CONTEXT | Message Context | 20081027 | |||
| 2 | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | '/BCV/FND' | Message Class | 20081027 | ||
| 3 | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20081027 | |||
| 4 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | Message Type | 20081027 | ||
| 5 | IV_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 6 | IV_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 7 | IV_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 8 | IV_MSGV4 | Call by reference | Type reference (TYPE) | ANY | 20081027 |
Method ADD_MESSAGE on class /BCV/CL_FND_TRANSLATE has no exception.
Method CHECK_BADI Signature
Method CHECK_BADI on class /BCV/CL_FND_TRANSLATE has no parameter.
Method CHECK_BADI on class /BCV/CL_FND_TRANSLATE has no exception.
Method CHECK_BAPI Signature
Method CHECK_BAPI on class /BCV/CL_FND_TRANSLATE has no parameter.
Method CHECK_BAPI on class /BCV/CL_FND_TRANSLATE has no exception.
Method CHECK_COMPONENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TYPE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IV_TYPE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 3 | RV_OKAY | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20081027 |
Method CHECK_COMPONENTS on class /BCV/CL_FND_TRANSLATE has no exception.
Method CHECK_DSP Signature
Method CHECK_DSP on class /BCV/CL_FND_TRANSLATE has no parameter.
Method CHECK_DSP on class /BCV/CL_FND_TRANSLATE has no exception.
Method CHECK_STRUCTURES_BY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 3 | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 | |||
| 4 | RV_OKAY | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20081027 |
Method CHECK_STRUCTURES_BY_NAME on class /BCV/CL_FND_TRANSLATE has no exception.
Method CHECK_STRUCTURES_BY_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 3 | RV_OKAY | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20081027 |
Method CHECK_STRUCTURES_BY_TYPE on class /BCV/CL_FND_TRANSLATE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /BCV/CL_FND_LOG | Log | 20081027 | |||
| 2 | IV_MODE | Call by reference | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | Migration mode | 20081027 | |||
| 3 | IV_STATISTICS | Call by reference | Type reference (TYPE) | /BCV/FND_STATISTICS_IND | Migrate statistic data | 20081120 |
Method CONSTRUCTOR on class /BCV/CL_FND_TRANSLATE has no exception.
Method COPY_BY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 3 | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 |
Method COPY_BY_NAME on class /BCV/CL_FND_TRANSLATE has no exception.
Method COPY_BY_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 3 | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 |
Method COPY_BY_TYPE on class /BCV/CL_FND_TRANSLATE has no exception.
Method COPY_DATA Signature
Method COPY_DATA on class /BCV/CL_FND_TRANSLATE has no parameter.
Method COPY_DATA on class /BCV/CL_FND_TRANSLATE has no exception.
Method COPY_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VALUE_NEW | Value transfer | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IV_COMPNAME_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 3 | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 | |||
| 4 | IV_VALUE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 |
Method COPY_FIELD on class /BCV/CL_FND_TRANSLATE has no exception.
Method GET_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_FIELD_TO | Value transfer | Type reference (TYPE) | /BCV/FND_FIELD_TO | BCV Field | 20081027 | |||
| 2 | IV_FIELD_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_FIELD_FROM | PCV Field | 20081021 | |||
| 3 | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No translation found | 20081021 | ||
| 2 | Parameter error | 20081021 |
Method GET_FIELD_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20081027 | ||||
| 2 | IV_IDX | Call by reference | Type reference (TYPE) | I | 20081027 | ||||
| 3 | RV_NAME | Value transfer | Type reference (TYPE) | STRING | 20081027 |
Method GET_FIELD_NAME on class /BCV/CL_FND_TRANSLATE has no exception.
Method GET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TABLE_TO | Value transfer | Type reference (TYPE) | /BCV/FND_TAB_TO | BCV Table | 20081027 | |||
| 2 | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not found | 20081021 | ||
| 2 | Parameter error | 20081021 |
Method GET_TABLE_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CLASS | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20081024 | |||
| 2 | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not found | 20081024 | ||
| 2 | Parameter error | 20081024 |
Method GET_TABLE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090217 | ||||
| 2 | ET_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090217 | ||||
| 3 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20090217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for data migration | 20090217 |
Method GET_TABLE_LINE_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CLASS | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20081024 | |||
| 2 | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081024 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not found | 20081024 | ||
| 2 | Parameter error | 20081024 |
Method GET_TABLE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TABLE_NEW | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081027 | |||
| 2 | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 | |||
| 3 | RV_TABNAME_NEW | Value transfer | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 |
Method GET_TABLE_NAME on class /BCV/CL_FND_TRANSLATE has no exception.
Method GET_TRANSLATION_DATA Signature
Method GET_TRANSLATION_DATA on class /BCV/CL_FND_TRANSLATE has no parameter.
Method GET_TRANSLATION_DATA on class /BCV/CL_FND_TRANSLATE has no exception.
Method GET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_VALUE_TO | Value transfer | Type reference (TYPE) | ANY | BCV Value | 20081021 | |||
| 2 | IV_FIELD_FROM | Call by reference | Type reference (TYPE) | ANY | PCV Field | 20081021 | |||
| 3 | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081021 | |||
| 4 | IV_VALUE_FROM | Call by reference | Type reference (TYPE) | ANY | PCV Value | 20081021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No translation found | 20081021 | ||
| 2 | Parameter error | 20081021 |
Method SET_TABLE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090217 | ||||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20090217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for data migration | 20090217 |
Method SORT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TABLE_PROCESSED | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 | |||
| 2 | CT_TABLE_SORTED | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 | |||
| 3 | CT_TABLE_UNSORTED | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 | |||
| 4 | IT_TABLE_ALL | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 |
Method SORT_TABLE on class /BCV/CL_FND_TRANSLATE has no exception.
Method UPDATE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090211 | ||||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20090211 |
Method UPDATE_TABLE on class /BCV/CL_FND_TRANSLATE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 701 |