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 TPMCO 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 STRATEGY_COUNTRY_DETERMINATION Instance attribute Private Type reference (TYPE) CHAR1 Where Is the Country Read from? 20050330
2 _CLASS_DATA Instance attribute Private Type reference (TYPE) VWPANLA Class Master Data 20000710
3 _PARTNER_DATA Instance attribute Private Type reference (TYPE) BP000 Partner Master Data 20000710
4 _TAX_COUNTRY Instance attribute Private Type reference (TYPE) BP_CNTR_HD Tax Country 20000710
Methods
# Method Level Visibility Method type Description Created on
1 ACCOUNT_BANK_COUNTRY_GET Static method Public Method Determines the Tax-Relevant Country of the Depository Bank 20050330
2 CALCULATE_TAX_FLOWS Instance method Public Method Generates Tax Flows 20000710
3 COMPRESS_TAX_FLOWS Instance method Private Method Compresses Tax Flows 20000711
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20050330
5 DELETE_TAX_FLOWS Instance method Private Method Deletes Tax Flows 20000710
6 DETERMINE_COUNTRY Instance method Private Method Determines the Tax-Relevant Country 20000710
7 GENERATE_FLOWS Instance method Private Method Generates New Tax Flows 20000710
8 ROUND_AMOUNT 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 Importing IM_ACCOUNT Value transfer Type reference (TYPE) RLDEPO Wertpapier-Depot 20050330
2 Importing IM_COMPANY_CODE Value transfer Type reference (TYPE) BUKRS Buchungskreis 20050330
3 Returning RE_COUNTRY Value transfer Type reference (TYPE) BP_CNTR_HD Bankland 20050330
# Exception Resumable Description Created on
1 FAILED Fehler ist aufgetreten 20050330

Method CALCULATE_TAX_FLOWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CLASS_ID Value transfer Type reference (TYPE) VVRANLW Kennnummer 20000710
2 Importing IM_COMPANY_CODE Value transfer Type reference (TYPE) BUKRS Buchungskreis 20000710
3 Importing IM_SECURITY_ACCOUNT Value transfer Type reference (TYPE) VRLDEPO Depot 20000808
4 Importing IM_TAB_FLOWS Value transfer Type reference (TYPE) TRGY_TAX_FLOWS Tabelle mit Bewegungen 20000710
5 Returning RE_TAB_FLOWS Value transfer Type reference (TYPE) TRGY_TAX_FLOWS Tabelle mit Bewegungen 20000711
# Exception Resumable Description Created on
1 FAILED Fehler ist aufgetreten 20000710
2 ISSUER_COUNTRY_NOT_FOUND 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 Importing IM_TAB_FLOWS Value transfer Type reference (TYPE) TRGY_TAX_FLOWS_INT Bewegungstabelle 20000711
2 Returning 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 Importing IM_CLASS_ID Value transfer Type reference (TYPE) VVRANLW Kennummer Wertpapier 20070726
2 Importing IM_COMPANY_CODE Value transfer Type reference (TYPE) BUKRS Buchungskreis 20070726
# Exception Resumable Description Created on
1 FAILED FAILED 20070726
2 NO_TAX_CALC_REQ Keine Steuergenerierung gecustomuzed 20070726

Method DELETE_TAX_FLOWS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TAB_FLOWS Value transfer Type reference (TYPE) TRGY_TAX_FLOWS Bewegungstabelle 20000710
2 Returning 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 Importing IM_CLASS_ID Value transfer Type reference (TYPE) VVRANLW Kennnummer 20000710
# Exception Resumable Description Created on
1 FAILED Fehler ist aufgetreten 20000710
2 FAILED_WITH_MESSAGE 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 Importing IM_COMPANY_CODE Value transfer Type reference (TYPE) BUKRS Buchungskreis 20000710
2 Importing IM_PRODUCT_CAT Value transfer Type reference (TYPE) SANLF Produkttyp 20000710
3 Importing IM_SECURITY_ACCOUNT Value transfer Type reference (TYPE) VRLDEPO Depot 20000808
4 Importing IM_SECURITY_ID Value transfer Type reference (TYPE) VVRANLW Kennummer Wertpapier 20080415
5 Importing IM_TAB_FLOWS Value transfer Type reference (TYPE) TRGY_TAX_FLOWS Eingangsbewegungen 20000710
6 Importing IM_TAX_COUNTRY Value transfer Type reference (TYPE) BP_CNTR_HD Steuerland 20000710
7 Returning RE_TAB_ALL_FLOWS Value transfer Type reference (TYPE) TRGY_TAX_FLOWS_INT Erzeugte Steuerbewegungen 20000711
# Exception Resumable Description Created on
1 FAILED Fehler ist aufgetreten 20020416

Method ROUND_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_AMOUNT Value transfer Type reference (TYPE) TPM_AMOUNT Betrag 20000711
2 Importing IM_COMPANY_CODE Value transfer Type reference (TYPE) BUKRS Buchungskreis 20000711
3 Importing 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