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 Discussion » SAP IDoc to XML message

Post new topic  Reply to topic
 SAP IDoc to XML message « View previous topic :: View next topic » 
Author Message
ebailey
PostPosted: Wed Sep 08, 2004 8:19 am    Post subject: SAP IDoc to XML message Reply with quote

Newbie

Joined: 08 Sep 2004
Posts: 2

Hello,

I am new to MQSeries.net and hopeful that someone can provide some general information on using WebSphere/MQ - SAP integration ...

Has anyone used Websphere/MQI to pickup SAP IDocs and generate xml messages and vice versa (pickup xml messages and post SAP IDocs to SAP)?

I am looking for a mechanism to pickup a "native" SAP IDoc from SAP's ALE layer and output an xml-formatted IDoc. Likewise, a mechanism which will accept an xml-formatted IDoc, convert it to a "native" SAP IDoc and post the message to the ALE layer.

What tools/modules are required in order to do this? (i.e. Websphere/MQ SAP adapter? etc.)

Is this a configuration excercise or development excercise?

Many thanks in advance.

Ellen
Back to top
View user's profile Send private message
Hema30
PostPosted: Wed Sep 08, 2004 1:04 pm    Post subject: YES Reply with quote

Acolyte

Joined: 02 Aug 2003
Posts: 59

Why do you want to convert to XML? Are you trying to do any IDOC transformation?? If just you want to send IDOCS from one system to the other you can use MQSeries and MQSeries Link for R/3. And if you want to do any IDOC transformation you can use MQ and MQSI.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Sep 08, 2004 6:35 pm    Post subject: Reply with quote

Grand High Poobah

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

Easier way, but requires some java knowledge and programation skills

Use SAP JCO. with the add ons for Idocs: sapidoc.jar and sapjcoidoc.jar
you can output directly in XML (see JCoDocument methods)

On the inbound I get Idocs that are XML and formatted as Idocs.
I use a xerces parser and the DOM model. I parse the Doc to the Idoc and send it. I have a backout queue on which I put messages with error and the error with the correl Id of the message that produced it

Enjoy
Back to top
View user's profile Send private message Send e-mail
ebailey
PostPosted: Thu Sep 09, 2004 6:32 am    Post subject: Reply with quote

Newbie

Joined: 08 Sep 2004
Posts: 2

Hema30 - Thanks for your reply. I need the IDocs in xml-format because I run them through an xslt (xml transform) which formats the data for an external application. All of our data transformation is built with xslt ... thus the need to have the IDocs in an xml format.
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 Discussion » SAP IDoc to XML message
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.