Skip to Content
0
Former Member
Aug 08, 2011 at 08:57 AM

Can we update the field VBAP-BEDAE in USEREXIT_SAVE_DOCUMENT_PREPARE

927 Views

Hi Experts,

I have a requirement to change the requirment type(VBAP-BEDAE) of the Sales order item to be changed to custom requirment type, when ever the item quantity is changed.

I have used the function module 'RV_SCHEDULING_TYPE_DETERMINE' to determine the scheduling type and then passed the same to xvbap-bedae to update the same for the sales order item in the user exit USEREXIT_SAVE_DOCUMENT_PREPARE.

But as soon as the control is out of the user exit, the value is defaulted to the previous value.

Can any body suggest me as to how to update the VBAP-BEDAE field for a sales order.

Thanks in Advance.

Jaya