Skip to Content
author's profile photo Former Member
Former Member

HTTP TO IDOC

Hi Experts,

We are receiving orders from our customers into sap system through PI but the problem is we are getting same orders twice from

them as it is creating duplicates in our sap system.

So I thought of doing RFC look up where if that order exist in sap system I can raise exception that duplication order as occured.

But the problem is it is coming through with the same time frame like when they send order it is coming with the gap of milli secs.

So from PI side how I can handle this duplicates.

Please help me

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 09, 2011 at 03:19 AM

    Raju,

    You can't handle this in PI lookup. If the transactions are coming in msecs apart lookup is not the approach that I would prefer. The reason I'm saying this is because your mapping program won't wait for the first IDOC to post successfully and then do a lookup on the next order do find a duplicate - it's going to be multi threaded process where each transaction executes individually. I would think this should be handled in ECC. Don't post your IDOC immediately. Change the partner profile to post IDOC by Background program and then have your ABAP program (which is responsible for posting an IDOC) to check for duplicity.

    This is just my perception. Wait for other experts advice too!

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 09, 2011 at 03:05 AM

    You can use RFC lookup in the mapping and see if the record exists or not. If exist don't send the idoc , otherwise send it.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.