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

Quantity Confirmation

Former Member
0 Likes
483

Hi

I need to create a user exit for VA01(sales order). In which I need to check some conditions for the line item. Based on the conditions, I need to confirm the quantity for schedule line items. How I can do that. Can I do it giving the value of confirmed quantity to the BMENG field of VBEP table?

Please help me out in this.

Thanking you in advance.

Regards,

Eswar

2 REPLIES 2
Read only

Former Member
0 Likes
392

Hi Eswar,

U can check the User Exit: MV45AFZZ. Check the various performs in it and find out which perform suits ur requirement.

Reward useful answers..

Read only

0 Likes
392

Eswar,

I have worked on the same requirement.All u need to do is put ur code in the Form: USEREXIT_SAVE_DOCUMENT. This form gets triggered before saving the Sales order.

You need to put in the code relating to the checking of the quantity of the line items from table VBAP and getting the scheduled line quantity from VBEP table.

Thus u can guide the user by poping out Error-Messages.

Thanks..