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: 

Manually trigger Availability Check in the Sales Order User Exit MV45AFZZ

Former Member
0 Kudos

Hi All,

As per the normal scenario where sales orders are created and the schedule line delivery dates are determined.

Based on some business logic for few customers we need to change the delivery priority and confirmation delivery date.

We are implementing this logic in the user exit MV45AFZZ in the routine USER_EXIT_SAVE_DOCUMENT_PREPARE.

The availability check logic is already implemented by then. Now we have scenarios where the date redetermined by the custom logic is greater than the one determined by the standard availability check done by SAP.

We have changed the values of the field VBEP-EDATU as per our logic but we still have 2 lines in the schedule line data where the requested date is greater than the confirmed date.

This can be tackled if we can redo the Availability Check.

Can someone provide pointers on how can we trigger the availability check manually in the code.

Regards,

Karthik

1 REPLY 1

Former Member
0 Kudos

What was the solution?