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: 

Save Delivery Post Goods Issue using VL01N

0 Kudos
226

Hi ,

I create a delivery and press 'Post Goods Issue' pushbutton in Tcode 'VL01N'.

Now, If a condition 'X' is not satisfied, I want the Delivery to be saved, but the PGI should not happen.

Does such a scenario exist in SAP?

If Yes, how can it be done technically?

We have already tried BADI's and user-exit save_document_prepare but nothing is working.

Thanks,

Sonal

2 REPLIES 2

eduardo_hinojosa
Active Contributor
0 Kudos
48

Hi

Be careful with this type of requirements. For instance, in SAP Note 415716 - User exits in delivery processing you can read:

"during goods issue posting, messages or user dialogs must never be output

because this may result in incorrect material documents."

Futhermore, I suggest you see this note.

I hope this helps you

Regards

Eduardo

marcin_milczynski
Contributor
0 Kudos
48

Hi,

Please consider Incompletion check functionality for delivery instead of creating any user-exits. The incompletion allows you blocking GI posting when an important field is empty. This is standard approach to such checks.

Regards,

Marcin