06-29-2008 3:03 PM
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
06-30-2008 4:39 AM
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
06-29-2008 3:11 PM
06-29-2008 3:15 PM
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.
06-29-2008 8:45 PM
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
06-30-2008 4:39 AM
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
01-22-2021 2:26 PM