Application Development 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: 

[HR] payroll-inter-rt

Former Member
0 Kudos

Hi. I'm confused about HR module development. Could You give me a tip what do those lines of code do? Greetings.


DATA: wa_rt LIKE LINE OF payroll-inter-rt.
...

1.
READ TABLE payroll-inter-rt WITH KEY lgart = '/0T1' INTO wa_rt.

2.
READ TABLE payroll-inter-rt WITH KEY lgart = '/T30' INTO wa_rt.

3.
READ TABLE payroll-inter-rt WITH KEY lgart = '/T31' INTO wa_rt.

2 REPLIES 2

Former Member
0 Kudos

It reads results data (rt) for the wage type '/0T1' '/T30' '/T31' respectively and

moves to the work area ..

U can further get the BETRG(Mostly we get this) from wa_rt for further

processing ... ..

Former Member
0 Kudos

Hi,

1. payroll-inter-rt is results table.

2. There is declaration of workarea for payroll-inter-rt table.

3. The is read with key lgart field into workarea. The above deals with the reading of wagetypes (lgart field)

'/ot1' ,'/t30', /t31' into workarea correspondingly.

Regards,

Vani.