SAP ABAP Class CL_TAX_FLOW_CALCULATOR_TRG (Tax Flow Calculator)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷
FIN-FSCM-TRM-TM (Application Component) Transaction Manager
⤷
FTR_GENERAL (Package) CFM TM: Application Basis / Global Objects
⤷
⤷
Properties
| Class | CL_TAX_FLOW_CALCULATOR_TRG | |
| Short Description | Tax Flow Calculator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_GENERAL | CFM TM: Application Basis / Global Objects |
| Created | 20000710 | SAP |
| Last change | 20050411 | 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_TAX_FLOW_CALCULATOR_TRG has no interface implemented.
Friends
Class CL_TAX_FLOW_CALCULATOR_TRG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Where Is the Country Read from? | 20050330 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | VWPANLA | Class Master Data | 20000710 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | BP000 | Partner Master Data | 20000710 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | BP_CNTR_HD | Tax Country | 20000710 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Determines the Tax-Relevant Country of the Depository Bank | 20050330 | |
| 2 | Instance method | Public | Method | Generates Tax Flows | 20000710 | |
| 3 | Instance method | Private | Method | Compresses Tax Flows | 20000711 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20050330 | |
| 5 | Instance method | Private | Method | Deletes Tax Flows | 20000710 | |
| 6 | Instance method | Private | Method | Determines the Tax-Relevant Country | 20000710 | |
| 7 | Instance method | Private | Method | Generates New Tax Flows | 20000710 | |
| 8 | Instance method | Private | Method | Rounds the Amount to Fit Customizing | 20000711 |
Events
Class CL_TAX_FLOW_CALCULATOR_TRG has no event.
Types
Class CL_TAX_FLOW_CALCULATOR_TRG has no local type.
Method Signatures
Method ACCOUNT_BANK_COUNTRY_GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ACCOUNT | Value transfer | Type reference (TYPE) | RLDEPO | Wertpapier-Depot | 20050330 | |||
| 2 | IM_COMPANY_CODE | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20050330 | |||
| 3 | RE_COUNTRY | Value transfer | Type reference (TYPE) | BP_CNTR_HD | Bankland | 20050330 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20050330 |
Method CALCULATE_TAX_FLOWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLASS_ID | Value transfer | Type reference (TYPE) | VVRANLW | Kennnummer | 20000710 | |||
| 2 | IM_COMPANY_CODE | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20000710 | |||
| 3 | IM_SECURITY_ACCOUNT | Value transfer | Type reference (TYPE) | VRLDEPO | Depot | 20000808 | |||
| 4 | IM_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS | Tabelle mit Bewegungen | 20000710 | |||
| 5 | RE_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS | Tabelle mit Bewegungen | 20000711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20000710 | ||
| 2 | Land für Emittent konnte nicht ermittelt werden. | 20010605 |
Method COMPRESS_TAX_FLOWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS_INT | Bewegungstabelle | 20000711 | |||
| 2 | RE_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS_INT | Bewegungstabelle | 20000711 |
Method COMPRESS_TAX_FLOWS on class CL_TAX_FLOW_CALCULATOR_TRG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLASS_ID | Value transfer | Type reference (TYPE) | VVRANLW | Kennummer Wertpapier | 20070726 | |||
| 2 | IM_COMPANY_CODE | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20070726 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FAILED | 20070726 | ||
| 2 | Keine Steuergenerierung gecustomuzed | 20070726 |
Method DELETE_TAX_FLOWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS | Bewegungstabelle | 20000710 | |||
| 2 | RE_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS | Bewegungstabelle | 20000710 |
Method DELETE_TAX_FLOWS on class CL_TAX_FLOW_CALCULATOR_TRG has no exception.
Method DETERMINE_COUNTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CLASS_ID | Value transfer | Type reference (TYPE) | VVRANLW | Kennnummer | 20000710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20000710 | ||
| 2 | Fehler ist aufgetreten, sy-msg* ist gesetzt | 20011018 |
Method GENERATE_FLOWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_COMPANY_CODE | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20000710 | |||
| 2 | IM_PRODUCT_CAT | Value transfer | Type reference (TYPE) | SANLF | Produkttyp | 20000710 | |||
| 3 | IM_SECURITY_ACCOUNT | Value transfer | Type reference (TYPE) | VRLDEPO | Depot | 20000808 | |||
| 4 | IM_SECURITY_ID | Value transfer | Type reference (TYPE) | VVRANLW | Kennummer Wertpapier | 20080415 | |||
| 5 | IM_TAB_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS | Eingangsbewegungen | 20000710 | |||
| 6 | IM_TAX_COUNTRY | Value transfer | Type reference (TYPE) | BP_CNTR_HD | Steuerland | 20000710 | |||
| 7 | RE_TAB_ALL_FLOWS | Value transfer | Type reference (TYPE) | TRGY_TAX_FLOWS_INT | Erzeugte Steuerbewegungen | 20000711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler ist aufgetreten | 20020416 |
Method ROUND_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_AMOUNT | Value transfer | Type reference (TYPE) | TPM_AMOUNT | Betrag | 20000711 | |||
| 2 | IM_COMPANY_CODE | Value transfer | Type reference (TYPE) | BUKRS | Buchungskreis | 20000711 | |||
| 3 | IM_CURRENCY | Value transfer | Type reference (TYPE) | TPM_CURR | Währungsschlüssel | 20000711 |
Method ROUND_AMOUNT on class CL_TAX_FLOW_CALCULATOR_TRG has no exception.
History
| Last changed by/on | SAP | 20050411 |
| SAP Release Created in | 462_10 |