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: 

Validation of the vbkd-fbuda field for each line item in sales order

VijayCR
Active Contributor
0 Kudos

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.

2 REPLIES 2

former_member1716
Active Contributor
0 Kudos

Hi Vijay,

Please try the sub routine FORM USEREXIT_MOVE_FIELD_TO_VBKD in the same include it may work

atul_mohanty
Active Contributor
0 Kudos


Hi - Please check the internal table  XVBKD for the same.

Let us know , in case any further help.

Regards,

Atul Mohanty