Receive XML with Business Connector, convert to IDoc

Hi all,
I am trying to receive XML files with SAP Business Connector (4.7) and convert them to IDOC and then forward the IDoc file to SAP System.
At the moment, I have to do the testing for this.
I don't know how to send the XML file to the special port (5555) of the server. I read that there are serveral possibilities like http, mail, ftp. Can anybody give me an advice how this works?
Next problem is to get the created IDoc file to the SAP system. The SAP server is added in the SAP Business Connector and the connection works.
I would be very pleased if anybody could help me.
Thanks in advance!
Kai

hi,
What i understand from your scenario is XI> BC> SAP system.
1)XI-->BC
U need to configure XI's-BCAdapeter(as receiver).
in URL specify teh follwoing :
http://<hostname>:5555/invoke/folder1.folder2./<service-to-be invoked>
together with the username and password.
2) BC--> SAP
To invoke an IDoc, go to Routing rules and specify the sender, receiver, and the Message Type(IDoc name). In the next page, specify the name of the flow service to be created. and the Flowservice to be invoked whenever a message comes in.
Hope this gives you some input.
Regards,
Siva Maranani

Similar Messages

  • MDM with Business Connector

    Does anyone know if MDM can work with Business Connector?

    It's been a while since I have used Business Connector, but if I'm not mistaken BC can pick up files, correct?  If so, then yes they will work together.  The process would like something like this:
    1.  MDM Syndication Server generates XML file
    2.  Business Connector picks up file
    3.  Business Connector maps to desired format
    4.  Business Connector sends to target system.
    Same as XI, except BC is the EAI tool instead.

  • How to encode XML to Idoc and decode Idoc to XML in business connector?

    Hi all,
    first of all: thanks for all, who are reading and perhaps responding this question!
    Here some facts and my question(s):
    The facts:
    - I have the business connector version 4.6!
    - I'm not working with any SAP Netviewer!
    - I have XML files on an FTP-server and Idoc-files on an FTP-server --> so no connection between SAP and business connector, meaning: the files are just on the ftp-server!
    What am i doing and what is working properly:
    - Business connector logs in into the FTP-server (with FTP-service: pub.client.ftp:login)
    - gets the file (with FTP-service: pub.client.ftp:get) (the idoc-file, when i want to convert it into XML or the XML-file, when i want to convert it into idoc-format)
    - puts the file into another place in the server (with service wm.PartnerMgr.gateway.transport.FTPTransport:OutboundProcess)
    !!!So far only getting and putting of the file works!!!
    What is missing between getting the file in one format - for example idoc-format - and putting the file into the server in the other format - for example XML-format is:
    CONVERSION FROM XML INTO IDOC AND VICE VERSA
    My question:
    - which services i have to use between getting and putting the files?
    Thanks to all,
    Tamer

    Hi,
    I have the same problem. I do fix it?
    Thanks
    Wilson Xavier
    Brazil

  • Problem with Business Connector 4.8

    Hi Everybody, first of all I would like to clarify that this is a question about SAP BC and NOT XI, but I did not know wherelse to put this message.
    I have installed SAP BC 4.8. Created a new RFC map (SAP BC -> SAP) of a FM called Z_PO_GET_LIST.
    Then went to Business Connector DEVELOPER and created an output template, XML type, for the output of the service.
    When I test the service from the Business Connector SERVER it works perfect, I get as a result the desired XML with the PO Orders in the same format defined in the template.
    When I test it from the Internet Explorer putting in the address bar http://localhost:5555/invoke/test/Z_PO_GET_LIST it also works great, and I get the expected XML as result.
    The problem is when I try to cosume the service from an external .net application, I create an HTTP Client with all needed information (server, port, baseurl, etc) and when I send a POST to the service I get an XML with the result but NOT in the expected format (with all "value" tags instead of the tags that I defined in the template) but with this format:
    <?xml version="1.0" encoding="UTF-8"?>
    Values version="2.0">
    <value name="serverName">IDES_SERVER</value>
    <value name="$rfcname">Z_PO_GET_LIST</value>
    <record name="ZPO_CABEZALES" javaclass="com.wm.util.Table">
      <array name="cols" type="value" depth="1">
       <value>CO_DATE</value>
       <value>DOC_CAT</value>
       <value>CREATED_ON</value>
       <value>CREATED_BY</value>
       <value>VENDOR</value>
       <value>NAME1</value>
       <value>CURRENCY</value>
       <value>DOC_DATE</value>
       <value>TARGET_VAL</value>
      </array>
      <list name="rows">
       <array type="object" depth="1">
        <value>1000</value>
        <value>F</value>
        <value>2002-10-16</value>
        <value>GIESEB</value>
        <value>0000001000</value>
        <value>C.E.B.BERLIN</value>
        <value>EUR</value>
        <value>2002-10-16</value>
        <value>5000.0000</value>
       </array>
       <array type="object" depth="1">
        <value>3000</value>
        <value>F</value>
        <value>2004-05-04</value>
    Does anyone please know how can I get the response from the service in the expected format (using the defined template) just in the same way I get it from the "test service" funtionality in the BC Server?
    Any clue or help would be really appreciated and rewarded.
    Thanks in advance,
    Sebastian.

    Can you post what your expected XML result looks like ? The values structure is an internal structure of how BC represents that information. What types are you passing back as output variables in your service ? A recordlist ? Is it possible that you forgot to call a service step which converts document to string (so that you get the desired XML) ?
    CSY

  • How to connect with business connector

    Dear Gurus,
    I am new to business connector. Could you please give the procedure that how we can transfer the IDOC from R/3 to business connector.
    Please help me.
    Regards,

    Hi Chandra,
    The SAP Business Connector is a middleware product based on webMethods’ B2B Integration Server. It allows you to integrate with R/3 using open and non proprietary technology. SAP BC uses the Internet as communication platform and XML/HTML as data format. Thus it seamlessly integrates different IT architectures with R/3.
    SAP BC allows for full bi-directional communication to and from R/3. On the one hand all SAP functionality accessible using BAPIs and IDocs can be made available to business partners over the Internet as secure XML-based services. On the other hand applications and information running on a remote web site can be instantly invoked by a simple SAP function call thus making the information of the Web available to an R/3 System.
    SAP BC provides an XML layer on top of R/3 functionality so that other applications do not need any understanding of R/3 internal data structures or protocols. You can deploy SAP BC to simply but effectively achieve business-to-business integration between trading partners, thereby extending the reach of your SAP infrastructure to customers, partners and suppliers. Examples for applications may include real-time integration between supplier inventories and your SAP System or multi-vendor product, price and availability information and your purchasing application.
    For further Information on the same see WHAT IS SAP BC ?
    Also go through the following links:
    http://www.sapgenie.com/interfaces/businessconnector.htm
    http://www.sapgenie.com/mysap/bus_connector.htm
    XI - SAP Business Connector integration using the HTTP adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/frameset.htm
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b4f3755a-0401-0010-b6b3-9b65bb7d4503
    https://websmp104.sap-ag.de/connectors
    https://websmp104.sap-ag.de/~form/sapnet?_FRAME=OBJECT&_HIER_KEY=501100035870000008223&_HIER_KEY=601100035870000111191&_HIER_KEY=601100035870000114171&_HIER_KEY=601100035870000132138&_HIER_KEY=601100035870000122794&_HIER_KEY=601100035870000122795&_HIER_KEY=601100035870000122804&_HIER_KEY=701100035871000100900&#HOME
    Regards
    Goli Sridhar

  • Access Denied with Business Connector 4.7

    Dear SAPiens,
    I am trying to call a RFC-FM via a webservice from outside the SAP system via Business Connector 4.7. I always get a "Access Denied" Error message within the XML answer-envelope.
    For testing I use the soapUI. I downloaded the WSDL from the Business Connector Developer and imported it to soapUI.
    In soapUI I used the following coding for execution in a testcase:
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mob="http://172.16.34.33/MobileDataEntry" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
       <soapenv:Header/>
       <soapenv:Body>
          <mob:CustomerOrderCreate soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <DISTR_CHAN xsi:type="xsd:string">01</DISTR_CHAN>
             <DIVISION xsi:type="xsd:string">00</DIVISION>
             <DOC_TYPE xsi:type="xsd:string">ZMDE</DOC_TYPE>
             <PARTN_NUMB xsi:type="xsd:string">0000102642</PARTN_NUMB>
             <PARTN_ROLE xsi:type="xsd:string">AG</PARTN_ROLE>
             <REQ_DATE_H xsi:type="xsd:string">20080420</REQ_DATE_H>
             <SALES_ORG xsi:type="xsd:string">4920</SALES_ORG>
             <MATERIAL xsi:type="non:MATERIAL" soapenc:arrayType="non:MATERIALArrayItem[]" xmlns:non="http://www.webMethods.com/noNamespace/"/>
             <RETURN xsi:type="non:RETURN" soapenc:arrayType="non:RETURNArrayItem[]" xmlns:non="http://www.webMethods.com/noNamespace/"/>
          </mob:CustomerOrderCreate>
       </soapenv:Body>
    </soapenv:Envelope>
    The given answer is:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
       <SOAP-ENV:Body>
          <SOAP-ENV:Fault>
             <faultcode>SOAP-ENV:Client</faultcode>
             <faultstring>[B2BSERV.0088.9134] Exception occurred while processing the body of the message</faultstring>
             <faultactor>http://172.16.34.33:5555/soap/rpc</faultactor>
             <detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
                <webM:exception>
                   <webM:className>com.wm.app.b2b.server.AccessException</webM:className>
                   <webM:message xml:lang="en">[B2BSERV.0084.9004] Access Denied</webM:message>
                </webM:exception>
             </detail>
          </SOAP-ENV:Fault>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I can call the function module without any problem from the Busines Connector Developer IDE.
    I also can call the function without any problems in this way (by passing my credentials manually):
    http://172.16.34.33:5555/invoke/MobileDataEntry/CustomerOrderCreate?DISTR_CHAN=01&DIVISION=00&DOC_TYPE=ZMDE&PARTN_NUMB=0000102642&PARTN_ROLE=AG&REQ_DATE_H=20080420&SALES_ORG=4920
    Do you have any idea what is going wrong? Why do I get "Access Denied"? What causes this?
    Best regards
    Torsten

    Hi Christian,
    this solved my problem two weeks ago.
    I actually run the solution with 'Anonymous' access, as I don't know how to submit the Username with soapUI (header entry does not work). soapUI is a generic SOAP testing frontend (see soapui.com).
    Everything of our solution is under development at this time. I guess, that the final client service will not deal with those problems.
    Nevertheless, you get the points...
    Best regards
    Torsten

  • Com.wm.app.b2b.server.ServiceException with Business Connector

    Hi Everybody,
    I could need some help with the Business Connctor 4.8...
    We just made an upgrade from SAP Business Connector 4.7 to 4.8. The new Business Connector also was moved to another server.
    The installation was fine. In SM59 the RFC test works and also the MAPS are all in green status.The routing should also be fine.
    I have the following problem when using the FM IDOC_INBOUND_ASYNCHRONOUS to send invoices to the customers I get the following error:
    com.wm.app.b2b.server.ServiceException: com.wm.app.b2b.server.UnknownServiceException: [B2BSERV.0026.9201] Unknown service: wm.PartnerMgr.flows.MANDANT001.1STBP:INVOIC
    I also created and imported the necessary certificates to communicate with our partner by https.
    Please could you help? Is it a problem in the configuration or do I miss something with the certificates?
    Thanks in advance!
    Kind regards,
    Lu Huynh

    Hi Lu,
    Yes that note was for SPA BC 4.7. I though it could provide you with some more insight.
    Anyway, can you recheck whether the settings which you have done for IDoc in SAP BC. There might be some problem with them.
    Also check this thread, it might be helpful (but i am not sure)
    [B2BSERV.0026.9201] Unknown service: wm.PartnerMgr
    One doubt the error message says Unknown service: wm.PartnerMgr.flows.MANDANT001.. IS the client 001?
    Regards
    Suraj

  • BAPI call with Business Connector

    Hi all,
    we encountered the problem, that a business connector call to a BAPI with all return parameters and tables set to "opitonal" will deliver no result.
    Has anyone expirienced the same ? Any solutions ?
    Thanks
    Elko

    Thanks,
    i allready thought of solution 1. If we use a standard BAPI, I can create a wrapper BAPI, that just calls the standard BAPI and unceck the attribute "optional" in interface description.
    But i am not really sure what you mean with solution to. Could you please explain in more detail.
    Elko

  • Webservices with Business Connector 4.6

    Hi.
    I've done this scenario Webservice (request) --> BC --> R3 --> Webservice (response).
    With Business developer i've made my wsdl (very strange, because i get two files .. wsdl and xsd).
    When i use a client such as SOAPUI, input parameters of the BAPI in R3 doesn't arrive to BC.
    Does anybody know what is happening?
    Regards,
    Inigo.

    nm

  • Problem with Business Connector (Service to read body in http)

    Hi all,
    I have the following scenario:
    BC1 --> BC2 --> SAP
    BC1 send a file using http. This file hasn´t XML structure because the file is encrypted. The content of the file is sent into the body of the http message, not into the header.
    BC2 has a service prepared for receiving the file from the header of the http message (param "invoice"), not from the body. The call is: 
    http://?invoice=
    I need to include a new service before the previous one,in order to read the content of the file from the body of the message, mapping the content to variable "invoice" and the continuing with the treatment.
    Thanks in advance for your help.
    Pilar.

    Can you post what your expected XML result looks like ? The values structure is an internal structure of how BC represents that information. What types are you passing back as output variables in your service ? A recordlist ? Is it possible that you forgot to call a service step which converts document to string (so that you get the desired XML) ?
    CSY

  • Probelm receive xml with XMLSocket

    Hi! I'm doing a socket program which will send and receive
    data from a server. The server runs perfectly fine with other
    socket client (vb, java etc).
    But I have problem receive data using XMLSocket in Flash. It
    send successfully, skip the receiving data and then finally go to
    "history" frame.
    Please see the attached code for more information. Thank you
    very much!!

    hi,
    What i understand from your scenario is XI> BC> SAP system.
    1)XI-->BC
    U need to configure XI's-BCAdapeter(as receiver).
    in URL specify teh follwoing :
    http://<hostname>:5555/invoke/folder1.folder2./<service-to-be invoked>
    together with the username and password.
    2) BC--> SAP
    To invoke an IDoc, go to Routing rules and specify the sender, receiver, and the Message Type(IDoc name). In the next page, specify the name of the flow service to be created. and the Flowservice to be invoked whenever a message comes in.
    Hope this gives you some input.
    Regards,
    Siva Maranani

  • Issue with Business connector to ECC

    Hi All,
    We are having issues when the orders from BC to vendors are failing.The chain is like this ECC idoc to BC conversion happens to xml and then sends to the vendors.We are getting a message saying like this
    com.wm.lang.flow.FlowException: [B2BCORE.0049.9010] Service 'sap2vendors:ORDERStoXML' invoking unknown service 'Failed HTTP Post' at '$default'. The service may have been renamed, moved or disabled.
    The whole problem is that some are failing and some are passing through.Thanks.

    Hi,
    When checked the server log.Got the below error.
    TransactionManager: Creating new Transaction 0A0D811E16654DCA1F7A0741
    000453  [B2BPCKG.0074.0002] TransactionManager: 0A0D811E16654DCA1F7A0741: State changed to Created
    000454  [B2BPCKG.0073.0032] Runtime: <-- Sender: 1000 Receiver: <number>
    MsgType: ORDERS Tid: 0A0D811E16654DCA1F7A0741
    000455  [B2BPCKG.0073.0037] Runtime: invoking Flow sap2vendors:receiveORDERS000<number>
    000456  [B2BPCKG.0073.0045] B2B Transport: --> OutboundProcess invoking sap2vendors:ORDERStoXML locally
    000457  [B2BCORE.0064.0014] Opening Socket https://<IPAddress>/invoke/CorporateExpress/receive  proxy=sparpxyapp.<hostname>:8080
    000458  [B2BPCKG.0073.0047] B2B Transport: --> OutboundProcess error: [B2BCORE.0049.9010] Service 'sap2vendors:ORDERStoXML' invoking unknown service 'Failed HTTP Post' at '$default'. The service may have been renamed, moved or disabled.
    000459  [B2BCORE.0077.0002] Unsupported email encoding  specified.  Defaulting to utf-8
    00045A  [B2BPCKG.0073.0039] Runtime: error in RR Flow sap2vendors:receiveORDERS<number>
    com.wm.app.b2b.server.ServiceException: com.wm.lang.flow.FlowException: [B2BCORE.0049.9010] Service 'sap2vendors:ORDERStoXML' invoking unknown service 'Failed HTTP Post' at '$default'. The service may have been renamed, moved or disabled.
    00045B  [B2BCORE.0077.0002] Unsupported email encoding  specified.  Defaulting to utf-8
    00045C  [B2BPCKG.0074.0006] TransactionManager: saved message body packages/WmPartners/pub/mailbox/<number>/ORDERS/0A0D811E16654DCA1F7A0741.values
    00045D  [B2BCORE.0077.0002] Unsupported email encoding  specified.  Defaulting to utf-8
    00045E  [B2BPCKG.0074.0002] TransactionManager: 0A0D811E16654DCA1F7A0741: State changed to Rolled back
    00045F  [B2BCORE.0077.0002] Unsupported email encoding  specified.  Defaulting to utf-8
    Edited by: Ambarish annapureddy on May 19, 2011 12:48 PM
    Edited by: Ambarish annapureddy on May 19, 2011 12:48 PM

  • Comparison with Business Connector

    I went through one of the presentations posted on XI E-learning - Relationship between XI and SAP BC by Elvira Walis.
    In this presentation, it is said that SAP BC is based on point-to-point connectivity. 
    But can I not have two or three senders and two or three receivers, connected to SAP BC, and define routing rules to select the appropriate Receiver and thereby achieve a HUB architecture connectivity through BC?

    Surly you can have more sender with more receivers. It isnt any problems. We developed much of these szenarios. SAP indicates the BC for Point to Point Connectity, but you can use it as a hub. We did it for one customer to connect 20 different SAP-Systems to 20 different partners / internal systems. You can realize nearly every integration szenario on both plattforms (BC / XI). SAP indicates to use XI, because its the strategic plattform. Until now, theres no end for SAP-support of BC defined.

  • Webeservices with Business Connector

    Hi eberyone.
    I'm facing an important and urgent problem.
    I've made a map in BC with a SAP RFC. Now, once i have the FLOW in BD developer, i want to create a webservice.
    With my local BC 4.7 works but with customer BC 4.6, when i select WSD type RPC i get two files, one WSDL and one XSD.
    Why is different?
    Another thing is that customer is defined with secure SSL connections and my webservice (launched with SOAPUI) doesn't retrieve any information.
    Regards,
    Inigo.

    hi
    Go through below links
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/319640c80b3528e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/61/4193404f673028e10000000a1550b0/content.htm
    /thread/107286 [original link is broken]
    http://www.english.bcc.com.pl/pad_files/aw_files/260_EN_AW_096_DB21_SAPXI_ENG.pdf
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Thanks

  • Rfc XML Purchase Order via business connector

    Hi,
    I am new to business connector and currently I am faced with a task where I have to send the Purchase Order to vendor via rfc XML with business connector 4.7.
    The vendor should receive the order via ebp XML.
    Can any one specify me the exact steps involved in this.
    Please reply asap as there is an urgency in the task.
    Points assured to helpful answers.

    hi,
    there used to be standard content for EBP for BC
    SAP BC Support Packages for EBP, BBP, and CRM link on:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000463624&_OBJECT=011000358700000267402002E
    but I cannot access it anymore
    you can asking SAP about it as I'm sure this could help you in your EBP scenario
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • List view problem

    I use List view. The left column contains icons for Applications, drives, etc., and I can add folders and files by dragging them to that column. But I can't *delete* them, either by dragging them out or hitting Delete or Opt-Delete. What do I do?

  • Please Help Interpret This Panic Report

    Greetings -- I've had four kernel panics in the past couple of days. After the third one, I restored my boot volume from a cloned backup, just in case something I had installed or changed was the source of the trouble. That got me through a full day

  • Crystal Reports publication personalization with an OR statement

    Hello, I want to publish a crystal report but do not see a method to implement an OR statement like you can with interactive filters or query prompts. Currently any personalization's I make are all AND filter. My report when run on demand can bring b

  • How to do arithmetic with two attribute values in a jsp in JDev 10.1.2?

    Hi! I need to compute Density value using two attributes being shown in my jsp (i.e. bindings.Spacing and bindings.Area), Density = bindings.Area/bindings.Spacing. How can I do this in JDev 10.1.2 in my jsp?

  • Firmware problem, Zen to

    I tried to upgrade my Zen touch to the playforsure firmware, but it didn't take it, now I have a "firmware problem" message that doesn't go away, I did a cleanup, format with no luck, it only boots into recovery mode and if I try to flash it again I