SAP ABAP Class CL_IM_FQST_CALC_COUNTRY_BR (Imp. class for BAdI imp. FQST_CALC_COUNTRY_BR)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-LOC-BR (Application Component) Brazil
     J1BA (Package) Localization Brazil
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_FQST_CALC_COUNTRY Business add-in interface IF_EX_FQST_CALC_COUNTRY 20040819
Properties
Class CL_IM_FQST_CALC_COUNTRY_BR  
Short Description Imp. class for BAdI imp. FQST_CALC_COUNTRY_BR    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package J1BA   Localization Brazil 
Created 20040819   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_IM_FQST_CALC_COUNTRY_BR has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_EX_FQST_CALC_COUNTRY Business add-in interface IF_EX_FQST_CALC_COUNTRY 20040819
Friends
Class CL_IM_FQST_CALC_COUNTRY_BR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_CUSTOMER_BADI Instance attribute Private Object reference (TYPE REF TO) IF_EX_J_1BWHT_BR_EXT Business add-in interface IF_EX_J_1BWHT_BR_EXT 20040819
2 MS_BKPF Instance attribute Private Type reference (TYPE) BKPF Accounting Document Header 20040819
3 MS_BSEG Instance attribute Private Type reference (TYPE) BSEG Accounting Document Segment 20040819
4 MS_T059P Instance attribute Private Type reference (TYPE) T059P Withholding tax types 20040819
5 MS_T059Z Instance attribute Private Type reference (TYPE) T059Z Withholding tax code (enhanced functions) 20040819
6 MS_TAXCOM Instance attribute Private Type reference (TYPE) TAXCOM Communications Work Area for Tax Calculation 20040819
7 MS_WITH_ITEM Instance attribute Private Type reference (TYPE) WITH_ITEMX Auxiliary structure for table WITH_ITEM 20040819
8 MT_BKPF Instance attribute Private See coding Table with BKPF Lines 20050216
9 MT_BSEG Instance attribute Private See coding Table Type for BSEG 20050216
10 MT_KOMV Instance attribute Private Type reference (TYPE) KOMV_TAB Table type komv 20040819
11 MV_CALL_TAX_CALC Instance attribute Private Type reference (TYPE) XFELD Checkbox 20040819
12 MV_WT_USE Instance attribute Private Type reference (TYPE) WT_USAGE Table entry spec. accord. to use for mod. net - mod. tax amt 20040819
Methods
# Method Level Visibility Method type Description Created on
1 CALC_TAX Instance method Private Method Calculate Modifying Tax Amount For Referenced Order Item 20040819
2 CALC_TAX_MM Instance method Private Method Calculate Modifying Tax Amount For PO Item 20040819
3 CALC_TAX_SD Instance method Private Method Calculate Modifying Tax Amount For Sales Order Item 20040819
4 CHECK_RELEVANT Instance method Private Method Check Whether Base Has to Be Calculated 20040819
5 DETERMINE_TAX_CODE_WITH_BADI Instance method Private Method Determine tax code with customer BAdI 20040819
6 FILL_TAXCOM Instance method Private Method Populate Tax Communication Structure 20040819
7 FILL_TAXCOM_SD Instance method Private Method Populate Tax Communication Structure for SD 20040819
8 FI_WT_DETERM_CALC_BASE_ITEM Instance method Private Method Determine Real Base Amount 20050221
9 GET_CURRENT_OPEN_ITEM Instance method Public Method Get Header and Item of Current Open Item 20050216
10 GET_TAX_RECORD Instance method Private Method Get WHT Rate And Collection Code From Nota Fiscal Buffer 20040819
11 GET_WHT_AMOUNT Instance method Private Method Get Withholding Tax Amount From Tax Results in TKOMV 20040819
12 READ_WT_CUSTOMIZING Instance method Private Method Read Withholding Tax Customizing Tables 20040819
Events
Class CL_IM_FQST_CALC_COUNTRY_BR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MTY_WTAX_TRACE Protected See coding 20050620 mty_wtax_trace type STANDARD TABLE OF wtax_trace_type
2 WTAX_TRACE_TYPE Protected See coding 20050620 BEGIN OF wtax_trace_type, belnr type BELNR_D, gjahr type gjahr, bukrs type bukrs, buzei type buzei, wt_acco type WT_ACNO, witht type witht, wt_withcd type wt_withcd, text(8) TYPE c, dmbtr type dmbtr, waers type waers, payment(1) TYPE c, END OF wtax_trace_type
Method Signatures

Method CALC_TAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COLL_CODE Call by reference Type reference (TYPE) J_1BWHTCOLL Offizieller Quellensteuer-Einzugsschlüssel 20040819
2 Exporting EV_TAX_AMOUNT Call by reference Type reference (TYPE) FWSTE Steuerbetrag in Belegwährung 20040819
3 Exporting EV_TAX_RATE Call by reference Type reference (TYPE) J_1BTXRATE Steuersatz 20040819

Method CALC_TAX on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method CALC_TAX_MM Signature

Method CALC_TAX_MM on class CL_IM_FQST_CALC_COUNTRY_BR has no parameter.
Method CALC_TAX_MM on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method CALC_TAX_SD Signature

Method CALC_TAX_SD on class CL_IM_FQST_CALC_COUNTRY_BR has no parameter.
Method CALC_TAX_SD on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method CHECK_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RELEVANT Value transfer Type reference (TYPE) XFELD Ankreuzfeld 20040819

Method CHECK_RELEVANT on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method DETERMINE_TAX_CODE_WITH_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_MWSKZ Call by reference Type reference (TYPE) MWSKZ Umsatzsteuerkennzeichen 20040819
2 Importing IV_J_1BTXSDC Call by reference Type reference (TYPE) J_1BTXSDC_ SD-Steuerkennzeichen 20040819
3 Importing IV_MWSKZ Call by reference Type reference (TYPE) MWSKZ Umsatzsteuerkennzeichen 20040819

Method DETERMINE_TAX_CODE_WITH_BADI on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method FILL_TAXCOM Signature

Method FILL_TAXCOM on class CL_IM_FQST_CALC_COUNTRY_BR has no parameter.
Method FILL_TAXCOM on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method FILL_TAXCOM_SD Signature

Method FILL_TAXCOM_SD on class CL_IM_FQST_CALC_COUNTRY_BR has no parameter.
Method FILL_TAXCOM_SD on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method FI_WT_DETERM_CALC_BASE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OPEN_ITEM Value transfer Type reference (TYPE) RFOPS Offene Positionsdaten für Ausgleichstransaktionen 20050221
2 Importing IS_T059P Value transfer Type reference (TYPE) T059P Quellensteuerarten 20050221
3 Importing IS_WITH_ITEM Value transfer Type reference (TYPE) WITH_ITEMX Hilfsstruktur für Tabelle WITH_ITEM 20050221
4 Returning RV_CHECK_BASE Value transfer Type reference (TYPE) WT_BS Quellensteuerbasisbetrag in Hauswährung 20050221

Method FI_WT_DETERM_CALC_BASE_ITEM on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method GET_CURRENT_OPEN_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) BKPF Kopf Buchhaltungsbeleg 20050216
2 Exporting ES_ITEM Call by reference Type reference (TYPE) RFOPS Offene Positionsdaten für Ausgleichstransaktionen 20050216
3 Importing IV_BELNR Call by reference Type reference (TYPE) BELNR_D Buchhaltungsbelegnummer 20050216
4 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskr. 20050216
5 Importing IV_BUZEI Call by reference Type reference (TYPE) BUZEI Anzahl Belegpositionen in Buchhaltungsbeleg 20050216
6 Importing IV_GJAHR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 20050216

Method GET_CURRENT_OPEN_ITEM on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method GET_TAX_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COLL_CODE Call by reference Type reference (TYPE) J_1BWHTCOLL Offizieller Quellensteuer-Einzugsschlüssel 20040819
2 Exporting EV_TAX_RATE Call by reference Type reference (TYPE) J_1BTXRATE Steuersatz 20040819

Method GET_TAX_RECORD on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method GET_WHT_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TAX_AMOUNT Call by reference Type reference (TYPE) FWSTE Steuerbetrag in Belegwährung 20040819

Method GET_WHT_AMOUNT on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.

Method READ_WT_CUSTOMIZING Signature

Method READ_WT_CUSTOMIZING on class CL_IM_FQST_CALC_COUNTRY_BR has no parameter.
Method READ_WT_CUSTOMIZING on class CL_IM_FQST_CALC_COUNTRY_BR has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605