on 09-25-2008 2:42 PM
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
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.