Skip to Content
avatar image
Former Member

Idocs processing time between 2 idocs with same material

Hi Gurus

we are getting 2 idocs from other system with same material, first idoc is process successfully, second one is not processing and error throughing - material is currently processing by user WF BATCH. can we set time gap between 2 idocs for processing, where we need to do this?

Thanks in Advance

Ramki

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 26, 2008 at 06:57 AM

    Hi Ramki,

    The time delay can be given when there is a batch job which is picking these idocs and processign them. But again when the idocs you are talking about are coming simultaneaously into the SAP system, the batch job scheduling also will do less to help.

    The best way is to time the delay in the sending system instead of controlling the delay in the receiving system..

    FK

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ramki,

      There is another option which you can consider with the help of an ABAPPER. Check if you can use the concept of enqueing.

      Ex: When the idoc comes in the SAP system and updates the material quantity in the sales order, it has to get in to the VA02 in order to do this. Now when another idoc is sent along with this simulataneously to update something in the same order, it fails as the order is open by the first idoc.

      In this case we write a check in the posting program and check if the order (Order number we get from the idoc) is open or enqued.

      If it is enqued then there is a delay by calling an event. This event triggers a job which has a certain delay inserted in it before running.

      Hope this helps..

      FK

  • avatar image
    Former Member
    Nov 21, 2009 at 08:12 AM

    Thanks

    Add comment
    10|10000 characters needed characters exceeded