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 » General IBM MQ Support » IDocs not reaching outbound queue!

Post new topic  Reply to topic
 IDocs not reaching outbound queue! « View previous topic :: View next topic » 
Author Message
gandhi_manoj
PostPosted: Wed Jun 12, 2002 4:33 pm    Post subject: IDocs not reaching outbound queue! Reply with quote

Novice

Joined: 26 Mar 2002
Posts: 20

Hi,
We transmit IDocs from SAP to Legacy sytem using MQSeries and MQ Series Link for R/3.
When we send a Purchase Order from SAP it goes to the Outbound queue and from there to the Legacy system.
But when the outbound server is down the IDocs do leave SAP and are lost!
Can someone tell me where do these IDocs sit?
Also on restarting the server those IDocs do not appear in the Outbound queue!
So do we need to resend the IDocs or is there settings need to be done to retrieve the lost IDocs? or do we need to define another queue to hold these IDocs till the connection is restored?

Also in the inbound scenario the messages coming from legacy system go to the Inbound queue and from there into SAP.
Again when the server is down the messages instead of sitting in the Inbound queue go to the bad message queue! and when on restarting the inbound server it doesnt go to SAP.
How do we send these messages back to the inbound queue?

TIA,
Manoj
Back to top
View user's profile Send private message
jhalstead
PostPosted: Thu Jun 13, 2002 12:02 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

If you look at the IDoc status record it says 'passed to port ok' don't be fooled!

The tRFC out of SAP failed as it could not find the relevant listner process registered at the SAP gateway. Look thorugh the tRFC logs (SM58) and you'll see an entry along the lines of...

Function Module: IDOC_INBOUND_ASYNCHRONOUS
Target system: <Target logical system name>
Status text: progrm <name smqso registers under> not registered .....
along with other bits and pieces.

If you highlight your entry in this report and ensure the outbound server process is running you can press F6 and it'll execute the LUW.

Hopefully Bob will be your uncle...


With respect to the inbound messages which go to the dead message queue. First off if the inbound server process is not running (smqsi) then the message should stay on the inbound queue (if you mean the SAP server then fair enough!). ANyway a bad mesage header is added to the message data so these can never just be sent straight in to SAP you'll have to develop something which strips off the header, this could either be done via a simple program or alternatively you could do something with MQSI.

Good luck

Jamie
Back to top
View user's profile Send private message Send e-mail
gandhi_manoj
PostPosted: Mon Jun 17, 2002 4:23 am    Post subject: IDocs not reaching outbound queue! Reply with quote

Novice

Joined: 26 Mar 2002
Posts: 20

Hi Jamie,
Thanks for the reply.

Quote:
The tRFC out of SAP failed as it could not find the relevant listner process registered at the SAP gateway. Look thorugh the tRFC logs (SM58) and you'll see an entry along the lines of...


What I have found is that event though the outbound server is running sometimes the IDOcs do not show up in the outbound queue! Though in WE02 the IDoc is shown with status 12(Dispatch OK)!
What could be the reason?

Inbound:
Quote:
First off if the inbound server process is not running (smqsi) then the message should stay on the inbound queue

Yes as expected it should be in the inbound queue but it here it directly goes to the bad message queue! And then wht i do is send a message with incorrect host and following this a message with correct host and it goes to the inbound queue!!!...strange but Im not able to explain this behaviour. Following this message all the messages go to the inbound queue!
Again what could be the reason?

TIA
Manoj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » IDocs not reaching outbound queue!
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.