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: 

Performing an explicit availability check

Former Member
0 Kudos

Hi,

I am working on the user exit MV45AFZZ of sales order to set few delivery blocks.

The requirement is that an <b>availability check</b> has to be performed after I check for all the delivery blocks.

This in addition to the availability check which the system does before coming into the user exit.

If anyone has come across a similar situation please provide some pointers. TIA.

Regards,

Saji.

2 REPLIES 2

Former Member
0 Kudos

Try Using BAPI_MATERIAL_AVAILABILITY for ATP.

Former Member
0 Kudos

Hi,

you might also try to set the flag vbap_ende_verfuegbarkeit to "X" in userexit MV45AFZZ (FORM USEREXIT_SAVE_DOCUMENT_PREPARE) and then do a "perform vbap_bearbeiten_ende(sapfv45p)".

I know a colleague who used this method to perform an additional availability check.

Ciao, Andreas

Message was edited by: Andreas Lindemann