‎2007 Feb 14 11:51 AM
Hi All,
I am setting output type to create idoc in the NACE transaction code.
But how to call the output type, when the fields(Contract number, description, sold-to-party) are changing. I found user-exit (EXIT_SAPLV45W_001). In this user-exit, I wrote the condition saying, when those fields are changing. Later for calling the output type, i does't have code.
Can anyone send me code, how to call (trigger) the output type.
Thanks in advance
‎2007 Feb 14 12:08 PM
Hi!
Your requirement is not very clear. If the condition records are maintained for the Output type, it will get triggered automatically.
Regards
Anurag
‎2007 Feb 14 12:24 PM
Hi Agarwal,
When ever the contract (ZIMA) is created or changed, the data (VBAK-VBELN, VBAK-KTEXT, sold-to-party , VBPA-KUNNR) needs to be passed over to TIS syetem from R/3 system. During the change mode only if the fields noted is changed then the data will be passed over to TIS. Saving the document will trigger the interface to pass the data to TIS.
Thanks,
Rama
‎2007 Feb 14 12:27 PM
Hi,
The Output Type(Condition Type) for each Application Document(ex:SO,Contract,PO etc) is linked with Medium(1-Print, 6-EDI), Partner(Customer,Vendor) and Language.
When this is configured it will create a record in NAST Table.
Further You will assign this Output Type to a Triggering Form/Program in NACE transaction.(ex:RSNASTED or RSNAST00 program).
Hope this is useful to you.
Regards,
Anji
‎2007 Feb 14 12:31 PM
ok. But in transaction, when i save the contract, this output needs to be triggered. This triggering, how can i set in the user-exit
‎2007 Feb 14 12:37 PM
Why You are creating your Own Output Type?
Std Output Type for Contract is:'KO00' (in SD Context)
This will have Program linked in NACE with Program RVADOR01 and Form Routine ENTRY. Only thing is change the Medium to your requirement(Print, EDI, ALE, FAX etc).
So when these setting are done, when you save the Contract the Output Type will be triggered.
Regards,
Anji