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: 

SAP SCRIPT

Former Member
0 Kudos

HI Friends...

How to link a form to the driver program ???

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

By using NACE Tcode we can link.

In NACE t-code we have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.

If suppose data can be read from EDI then we should go for condition records.

So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.

Go to the Transaction NACE.

choose the related sub module.. like billing or shipping

doubel click on Output Types

Choose the Output Type for which whcih you wanted your script to trigger

Then select the Output Type and double click on Processing Routine

Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out

Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....

You should know the Output type for each document;

like

for sales order it is BAoo for Purchase order it is NEU for delivery it is LD00

for Invoice it is RD00.

and the application for each document:

for PO it is EF

for Sales doc's it is V1

delivery it is V2

billing Doc's it is V3.

Select the Application from NACE and click on output types.

select the right output type and click on the processing routines on the left hand side.

it displays the Medium(print,Fax,Mail, edi etc), Output type, Program and the Script form or Smart form.

5 REPLIES 5

Former Member
0 Kudos

Hi

By using NACE Tcode we can link.

In NACE t-code we have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.

If suppose data can be read from EDI then we should go for condition records.

So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.

Go to the Transaction NACE.

choose the related sub module.. like billing or shipping

doubel click on Output Types

Choose the Output Type for which whcih you wanted your script to trigger

Then select the Output Type and double click on Processing Routine

Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out

Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....

You should know the Output type for each document;

like

for sales order it is BAoo for Purchase order it is NEU for delivery it is LD00

for Invoice it is RD00.

and the application for each document:

for PO it is EF

for Sales doc's it is V1

delivery it is V2

billing Doc's it is V3.

Select the Application from NACE and click on output types.

select the right output type and click on the processing routines on the left hand side.

it displays the Medium(print,Fax,Mail, edi etc), Output type, Program and the Script form or Smart form.

Former Member
0 Kudos

Hi Reema,

Go to NACE transaction.

choose the related application like billing or shipping

doubel click on Output Types

Choose the Output Type for which whcih you wanted your script to trigger

Then select the Output Type and double click on Processing Routine where you can configure form and driver program.

Regards,

Venkat

Former Member
0 Kudos

Hi,

Use NACE transaction for connecting the driver program and smartform. And also we can specify output type for that smartform in NACE transaction.

Regards,

Priyanka.

Former Member
0 Kudos

Hi ,

By using NACE Tcode we can assign a form to a printprogram. which output type we r using for a particular application, so that we can assign particular form to a particular printprogram.

Regards,

Kishor.

Former Member
0 Kudos

Hi Reema,

if the script is not related to WM then NACE is Tcode where deriver program can be attched.

if it is WM related then OMLV is Tcode wher you need to privide Printcodes

Award points if helpful.

Regards

naveen