Skip to Content
Technical Articles

Income Tax Declaration Web Dynpro ABAP Configuration Guide

SAP provides the self-service options for Income Tax solutions for India with its Web Dynpro ABAP applications. This blog post mentions the steps which will guide you to configure the same and also mentions the troubleshooting methods for the roadblocks which can be faced during the implementation.

  1. Activate the following services from transaction SICF
    • HRESS_ITDL_EE_IN
    • HRESS_ITDL_AP_IN
    • HRESS_CLMS_AP_EMCR
    • HRESS_A_REP_IN_FORM12BB
  1. Activate the below business functions through transaction SFW5 to enable the WDA SPRO nodes
    • HCM_ESS_WDA_1
    • HCM_ESS_WDA_2
    • HCM_ESS_WDA_3
    • HCM_MSS_WDA_1
    • HCM_MSS_WDA_2
    • HCM_LOC_CI_12
    • HCM_LOC_CI_21
    • HCM_LOC_CI_32
    • HCM_LOC_CI_33
    • HCM_LOC_CI_48
  1. Activate the income tax related info types required using the view V_T77WWW_GATSR

 

  1. Assign the workflow for IT declaration (India) using view V_T77WWW_GADEF

 

  1. Activate the workflow WS18900052 and set the task as General Task (Note – Workflow customizing settings in transaction SWU3 should be activated)

 

  1. Maintain the privilege groups and approver groups and their assignment using the path – SPRO -> Personnel Management -> Employee Self-Service (Web Dynpro ABAP) -> Service-Specific Settings-> Settings for Country-Specific Services -> India -> Benefits and Payment -> Advanced Claims -> Basic Settings

 

  1. Activate the BAdI for determining approver and approver group

METHOD if_ac_next_approver~get_next_approver.
DATA: ls_p0001 TYPE p0001.
DATA: lt_grp TYPE TABLE OF t77www_clagapa,
ls_grp TYPE t77www_clagapa.
DATA: lv_name TYPE char12.
SELECT * FROM t77www_clagapa
INTO TABLE lt_grp WHERE molga = 40.
SORT lt_grp BY apgrp.
ls_p0001 = ist_p0001.
SELECT SINGLE usrid
FROM pa0105
INTO lv_name
WHERE pernr = ls_p0001-pernr
AND subty = '0001'
AND endda >= sy-datum.
IF ifd_aplvl = 1.
IF  ( ist_trnhe-retyp = 'S80C' OR ist_trnhe-retyp = 'SC80'
OR ist_trnhe-retyp = 'HRAC' OR ist_trnhe-retyp = 'IOS'
OR ist_trnhe-retyp = 'PETD' ).
READ TABLE lt_grp INTO ls_grp WITH KEY apgrp = 'APPGRP1'.
IF ls_grp-apuid = lv_name.
READ TABLE lt_grp INTO ls_grp INDEX 2.
efd_apgrp = ls_grp-apgrp .
ELSE.
efd_apgrp = ls_grp-apgrp .
ENDIF.
ENDIF.
IF ( ist_trnhe-retyp = 'S80C' OR ist_trnhe-retyp ='SC80'
OR ist_trnhe-retyp = 'HRAC' OR ist_trnhe-retyp = 'IOS'
OR ist_trnhe-retyp = 'PETD' ).
READ TABLE lt_grp INTO ls_grp WITH KEY apgrp = 'APPGRP2'.
IF ls_grp-apuid = lv_name.
READ TABLE lt_grp INTO ls_grp INDEX 4.
efd_apgrp = ls_grp-apgrp .
ELSE.
efd_apgrp = ls_grp-apgrp .
ENDIF.
ENDIF.
IF ( ist_trnhe-retyp = 'S80C' OR ist_trnhe-retyp ='SC80'
OR ist_trnhe-retyp = 'HRAC' OR ist_trnhe-retyp = 'IOS'
OR ist_trnhe-retyp = 'PETD' ).
READ TABLE lt_grp INTO ls_grp WITH KEY apgrp = 'APPGRP2'.
IF ls_grp-apuid = lv_name.
READ TABLE lt_grp INTO ls_grp INDEX 3.
efd_apgrp = ls_grp-apgrp .
ELSE.
efd_apgrp = ls_grp-apgrp .
ENDIF.
ENDIF.
IF (  ist_trnhe-retyp = 'S80C' OR ist_trnhe-retyp ='SC80'
OR ist_trnhe-retyp = 'HRAC' OR ist_trnhe-retyp = 'IOS'
OR ist_trnhe-retyp = 'PETD' ).
READ TABLE lt_grp INTO ls_grp WITH KEY apgrp = 'APPGRP1'.
IF ls_grp-apuid = lv_name.
READ TABLE lt_grp INTO ls_grp INDEX 1.
efd_apgrp = ls_grp-apgrp .
ELSE.
efd_apgrp = ls_grp-apgrp .
ENDIF.
ENDIF.
ELSE.
EXIT.
ENDIF.
ENDMETHOD.

 

  1. Maintain the view: V_T7XSSPERSUBTYP with the info types needed to be updated.

40 0585 A1

40 0586 B2

Implement the BAdI “HRXSS_PER_BEGDA” and maintain any date in the previous year as default start date.

Configuration Method:

SPRO -> Personnel Management -> Employee Self-Service (Web Dynpro ABAP) -> Service-Specific Settings -> Personal Information -> Personal Profile -> BAdI: Change Default Start Date

method IF_EX_HRXSS_PER_BEGDA~DEFAULT_DATE.
if INFTY = '0006'.
begda = '20064001'.
endif.
endmethod.

 

  1. Configure the header level fields and multiple line level fields in the application for each declaration type from the nodes ‘Define Fields and its Attributes at Header Level’ (View – V_T77WWW_GAHLC) and ‘Define Fields and its Attributes at Multiple Line Level’ (View – V_T77WWW_GAMLC).

 

  1. Editability of proposed and actual values can be controlled through ‘Control Visibility & Editing of Proposed and Actual Value Columns’

Value ‘1’ means Proposed column will be editable and Actual column will be non-editable for the employees.

Value ‘2’ means Proposed column will be non-editable and Actual column will be editable for the employees.

Value ‘3’ means both Proposed column and Actual column will be non-editable for the employees.

 

  1. For configuring the tax regime option introduced with the Union Budget 2020-21, implement the SAP KBAs 2895046 and 2919107 and also perform the manual instructions attached with these KBAs.
  2. Implement the ‘BAdI: Determine Process Completion Date’ under Income Tax Declaration in Payroll: India in SPRO to change the status of the request from ‘To be Processed’ to ‘Processing Complete’.
  3. Run the applications by executing corresponding application configurations for employee and approver applications

Employee application screen-

Approver application screen-

 

Additional Information-

  • For configuring any validation checks during the application request, implement the BAdI available in the node ‘BAdI: Validate Request Data’ under Income Tax Declaration in Payroll: India in SPRO.
  • Attachments uploaded through the IT declaration application are stored in cluster tables in SAP as mentioned in the SAP KBA 1685478 and 2682711. In case in the future the database space of the ECC server becomes less, there is a provision of a ‘BAdI: Process Attachments’ (available under Advanced Claims in Payroll: India) so that attachments can be stored in any third-party server.
  • Troubleshooting SAP KBAs:
    • 2312421 – ESS: HINUINFU Error while Infotype/Database Updation. Solution Type:00002 PBAS_SERVICE 9
    • 2729718 – Attachment option not visible in IT Declaration
    • 2312412 – ‘Only one record can exist between Jan. 1800 to Dec. 9999’ error when employee tries to create IT580 from ESS portal
    • 2307748 – ESS: Values updated in Infotypes 585 and 586 not in same order as filled in ESS IT declaration screen
    • 2303705 – Approver is not able to download the attachment in Approver application of IT Declaration (Webdynpro ABAP)
    • 2212336– Maximum limit not coming correctly in ESS IT declaration application with Section 80C details
    • 2021059 – While raising ESS Tax Declaration Application, system throws errror “Mandatory field “Actual Ded-Interest u/s 24″ not filled”

Following the above-mentioned instructions, you would be able to implement Income Tax declaration for India using Web Dynpro ABAP. In case of any improvements or feedbacks, please comment on this blog post, or you may ask questions in the HCM Employee Self-Service Q&A tag area here: https://answers.sap.com/tags/399814863717995876203615023559515. I hope this blog post helps you.

Thanks and Regards

Udit Khera

Be the first to leave a comment
You must be Logged on to comment or reply to a post.