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
⤷ 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 | SEOR | 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 | GC_DEL_CLASS_A | Constant | Private | Type reference (TYPE) | CONTFLAG | 'A' | Delivery class A: Application table (master and trans. data) | 20081027 | |
2 | GC_DEL_CLASS_S | Constant | Private | Type reference (TYPE) | CONTFLAG | 'S' | Delivery class S: System table, maint. only by SAP, change = | 20081120 | |
3 | GC_DEL_CLASS_W | Constant | Private | Type reference (TYPE) | CONTFLAG | 'W' | Delivery class W: System table, contents transportable via s | 20081120 | |
4 | GC_MODE_INS | Constant | Public | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | 'I' | Migration mode: Insert (update only new date) | 20081027 | |
5 | GC_MODE_MOD | Constant | Public | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | 'M' | Migration mode: Modify (update also existing data) | 20081027 | |
6 | GC_MODE_SIM | Constant | Public | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | 'S' | Migration mode: Simulate update | 20081027 | |
7 | GC_NAMESPACE_NEW | Constant | Private | Type reference (TYPE) | TABNAME16 | '/BCV/' | BCV namespace | 20081027 | |
8 | GC_NAMESPACE_OLD | Constant | Private | Type reference (TYPE) | TABNAME16 | '/PLMPCV/' | PCV namespace | 20081027 | |
9 | GC_STATUS_ACTIVE | Constant | Private | Type reference (TYPE) | AS4LOCAL | 'A' | Activation Status of a Repository Object | 20090320 | |
10 | GC_TRANSPARENT_TABLE | Constant | Private | Type reference (TYPE) | TABCLASS | 'TRANSP' | Table category | 20090320 | |
11 | GO_LOG | Static Attribute | Private | Object reference (TYPE REF TO) | /BCV/CL_FND_LOG | Log | 20090217 | ||
12 | GT_TABLE_DATA | Static Attribute | Private | Type reference (TYPE) | TYT_TABLE_DATA | Buffer for translated table data | 20090217 | ||
13 | GT_TRANSLATE | Static Attribute | Private | Type reference (TYPE) | /BCV/T_FND_TRANSLATE | Translate PCV to BCV | 20081027 | ||
14 | GV_MODE | Static Attribute | Private | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | Migration mode | 20090217 | ||
15 | GV_STATISTICS | Static Attribute | Private | Type reference (TYPE) | /BCV/FND_STATISTICS_IND | Migrate statistic data | 20090217 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_MESSAGE | Static method | Private | Method | Add message to log | 20081027 |
2 | CHECK_BADI | Instance method | Public | Method | Check for non-standard BAdI implementations | 20081027 |
3 | CHECK_BAPI | Instance method | Public | Method | Check for non-standard BAPI DSPs | 20081027 |
4 | CHECK_COMPONENTS | Static method | Private | Method | Check that two given components have the same type | 20081027 |
5 | CHECK_DSP | Instance method | Public | Method | Check for non-standard DSPs | 20081103 |
6 | CHECK_STRUCTURES_BY_NAME | Static method | Private | Method | Check that given structures are consistent by name | 20081027 |
7 | CHECK_STRUCTURES_BY_TYPE | Static method | Private | Method | Check that given structures are consistent by type | 20081027 |
8 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20081027 |
9 | COPY_BY_NAME | Static method | Private | Method | Copy fields with same name from one structure to another | 20081027 |
10 | COPY_BY_TYPE | Static method | Private | Method | Copy fields with same type from one structure to another | 20081027 |
11 | COPY_DATA | Instance method | Public | Method | Copy data from PCV tables into BCV tables | 20081027 |
12 | COPY_FIELD | Static method | Private | Method | Copy values from one field to another | 20081027 |
13 | GET_FIELD | Static method | Private | Method | Translate table field name | 20081021 |
14 | GET_FIELD_NAME | Static method | Private | Method | Determines a component name of a given structure | 20081027 |
15 | GET_TABLE | Static method | Private | Method | Translate table name | 20081021 |
16 | GET_TABLE_CLASS | Static method | Private | Method | Get class for table translation | 20081024 |
17 | GET_TABLE_DATA | Static method | Public | Method | Get table data for a given table from buffer | 20090217 |
18 | GET_TABLE_LINE_CLASS | Static method | Private | Method | Get class for table line translation | 20081024 |
19 | GET_TABLE_NAME | Static method | Private | Method | Determine table name | 20081027 |
20 | GET_TRANSLATION_DATA | Static method | Private | Method | Get translation data from database | 20090217 |
21 | GET_VALUE | Static method | Private | Method | Translate table field value | 20081021 |
22 | SET_TABLE_DATA | Static method | Public | Method | Set table data of a given table into buffer for later update | 20090217 |
23 | SORT_TABLE | Static method | Private | Method | Sort table names depending on foreign key relationships | 20081030 |
24 | UPDATE_TABLE | 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 | Importing | IS_CONTEXT | Call by reference | Type reference (TYPE) | /BCV/S_FND_MESS_CONTEXT | Message Context | 20081027 | ||
2 | Importing | IV_MSGID | Call by reference | Type reference (TYPE) | SYMSGID | '/BCV/FND' | Message Class | 20081027 | |
3 | Importing | IV_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20081027 | ||
4 | Importing | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | Message Type | 20081027 | |
5 | Importing | IV_MSGV1 | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
6 | Importing | IV_MSGV2 | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
7 | Importing | IV_MSGV3 | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
8 | Importing | 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 | Importing | IV_TYPE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IV_TYPE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
3 | Returning | 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 | Importing | IS_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
3 | Importing | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 | ||
4 | Returning | 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 | Importing | IS_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
3 | Returning | 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 | Importing | IO_LOG | Call by reference | Object reference (TYPE REF TO) | /BCV/CL_FND_LOG | Log | 20081027 | ||
2 | Importing | IV_MODE | Call by reference | Type reference (TYPE) | /BCV/FND_MIGRATION_MODE | Migration mode | 20081027 | ||
3 | Importing | 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 | Exporting | ES_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
3 | Importing | 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 | Exporting | ES_STRUCTURE_NEW | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IS_STRUCTURE_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
3 | Importing | 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 | Exporting | EV_VALUE_NEW | Value transfer | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IV_COMPNAME_OLD | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
3 | Importing | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 | ||
4 | Importing | 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 | Exporting | EV_FIELD_TO | Value transfer | Type reference (TYPE) | /BCV/FND_FIELD_TO | BCV Field | 20081027 | ||
2 | Importing | IV_FIELD_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_FIELD_FROM | PCV Field | 20081021 | ||
3 | Importing | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | No translation found | 20081021 | |
2 | PARAMETER_ERROR | Parameter error | 20081021 |
Method GET_FIELD_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20081027 | |||
2 | Importing | IV_IDX | Call by reference | Type reference (TYPE) | I | 20081027 | |||
3 | Returning | 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 | Exporting | EV_TABLE_TO | Value transfer | Type reference (TYPE) | /BCV/FND_TAB_TO | BCV Table | 20081027 | ||
2 | Importing | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Not found | 20081021 | |
2 | PARAMETER_ERROR | Parameter error | 20081021 |
Method GET_TABLE_CLASS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_CLASS | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20081024 | ||
2 | Importing | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081024 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Not found | 20081024 | |
2 | PARAMETER_ERROR | Parameter error | 20081024 |
Method GET_TABLE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090217 | |||
2 | Exporting | ET_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090217 | |||
3 | Importing | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20090217 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /BCV/CX_FND_TRANSLATE | 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 | Exporting | EV_CLASS | Call by reference | Type reference (TYPE) | SEOCLSNAME | Object Type Name | 20081024 | ||
2 | Importing | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081024 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Not found | 20081024 | |
2 | PARAMETER_ERROR | Parameter error | 20081024 |
Method GET_TABLE_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_TABLE_NEW | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081027 | ||
2 | Importing | IV_TABNAME_OLD | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20081027 | ||
3 | Returning | 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 | Exporting | EV_VALUE_TO | Value transfer | Type reference (TYPE) | ANY | BCV Value | 20081021 | ||
2 | Importing | IV_FIELD_FROM | Call by reference | Type reference (TYPE) | ANY | PCV Field | 20081021 | ||
3 | Importing | IV_TABLE_FROM | Call by reference | Type reference (TYPE) | /BCV/FND_TAB_FROM | PCV Table | 20081021 | ||
4 | Importing | IV_VALUE_FROM | Call by reference | Type reference (TYPE) | ANY | PCV Value | 20081021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | No translation found | 20081021 | |
2 | PARAMETER_ERROR | Parameter error | 20081021 |
Method SET_TABLE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090217 | |||
2 | Importing | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME16 | Table name, 16 characters | 20090217 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /BCV/CX_FND_TRANSLATE | 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 | Changing | CT_TABLE_PROCESSED | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 | ||
2 | Changing | CT_TABLE_SORTED | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 | ||
3 | Changing | CT_TABLE_UNSORTED | Call by reference | Type reference (TYPE) | /BCV/T_FND_TABNAME | Database table name | 20081030 | ||
4 | Importing | 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 | Importing | IT_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | 20090211 | |||
2 | Importing | 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 |