cancel
Showing results for 
Search instead for 
Did you mean: 

Availability check from Userexit

Former Member
0 Kudos

YO!

Vers: 470

I am performing a pre-emptive ATP check during a Sales Order userexit and the FM BAPI_MATERIAL_AVAILABILITY doesn't include the ATP locks for the order I am in.

However, if I open another session using SE37 and perform a BAPI_MATERIAL_AVAILABILITY with the READ_ATP_LOCK and READ_ATP_LOCK_X set it does take account of the committed stock for the un-saved order.

I can't find any notes on this, any ideas?

Where are these locks held? ... the table

Thanks...

JR

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You want to inclu delivery block based on ATP check. Is my under standing ic correct, then use the following user exit in Sales order creation :

MV45AFZB ---> USEREXIT_CHECK_VBEP --> Set falg VBEp-ETTYP (Delivery blocak)

Regards,

Lanka

Former Member
0 Kudos

I am performing the check in the additional B tab at header level so I'm not sure this is relevant?

Thanks anyway...

JR

Former Member
0 Kudos

Hi JR,

Please check user exits : RV03VFZZ -- Forms for availability check .

May be this helps you.

Regards,

Lanka

Former Member
0 Kudos

Hi Lanka

thanks for your help, but I'm not looking for a user exit I'm looking to find an availability process that include ATPENQ locks

Thanks... JR