2008 Feb 21 5:28 AM
Hi Experts!
I am creating a report using the logical database PNP.
However, the standard select-options in the logical database doesn't seem to work. I tried filtering using payroll area but it did not work. I was able to make it work using CHECK PNPABKRS inside the GET PERNR loop. However, this not an accepatable solution as that means i have to write CHECK statements for every select-option in the logical database. Am I missing something here? I also tried putting my APPEND statements inside a PROVIDE P0001 loop.
Thanks!
Hi Experts!
I am creating a report using the logical database PNP.
However, the standard select-options in the logical database doesn't seem to work. I tried filtering using payroll area but it did not work. I was able to make it work using CHECK PNPABKRS inside the GET PERNR loop. However, this not an accepatable solution as that means i have to write CHECK statements for every select-option in the logical database. Am I missing something here? I also tried putting my APPEND statements inside a PROVIDE P0001 loop.
Thanks!
2008 Feb 21 8:00 AM
Add tables: pernr to your code. When you test the program you will see a selection screen. Add the Payroll Area to the Selection fields using Further selections. Save the selection screen as a variant. Always run the program using the variant so that Get pernr can filter by Payroll Area.
2008 Feb 21 9:54 AM
Hi,
I guess you were filtering Payroll area in Payroll Period Block in selection screen.
when we evaluate payroll results we use his selection block. The program which retrieves data for payroll accounting selects records on the basis of payroll area. The payroll area defines the selection
period but not the personnel numbers that are selected.
If you want to filter out PERNR's based on payroll area, Give Payroll area value in Data Selection Block of the selection screen. (If Payroll area is not there, then use Further selection Button to add payroll area). This way you can filter GET PERNR based on payroll area.
Regards,
Shrinivas
2008 Feb 21 10:10 PM
Please check my weblog...It deals with Payroll on HR...
[How to deal with HR Payroll reports|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3180] [original link is broken] [original link is broken] [original link is broken];
Greetings,
Blag.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |