11-09-2006 5:12 AM
hi
i created sapscript programe i want to execute how can i do it please help me
thanks in advanced.
11-09-2006 5:18 AM
Have u called that Script in Report program...!!!
u have to call that script through
open_form
write_form
close_form
execute that program,,,
Regards
Ramesh
11-09-2006 5:21 AM
Hi,
Goto Utilities->Printing Test.
Select LOCL as Output Device. Click Print Preview.
In real time you need to create an Output Type in Transaction NACE or use an existing one. Provide your Print Program in it and provide it in Message header as you do to create and IDoc for EDI.
Then when you execute the Transaction this Output Type will trigger you SAPScript.
Hope this is helpful.
Thanks,
Prashanth
11-09-2006 5:29 AM
Hi,
two ways.
1. Simply by executing program by F8 and giving values in selection screen. You have used FMs like open_form and write_form and close_form etc. hence form will be called
2. Form and print program will be assigned to output type in NACE transaction.
Now this will be called when via standard transaction like VA03 -> print option and set output type
at this time based on output type print progral will be called.
*Hope this may give you a bit of idea.
11-09-2006 5:31 AM
Hi Laxman,
Hope u have created both Driver program and also the form. Now execute the Driver program(se38) when executing then it will ask for the printer . then provide name and Click on Print Priview. then u will get the output. It will be showing the preview of the form.
Murthy