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: 

trigger output documents with BAPI

Former Member
0 Kudos

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?

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

Hi,

Triggering Output type via normal programs...

you submit all the Required info to<b> RSNAST00</b>

it will take care of.

Regards

vijay

Former Member
0 Kudos

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