SAP ABAP Class CL_IM_TTE_COUNTRY_COPY (Implements the methods required for country copy)
Hierarchy
☛
SAP_AP (Software Component) SAP Application Platform
⤷ AP-TTE (Application Component) Transaction Tax Engine
⤷ AP_TTE_CONFIG_C (Package) Transaction Tax Engine ( Configuration )
⤷ AP-TTE (Application Component) Transaction Tax Engine
⤷ AP_TTE_CONFIG_C (Package) Transaction Tax Engine ( Configuration )
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_TTE_COUNTRY_COPY | Interface outlines the operations possible in Country Copy | 20041208 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_TTE_CUST_CONSTANTS | Contains constants used by both country copy and delete | 20041216 |
Properties
Class | CL_IM_TTE_COUNTRY_COPY | |
Short Description | Implements the methods required for country copy | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | AP_TTE_CONFIG_C | Transaction Tax Engine ( Configuration ) |
Created | 20041208 | SAP |
Last change | 20050409 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_IM_TTE_COUNTRY_COPY has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_TTE_COUNTRY_COPY | Interface outlines the operations possible in Country Copy | 20041208 | ||
2 | IF_TTE_CUST_CONSTANTS | Contains constants used by both country copy and delete | 20041216 |
Friends
Class CL_IM_TTE_COUNTRY_COPY has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DECISION_TREE_ID | Instance attribute | Private | Type reference (TYPE) | TTET_REPFIELDS-DT_TO | Specifies the decision tree id in target country | 20041210 | ||
2 | G_LOG_HANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20041214 | ||
3 | G_LOG_MSG | Instance attribute | Private | Type reference (TYPE) | C | Message to be written to log | 20041214 | ||
4 | LIST_OF_TABLES | Instance attribute | Private | See coding | Table contains the names of all the country specific tables | 20041213 | |||
5 | SOURCE_COUNTRY | Instance attribute | Private | Type reference (TYPE) | TTET_COUNTRY | Specifies the source country | 20041210 | ||
6 | TARGET_COUNTRY | Instance attribute | Private | Type reference (TYPE) | TTET_COUNTRY | Specifies the target country | 20041210 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_RELEASE_TREES | Instance method | Private | Method | Checks and subsequently releases each tree of target | 20050110 |
2 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20041214 |
3 | COPY_COND_RECORDS | Instance method | Private | Method | Copies the tax rates from source to target country | 20050113 |
4 | COPY_TABLES | Instance method | Private | Method | Method that copies cust. from each entry in config table | 20041214 |
5 | COPY_TREES | Instance method | Private | Method | Copies each decision tree in the table of trees to country | 20041230 |
6 | COUNTRY_EXISTS | Instance method | Private | Method | Indicates whether source/target country specified exists | 20041213 |
7 | DECISION_TREE_EXISTS | Instance method | Private | Method | Indicates whether the decision tree ID specified exists. | 20041213 |
8 | DELETE_TARGET_COUNTRY | Instance method | Private | Method | Deletes target country along with its country specific cust. | 20050105 |
9 | GET_ASSIGNED_TREES | Instance method | Private | Method | Obtains the Tree Id(s) which have been assigned to country | 20041230 |
10 | GET_DECISION_TREE_ID | Instance method | Private | Method | Returns the value of the attribute decision_tree_id | 20041213 |
11 | GET_LIST_OF_TABLES | Instance method | Private | Method | Returns the value of the attribute list_of_tables | 20041213 |
12 | GET_SOURCE_COUNTRY | Instance method | Private | Method | Returns the value of the attribute source_country | 20041213 |
13 | GET_TARGET_COUNTRY | Instance method | Private | Method | Returns the value of the attribute target_country | 20041213 |
14 | MSG_ADD_WITH_LEVEL | Instance method | Private | Method | Write message to Log | 20041214 |
15 | SET_DECISION_TREE_ID | Instance method | Private | Method | Sets the value of the attribute decision_tree_id | 20041210 |
16 | SET_LIST_OF_TABLES | Instance method | Private | Method | Sets the value of the attribute list_of_tables | 20041213 |
17 | SET_SOURCE_COUNTRY | Instance method | Private | Method | Sets the value of the attribute source_country | 20041210 |
18 | SET_TARGET_COUNTRY | Instance method | Private | Method | Sets the value of the attribute target_country | 20041210 |
Events
Class CL_IM_TTE_COUNTRY_COPY has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TAB_TTEC_DECTR_DET | Private | See coding | 20041231 | TAB_TTEC_DECTR_DET type standard table of ttec_dectr_det
|
Method Signatures
Method CHECK_RELEASE_TREES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_TREES | Value transfer | Type reference (TYPE) | TAB_TTEC_DECTR_DET | 20050110 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_ERRORS_CHECK_TREE | Prüfen, ob Baum auf kopiertem Zielbaum nicht erfolgreich ist | 20050110 | |
2 | EXC_FAILED_TREE_RELEASE | Zielbaum kann nicht freigegeben werden | 20050110 | |
3 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20050110 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_LOG_HANDLE | Value transfer | Type reference (TYPE) | BALLOGHNDL | Anwendungsprotokoll: Protokoll-Handle | 20041214 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041214 |
Method COPY_COND_RECORDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_SOURCE_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Herkunftsland | 20050113 | ||
2 | Importing | IV_TARGET_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Zielland | 20050113 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20050113 |
Method COPY_TABLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_LIST_OF_TABLES | Value transfer | Attribute reference (LIKE) | LIST_OF_TABLES | Tabelle mit Namen aller länderspezifischen Tabellen | 20041221 | ||
2 | Importing | IV_SOURCE_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Herkunftsland | 20041217 | ||
3 | Importing | IV_TARGET_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Zielland | 20041217 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041214 |
Method COPY_TREES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_TREES | Value transfer | Type reference (TYPE) | TAB_TTEC_DECTR_DET | Interne Tabelle von Entscheidungsbäumen | 20041230 | ||
2 | Importing | IV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Land | 20041230 | ||
3 | Importing | IV_DECISION_TREE_ID | Value transfer | Type reference (TYPE) | TTET_REPFIELDS-DT_TO | Entscheidungsbaum-ID | 20041230 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041230 |
Method COUNTRY_EXISTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Land | 20041213 | ||
2 | Returning | RV_STATUS | Value transfer | Type reference (TYPE) | TTET_DT_BOOLEAN | Boolsche Variable (X=true, -=false, Space=unknown) | 20041213 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041214 |
Method DECISION_TREE_EXISTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Land | 20050118 | ||
2 | Importing | IV_DECISION_TREE_ID | Value transfer | Type reference (TYPE) | TTEC_DECTR_DET-TREEID | Entscheidungsbaum-ID | 20041213 | ||
3 | Returning | RV_STATUS | Value transfer | Type reference (TYPE) | TTET_DT_BOOLEAN | Boolesche Variable (X=Wahr) | 20041213 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041214 |
Method DELETE_TARGET_COUNTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_TARGET_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Zielland | 20050105 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20050105 |
Method GET_ASSIGNED_TREES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_ASSIGNED_TREES | Value transfer | Type reference (TYPE) | TAB_TTEC_DECTR_DET | 20041231 | |||
2 | Importing | IV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Land | 20041230 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041230 |
Method GET_DECISION_TREE_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DECISION_TREE_ID | Value transfer | Type reference (TYPE) | TTET_REPFIELDS-DT_TO | Entscheidungsbaum-ID | 20050106 |
Method GET_DECISION_TREE_ID on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method GET_LIST_OF_TABLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_LIST_OF_TABLES | Value transfer | Attribute reference (LIKE) | LIST_OF_TABLES | Tabelle mit Namen aller länderspezifischen Tabellen | 20041213 |
Method GET_LIST_OF_TABLES on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method GET_SOURCE_COUNTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Herkunftsland | 20041213 |
Method GET_SOURCE_COUNTRY on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method GET_TARGET_COUNTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Zielland | 20041213 |
Method GET_TARGET_COUNTRY on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method MSG_ADD_WITH_LEVEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_LEVEL | Call by reference | Type reference (TYPE) | BAL_S_MSG-DETLEVEL | Anwendungslog: Detaillierungsgrad | 20041214 | ||
2 | Importing | I_PROBCLASS | Call by reference | Type reference (TYPE) | BAL_S_MSG-PROBCLASS | Anwendungsprotokoll: Nachrichtenproblemklasse | 20041214 |
Method MSG_ADD_WITH_LEVEL on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method SET_DECISION_TREE_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DECISION_TREE_ID | Value transfer | Type reference (TYPE) | TTET_REPFIELDS-DT_TO | Zielentscheidungsbaum-ID | 20041210 |
Method SET_DECISION_TREE_ID on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method SET_LIST_OF_TABLES Signature
Method SET_LIST_OF_TABLES on class CL_IM_TTE_COUNTRY_COPY has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EXC_EMPTY_CONFIG_TABLE | Verwendete KonfigTabelle hat keine Sätze, d.h. Tabellennamen | 20041228 | |
2 | EXC_STOP_WORK | Schwerwiegender Fehler, der das aufgerufene Programm beendet | 20041213 |
Method SET_SOURCE_COUNTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Herkunftsland | 20041210 |
Method SET_SOURCE_COUNTRY on class CL_IM_TTE_COUNTRY_COPY has no exception.
Method SET_TARGET_COUNTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_COUNTRY | Value transfer | Type reference (TYPE) | TTET_COUNTRY | Zielland | 20041210 |
Method SET_TARGET_COUNTRY on class CL_IM_TTE_COUNTRY_COPY has no exception.
History
Last changed by/on | SAP | 20050409 |
SAP Release Created in | 700 |