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

HR payroll reporting

anupam_srivastava2
Participant
0 Likes
983

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
935

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.

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

6 REPLIES 6
Read only

Former Member
0 Likes
935

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.

Read only

0 Likes
935

Hi sriram

I am using PNPCE Logical database so I cant use get payroll event.

regards

AJ

Read only

Former Member
0 Likes
935

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

Read only

Former Member
0 Likes
936

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.

Read only

amit_khare
Active Contributor
0 Likes
935

Check this -

Read only

0 Likes
935

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