Application Development 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: 

how to execute sapscript programe in SAP

laxman_sankhla3
Participant
0 Kudos

hi

i created sapscript programe i want to execute how can i do it please help me

thanks in advanced.

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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