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 | 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 | Instance attribute | Private | Type reference (TYPE) | BKPF | Accounting Document Header | 20040819 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | BSEG | Accounting Document Segment | 20040819 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | T059P | Withholding tax types | 20040819 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | T059Z | Withholding tax code (enhanced functions) | 20040819 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TAXCOM | Communications Work Area for Tax Calculation | 20040819 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | WITH_ITEMX | Auxiliary structure for table WITH_ITEM | 20040819 | |||
| 8 | Instance attribute | Private | See coding | Table with BKPF Lines | 20050216 | ||||
| 9 | Instance attribute | Private | See coding | Table Type for BSEG | 20050216 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | KOMV_TAB | Table type komv | 20040819 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | XFELD | Checkbox | 20040819 | |||
| 12 | 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 | Instance method | Private | Method | Calculate Modifying Tax Amount For Referenced Order Item | 20040819 | |
| 2 | Instance method | Private | Method | Calculate Modifying Tax Amount For PO Item | 20040819 | |
| 3 | Instance method | Private | Method | Calculate Modifying Tax Amount For Sales Order Item | 20040819 | |
| 4 | Instance method | Private | Method | Check Whether Base Has to Be Calculated | 20040819 | |
| 5 | Instance method | Private | Method | Determine tax code with customer BAdI | 20040819 | |
| 6 | Instance method | Private | Method | Populate Tax Communication Structure | 20040819 | |
| 7 | Instance method | Private | Method | Populate Tax Communication Structure for SD | 20040819 | |
| 8 | Instance method | Private | Method | Determine Real Base Amount | 20050221 | |
| 9 | Instance method | Public | Method | Get Header and Item of Current Open Item | 20050216 | |
| 10 | Instance method | Private | Method | Get WHT Rate And Collection Code From Nota Fiscal Buffer | 20040819 | |
| 11 | Instance method | Private | Method | Get Withholding Tax Amount From Tax Results in TKOMV | 20040819 | |
| 12 | 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 | EV_COLL_CODE | Call by reference | Type reference (TYPE) | J_1BWHTCOLL | Offizieller Quellensteuer-Einzugsschlüssel | 20040819 | |||
| 2 | EV_TAX_AMOUNT | Call by reference | Type reference (TYPE) | FWSTE | Steuerbetrag in Belegwährung | 20040819 | |||
| 3 | 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 | 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 | CV_MWSKZ | Call by reference | Type reference (TYPE) | MWSKZ | Umsatzsteuerkennzeichen | 20040819 | |||
| 2 | IV_J_1BTXSDC | Call by reference | Type reference (TYPE) | J_1BTXSDC_ | SD-Steuerkennzeichen | 20040819 | |||
| 3 | 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 | IS_OPEN_ITEM | Value transfer | Type reference (TYPE) | RFOPS | Offene Positionsdaten für Ausgleichstransaktionen | 20050221 | |||
| 2 | IS_T059P | Value transfer | Type reference (TYPE) | T059P | Quellensteuerarten | 20050221 | |||
| 3 | IS_WITH_ITEM | Value transfer | Type reference (TYPE) | WITH_ITEMX | Hilfsstruktur für Tabelle WITH_ITEM | 20050221 | |||
| 4 | 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 | ES_HEADER | Call by reference | Type reference (TYPE) | BKPF | Kopf Buchhaltungsbeleg | 20050216 | |||
| 2 | ES_ITEM | Call by reference | Type reference (TYPE) | RFOPS | Offene Positionsdaten für Ausgleichstransaktionen | 20050216 | |||
| 3 | IV_BELNR | Call by reference | Type reference (TYPE) | BELNR_D | Buchhaltungsbelegnummer | 20050216 | |||
| 4 | IV_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskr. | 20050216 | |||
| 5 | IV_BUZEI | Call by reference | Type reference (TYPE) | BUZEI | Anzahl Belegpositionen in Buchhaltungsbeleg | 20050216 | |||
| 6 | 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 | EV_COLL_CODE | Call by reference | Type reference (TYPE) | J_1BWHTCOLL | Offizieller Quellensteuer-Einzugsschlüssel | 20040819 | |||
| 2 | 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 | 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 |