Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

SAP ABAP HR Display Additional Fields in Payslip India

$
0
0

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 FORMREFRESH_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.


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>