12-26-2007 8:04 AM
hi gurus,
I have one internal ,now i have to use loop statement in sap script .
Is it possible? ,if yes ,please tell me with one example.
warm regards.
12-26-2007 8:17 AM
12-26-2007 8:19 AM
Hi pawan,
1. We cannot loop on internal table,
inside the sapscript layout.
2. We have to take care of that, in the driver program.
3. like this, inside the driver program.
loop at itab.
call function 'WRITE_FORM'.
endloop.
4. Inside the layout, we should have some
text element, for ONE lineitem,
so this text element will get called in the loop,
and hence, get printed that many times, one by one,
having the workarea values.
regards,
amit m.