11-21-2007 9:13 AM
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.
11-21-2007 9:20 AM
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 ... ..
11-21-2007 9:40 AM
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.