10-07-2008 12:59 PM
Is there a sy-***** field that holds the number of the current call, in a recursive form ?
Thanks,
Avraham
10-07-2008 1:01 PM
Hi,
No there isn't but you could use a static variable within the form.
i.e.
do 10 times.
perform my_form.
enddo.
form my_form.
statics: lv_count type i.
add 1 to lv_count.
write: / lv_count.
endform.
Darren
10-07-2008 1:01 PM
Hi,
No there isn't but you could use a static variable within the form.
i.e.
do 10 times.
perform my_form.
enddo.
form my_form.
statics: lv_count type i.
add 1 to lv_count.
write: / lv_count.
endform.
Darren
10-07-2008 1:09 PM
Yes I just ended up using a global one instead.
Was just wondering if SAP provided such a thing.
Thanks