Skip to Content
author's profile photo Former Member
Former Member

XML Interface

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2004 at 01:20 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2004 at 05:03 PM

    Hi Bhaven,

    For custom interfaces on your SAP backend system you have the following possibilities to send messages to Xi:

    1) Implement an empty remote enabled FM with interface parameters containing the neccessary data. You can then import the RFC FM metadat to Xi. In your ABAP code you can execute a RFC function call with Xi as the destination. And then use Xi to map to the target XML format.

    2) If you implement the "empty" remote enabled FM as a BAPI you can always generate the corresponding IDOC interface. In your ABAP code you can use the generated interface to send your generated IDOCs to Xi.

    3) You can generate ABAP proxies from Xi which you can use in your ABAP code to send messages directly to Xi. Requires that the backend system has the Xi plug-in implemented.

    Kind regards Johan Göthberg

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 21, 2004 at 07:00 PM

    Hi Bhaven,

    (1> Use XML port type for IDOC creation)

    Are you successfully to generate an XML file using XML port type?

    I was able to create an outbound IDoc but failed to generate an XML file when using XML port type.

    Could you give me the instructions to do this?

    I'm on 4.6C.

    Thanks!

    CD

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.