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: 

Error in Idoc is 51

Former Member
0 Kudos

I have posted one Idoc and it was succesfully generated.

But I don't want duplicate Idocs ( with same data ) using we19.I was using function module to avoind duplicates.

But I have generated next Idoc...

Have got

Error in Idoc is 51.

Check if invoice already entered under accounting doc. no. 1600002035 20

Is it okay.. is it considered as stoping of duplicate Idoc generation.

Thank you.

2 REPLIES 2

Former Member
0 Kudos

Hi,

On what condition you are checking duplication..Based on which field you are deciding it is duplicate or not..

Thanks,

Naren

Former Member
0 Kudos

Hi,

I believe when you write avoiding duplicate Idocs ,it means same data should not get posted in SAP via IDOC.

The error which you have got means -- there is already a document in the system posted by another IDoc & the current IDoc can't be posted due to duplicate data.

This is avoiding duplication of invoice posting.

Not avoiding duplicate IDoc creation.

Thanks.

Mark points if helpful.