‎2007 Mar 13 6:35 AM
I want to call a sapscript form from driver program but dont want to pass the PERNR manually.. i want to call that SAPScript form for all available PERNRs...
Pls help...
‎2007 Mar 13 6:38 AM
Hope this would work for u..
loop at itab into wa_itab.
OPEN_FORM
formname = WA_ITAB-PERNR.
CLOSE_FORM.
endloop.
reward if it helps u...
sai ramesh
‎2007 Mar 13 6:36 AM
hi
loop at the internal tables which contain all the PERNRs.
put your 'startform' and 'endform' inside the loop.
hope this works
thx
pavan
‎2007 Mar 13 6:38 AM
Hi Lucky,
Loop at the internal table say i_tab in which you have your number of pernr .
Inside the loop you can call your script passing it the value i_tab-pernr.
Regards,
Suruchi
‎2007 Mar 13 6:38 AM
Hi,
Don't create any selection Screen Paramters in the Driver program and call the script name in OPEN_FORM fun module.
You will get the Script output for all the PERNR's.
But what's your idea? just wants to see the output on screen or wants to print data?
What's your requirement.
Regards,
Anji
‎2007 Mar 13 6:38 AM
Hope this would work for u..
loop at itab into wa_itab.
OPEN_FORM
formname = WA_ITAB-PERNR.
CLOSE_FORM.
endloop.
reward if it helps u...
sai ramesh