ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB Retry mechanism and sequential exec of messages to SAP

Post new topic  Reply to topic
 WMB Retry mechanism and sequential exec of messages to SAP « View previous topic :: View next topic » 
Author Message
ramas_settiv
PostPosted: Thu Oct 20, 2011 2:16 am    Post subject: WMB Retry mechanism and sequential exec of messages to SAP Reply with quote

Newbie

Joined: 20 Oct 2011
Posts: 2

We are working on a new module where WMB integrates with SAP system.
We need inputs on retry mechanism and sequential execution of messages to SAP (when SAP is down).

We are yet to set up the SAP environment and dwell into integration but the thing is we will receive the messages and we have to pass the messages in the same order only, even if we provide persistence can we be sure that messages received in particular order will pass the same way?

Like

Msg1
Msg2
Msg3
Msg4
Msg5 are received and the SAP restart has occurred if we use persistence can we be sure that after restart the messages will go in the same 1,2,3,4,5 order?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 20, 2011 2:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What does the documentation say about order of messages?

What does the documentation say about persistence?

What does your own testing show?
Back to top
View user's profile Send private message
ramas_settiv
PostPosted: Thu Oct 20, 2011 2:38 am    Post subject: WMB Retry mechanism and sequential exec of messages to SAP Reply with quote

Newbie

Joined: 20 Oct 2011
Posts: 2

We are yet to set up the environment for testing.

Persistance with respect to MQ we are not sure how once msgs are pilled up with be consumed.

There is a concept of retry in SAP input node but there is no mention of priority while passing messages.


Any links on documentation will also be helpful.

PS: I am novice to WMB
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Oct 20, 2011 4:21 am    Post subject: Re: WMB Retry mechanism and sequential exec of messages to S Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

ramas_settiv wrote:
We are yet to set up the environment for testing.

Persistance with respect to MQ we are not sure how once msgs are pilled up with be consumed.

There is a concept of retry in SAP input node but there is no mention of priority while passing messages.


Any links on documentation will also be helpful.

PS: I am novice to WMB


Did you take the training for WMB? If not, why are you developing WMB functions without proper training or knowledge of how to find useful links (eg. Google)?

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM663
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Oct 20, 2011 4:42 am    Post subject: Re: WMB Retry mechanism and sequential exec of messages to S Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ramas_settiv wrote:
Persistance with respect to MQ we are not sure how once msgs are pilled up with be consumed.


How messages are consumed is nothing to do with their persistence.

ramas_settiv wrote:
Any links on documentation will also be helpful.


Look in the WMQ (not the WMB) documentation for message ordering, grouping & persistence.

ramas_settiv wrote:
PS: I am novice to WMB


It sounds like you're a novice to WMQ as well given some of this. I urge you to seek training and/or mentoring; you seem to be straight in the deep end here.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Oct 20, 2011 11:58 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Quote:
Vitor
you seem to be straight in the deep end here


Properly interfacing with SAP is an art form in its own right.

Basically, SAP Lies in its return codes.
If you call a BAPI to pass some data into SAP table, you might get an OK reply. BUT at that moment, the data may well have not been written to the table. That process may in itself happem sometime later. If it throws an error, the error may get passed back to Broker in another call.
Confused?
Our SAP guys just shrung their shoulders.
This 'feature' makes finding the root cause of the problem very difficult.

Then there is the 'I'm busy processing that record, please try later' situation.
If you are updating every line in a big order once again, SAP will return an OK to broker but the update has not completed. So if you then try to update that Order again, SAP might say I can't update that order. It also creates a whole raft of idocs internally (at least one for every order line) and can bring a whole SAP instance to its knees.

We have had to introduce a whole load of delays in the bulk load flows because of this 'feature'

Working with SAP is not the easiest bit of broker to get right.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 20, 2011 12:07 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:
Quote:
Vitor
you seem to be straight in the deep end here


Properly interfacing with SAP is an art form in its own right.

Basically, SAP Lies in its return codes.
If you call a BAPI to pass some data into SAP table, you might get an OK reply. BUT at that moment, the data may well have not been written to the table. That process may in itself happem sometime later. If it throws an error, the error may get passed back to Broker in another call.
Confused?
Our SAP guys just shrung their shoulders.
This 'feature' makes finding the root cause of the problem very difficult.

Then there is the 'I'm busy processing that record, please try later' situation.
If you are updating every line in a big order once again, SAP will return an OK to broker but the update has not completed. So if you then try to update that Order again, SAP might say I can't update that order. It also creates a whole raft of idocs internally (at least one for every order line) and can bring a whole SAP instance to its knees.

We have had to introduce a whole load of delays in the bulk load flows because of this 'feature'

Working with SAP is not the easiest bit of broker to get right.




But feel "deep end" was more compact.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 20, 2011 1:50 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The other thing with SAP, is that if you have IDOCs of different types that need to be processed in a certain order, you can make some configuration in SAP so that it will always process any IDOCs from type A before processing IDOCs from type B.

Talk to your SAP people.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB Retry mechanism and sequential exec of messages to SAP
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.