You are on page 1of 7

Pre-Implementation Steps

Contents
Create Function Group J_1IG_TCS .......................................................................................... 1
Create BADI BADI_J_1IG_TCS ................................................................................................ 2
BADI Method Implementation Help ........................................................................................... 5
Create Enhancement Implementation EI_J1IG_TCSACCUMSD ............................................... 6
Create Enhancement Implementation EI_J1IG_TCSACCUMSD_LOCK ................................... 7

Create Function Group J_1IG_TCS


Only valid for the following SAP_BASIS Releases/SPs
Release Validity (Low - High)
700 700-SAPKB70036
701 701-SAPKB70121
702 702-SAPKB70221
730 730-SAPKB73019
731 731-SAPKB73124
740 740-SAPKB74021
750 750-SAPK-75014INSAPBASIS
751 751-SAPK-75107INSAPBASIS
752 752-SAPK-75203INSAPBASIS
753 753-SAPK-75301INSAPBASIS

• Execute SE80 transaction and give package name as ‘J1I_GST_LO’ and click on display. Now
expand the function group node and click on create.
• Give function group name as ‘J_1IG_TCS’ and short description as ‘Tax Collected at Source’
and click on Save.
• Save it in the package J1I_GST_LO and activate it.

1|Page
Create BADI BADI_J_1IG_TCS
Only valid for the following SAP_BASIS Releases/SPs
Release Validity (Low - High)
700 700-SAPKB70003
700 700-SAPKB70008

• Execute Transaction code SE18 and select the ‘Enhancement spot’ radio button
• Enter ES_J1IG_TCS and click on ‘Create’

• Enter Shot text as ‘Enhancement for Tax Collected at Source’ as shown below and press OK

• Click on the Create BADI icon and enter the BAdI name as ‘BADI_J1IG_TCS’ and Short
Description as ‘BAdI for Tax Collected at Source’

2|Page
• Create Interface as ‘IF_EX_J1IG_TCS’ and enter the details as shown below

• Go to the interface and create 2 methods


SET_ACCUMULATION_FLAG - Set Accumulation flag based on Control code
GET_SALE_AMOUNT - Get the total sales amount of buyer and seller
combination

• Select the method SET_ACCUMULATION_FLAG and click on parameter. Maintain the


parameters as shown below

• Select the method GET_SALE_AMOUNT and click on parameter. Maintain the parameters as
shown below

3|Page
• Click on Implementation and select create to enter the following details as shown in the
screenshot
• Enhancement Implementation Name: J1IG_TCS
Short Text: Enhancement Implementation for Tax Collected at Source

• The system prompt to create BADI implementation. Enter the details as shown below
BAdI Implementation: J1IG_TCS
Description: BAdI Implementation for Tax Collected at Source
Implementing Class: CL_J1IG_TCS
• Save the changes in Package ‘J1I_GST_LO’

• Open the created Implementing class and activate each method separately
• Open the BAdI setting and maintain as shown below. This is an example implementation and will
not be called

4|Page
BADI Method Implementation Help
BADI method GET_SALE_AMOUNT to be implemented in the below case
The sale value, for all the documents that belongs to section 206C(1H), has not been
accumulated between April 1 2020 and September 30 2020. From October 1, TCS must/must
not be calculated accordingly to the legal specifications
In order to achieve this, the SAP customers must provide the sale value of all those materials
that belongs to section 206C(1H) during the postings of first documents after October 1.
That is: For buyer and seller combination, pass the sale amount.
In case multiple customers use the same PAN or Aadhaar, the sale amount must be passed at
the PAN level.
If PAN or Aadhaar is not available, then the sale amount must be passed at the customer level

BADI method SET_ACCUMULATION_FLAG to be implemented in the below case


When the documents posted between April1 2020 and September 30 2020 are getting reversed
after October 1 2020, then such documents cannot be identified for sale consideration.
So, this method must be implemented to identify if the material belongs to 206C(1H) goods or
not and set CH_ACCUMFLAG to X
If the control code does not belong to section 206C(1H) then accumulation should not be
reduced. In this case CH_ACCUMFLAG must be empty

Both the methods must provide right values till March 31st 2021. These 2 methods will not be
valid for implementation from April 1st 2021

5|Page
Create Enhancement Implementation EI_J1IG_TCSACCUMSD
Only valid for the following SAP_BASIS Releases/SPs
Release Validity (Low - High)
700 700-SAPKB70003
700 700-SAPKB70008

• Execute Transaction code SE18 and enter ‘ES_SAPLV60A’


• Click on Display
• Go to ‘Enhancement options’ tab and open the enhancement point
‘\PR:SAPLV60A\EX:RV_INVOICE_DOCUMENT_ADD_23’
• In the ABAP editor screen, select the ‘enhance’ option in the tool bar so that the editor
is in enhancement mode.

• Right click on the enhancement point and select Enhancement Operations -> Create
implementation.

• Select the create icon in the pop-up screen and enter the details as shown
Enhancement implementation: EI_J1IG_TCSACCUMSD
Short Text: IN TCS: Accumulating the sale invoice value

• Save and activate the enhancement implementation in package ‘J1I_GST_LO

6|Page
Create Enhancement Implementation EI_J1IG_TCSACCUMSD_LOCK
Only valid for the following SAP_BASIS Releases/SPs
Release Validity (Low - High)
700 700-SAPKB70003
700 700-SAPKB70008

• Execute Transaction code SE18 and enter ‘ES_SAPLV60A’


• Click on Display
• Go to ‘Enhancement options’ tab and open the enhancement point
‘\PR:SAPLV60A\EX:RV_INVOICE_CREATE_04’
• In the ABAP editor screen, select the ‘enhance’ option in the tool bar so that the editor
is in enhancement mode.

• Right click on the enhancement point and select Enhancement Operations -> Create
implementation.

• Select the create icon in the pop-up screen and enter the details as shown
Enhancement implementation: EI_J1IG_TCSACCUMSD_LOCK
Short Text: IN TCS: Locking the Accumulation table

• Save and activate the enhancement implementation in package ‘J1I_GST_LO’

7|Page

You might also like