0% found this document useful (0 votes)
124 views3 pages

Post Manual Steps

The document provides steps to configure manual postings for India TCS functionality in SAP. It includes creating a message class, setting up BTE configuration, and code for enhancement implementations to handle accumulation table locking and database lock errors.

Uploaded by

susmita jena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views3 pages

Post Manual Steps

The document provides steps to configure manual postings for India TCS functionality in SAP. It includes creating a message class, setting up BTE configuration, and code for enhancement implementations to handle accumulation table locking and database lock errors.

Uploaded by

susmita jena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Post Manual Steps

Contents
Create Message Class .............................................................................................................. 1
BTE Configuration ..................................................................................................................... 1
Code for EI_J1IG_TCSACCUMSD............................................................................................ 2
Code for EI_J1IG_TCSACCUMSD_LOCK ................................................................................ 3

Create Message Class


• Execute transaction code SE91
• Enter the message class name as J_1IG_LOGMSG
• Enter the Short Text ‘Messages for India Logistics Functionalities’
• Enter the Message short text as shown below
001 - Accumulation table is locked by user &
002 - Unable to unlock the accumulation table
003 - Aadhaar number should have only 12 digits
004 - Aadhaar number should contain only numeric values

• Save the changes in package ‘J1I_GST_LO’

BTE Configuration
• Execute transaction code FIBF
• Click on Settings -> Identification->SAP Applications
• Click on New Entries Button and Enter the following. Click and save the changes
Application Indicator: Application Active Text
TCS Yes India TCS
• Go to Settings -> P/S Modules -> of an SAP Application
• Maintain the entries as shown below
Events Country Application Function Module
00001025 IN TCS J_1IG_TCSBTE1025
• Save the configuration

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

After implementing the SAP Note 2948539, if there are no code available in Enhancement
implementation ’EI_J1IG_TCSACCUMSD’ then update the code as shown below manually

*Tax Collected At Source - INDIA solution 2020


***This enhancement will be executed only for Documents with IN Company code
DATA: lv_component TYPE intca..
CLEAR: lv_component.
***Call FM to check company code belongs to India
CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE'
EXPORTING
bukrs = xvbrk-bukrs
component = '**'
IMPORTING
active_component = lv_component
EXCEPTIONS
component_not_active = 1
others = 2.

IF sy-subrc = 0 AND lv_component = 'IN'. "Call class objects for updating the accumulation
DATA lo_tcsin TYPE REF TO j_1ig_cl_tcsaccum_sd.
CREATE OBJECT lo_tcsin EXPORTING cs_vbrk = xvbrk
ct_vbrk = xvbrk[]
ct_vbrp = xvbrp[]
ct_komv = xkomv[].
IF lo_tcsin IS BOUND.
CALL METHOD lo_tcsin->scenario_wise_branching.
ENDIF.
ENDIF.
CLEAR: lv_component.

2|Page
Code for EI_J1IG_TCSACCUMSD_LOCK
Only valid for the following SAP_BASIS Releases/SPs
Release Validity (Low - High)
700 700-SAPKB70003
700 700-SAPKB70008

After implementing the SAP Note 2948539, if there are no code available in Enhancement
implementation ’EI_J1IG_TCSACCUMSD_LOCK’ then update the code as shown below manually

*India TCS 2020: Fetch if there are any DB lock errors set in Routine 365
DATA: ls_vbfs_in TYPE vbfs.
CLEAR: ls_vbfs_in.
CALL FUNCTION 'J_1BSA_COMPONENT_ACTIVE'
EXPORTING
bukrs = xvbrk-bukrs
component = 'IN'
EXCEPTIONS
component_not_active = 02.
IF sy-subrc = 0.
CALL FUNCTION 'J_1IG_GETSET_DBLOCK_ERROR'
IMPORTING
es_vbfs = ls_vbfs_in.
IF ls_vbfs_in IS NOT INITIAL.
PERFORM vbfs_hinzufuegen_allg
USING '' '000000' ls_vbfs_in-msgid ls_vbfs_in-msgty ls_vbfs_in-msgno
ls_vbfs_in-msgv1 ls_vbfs_in-msgv2 ls_vbfs_in-msgv3 ls_vbfs_in-msgv4.
CALL FUNCTION 'RV_INVOICE_REFRESH'
EXPORTING
with_posting = 'F'
TABLES
xkomfk = xkomfk
xkomv = xkomv
xthead = xthead
xvbfs = xvbfs
xvbpa = xvbpa
xvbrk = xvbrk
xvbrp = xvbrp
xvbss = xvbss.
MESSAGE s032.
ENDIF.
ENDIF.

3|Page

You might also like