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

sapscript

Former Member
0 Likes
489

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...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
472

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

4 REPLIES 4
Read only

Former Member
0 Likes
472

hi

loop at the internal tables which contain all the PERNRs.

put your 'startform' and 'endform' inside the loop.

hope this works

thx

pavan

Read only

0 Likes
472

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

Read only

Former Member
0 Likes
472

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

Read only

Former Member
0 Likes
473

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