Professional Documents
Culture Documents
BAdI Calculation of ICMS DIFAL Base For Consumption Goods or Assets
BAdI Calculation of ICMS DIFAL Base For Consumption Goods or Assets
Goods or Assets
SAP Materials Management
Document Version: 1.0 – 2016-12-05
Typographic Conventions
Example Words or characters quoted from the screen. These include field names, screen titles,
pushbuttons labels, menu names, menu paths, and menu options.
Textual cross-references to other documents.
EXAMPLE Technical names of system objects. These include report names, program names,
transaction codes, table names, and key concepts of a programming language when they
are surrounded by body text, for example, SELECT and INCLUDE.
Example Output on the screen. This includes file and directory names and their paths, messages,
names of variables and parameters, source text, and names of installation, upgrade and
database tools.
Example Exact user entry. These are words or characters that you enter in the system exactly as
they appear in the documentation.
<Example> Variable user entry. Angle brackets indicate that you replace these words and characters
with appropriate entries to make entries in the system.
1 BAdI: Calculation of ICMS DIFAL Base for Consumption Goods or Assets .......................... 5
Use
This Business Add-In (BAdI) is used in Material Management (MM). You use this BAdI when you have an interstate
incoming process of consumption goods or assets and you need to change the ICMS DIFAL base value due to
specific state requirements.
Requirements
You have configured the tax code for the condition types related to complementary ICMS DIFAL in the J1BTAX
transaction.
Activities
After creating the BAdI implementation, you enter the following parameters:
SHIP_FROM: Origin state
SHIP_TO: Destination state
DESTINATION_BASE_REDUCTION: Base reduction percentage at destination state
DESTINATION_RATE: Intrastate ICMS rate at destination state
INTER_BASE_REDUCTION: Base reduction percentage for interstate operation
INTER_RATE: Interstate ICMS rate at origin state
INTER_BASE_VALUE: ICMS base value at origin state
Let's suppose that you are receiving consumption materials or assets from a vendor whose interstate ICMS tax
rate is 12%, and you state's intrastate ICMS tax rate is 18%.
The transaction amount is R$ 1,000.00. And the transaction amount before the interstate ICMS was applied is R$
880.00 (R$ 1,000.00 - 12%).
The standard solution would calculate the ICMS DIFAL base value using the transaction value of R$ 1,000.00.
After implementing this BAdI, the system will calculate the ICMS DIFAL base value according to your customizing.
Material Number: