cancel
Showing results for 
Search instead for 
Did you mean: 

Validate Line items in sales

VISHAL_JHA
Explorer
0 Kudos
356

Hi,

I want to add new line items in sales order using while using VA01 and VA02. I have material and quantity as an input from third party on click of a custom button. I am able to do this if there is no error for those material .

I want to validate the materials, if they are having some error or not before adding them as new item. When I am adding the materials which are resulting the error then the processing is getting stopped abruptly due to error message.

Please let me know how to validate material against line item.

Thanks

Vishal

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

For that, do you know all sort of errors that system might trigger ? I am sure, you can list out a few but not all as system will trigger error for various reasons. You can try with USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ for know issues which you already faced