Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

payroll clusters

Former Member
0 Likes
390

Hi folks,

I have an issue that I need certain help. I am trying to retrieve payroll results from PCL2 and B2 ina function module ' GET_PAYSLIP' It has to retrieve Absence quota data and modify it to the long text HR form data 'regud-txhr' that reads into the remuneration statement.

How can i do that? Any thoughts, leads would be helpful.

Thanks,

SK

1 REPLY 1
Read only

Former Member
0 Likes
329

Hi folks,

I did figure out the solution for the issue I was working with, had to customize the function module 'GET_PAYSLIP' to include the code for retrieving the payroll results from cluster table PCL2 and B2 in the function module, Declare the related include programs (for retrieivng results from B2) and subroutines within the function group where that function module is called to get the 'Accruals' which is the number of extra hours that the employee has accrued for the last week that is stored in payroll.

read that into the variable and concatenate that value into the string in PFORM-LINDA and read that into the sapscript form from there on.

In that way you can customize the funtion module to get any data on the remuneration statement through 'GET_PAYSLIP' function module.

I hope this info helps for everyone.

SK