You are on page 1of 8

BAdI: Calculation of ICMS DIFAL Base for Consumption CUSTOMER

Goods or Assets
SAP Materials Management
Document Version: 1.0 – 2016-12-05
Typographic Conventions

Type Style Description

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 Emphasized words or expressions.

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.

EXAMPLE Keys on the keyboard, for example, F 2 or E N T E R .

CUSTOMER Error! Reference source not found.


2 © 2016 SAP SE or an SAP affiliate company. All rights reserved. Typographic Conventions
Document History

Version Date Change

1.0 2016-12-05 First Version

Error! Reference source not found. CUSTOMER


Document History © 2016 SAP SE or an SAP affiliate company. All rights reserved. 3
Contents

1 BAdI: Calculation of ICMS DIFAL Base for Consumption Goods or Assets .......................... 5

CUSTOMER Error! Reference source not found.


4 © 2016 SAP SE or an SAP affiliate company. All rights reserved. Contents
1 BAdI: Calculation of ICMS DIFAL Base for
Consumption Goods or Assets

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

As result, the system makes changes to the following values:


 ICMS DIFAL in the destination state.
 Base of ICMS DIFAL in the destination state.
 Tax rate of ICMS DIFAL in the destination state.

Error! Reference source not found. CUSTOMER


BAdI: Calculation of ICMS DIFAL Base for Consumption Goods or Assets © 2016 SAP SE or an SAP affiliate company. All rights reserved. 5
Example

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.

CUSTOMER Error! Reference source not found.


6 © 2016 SAP SE or an SAP affiliate company. All rights reserved. BAdI: Calculation of ICMS DIFAL Base for Consumption Goods or Assets
www.sap.com/contactsap

© 2016 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any
form or for any purpose without the express permission of SAP SE
or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well
as their respective logos are trademarks or registered trademarks of
SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the
trademarks of their respective companies. Please see http://www.
sap.com/corporate-en/legal/copyright/index.epx#trademark for
additional trademark information and notices.

Material Number:

You might also like