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 output

Former Member
0 Likes
643

Hi frnds,

i hav created a customized script and a print prgram.

everything is working fine but i m not getting the o/p in the from.

i suppose that we hav to create an o/p type in NACE but i dont dont wht to do for customized script.

regards,

satish

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
622

you only need to created output type in NACE when you want to attach the form to a standard driver program.

Otherwise if it is a custom driver program you just require to call start_form, open_form etc.

Regards,

Amit

6 REPLIES 6
Read only

Former Member
0 Likes
622

in NACE u need to attach the form name and program name to the corresponding doc type and output type through a medium.

Read only

amit_khare
Active Contributor
0 Likes
623

you only need to created output type in NACE when you want to attach the form to a standard driver program.

Otherwise if it is a custom driver program you just require to call start_form, open_form etc.

Regards,

Amit

Read only

Former Member
0 Likes
622

Hi,

Since yours is a Custom Program and Custom Form, there is no need to assign these things to any output type. Assign some Tcode for your driver program and can execute it. Enter the value on selection screen.

In the program, in the fun Module OPEN_FORM give the Script form number .

so when you execute the program through the Transaction code it will call the script form and display the output.

Only in the cases of the Std transactions/ application documents like SO, PO, Delivery, Invoice we have to assign the Output type, Program, Script form/Smartform in NACE transaction.

Reward if useful

regards,

Anji

Read only

Former Member
0 Likes
622

case(1).

Basically we assign a o/p type in the Nace to trigger the output based on application like when we run a delivery or a po etc.

Output type is assigned in procedures for the form and program name and maintained bin the requirements.

so if u want this o/p to trigger on a certain condition/criteria then go for creation of o/p type .

case 2.

But if u have a selection screen in ur driver prog and you jsut want to see the o/p based on the selection criteria no need of o/p in this case.

It is not mandatory that you need to have an o/p type for custom programs (case 2) but based on the condition (case 1 )for a transaction /criteria we need to decide whether to have an output type or not.

regards,

vijay

Read only

Former Member
0 Likes
622

Thnk u all Frnds for ur helpful answers.

But suppose frnds the custom ( form and print program ) are for a client requirement then also is that we dont hav to create any output type.

just let me know regarding this.

regards,

satish

Read only

0 Likes
622

No, till ou have custom driver program you dont require output type.

Regards,

Amit