SAP ABAP Class CL_TAX_CALC_BR_MM (Tax Calculation Brazil MM)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷ CRM-LOC-BR (Application Component) Brazil
⤷ J1BA (Package) Localization Brazil
⤷ CRM-LOC-BR (Application Component) Brazil
⤷ J1BA (Package) Localization Brazil
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_TAX_CALC_BR | Tax Calculation Brazil | 20030930 |
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_TAX_CALC_BR_MM_IN | Tax Calculation Brazil MM incoming autom. | 20130801 |
Properties
Class | CL_TAX_CALC_BR_MM | |
Short Description | Tax Calculation Brazil MM | |
Super Class | CL_TAX_CALC_BR | Tax Calculation Brazil |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | J1BA | Localization Brazil |
Created | 20030930 | SAP |
Last change | 20131127 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_TAX_CALC_BR_MM has no forward declaration.
Interfaces
Class CL_TAX_CALC_BR_MM has no interface implemented.
Friends
Class CL_TAX_CALC_BR_MM has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MT_J_1BAJ | Instance attribute | Protected | See coding | Buffer: Brazilian tax types | 20030930 | |||
2 | MT_T007B | Instance attribute | Protected | See coding | Buffer: Account keys | 20030930 | |||
3 | MT_TAX_INFO | Instance attribute | Protected | Type reference (TYPE) | MTY_TAX_INFO_TAB | Table with info about active tax types | 20030930 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CALCULATE_ICMS_COMP | Instance method | Protected | Method | Calculate ICMS complementar | 20031002 |
2 | CALC_PIS_COF_BASE_PER_NUMBER | Instance method | Protected | Method | Calculate configured PIS/COFINS base amount per base number | 20120612 |
3 | CHECK_ICMS_COMP_ACTIVE | Instance method | Protected | Method | Returns 'X' if ICMS complementar is active | 20031002 |
4 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20030930 |
5 | FILL_ACTIVE_TAXES | Instance method | Protected | Method | Determine the taxes that have to be calculated | 20030930 |
6 | FILL_BASE_CONHECIMENTO | Instance method | Protected | Method | No IPI line in NF if IPI is not due in conhecimentos | 20031002 |
7 | FILL_BASE_NON_DEDUCT | Instance method | Protected | Method | Store calc. base in other base if tax is non-deductible | 20031002 |
8 | FILL_BASE_RETURNS | Instance method | Protected | Method | Special handling of ICMS and IPI bases in returns | 20031002 |
9 | FILL_IPI_SPLIT | Instance method | Protected | Method | IPI split case (vendor = non-industry) | 20031002 |
10 | FILL_TAX_INFO | Instance method | Protected | Method | Determine active tax (cond.) types and assigned parameters | 20030930 |
Events
Class CL_TAX_CALC_BR_MM has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | MTY_TAX_INFO | Protected | See coding | Info about active tax types | 20030930 | BEGIN OF mty_tax_info,
type TYPE j_1btaxtyp,
group TYPE j_1btaxgrp,
formula TYPE kofrm,
nondeduct TYPE xfeld,
END OF mty_tax_info
|
|
2 | MTY_TAX_INFO_TAB | Protected | See coding | Table with info about active tax types (cond. types) | 20030930 | MTY_TAX_INFO_TAB TYPE TABLE OF mty_tax_info
|
Method Signatures
Method CALCULATE_ICMS_COMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_ICMS_COMP | Call by reference | Type reference (TYPE) | MTY_TAXAMOUNT | ICMS-complementar-Betrag | 20031002 | ||
2 | Exporting | EV_ICMS_COMP_BASE | Call by reference | Type reference (TYPE) | MTY_TAXAMOUNT | ICMS-complementar-Basisbetrag | 20031002 | ||
3 | Exporting | EV_ICMS_COMP_RATE | Call by reference | Type reference (TYPE) | MTY_TAXRATE | ICMS-complementar-Satz | 20031002 | ||
4 | Importing | IV_VAL_INCL_TAX | Call by reference | Type reference (TYPE) | MTY_TAXAMOUNT | Nettowert + ICMS + IPI | 20031002 |
Method CALCULATE_ICMS_COMP on class CL_TAX_CALC_BR_MM has no exception.
Method CALC_PIS_COF_BASE_PER_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EV_BASE | Call by reference | Type reference (TYPE) | MTY_TAXAMOUNT | PIS/COFINS base according to configuration | 20120612 | ||
2 | Exporting | EX_CONFIG_EXISTS | Call by reference | Type reference (TYPE) | XFELD | X' = Configuration for base calculation exists | 20120612 | ||
3 | Importing | IV_BASE_NUMBER | Call by reference | Type reference (TYPE) | J_1B_TAXCALC_BASE_NUMBER | Base number in the Tax Calulcation | 20120612 |
Method CALC_PIS_COF_BASE_PER_NUMBER on class CL_TAX_CALC_BR_MM has no exception.
Method CHECK_ICMS_COMP_ACTIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_ACTIVE | Value transfer | Type reference (TYPE) | XFELD | Ankreuzfeld | 20031002 |
Method CHECK_ICMS_COMP_ACTIVE on class CL_TAX_CALC_BR_MM has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_TAX_CALC_BR_MM has no parameter.
Method CONSTRUCTOR on class CL_TAX_CALC_BR_MM has no exception.
Method FILL_ACTIVE_TAXES Signature
Method FILL_ACTIVE_TAXES on class CL_TAX_CALC_BR_MM has no parameter.
Method FILL_ACTIVE_TAXES on class CL_TAX_CALC_BR_MM has no exception.
Method FILL_BASE_CONHECIMENTO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CS_ICMS_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | ICMS-Basisbeträge | 20031002 | ||
2 | Changing | CS_IPI_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | IPI-Basisbeträge | 20031002 |
Method FILL_BASE_CONHECIMENTO on class CL_TAX_CALC_BR_MM has no exception.
Method FILL_BASE_NON_DEDUCT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CS_ICMS_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | ICMS-Basisbeträge | 20031002 | ||
2 | Changing | CS_IPI_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | IPI-Basisbeträge | 20031002 |
Method FILL_BASE_NON_DEDUCT on class CL_TAX_CALC_BR_MM has no exception.
Method FILL_BASE_RETURNS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CS_ICMS_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | ICMS-Basisbeträge | 20031002 | ||
2 | Changing | CS_IPI_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | IPI-Basisbeträge | 20031002 |
Method FILL_BASE_RETURNS on class CL_TAX_CALC_BR_MM has no exception.
Method FILL_IPI_SPLIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CS_ICMS_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | ICMS-Basisbeträge | 20031002 | ||
2 | Changing | CS_IPI_BASES | Call by reference | Type reference (TYPE) | MTY_TAX_BASES | IPI-Basisbeträge | 20031002 |
Method FILL_IPI_SPLIT on class CL_TAX_CALC_BR_MM has no exception.
Method FILL_TAX_INFO Signature
Method FILL_TAX_INFO on class CL_TAX_CALC_BR_MM has no parameter.
Method FILL_TAX_INFO on class CL_TAX_CALC_BR_MM has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 470 |