Application Development and Automation 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: 
Read only

BAdi DELIVERY_PUBLISH - Not triggering after COMMIT WORK???

Former Member
0 Likes
866

Hello.

I need to submit a custom program after a delivery is post goods issue complete (commit work completes successfully).

I tried using BAdi DELIVERY_PUBLISH but it's not triggering after the commit work. It executes after a delivery change (VL02N) but not after PGI.

Any thoughts?

Cal

1 REPLY 1
Read only

Former Member
0 Likes
403

I figured out my problem. I am calling VL02N inside a 'called' FM and SAP is returning control back to the FM after the commit (as expected). The BAdi logic is therefore never executed. If the transaction had been called normally it would have executed the BAdi after the commit.