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 TRIGGER AN OUTPUT TYPE ON INVOICE SAVING

Former Member
0 Kudos

I need to write a routine to trigger a specific ouput type on invoice saving for a particular pricing condition.I have written the code within the routine.But now what do I do to trigger the output type , I mean in which transaction do I place the routine

to make it to trigger when the invoice is saved if the given condition is satisfied

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

Have u created any Condition Types for the Billing Docu.Type , plz check settings in SPRO

SPRO-->SD->basic Functions->Output Control->O/P determination--->billing.

u can create Condition record based on the Bill.Doc type , output type , etc.

regards

Prabhu

5 REPLIES 5

Former Member
0 Kudos

Hi,

Goto NACE and assign the output type for that transaction.

Former Member
0 Kudos

Hi,

Goto NACE and assign the output type for that transaction.

NACE is a message control table...You can customize with SapScripts or SmartForms forms are going to be used in standard programs...

NACE

You can track the form and the print program used for that form

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

Nace Configuration:

Follow this sample example

Goto Transaction NACE --> Select Application V1(Sales) --> Click on Output Types --> Select the output type as BA00 (as generally BA00 is the output type associated with Sales Order ) --> Double click on the Processing Routines folder on the left and it will display the Form name and the corresponding driver programs name.

Close the thread if your question is answered.

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

Suppose the requirement is when a particular output type is triggered the control should go to a particular subroutine of a print program and from that subroutine other subroutines are called. For that purpose the ROUTINE option is there is NACE to mention the subroutine name where you want the control to go after the output type has been triggered.

This also ensures that the print program cannot be executed from any other source other than triggering the output type.

Clemenss
Active Contributor
0 Kudos

Hi,

this is primaryily customizing of output types using condition technique. [Message Control Customizing|http://help.sap.com/saphelp_erp2005/helpdata/en/c8/19887b43b111d1896f0000e8322d00/content.htm] may give you some hints.

Regards,

Clemens

Former Member
0 Kudos

Hi ,

Have u created any Condition Types for the Billing Docu.Type , plz check settings in SPRO

SPRO-->SD->basic Functions->Output Control->O/P determination--->billing.

u can create Condition record based on the Bill.Doc type , output type , etc.

regards

Prabhu

former_member745157
Discoverer
0 Kudos

Transaction VF31