12-04-2013 12:59 PM
Hello Experts,
I am trying to validate the Ser Render date field in Sales order for each line item.I have wrote my code in the include MV45AFZZ form userexit_save_document_prepare.But when there are two line items when i try to access the second line item i can not get the first line item values in the VBKD structure.Validation for the first fields fails but still the document is successfully saved as the values in the VBKD are the ones of second line item.
I need to check for all the line items let me know how i can achieve this fucntionality.
Thanks,
Vijay Simha CR.
12-04-2013 1:40 PM
Hi Vijay,
Please try the sub routine FORM USEREXIT_MOVE_FIELD_TO_VBKD in the same include it may work
12-04-2013 2:08 PM
Hi - Please check the internal table XVBKD for the same.
Let us know , in case any further help.
Regards,
Atul Mohanty