cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XML Interface

Former Member
0 Likes
2,235

Hi,

I need to write interfaces in SAP R/3 generating XML files. Couple of ways to do this:

1> Use XML port type for IDOC creation

2> Use XI

3> Use Business Connector (BC)

4> Use other tools like Webmethods etc..

Disadvantages:

1> SAP is going to stop support of SAP BC from Dec 31, 2004 or from SAP 4.7.

2> For using XML port for IDOC, I might have to create custom IDOCs for some interfaces as all interfaces might not have standard IDOC to use.

Question? How do I evaluate these options for generating

XML interfaces? There might be some inbound interfaces also where SAP needs to convert XML files and post data.

I need PROS and CONS for these possible options, so my managament team can decide what to use.

-Thanks in Advance

-BJS

View Entire Topic
Former Member
0 Likes

Hi Bhaven,

If i am understanding your question correctly, you want to know how XI will help you in developing the interface where u can send the XML file or receive data that is in the form of a xml file.

In case where XI is used SAP will not have to convert the XML files to post the data.

The XI will convert the XML data into the IDOC format and will send the IDOC to the SAP.

You will just have to create the mapping at XI end from XML file to the respective IDOC type.

And vice-versa is also possible.

Thanks

Former Member
0 Likes

Thanks Nikhil. What if, there is no standard IDOC available for the interface? Can XI convert XML into a flat file and then send it to SAP? Same question for outbound from SAP, can SAP send a flat (non IDOC format) to XI and then can XI convert it to XML?

Also, I hope XI can convert this XML to XSL (bcos that is what the partner is expecting)?

-Thanks

Bhaven

Former Member
0 Likes

Bhaven,

XI can convert XML to Flat file (fixed length or delimited). You will need to provide the mapping. To post the data in SAP, you'll have to write a custom program (ABAP) that can interpret the flat file structure & update accordingly.

On the other way also SAP XI has the capability to convert a Flat file (fixed length or delimited) into XML message. Again you will have to code the mapping in XI.

Internally (in XI) messaging is achieved via XML.

Hope this helps.

Regards,

Homiar.

Former Member
0 Likes

As XSL is an XML-based format, you can create it as easily as any other xml format.

Christian