‎2007 Jun 01 8:50 AM
Hi all,
How to write code for repeat structure in wagetype (0008) infotype .
please can anybody send code .i am new to hr-abap.
and information also.
Reg,
kris
‎2007 Jun 01 9:07 AM
By repeat structure for wage type do you mean reading Payroll results?
‎2007 Jun 01 9:10 AM
u have to put logic like this.
loop at pernr.
loop at itab_p8 where pernr = pernr-pernr and
endda = pernr-endda and
begda = pernr-begda.
do 20 times varying lgart from itab_p8-lga01
next itab_p8-lga02
varying betrg from itab_p8-bet01
next itab_p8-bet02.
if betrg eq 0.
refresh i0008.
clear i0008.
i0008 = itab_p8.
append i0008.
enddo.
endloop.
Regards
Peram