cancel
Showing results for 
Search instead for 
Did you mean: 

Idocs processing time between 2 idocs with same material

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

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

Former Member
0 Kudos

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