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

wage type problem.

Former Member
0 Likes
399

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

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
369

By repeat structure for wage type do you mean reading Payroll results?

Read only

Former Member
0 Likes
369

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