‎2007 Apr 25 10:48 AM
Dear all,
what is the procedure to print the script form ? ....can anybody help me out regarding this....
Laxman..
‎2007 Apr 25 10:52 AM
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
‎2007 Apr 25 10:53 AM
In the Communication Method, Check the Print Immediatley button.
Reward if useful
Regards,
Krishna K.
‎2007 Apr 25 10:56 AM
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^
‎2007 Apr 25 11:00 AM
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