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: 

Duplicate EDI order check

Former Member
0 Kudos
681

We occasionally receive duplicate PO from the EDI subsystem in SAP. We don't have the error check for PO no. while creating the order.

I am trying to check this in user exit ZXVEDU03. I know I have to check for segment E1EDK02 with qualifier '001' . If the PO no. is found in VBKD, then the idoc is for the same PO. Now what should I do ? How can I prevent that idoc to be created ?

Your help will be greatly appreciated.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
132

Hello, Just write the error message within this user exit that "Duplicate order should not be created" so this process would stop If we write the error message.

Thanks.

3 REPLIES 3

Former Member
0 Kudos
133

Hello, Just write the error message within this user exit that "Duplicate order should not be created" so this process would stop If we write the error message.

Thanks.

0 Kudos
132

Thanks Ramesh. You answer solved my problem.

Former Member
0 Kudos
132

i am facing the same problem... can u tel  me what code did u wite????