cancel
Showing results for 
Search instead for 
Did you mean: 

Link copy SapScript with Standard program

rohit_goel
Participant
0 Kudos

hi experts,

I have copied one sapscript form from one standard script and copied print program from standard program....

can u tell me how to link both of them (print program and form)and how to make changes in the form and program ?

regards,

rohit

Edited by: Alvaro Tejada Galindo on Feb 15, 2008 3:11 PM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Use T.code NACE

1.Goto Transaction NACE --> Select Application V1(Sales)

2. Click on Output Types --> Select the output type as BA00 (as generally BA00 is the output type associated with Sales Order )

3.Click change--> Double click on the Processing Routines folder on the left and here you can pass the corresponding driver programs name and form name.

NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).

You should know the Application of a document first Like:

for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.

so first select the Application type (ex: EF) for PO and press Output types

then a list will come in that you should know the related output type for PO.

in this case it is NEU,

select that and click on the processing Routines button on the left side

it will display the Medium, Driver Program and the Script form or smartform related to that document..

Former Member
0 Kudos

Assigning Form and Driver proram to an Output type is as follows.

1) Go to NACE transaction

2) Select an Applicatin(V1-Sales,V2-Shipping,V3-Billing)

3) Click on Outputtypes Button

4) Comes to Change Mode

5) Click on New Entries button

6) Specify Output type,Form name and Program and Save it.

Check these links

/people/venkata.ramisetti/blog/2006/09/21/configuring-output-types-for-pdf-based-print-forms

NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).

You should know the Application of a document first Like:

for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.

so first select the Application type (ex: EF) for PO and press OUtput types

then a list will come in that you should know the related output type for PO.

in this case it is NEU,

select that and click on the processing Routines button on the left side

it will display the Medium, Driver Program and the Script form or smartform related to that document..

All nace entries are stored in TNAPR table

1. In simple words, it

is used for printing documents eg. purchase order, sales order etc.

2. eg.

For company1, there is purchase order A,

for company2, there is purchase order B,

for purchasing organisation 3, there is purchase order C.

Now, this type of MAPPING (which is totally dynamic and changeable)

cannot be HARDCODED in the standard sap program.

3. Hence, NACE,

provides this facility to MAP

as per users requirement.

ie. We can determine the OUTPUT using NACE.

Output means for eg. Printing of purchase order

Determine means = dynamically detecting which output (PO eg)

hence, it is also called OUTPUT DETERMINATION using NACE.

Regards.

Former Member
0 Kudos

hi,

go through the following Navigation.

Execute the NACE transaction code.

then select the application and click on the output types button.

Then select the output type and double click on the processing routines ( which is there in left hand side).

click on the Change button.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 15, 2008 3:11 PM

Former Member
0 Kudos

There are three function modlues avilable in the in the proagram which you copied

they are OPEN_FORM, WRITE_FORM, CLOSE_FORM.

in the open form you have to specify the script name. there you change the script name form standard name to your copied script name.

Thanks

Kiran.

Former Member
0 Kudos

Hi,

Goto to NACE tcode, selelt your application and assign the print program and layout.

Regards,

Ashok