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

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

Similar Messages

  • Error in Adobe form based in a xml interface when changing data element

    The adobe form is called from a web dynpro.
    The adobe form contain a page and subforms (positioned y flowered).
    The form worked out perfectally.
    Then edited a descriptive text in a data element, from se11.  The form continues worked out correctelly.
    Then modify a fixed text from the form.  The form is activated.
    Since this modification, the form stopped to work out, informing the following message:
    "WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server".
    I have updated the nodes of the web dynpro, the xml interface of the form, is all activated and this is still not working.
    Someone could help me? Does anyone know what it could be happened?
    Is there a way to re-generate the form?
    Thanks you very much.
    Regards,

    The data element is char 4.  I have only changed descriptive texts.
    I have take take all the objects to the previous version (data element, wd view, interface xml, adobe form), and the form is still not working.
    Do you have another posible solution for this?
    Thanks you for your answer.
    Kind regards,

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • How SAP integrate with XML interface & Easyship applications for labelling

    Dear All,
    My client has a requirement to use DHL for its shipments and shipment labelling is required.
    However, as per DHL's response that DHL Express label is a complex presentation that does not lend itself the standard labeling options under SAP, but both options of the XML interface and the Easyship applications do provide this label built by the application and delivered to SAP print stream.
    Please help to advise if there is any possible solutions for this implementation without using middleware?
    Appreciate it.
    Thank you.

    i AM NOT SURE IF i AM GETTING THIS RIGHT BUT, YOU WILL HAVE TO USE A BUSINESS COMMUNICATOR (EAI) BETWEEN dhl AND saP.In our current client we have developed an application where on PGI of the delivery will trigger a dlvry03 IDOc which passes through the logic of EAI and is then passed onto the carrier labelling system/interface.Once again once we receive back the info from the carrier an inbound IDOc is created to update the delivery with the tracking number and a Fedex label prints directly on the required printer.
    Same way you can use shpmnt IDOC and have you tried XSI interface, it was particularly developed to deal with carrier interface.Please let me know I can provid emore info regarding XSI.

  • XML Interface errors

    Help. I can't get the XML interface for authentication to work from a Java program. Yes I know there's another interface for use with Java but I can NOT use it due to some class conflicts. I am having the same problems I've seen reported before in this and other forums. But one one seems to reply with a solution. I'm willing to admit that it is probably something silly but I don't seem to be able to figure out what's wrong.
    I've tried sending two different XML strings to initialize the authentication request. For both I get an HTTP response code of
    500 on the client. In the webserver log one gives me the "No request handler for service" error message the other the "Premature end of file" error.
    What am I doing wrong?
    thanks,
    diane
    [code
    // host name replaced
    String url = "http://myhost/amserver/authservice";
    try {
    // premature end of file error
    String xmlCDATA = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?> " +
    " <RequestSet vers=\"1.0\" svcid=\"auth\" reqid=\"1\"> " +
    " <Request> <![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" +
           "<AuthContext version=\"1.0\">" +
           "<Request authIdentifier=\"0\">" +
           "<NewAuthContext orgName=\"dc=east,dc=sun,dc=com\"></NewAuthContext>" +
           "</Request> </AuthContext>]]> </Request> </RequestSet>";
    // no request handler error
    String xmlReq = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" +
    "<AuthContext version=\"1.0\">" +
    "<Request authIdentifier=\"0\">" +
    "<NewAuthContext orgName=\"dc=east,dc=sun,dc=com\"></NewAuthContext>" +
    "</Request> </AuthContext>";
    //String xmltext = xmlReq;
    String xmltext = xmlCDATA;
    URL urlTest = new URL(url);
    HttpURLConnection connection = (HttpURLConnection) urlTest.openConnection();
    connection.setDoInput(true);
    connection.setDoOutput(true);
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Accept", "text/xml");
    connection.setRequestProperty("Content-Length", String.valueOf(xmltext.length()));
    connection.setRequestProperty("Content-Type", "text/xml; charset=\"UTF-8\"");
    connection.connect();
    OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream(),
    "UTF8");
    // Actually writing to local buffer - not posted to server yet
    out.write(xmltext);
    out.flush();
    // Actual post to server happens on this call
    InputStream is = connection.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    ]

    Thought I'd respond to my own post so no one else has to waste time on this.
    The problem was that I had a space between the Request and CDATA tags. Removing the space <Request>[CDATA fixed the premature end of file problem. I also removed other spaces between tags just in case.
    Below is an example of XML I used to get a valid response for the authentication service.
    diane
    [code]
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><RequestSet vers="1.0" svcid="auth" reqid="1"><Request><![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="yes"?><AuthContext version="1.0"><Request authIdentifier="0"><NewAuthContext orgName="dc=east,dc=sun,dc=com"></NewAuthContext></Request></AuthContext>]]></Request></RequestSet>"

  • XML Interface in Solution Manager

    Hi All,
    In Solution Documentation presentation, there are slides that give details on importing documentation from external sources like(Excel) into Solution Manager documentation. Has anyone done this task and what is the interface used to export to standard SAP XML format from EXCEL and import files from XML format into soution documentation (SOLAR01)?
    Details from slides are:
    Using a XML interface business process documentation of external sources like MS Excel, Lotus Notes can be efficiently imported in SAP Solution Manager
    Data transfer process flow:
    Detailed steps
    1. Develop a data extractor program to convert MS Excel to XML document
    - Create a program to extract content from data source. The extractor has to use the  xml schema definitions provided by SAP 
    - Extract the data from the data source into XML format
    Benefit
    Quick and efficient method to transfer external documentation into SAP Solution Manager
    Detailed steps
    Use SAP Solution Manager interface to import XML documentation
    - Import the data into SAP Solution Manager within SAP Solution Manager
    - Verify the imported documentation
    Thanks and regards,
    Nischal

    Hello,
    You can find links to many interesting documents and also some troubleshooting guides at https://wiki.sdn.sap.com/wiki/display/SM/Maintenance+Optimizer
    Best regards,
    Miguel Ariñ

  • Is there a possibility to retreve Data from the OPC Server with the XML Interface

    Is there a possibility to connect a OPC/DA server with the help of the XML interface with Labview?
    I need to retrieve Data from a OPC Server running on Linux, so i got no Dcom System an I need to use XML. The server is running and with OPC client-tools i can access de different data. So now I want to visualize all Data
    that come from that server on Labview.
    1. Is it possible to realize that?
    2. Is a library or a demo vi available ?
    Regards
    Densel

    Hi Densel,
    Sure, you can use XML within LabVIEW, the question is which syntax do you use?
    Are you able to send the XML statements via TCP/IP?
    Regards, Christian

  • Retrieve data from BW with an XML interface

    Hello all,
    Is it possible to retrieve data from BW with an XML interface ? And if so, how can we do this ?
    Kind regards,
    Marc

    Thanks Edan,
      Can you please example as how to access the ODS object in the BW using ABAP?  Please note that we would initiate the call from another XAPP system and update the data into the CRM system.
      Also please provide an example as how the BAPI can acces the cube data in BW.
      I assume that we will be writing both the BAPI and the ABAP code( as an RFC)  in the BW sysyem and call those from the XAPPS to get data out of BW Cube and ODS respectively.
      Thanks
    Arunava

  • Authentication with XML interface

    Hello,
    I tried to use the XML interface of the Access Manager.
    When I use the following perl script to get the initial auth context.
    #!/usr/bin/perl -w
    use strict;
    use LWP::UserAgent;
    use HTTP::Request;
    my $ua = LWP::UserAgent->new(env_proxy => 1, keep_alive => 1, timeout => 30, );
    my $data_to_send = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><AuthContext version=\"1.0\"><Request authIdentifier=\"0\"><NewAuthContext orgName=\"dc=ifbus,dc=lan\"></NewAuthContext></Request></AuthContext>";
    my $head = HTTP::Headers->new(Content_Type => "text/xml", "ID" => "dix");
    my $req = HTTP::Request->new('POST', 'http://dione.ifbus.lan:80/amserver/authservice', $head, "$data_to_send");
    my $response = $ua->request($req);
    print $response->as_string;
    print $response->content;I get this exception from the Access Manager
    [02/Jan/2006:10:51:51] failure ( 2291): for host 10.0.1.254 trying to POST /amserver/authservice, service-j2ee reports: Standar
    dWrapperValve[pllservice]: WEB2792: Servlet.service() for servlet pllservice threw exception
    javax.servlet.ServletException: No request handler for service: at com.iplanet.services.comm.server.PLLRequestServlet.handleRequest(PLLRequestServlet.java:189) at com.iplanet.services.comm.server.PLLRequestServlet.doPost(PLLRequestServlet.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.sun.mobile.filter.AMLController.doFilter(AMLController.java:163) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)Any suggestions?
    Jens

    I'm trying to follow the model in this thread but am running into a problem...
    Using Access Mgr 6.0, I can initiate a session & get requirements but my Auth request is timing out....
    Sending:
    <?xml version="1.0" encoding="UTF-8"?>
    <RequestSet version="1.0" svcid="auth" reqid="1">
    <Request><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
    <AuthContext version="1.0">
    <Request authIdentifier="AQIC5wM2LY4SfcxAsgWMsX1lK+jDy/GETczAj0ffJuHMSQ4=">
    <SubmitRequirements>
    <Callbacks length="2">
    <NameCallback>
    <Value>username</Value>
    </NameCallback>
    <PasswordCallback>
    <Value>password</Value>
    </PasswordCallback>
    </Callbacks>
    </SubmitRequirements>
    </Request>
    </AuthContext>]]></Request>
    </RequestSet>
    Got:
    500 (Internal Server Error) read timeout
    Client-Date: Wed, 05 Apr 2006 17:45:43 GMT
    if I change the XML a bit...
    Sending:
    <?xml version="1.0" encoding="UTF-8"?>
    <RequestSet version="1.0" svcid="auth" reqid="1">
    <Request><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
    <AuthContext version="1.0">
    <Request authIdentifier="AQIC5wM2LY4Sfczf+5e7NFL7b1gkBPcoaBpeOUfpVFM6ZAY=">
    <SubmitRequirements>
    <Callbacks length="3">
    <PagePropertiesCallback isErrorState="false"><ModuleName>LDAP</ModuleName></PagePropertiesCallback>
    <NameCallback>
    <Value>username</Value>
    </NameCallback>
    <PasswordCallback>
    <Value>password</Value>
    </PasswordCallback>
    </Callbacks>
    </SubmitRequirements>
    </Request>
    </AuthContext>]]></Request>
    </RequestSet>
    Got:
    HTTP/1.1 200 OK
    Connection: close
    Date: Wed, 05 Apr 2006 17:51:04 GMT
    Server: Netscape-Enterprise/6.0
    Content-Type: text/plain
    Client-Date: Wed, 05 Apr 2006 17:51:05 GMT
    Client-Peer: 10.10.10.100:58080
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ResponseSet vers="1.0" svcid="auth" reqid="1">
    <Response><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
    <AuthContext version="1.0"><Response authIdentifier="AQIC5wM2LY4Sfczf+5e7NFL7b1gkBPcoaBpeOUfpVFM6ZAY="></Response></AuthContext>]]></Response>
    </ResponseSet>
    I know that addind the PageProperites doesn't really make sense but I'm at a loss...
    Can any one help to point me in the right direction?
    Thanks
    -Sean

  • What is an XML INTERFACE on BOXIR2/R3

    What is an XML-Interface on Business Objects?
    What are the advantages of Xml Interface?
    When it will be usefull?
    How it is different for webi-Interface?
    Edited by: mail raaz on May 20, 2009 6:15 PM

    Hi Denis,
    Yesterday our administrator asked me, he would like to install BO XIR3 application on XML-Interface enven i did not understand his intention.
    Please let me know if you have any inputs regarding on the same.
    I think,Infoview and web content is same as webi-interface... 
    I will wait for your early response.........

  • SQL Server - SAP FI documents via XML interface.

    Hi all,
    I have a requirement to setup a SQL Server to SAP XML interface for FI documents. Any suggestions? As per what I found so far I need to crate a BAPI to convert XML to IDOC to post an FI document, but how SQL Server will call this BAPI I'm not very clear. We are running ECC5 2004. Any suggestions, sample scenarios, any info will be appreciated.
    Best regards,
    Michael.

    actually the requirement was to park the document first.

  • Using ACE's XML interface

    Hello,
    I'm encountering troubles with ACE's XML interface:
    -trying to perform a "show running config" I did the following via curl
    curl "http://www:[password]@[ACE_IP_ADRESS]/bin/xml_agent" -k  -d "xml_cmd=<request_xml context-name=\"Admin\"><show_running-config/></request_xml>"
    But ACE replies that the context name is invalid!! And when I do the same thing without specifying a context name it works and display the running config for Admin context!
    The problem is that I need to do this show command in other contexts. I think specifying a context name is similar to executing a "changeto" command from the CLI so I have to do it...
    Thank you for helping

    Hello guys,
    I'm trying to accomplish something different, but it fits the topic.
    I want to get the show resource allocation command output via XML interface.
    Here's the xml_cmd that I tried:
    xml_cmd=
    But I'm getting the following error:
    command - not supported by xml interface
    What is the correct xml_cmd I should send to ACE to get the output of show resource allocation?

  • Shop Floor XML Interface

    Hello,
    the online help states that the Shop Floor XML Interface must be used in order to implement the Create SFC activity at the hook point PRE_VALIDATE_START.
    What is the  Shop Floor XML Interface? I couldn't find any more information about it. Do you have an example or more detailled description?
    thanks,
    Georg

    Hi Georg,
    The Shop Floor XML interface Guide for 5.1.3 applies for most of 5.2 it can be found on the following location:
    service.sap.com
    support->Release & upgrade info>Installation  & upgrade guides>SAp Business Suite Applications>SAP Manufacturing Execution>SAP Manufacturing Execution 5.1.3
    -Shop Floor XML Interface Guide
    Hope this helps,
    German

  • Employee W2 XML Interface EXTREMELY slow

    The Employee W2 XML Interface on about 2,500 employees is running extremely slowly. I kicked it off at 1 p.m., Saturday Dec. 8. It is still not complete.
    This is a test system where we are preparing for year-end processes. I have completed the Year End Pre-Process fine.
    Is anyone else experiencing this?

    Just now figured out that even the XML Output is not correct. It has some data with the content "
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Only one top level element is allowed in an XML document. Error processing resource "
    How to fix the XML first?? Please any help is really appreciable.

  • Soap/xml interface

    hi,
    I have a requirement to implement soap/xml interface over http. App server is mostly weblogic.
    Can you please provide any inputs in this regard?
    thanks.

    J2EEHunger wrote:
    hi,
    I have a requirement to implement soap/xml interface over http. Okay.
    App server is mostly weblogic.Mostly? Interesting.
    Can you please provide any inputs in this regard?If you're asking how to build an application using soap/xml that you can deploy to weblogic, then you've come to the wrong place. Hint: Google is useful for general questions.

Maybe you are looking for