10-18-2006 10:44 PM
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.
10-18-2006 10:48 PM
Hi,
On what condition you are checking duplication..Based on which field you are deciding it is duplicate or not..
Thanks,
Naren
10-19-2006 11:40 AM
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.