2008 Jun 25 2:25 PM
Hi ALL
Just a quick question.....I am doing payroll reporting using logical database PNPCE, do I need to use standard includes for payroll. if yes why these includes are used for.
cheers
AJ
2008 Jun 25 9:33 PM
You can take a look at my weblog:
[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.
2008 Jun 25 2:40 PM
you need not use any standard includes
Use the following code
NODES: payroll TYPE paygb_result.
* after Get pernr event
GET payroll.
CLEAR:wa_empdets-total_sum,wa_empdets-amt_deduc,wa_empdets-balance.
* fetch arrestable earnings from results table
LOOP AT payroll-inter-rt INTO wa_rt WHERE lgart = '/141'.
* IF wa_rt-lgart = '/141'.
MOVE: wa_rt-betrg TO wa_empdets-earnings.
* ENDIF.
ENDLOOP.
2008 Jun 25 3:10 PM
Hi sriram
I am using PNPCE Logical database so I cant use get payroll event.
regards
AJ
2008 Jun 25 3:20 PM
We add standard includes while fetching payroll results using macros, those includes
contain the data definitions of the dictionary objects involved in the cluster, buffer management routines.....otherwise you need not to add any standard includes
2008 Jun 25 9:33 PM
You can take a look at my weblog:
[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.
2008 Jun 25 11:11 PM
2008 Jun 26 9:24 AM
Hi Alvaro
Thanks for your reply, is it the same coding if I use PNPCE Logical database. Please guide.......bcoz there is no node as payroll.
regards
AJ