Manual Pre Implem SAP Note 2245489 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Manual Instructions for SAP Note 2245489

Technical Note 2015/003 - Interstate Consumption


Operations for non ICMS-contributors
Version 5
MANUAL INSTRUCTIONS

TABLE OF CONTENTS

1 NOTICES ........................................................................................................................................... 3
2 CREATION OF FORMULA FOR SD AND MM ................................................................................ 3
3 CUSTOMIZING CALCULATION PROCEDURES - RVABRA ......................................................... 3
4 CUSTOMIZING CALCULATION PROCEDURES - RVXBRA ......................................................... 4
5 MAINTAIN TAX SD CONDITIONS OFFSET .................................................................................... 4
6 CREATION OF G/L ACCOUNTS AND ASSIGN TO TAX ACCOUNTS .......................................... 4
7 CUSTOMIZING CALCULATION PROCEDURES - TAXBRA.......................................................... 4
8 CUSTOMIZING CALCULATION PROCEDURES - TAXBRJ .......................................................... 5
9 CUSTOMIZING MM CONSUMPTION TAX CODES – TAXBRA ..................................................... 5
10 CUSTOMIZING MM CONSUMPTION TAX CODES – TAXBRJ ...................................................... 5
11 CREATION OF TABLE J_1BTPARTILHA ....................................................................................... 5
12 CREATION OF DATA ELEMENT J_1BINTRARATE ...................................................................... 6
13 CREATION OF DATA ELEMENT J_1BINTRABASE ...................................................................... 6
14 CREATION OF DATA ELEMENT J_1BPARTRATE ....................................................................... 7
15 CREATION OF DATA ELEMENT J_1BSPECFRATE ..................................................................... 7
16 CREATION OF DATA ELEMENT J_1BSPECFBASE ..................................................................... 7
17 CREATION OF DATA ELEMENT J_1BPARTILHATAX ................................................................. 7
18 CHANGING TABLE J_1BNFDOC TABLE ....................................................................................... 8
19 CHANGING STRUCTURE OF J_1BTXIC1 TABLE ......................................................................... 8
20 CHANGING STRUCTURE OF J_1BTXIC2 TABLE ......................................................................... 8
21 CHANGING STRUCTURE OF J_1BTXIC3 TABLE ......................................................................... 9
22 CHANGING STRUCTURE OF J_1BTXIC3V VIEW ......................................................................... 9
23 CREATE BADI BADI_J1B_ICMS_PARTIL...................................................................................... 9
24 CHANGES TO MESSAGE CLASSES ............................................................................................ 11
25 [OPTIONAL] ADJUST J_1BTPARTILHA VIEW FOR A BETTER DISPLAYING ......................... 11
26 GENERATE TABLE MAINTENANCE DIALOG – J_1BTXIC1 ...................................................... 12
27 GENERATE TABLE MAINTENANCE DIALOG – J_1BTXIC2 ...................................................... 13
28 GENERATE TABLE MAINTENANCE DIALOG – J_1BTXIC3 ...................................................... 13
29 EXECUTE MIGRATION PROGRAM FOR J_1BTXIC1 .................................................................. 13
30 EXECUTE MIGRATION PROGRAM FOR J_1BTXIC2 .................................................................. 13
31 EXECUTE MIGRATION PROGRAM FOR J_1BTXIC3 .................................................................. 13

2
MANUAL INSTRUCTIONS

1 NOTICES
Log in the System in English.
In order to simplify the implementation process, the following steps are created implementing the BCSet
“Z_BCSET_NOTE_2232757”, attached to this SAP Note:

 CREATION OF INTERNAL CODE FOR TAX CONDITION


 CREATION OF CONDITION TYPES FOR SD
 CREATION OF CONDITION TYPES FOR MM
 MAPPING INTERNAL CODES FOR TAX CONDITIONS TO CONDITION TYPES
 CREATION OF TAX TYPE
 NOTA FISCAL MAPPING FOR SD
 NOTA FISCAL MAPPING FOR MM
 CREATION OF PROCESSING KEYS FOR FI
 DEFINITION OF ACCOUNT KEYS FOR SD

The Account Key “BRI” or other equivalent shall be defined as “ICMS Offset Posting”.

2 CREATION OF FORMULA FOR SD AND MM


SAP will not deliver any Formula for identifying an non ICMS-contributor at both sides, MM or SD
Components. Nevertheless, this SAP Note suggests an algorithm for each side based on SAP_APPL
Release. Please, check the attached files formula_SD_605_higher and formula_SD_604_lower to
check the implementation suggested by SAP from SD Point-of-view. At MM Side, there are the files
formula_MM_605_higher and formula_MM_604_lower, that working similarly.
As part of Formula’s suggestion, according to release’s technical implementation, there are
differences from 605 and higher releases to 604 and lower ones. Therefore, check if the attached files fit
your need based on your SAP_APPL release. However, once the attached source codes are ONLY
SUGGESTIONS, you can implement your own solution according to your needs.
The formula for MM and SD in higher releases is based on Business Place and Customer’s
Taxpayer field, respectively. For SAP_APPL releases lower than 605, this non ICMS-contributor
checking considers the REGION field’ last character into KOMK Structure is “1”.

3 CUSTOMIZING CALCULATION PROCEDURES - RVABRA


Access J1BTAX Transaction → Condition Setup → Calc. Procedures → Calc. Procedures SD;
Select “RVABRA – Brazil: Standard CBT” line in “Procedures” table and double-click in “Control”;
Choose “New Entries”, add the following data, save and activate:

REMEMBER: The “Step” values described below are just suggestions. You can configure this
according to your Calculation Procedure. Just remember the order that the conditions are
implemented is relevant.

Step Counter CTyp From Manual Statistic SubTot CalType BasType ActKy/AccKy
211 0 ISIB X 160
212 0 ISFR X 160
213 0 ISFB X 160
214 0 DINC X ***** 160
690 0 BX90 X 320
691 0 BX92 X 320
692 0 BX94 1 320 MW6
693 0 BX91 X 320
694 0 BX93 X 320
695 0 BX95 1 320 MW7
696 0 BX98 X 320
697 0 BX97 X 320
698 0 BX96 320 MW8
699 0 BX9O 692 BRI

3
MANUAL INSTRUCTIONS

699 1 BX9P 698 BRI


699 2 BX9D 695 BRI

***** Refers to ICMS Offset Posting Account Key and might be different according to your customizing.
***** Be aware to assign the formula created in step “2 CREATION OF FORMULA FOR SD AND MM” to
the Condition Type DINC using “CalType” Field.

4 CUSTOMIZING CALCULATION PROCEDURES - RVXBRA


Select “RVXBRA – Brazil: Standard” line in “Procedures” table and double-click in “Control”;
Choose “New Entries”, add the following data, save and activate:

REMEMBER: The “Step” values described below are just suggestions. You can configure this
according to your Calculation Procedure. Just remember the order that the conditions are
implemented is relevant.

Step Counter CTyp From Manual Required Statistics CalType BasType ActKy/AccKy
621 0 ICEP X 821 801 MW6
622 0 ICAP X 821 801 MW7
623 0 ICSP X 821 801 MW8
721 0 ICEO 621 X BRI
722 0 ICAO 622 X BRI
723 0 ICPO 623 X BRI

***** Refers to ICMS Offset Posting Account Key and might be different according to your customizing.

5 MAINTAIN TAX SD CONDITIONS OFFSET


Select VK11 Transaction and add the following data for the Conditions BX9O, BX9P, BX9D, ICEO, ICAO
and ICPO:

“Country”: BR;
“Amount”: 100,000-
“Unit”: %;
”Calculat. Type”: A

6 CREATION OF G/L ACCOUNTS AND ASSIGN TO TAX ACCOUNTS


Case needed, you may create the related to G/L Accounts assigning to the Account Keys created
previously through OB40 Transaction;

7 CUSTOMIZING CALCULATION PROCEDURES - TAXBRA


Access J1BTAX Transaction → Condition Setup → Calc. Procedures → Calc. Procedures MM;
Select “TAXBRA – Brazil, Condition-Based” line in “Procedures” table and double-click in “Control”;
Choose “New Entries”, add the following data, save and activate:

REMEMBER: The “Step” values described below are just suggestions. You can configure this
according to your Calculation Procedure. Just remember the order that the conditions are
implemented is relevant.

Step Counter CTyp Statistic SuTot CalType BasType AccKey


35 0 DINC X ***** 160
36 0 BICJ X 160
37 0 BICK X 160
38 0 BICL X 160
388 0 BX90 X 320

4
MANUAL INSTRUCTIONS

389 0 BX92 X 320


390 0 BX94 X 320
391 0 BX91 X 320
392 0 BX93 X 320
393 0 BX95 X 320
394 0 BX96 X 320
395 0 BX97 X 320
396 0 BX98 X 320
461 0 ICEP 1 NVV
462 0 ICAP 1 NVV
463 0 ICSP 1 NVV

***** Be aware to assign the formula created in step “2 CREATION OF FORMULA FOR SD AND
MM” to the Condition Type DINC using “CalType” Field.

8 CUSTOMIZING CALCULATION PROCEDURES - TAXBRJ


Select “TAXBRJ – Brazil: Standard” line in “Procedures” table and double-click in “Control”;
Choose “New Entries”, add the following data, save and activate:

REMEMBER: The “Step” values described below are just suggestions. You can configure this
according to your Calculation Procedure. Just remember the order that the conditions are listed is
relevant.

Step Counter CTyp Manual Statistics CalType BasType


523 0 ICEP 821 801
524 0 ICAP 821 801
524 0 ICSP 821 801

9 CUSTOMIZING MM CONSUMPTION TAX CODES – TAXBRA


Access J1BTAX Transaction → Tax Calculation → Tax Codes MM.
Enter “TAXBRA” in “Procedure” input field and press “Continue” pushbutton.
Choose the Consumption tax codes relevant to ICMS Partilha scenario.
Press “Maintain Tax Code Conditions” pushbutton and insert the following entries in each one:

Active Cond.type Tax group


X ICEP ICMS
X ICAP ICMS
X ICSP ICMS

10 CUSTOMIZING MM CONSUMPTION TAX CODES – TAXBRJ


Access FTXP transaction.
Enter “BR” in Country field.
For each Tax Code relevant to ICMS Partilha scenario, change the following lines changing the “Tax
Percent. Rate” column.

Tax Type Acct Key Tax Percent. Rate Cond. Type


ICMS Orig Partition NVV 100,000 ICEP
ICMS Dest Partition NVV 100,000 ICAP
ICMS Special Fund NVV 100,000 ICSP

11 CREATION OF TABLE J_1BTPARTILHA


This View/Table is responsible for setting the percentage related to ICMS Partilha on Destination.

5
MANUAL INSTRUCTIONS

In SE11 Transaction, create/change the J_1BTPARTILHA Database Table.


Enter ICMS Partilha as “Short Description”, saving the changes in Package J1BA.

On the “Delivery and Maintenance” tab:


 Enter C in the field “Delivery Class”;
 Select Display/Maintenance Allowed in the field “Data Browser/Table Editing”;

On the “Fields” tab, enter the following data:


Field Key Initial Data Element
MANDT X X MANDT
VALIDFROM X X DATS
RATE X J_1BTXRATE

Press the “Technical Settings” pushbutton.


 Set the “Data Class” field to APPL0.
 Set the “Size Category” field to 0.
 Select the “Buffering switched on” or “Buffering activated” radio button.
 Set the “Fully buffered” checkbox.

Choose “Extras” → “Enhancement Category” and select Cannot be enhanced.


Choose “Utilities” → ”Table Maintenance Generator”.
 Enter &NC& in the “authorization group” field;
 Enter J_1BFG_PARTILHA in the “function group” field;
 Choose One Step in the “maintenance type” radio options;
 Enter 3 in the “overview screen” field;
 Choose Create pushbutton;

Save and Activate in package J1BA.

12 CREATION OF DATA ELEMENT J_1BINTRARATE


In SE11 Transaction, create the J_1BINTRARATE Data Element.
Enter ICMS Intrastate Rate as “Short Description”, saving the changes in Package J1BA.
Select the “Elementary Type” radio button, and inform the “Domain” as J_1BTXRATE.

On “Field Labels” tab, inform the following values:

Length F Field label


Short 10 Intra Rate
Medium 20 Intrastate Rate
Long 40 Intrastate Rate
Heading 55 Intrastate Rate

Save and Activate.

13 CREATION OF DATA ELEMENT J_1BINTRABASE


In SE11 Transaction, create the J_1BINTRABASE Data Element.
Enter ICMS Intrastate Base as “Short Description”, saving the changes in Package J1BA.
Select the “Elementary Type” radio button, and inform the “Domain” as J_1BTXBASE.

On “Field Labels” tab, inform the following values:

Length F Field label

6
MANUAL INSTRUCTIONS

Short 10 Intra Base


Medium 20 Intrastate Base
Long 40 Intrastate Base
Heading 55 Intrastate Base

Save and Activate.

14 CREATION OF DATA ELEMENT J_1BPARTRATE


In SE11 Transaction, create the J_1BPARTRATE Data Element.
Enter ICMS Partilha Tax Rate as “Short Description”, saving the changes in Package J1BA.
Select the “Predefined Type” radio button, and inform the “Data Type” as DEC.
Inform 6 as “Length” value and 2 as “Decimal Places”.

On “Field Labels” tab, inform the following values:

Length F Field label


Short 10 ICMS P Rat
Medium 20 ICMS Partilha Tax Rt
Long 40 ICMS Partilha Tax Rate
Heading 55 ICMS Partilha Tax Rate

Save and Activate.

15 CREATION OF DATA ELEMENT J_1BSPECFRATE


In SE11, create the J_1BSPECFRATE Data Element.
Enter ICMS Special Fund Rate as “Short Description”, saving the changes in Package J1BA.
Select the “Domain” J_1BTXRATE

On “Field Labels” tab, inform the following values:

Length F Field label


Short 10 Spec F Rat
Medium 20 Special Fund Rate
Long 40 Special Fund Rate
Heading 55 Special Fund Rate

Save and activate.

16 CREATION OF DATA ELEMENT J_1BSPECFBASE


In SE11 Transaction, create the J_1BSPECFBASE Data Element.
Enter ICMS Special Fund Base as “Short Description”, saving the changes in Package J1BA.
Select the “Domain” J_1BTXBASE

On “Field Labels” tab, inform the following values:

Length F Field label


Short 10 Spec F Bas
Medium 20 Special Fund Base
Long 40 Special Fund Base
Heading 55 Special Fund Base

Save and activate.

17 CREATION OF DATA ELEMENT J_1BPARTILHATAX


***This step is only necessary for SAP_APPL 4.70***

7
MANUAL INSTRUCTIONS

In SE11 Transaction, create the J_1BPARTILHATAX Data Element.


Enter ICMS Partilha Tax as “Short Description”, saving the changes in Package J1BA.
Select the “Elementary Type” radio button, and inform the “Data Type” as DEC.
Inform 12 as “Length” value and 6 as “Decimal Places”.

On “Field Labels” tab, inform the following values:

Length F Field label


Short 10 Part. Tax
Medium 20 Partilha Tax
Long 40 Partilha Tax
Heading 55 Partilha Tax

Save and activate.

18 CHANGING TABLE J_1BNFDOC TABLE


In SE11 Transaction, change the J_1BNFDOC database table.
On the “Fields” tab, add the following data:
Field Data Element
PARTR J_1BPARTRATE

Save your entries and activate.

19 CHANGING STRUCTURE OF J_1BTXIC1 TABLE


In SE11 Transaction, change the “J_1BTXIC1” Database Table.
On the “Fields” tab, add the following data:
Field Data Element
SPECF_RATE J_1BSPECFRATE
SPECF_BASE J_1BSPECFBASE

Save your entries and activate.

20 CHANGING STRUCTURE OF J_1BTXIC2 TABLE


In SE11 Transaction, change the “J_1BTXIC2” Database Table.
On the “Fields” tab, add the following data:
Field Data Element
SPECF_RATE J_1BSPECFRATE
SPECF_BASE J_1BSPECFBASE

Save your entries and activate.

8
MANUAL INSTRUCTIONS

21 CHANGING STRUCTURE OF J_1BTXIC3 TABLE


In SE11 Transaction, change the “J_1BTXIC3” Database Table.
On the “Fields” tab, add the following data:
Field Data Element
SPECF_RATE J_1BSPECFRATE
SPECF_BASE J_1BSPECFBASE

Save your entries and activate.

22 CHANGING STRUCTURE OF J_1BTXIC3V VIEW


In SE11 Transaction, change the “J_1BTXIC3V” View.
On the “Fields” tab, add the following data:
Field Table Field
SPECF_RATE J_1BTXIC3 SPECF_RATE
SPECF_BASE J_1BTXIC3 SPECF_BASE

Save your entries and activate.

23 CREATE BADI BADI_J1B_ICMS_PARTIL

In SE18 Transaction, create the BADI_J1B_ICMS_PARTIL BAdI.

In “Short Description” field, enter BAdI for ICMS Partilha and confirm.

Into “Type” Section:


Set “Multiple Use” and “Can only be implemented SAP-internally” checkbox as false.

The following screenshot illustrates the BAdI’s Setup.

9
MANUAL INSTRUCTIONS

Double-click in “Interface” and click in “Change” pushbutton.


Inform the interface name IF_EX_BADI_J1B_ICMS_PARTILHA.

Inform the “Method” DETERMINE_INTRASTATE_ICMS_RED.


Enter Instance Method as “Level”.
Enter Determine intrastate ICMS Reduction as “Description”.

Click in “Parameters” pushbutton and inform the following entries

Parameter Type Pass Value Typing Method Associated Type


IS_KOMK Importing Type KOMK
IS_KOMP Importing Type KOMP
IT_KOMV Importing Type TAX_XKOMV_TAB
CV_REDUCTION Changing X Type KWERT

Inform the “Method” DETERMINE_ICMS_NON_CONTRIBUTOR.


Enter Instance Method as “Level”.
Enter Determine ICMS Non Contributor as “Description”.

Click in “Parameters” pushbutton and inform the following entries


Parameter Type Pass Typing Method Associated Type
Value
IS_KOMK Importing Type KOMK
IS_KOMP Importing Type KOMP
IT_KOMV Importing Type TAX_XKOMV_TAB
IV_APPLICATION Importing Type CHAR2
CV_ICMS_NON_CONTRIBUTOR Changing X Type ABAP_BOOL

10
MANUAL INSTRUCTIONS

Save and activate your entries in package J1BA.

24 CHANGES TO MESSAGE CLASSES


In SE91 transaction, change message class 8B, message 030.
Enter the following data:
Message Short text Self-explanatory
030 Special Fund Rate/Base and ICMS Rate/Base fields are mandatory X

Save your entries.

25 [OPTIONAL] ADJUST J_1BTPARTILHA VIEW FOR A BETTER DISPLAYING


In SE54 Transaction, change the “Generated Objects” of the J_1BTPARTILHA View.
Select the “Generated Objects” radio button and click in the “Create/Change” pushbutton.

Click in “Overview screen” text and click in “Layout” pushbutton, allowing the required access, case needed.

Enter in TCTRL_J_1BTPARTILHA Control and change its values according to the following screenshot:

Enter in J_1BTPARTILHA-VALIDFROM Column Control (“Initial Date” Column) and change its values as
follows:

11
MANUAL INSTRUCTIONS

Enter in J_1BTPARTILHA-RATE Column Control (“Destination Tax Rate” Column) and assign its values
according to the following screenshot:

Save and Activate.

26 GENERATE TABLE MAINTENANCE DIALOG – J_1BTXIC1


In SE54 Transaction, select “Generated Objects” radio button and change the J_1BTXIC1 table/view.
Choose “Change” pushbutton.
Set “New field/sec. table in structure” checkbox and click in Continue pushbutton.
Set “Normal Field” checkbox and click in Continue pushbutton.

12
MANUAL INSTRUCTIONS

27 GENERATE TABLE MAINTENANCE DIALOG – J_1BTXIC2


In SE54 Transaction, select “Generated Objects” radio button and change the J_1BTXIC2 table/view.
Choose “Change” pushbutton.
Set “New field/sec. table in structure” checkbox and click in Continue pushbutton.
Set “Normal Field” checkbox and click in Continue pushbutton.

28 GENERATE TABLE MAINTENANCE DIALOG – J_1BTXIC3


In SE54 Transaction, select “Generated Objects” radio button and change the J_1BTXIC3 table/view.
Choose “Change” pushbutton.
Set “New field/sec. table in structure” checkbox and click in Continue pushbutton.
Set “Normal Field” checkbox and click in Continue pushbutton.

29 EXECUTE MIGRATION PROGRAM FOR J_1BTXIC1


***This step is only necessary for SAP_APPL 5.00***
In transaction J1BTAX access the following path: Menu -> Condition Setup -> Migration -> Tax Tables to
Conditions.
Flag the “’V’ Sales and Distribution” option.

Select the J_1BTXIC1 entry and Execute.

Flag the “’TX’ (Materials Management)” option and Execute.

30 EXECUTE MIGRATION PROGRAM FOR J_1BTXIC2


***This step is only necessary for SAP_APPL 5.00***
In transaction J1BTAX access the following path: Menu -> Condition Setup -> Migration -> Tax Tables to
Conditions.
Flag the “’V’ Sales and Distribution” option.

Select the J_1BTXIC2 entry and Execute.

Flag the “’TX’ (Materials Management)” option and Execute.

31 EXECUTE MIGRATION PROGRAM FOR J_1BTXIC3


***This step is only necessary for SAP_APPL 5.00***
In transaction J1BTAX access the following path: Menu -> Condition Setup -> Migration -> Tax Tables to
Conditions.
Flag the “’V’ Sales and Distribution” option.

Select the J_1BTXIC3 entry and Execute.

Flag the “’TX’ (Materials Management)” option and Execute.

13
www.sap.com

© 2014 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. Please see
http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for
additional trademark information and notices. Some software products
marketed by SAP SE and its distributors contain proprietary software
components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for
informational purposes only, without representation or warranty of any kind,
and SAP SE or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP SE or
SAP affiliate company products and services are those that are set forth in
the express warranty statements accompanying such products and services,
if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue
any course of business outlined in this document or any related presentation,
or to develop or release any functionality mentioned therein. This document,
or any related presentation, and SAP SE’s or its affiliated companies’
strategy and possible future developments, products, and/or platform
directions and functionality are all subject to change and may be changed by
SAP SE or its affiliated companies at any time for any reason without notice.
The information in this document is not a commitment, promise, or legal
obligation to deliver any material, code, or functionality. All forward-looking
statements are subject to various risks and uncertainties that could cause
actual results to differ materially from expectations. Readers are cautioned
not to place undue reliance on these forward-looking statements, which
speak only as of their dates, and they should not be relied upon in making
purchasing decisions.

You might also like