Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Queue processing with skipped failed messages

$
0
0

Hi Experts,

 

I have a JMS to IDOC scenario where PI is sending IDOCs to SAP CRM system. CRM team is saying  that they are getting

 

"Business partner XXXXX is currently locked by you" error

 

as they are receiving multiple IDOCs at the same moment for updating same record. So if one of the IDOCs is trying to update the record, other IDOCs are getting locked.

 

I have gone through lot articles on SCN and obviously it needs queue processing so that IDOCs get processed one by one in sequence not simultaneously, thus avoiding locking issue.

 

I enabled queue processing in my IDOC channel. It reduced count of failed IDOCs in CRM but still there were failures due to same issue. Then I enabled EOIO in JMS channel. It worked perfectly the only problem is, I am receiving nearly 2000 messages per hour. so if one message fails it wont let next message pass through untill I clear it from queue in SMQ2 or resolve the issue and reprocess it. So if I forget to keep an eye on it for merely an hour I see 1000 messages stuck in my queue.

 

Here is what I want, I want messages to be processed with QoS as EOIO way and still skipping failed messages, so at the end of an hour I have to deal with only 3 4 failed messages and not to worry about messages getting stuck.

 

Can you please suggest a solution to this or any other work around?

 

P.S. - Running a job in CRM in regular time intervals to reprocess the failed IDOCs is not an option here.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>