my requirement is :
1.I am getting L_SOBID form HRP1001 table.
2.then get the personnal number form custom table where OBJID=L_SOBID.
3.if pernr is not intial.
4.get the person name and mail id.
5.get the reporting position of that position(l_sobid).
repeat the above 2,3,4. steps
My problem is how repeat the loop.
any one suggest me which loop can i use.