cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict the entry of same material twice on the order

Former Member
0 Kudos

HI,

How to restrict the entry of same material twice on the order before saving the Order ?

I do not want my users to enter the same material as two different line items in the order.

Any inputs wud b appreciated

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vam,

For this you need to take the help of an ABAPer . Ask him to modify the user exit and add the logic.

For user exit please go through the below link it will help you to resolve your issue.

http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm

Regards,

Krishna O

Edited by: Krishna O on Jun 3, 2010 12:29 PM

Former Member
0 Kudos

You can use User Exit FORM USEREXIT_SAVE_DOCUMENT_PREPARE to add this logic with the help of ABAPer.

If the VBAP - MATNR is available at any of the VBAP - POSNR then system should give an Error.

Best Regards,

Ankur