Posted: Wed Jun 12, 2002 4:33 pm Post subject: IDocs not reaching outbound queue!
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?
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.
Posted: Mon Jun 17, 2002 4:23 am Post subject: IDocs not reaching outbound queue!
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?
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