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: 

difference between NACE and TNAPR

Former Member
0 Kudos

hi gurus

can anyone suggest me

what is NACE transaction

what is TNAPR

difference between thse two..

thank you

regards

kals.

2 REPLIES 2

Former Member
0 Kudos

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.

In NACE transaction, We will assign the Form name and the driver program name and the corresponding routine to be triggered in the driver program.

We should be able to tell the system to pick up the desired form layout and trigger the routine and get the data from the database and put it on to the form. All these stuff the system will come to know from the NACE settings.

NACE is used to create output type while creating the output type you will mention forms, and driver program.

that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.

so check in NAST, TNAPR table

You can view all forms and driver programs for standard SAP Scripts.

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

http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm

NACE is the transaction code where you can maintain the output types for the applications...

NACE - Initial Customizing Screen

where your going to attach the layout which u have designed to the particular output type - Specifies the kind of output to be produced.

The output type can specify, for example, a printed form that you need for internal use or a form that you want to send to a customer or vendor (for example, an order confirmation). The output type can also be an internal electronic mail message that you want to send to staff in another department.

print program - If you want to inform a partner about changes to output that was already issued, you enter the name of a program and a routine in the Form routine field.

The routine in the program checks which changes should result in a changed output being sent.

Have a look at below link:

http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm

Regards.

Chandru

Former Member
0 Kudos

NACE

NACE is the transaction code where you can maintain the output types for the applications...

NACE - Initial Customizing Screen

where your going to attach the layout which u have designed to the particular output type - Specifies the kind of output to be produced.

The output type can specify, for example, a printed form that you need for internal use or a form that you want to send to a customer or vendor (for example, an order confirmation). The output type can also be an internal electronic mail message that you want to send to staff in another department.

print program - If you want to inform a partner about changes to output that was already issued, you enter the name of a program and a routine in the Form routine field.

The routine in the program checks which changes should result in a changed output being sent.

Have a look at below link:

http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm

TNAPR

TNAPR table has the details of the driver progrms for Scripts and Smartforms.

In table TNAPR, pass the driver program name in PGNAM field. Smartform name is obtained in SFORM field.

Regards.