Skip to Content

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.

Stru.png

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.

Data_Decl.jpg

Main Program: HINCEDT0

Include : RPCEDSZ9

Create a Enhancement ZEI_RPCEDSZ9_EMPLOYEEDATA in the include RPCEDSZ9, Inside FORM REFRESH_PERNR_MOD.

Create a Include ZHR_RPCEDSZ9_EMPDATA In the enhancement where we will read the data an fill our work area ZFILD.

Enhance.png

Inside this Include write a code to fill the values into those fields.

Code.png

Now add these 2 fields using transaction: – PE51_CHECKTAB

PE51_CHECKTAB.png

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.

PE51_Disp.png

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.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply