SAP ABAP HR India.
This document contains the step via step procedure to create and Display Additional Fields in Pay slip India.
Display HR Additional Fields in Pay slip
Create a Structure which will be used later to display data.
Here I create the structure ZHR_ZFILD, with all the required fields which I want to display in payslip.
Define a Work area of type ZHR_ZFILD inside include RPCEDDZ9. We will fill this work area later and it will hold actual data for display.
Main Program: HINCEDT0
Include : RPCEDSZ9
Create a Enhancement ZEI_RPCEDSZ9_EMPLOYEEDATA in the include RPCEDSZ9, Inside FORMREFRESH_PERNR_MOD.
Create a Include ZHR_RPCEDSZ9_EMPDATA In the enhancement where we will read the data an fill our work area ZFILD.
Inside this Include write a code to fill the values into those fields.
Now add these 2 fields using transaction: - PE51_CHECKTAB
Now in PE51.
Add the fields to be displayed on Pay slip in “Text Modules”
After that go to window option, position your fields on the form and link it to the table and fields we create earlier.
Now just do the alignment of your fields on that form and link it to the table and field. Data will come on the payslip.
Thanks
Satyam
Declaration:- I have created this document based on my experience and knowledge and It does not violets any copyrights.