05-26-2006 1:42 PM
Hello,
I'm trying to trigger some output (Order confirmation from sales order) in a Z-program.
When I manually save my sales order in va02, the output is automatically triggered. So I thought that I could use BAPI_SALESORDER_CHANGE to trigger the output in my program but nothing happens. (After BAPU commit)
Does anyone know a way to solve this?
05-26-2006 2:01 PM
Hi,
Triggering Output type via normal programs...
you submit all the Required info to<b> RSNAST00</b>
it will take care of.
Regards
vijay
05-26-2006 4:08 PM
Bert,
The output is triggered no matter what you create a document using the transaction or the BAPI.
Just make sure your output settings are set the way you want. Meaning, that the output should be processed immediately and the document should be sent. (TRIGGER OUTPUT IMMEDIATELY), If you have done this setting, then no matter what, the output will get processed immediately.
But using the BAPI, a change to the document should be done.
Regards,
Ravi