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

script

Former Member
0 Likes
459

Dear all,

what is the procedure to print the script form ? ....can anybody help me out regarding this....

Laxman..

4 REPLIES 4
Read only

Former Member
0 Likes
427

hi

after designing the script form

u need to write a driver program for it

with open_form ->specify the form name in this

write_form and

close_form

and some tables if needed

then run this driver program....

u can see the print preview

Read only

Former Member
0 Likes
427

In the Communication Method, Check the Print Immediatley button.

Reward if useful

Regards,

Krishna K.

Read only

Former Member
0 Likes
427

hi

good

after executing the form give the print option it ll ask you the printer name ,put the current printer name associated with your system than press enter,it ll print the respective output form .

thanks

mrutyun^

Read only

Former Member
0 Likes
427

Assuming that your SAP Script is ready:

You can write a Report program and have to include 3 FMs to generate the output of the SAP script. First populate all the variables and Internal tables used in the Script, then call these FMs.

1. OPEN_FORM

2. WRITE_FORM

3. CLOSE_FORM

Also you can modify the print options in SAP Script::

Structure for passing print parameters - PRI_PARAMS

One more thing, you can Convert the output of SAP Script spool to PDF files: RSTXPDFT4

Hope it will help.

Regard,

Vishal