SAP Business Connector send XML to SAP

Hello,
There is a BC which should read XML files from a specified folder and send them to SAP via RFC (in IDOC format).
The conection works between BC and SAP fine, gateways are registered and RFC destination has been maintained and tested in SAP.
How/where can I assign the "package" (which contains the folder with XMLs) with the SAP system (it is configured under "Adapters"-->"SAP ..." with correct listeners).
Is the assignment the "Routing rules" or the "Map"?
When should Business Connector start to read the specified folder? Does it start according to "scheduling tasks"?
Where can I monitor the procedures?
Thanks in advance!
Terence

Hello Prateek,
Thank you very much for your answer. The AdapterGuide was really helpfull.
Now the routing rule is associated to the correct Service (that was a the problem). So the rule started to process the XML files from the folder (the XML files disappeared immediately after I corrected the rule).
But now my problem is that on the SAP side there is no inbound IDOCs so it seems the trasmission may failed.
Moreover under "Routing"-->"Transactions" I don't see these entries with the the current date.
Our routing rule is simple: "wildcard" "wildcard" "wildcard" "ALE (R/3 IDOC)"--><OUR SAP SYSTEM>
The SAP connection is working as I can test under "SAP..." menu.
Is there any other way to monitor what had happened with these XML files? I'm sure the BC processed as the files are gone, but there is no IDOC in the destination SAP...
Thanks a lot!

Similar Messages

  • SAP Business connector sending XML data

    Dear all,
    I am using an RFC to transfer the data from SAP R/3 to web server. I have to send the data to web server URl via SAP Business Connector in the below format.
    I am getting data in RFC sttructure, Now I need to change the above data into XMl and hence need to compress.
    The requirement is as below:
    The XML message is signed, encoded in base64.
    Signed and encoded XML message is compressed in GZIP format.
    Can u please share your ideas to achieve this.
    Thanks and regards,

    Dear Michal and Prateek,
    Thank you very much for your ideas.
    This is my flow:
    clear XML data -> SIgning with detached signature  -> Base 64 encode -> send the data via HTTP port.
    I am signing the message using pub.security.pkcs7:sign.
    But here problem is I am not able to get the detached signature.
    If I select the option Detached signature it is giving only signature.
    How can I manage the Detached signature and Message at HTTP port.
    Please help me.
    Thanks and regards,

  • Forwarding XML/EDI from SAP Business connector to EDI (cloverleaf)

    Hello,
    We are having issues setting SAP up to work with the business connector and our EDI system - cloverleaf.
    For testing, we would like to:
    1.  Create an idoc in SAP and send it to the Busness Connector.
    2.  Have the busness connector send the doc via XML to our EDI system cloverleaf.
    Currently, I have things setup like so:
    SAP/ECC6:
    SM59: RFC setup as type T and works fine.
    WE20: Partner Type LS:
    I have 2 message types setup (in outboard: I have "orders" and in Inbound I have the same).
    in WE21: I have a cloverleaf (our EDI system) to run with the RFC destination I setup in SM59.
    On the Business connector, I have the following under routing rules:
    From SAP to the Business connector:
    Sender: 8805
    Reciver: 10000000008
    Message Type: Orders
    ACL Group: none
    Package: default
    Main Flow Services: wm.PartnerMgr.flows.88605.1000000008:ORDERS
    Transport: ALE (R3/IDOC)
    SAP destination: RD1 (our sid).
    FOR my outgoing to our EDI system cloverleaf:
    I am using the sender: * - Not sure if this should be SAP or the BC.
    Reciver:  *  - Our EDI system.  our EDI system is listening on port 49001.
    Message Type: Orders
    Under URL (not sure about this one) 
    I have  http://reg2lxap0725:5555/MessagingSystem/receive/BcAdapter/BC
    I am however stummped on how the URL shold look..
    Now, when we test the above config...  I recive the following results in WE02.
    0000000000003024  25     03 Green Light: IDoc Successful Green     LS/  /SAPBC     ORDERS05     ORDERS     Outbox     CLOVERLEAF
    For some reason, we also have an "inbound" that fails.
    0000000000003025  25     56 Red Light: IDoc Has Errors           KU/  /0000088605 ORDERS05 ORDERS Inbox     SAPRD1
    My main question is however around routing... 
    We are trying to send these to our EDI system which is listening on 49001.
    I am not sure how they want us to setup the routing rules to pass this over to the right port..
    I have also  searched the documentation, and have not found any real step by step guides, so I may be missing a few things..
    Any advice to point me to the right direction is greatly appriciated....
    Thanks  everyone,
    Richard

    Hello Prateek,
    Thank you very much for your answer. The AdapterGuide was really helpfull.
    Now the routing rule is associated to the correct Service (that was a the problem). So the rule started to process the XML files from the folder (the XML files disappeared immediately after I corrected the rule).
    But now my problem is that on the SAP side there is no inbound IDOCs so it seems the trasmission may failed.
    Moreover under "Routing"-->"Transactions" I don't see these entries with the the current date.
    Our routing rule is simple: "wildcard" "wildcard" "wildcard" "ALE (R/3 IDOC)"--><OUR SAP SYSTEM>
    The SAP connection is working as I can test under "SAP..." menu.
    Is there any other way to monitor what had happened with these XML files? I'm sure the BC processed as the files are gone, but there is no IDOC in the destination SAP...
    Thanks a lot!

  • 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.

  • Business Connector - XML to SAP using BC

    Hi,
          This is regarding business connector(BC).
        The IDOC details are successfully converted to xml file to send third party system using BC..
              But also I need the process for vice-versa ..
                  The data will be coming as xml data from third party system and these data need to be updated into the corresponding SAP fields.
           Can you plz tell me whether any RFC's or other methods to be used?

    HI
    please can u provide me the steps how to convert idoc to XML and send as HTTP

  • Send IDOC from Business Connector to SAP faster

    Hi Developer!
    I need to send a very lot of IDOC converted from XML files from the Business Connector to SAP. The XML files are in different directories pro business partner, but they have a same type (ISU_MSCONS).
    My problem, that the import take a lot of time. Only in every 3 seconds (IDOC creation time) gets (or works up?) the SAP one IDOC. I start diferent services pro partner at the same time to import the IDOCs, but I couldnt short the 3 second work time in the SAP. So you can count it easy, that in 1 minute I can import 20, in 1 hour 1200, in 1 day 28800 IDOCs instead of 100.000.
    It is really parallel import? Have anybody any idea to make the import more faster. I know (asked the SAP Administrator) so, one BC - SAP connection (Program_ID) has more pools (= threads) in the SAP at the same time.
    Thanks any help,
    Charlie

    Hi Satish,
    You can achieve this requirement
    1)If your external system going to support web service cals then send IDoc from External system as a web service, in PI use sender side SOAP and receiver side IDoc receiver channel  to  send IDoc.
    or
    2)Use proxy program ,implement the same ALE logic in PI.
      or
    3)Copy the Extenal IDoc message in to file folder as XML,then use file adapter to pick up this message and send it SAP using IDoc.
    Regards,
    raj

  • SAP Business Connector XML File processing

    Hi All,
    we're using SAP Business Connector to process XML Files (from NON-SAP system).
    XML-Files are mapped to IDOCs and sent to our sap-system in order to create purchase orders.
    Let's say we have 3 Purchase Orders (XML) in our SAP BC input directory,
    the first purchase order has a header text (customer field), the following 2 dont. After processing the xml-files all 3 Idocs have the same header text of the first purchase order.
    How can i change this behaviour?
    Regards
    REA

    Hello Ramy,
    You have to check this logic of t BC. if you want to check the Idocs then goto WE02 in SAP.
    if you are using message type PORDCR1 then check segment E1BPMEPOTEXTHEADER or PORDCR thne check segment E1BPEKPOTX
    Regards
    Naresh

  • SAP Business Connector : Simple Test

    Hi Folks,
    Before I start , let me mention here that I am completely new to BC . And my requirement (I think) is also very simple.
    I have installed the business connector developer in my pc , and the BC server connection to SAP server is also working alright.
    My requirement is very simple , I want to pass a XML document to sap server . It is just a simple test as I am not going for any middleware setup etc.
    I just want to send this XML document to SAP for testing . I have tried by creating a "Flow" which expects a XML document but somehow it does not seem to work .
    Kindly let me know if possible the manual steps for sending XML doc to SAP.
    Thanks in Advance....

    You may use the standard developer's guide example to configure your scenario.
    Suppose you have File to RFC scenario.
    1. First create a structure for file system. This should be created as a Record in BC. Import the RFC structure too in BC.
    2. There is a standard ftp service (I guess in WmPublic package) which should be the first flow step of your flow service.
    3. Then use map steps to map the Records of file structure and Idoc.
    4. Then you may use imported RFC flow step to call RFC.
    5. At server, you need to define to routing rule from SAP BC -> R/3.
    Regards,
    Prateek

  • SAP Business Connector in xMII 12.0

    Hi,
        Can somebody help me out about SAP business connector action in transaction? and How to send one XML or Message from SAP xMII 12.0 to SAP ERP system?
    Thanks,
    Madhavi

    Hi Madhavi,
    Business Connector is a fairly old middleware technology provided by SAP which can be used to integrate SAP ERP to other applications. It is largely superseded by SAP XI/PI (which provides better, more robust & scalable middleware and A2A integration functionality). MII can connect to XI/PI via its SOAP or HTTP post actions, or via the SAP XI action block for business logic transactions (released via SDN for MII 11.5, and part of the MII 12.0 core product).
    For direct connections to ERP systems (e.g. for RFC calls), use the JCo action blocks in MII 11.5, and the JRA actions in v. 12.0.
    Hope this helps,
    Sascha

  • Problems with invoke call in browser (SAP Business Connector)

    Hallo,
    I have a problem with the invoke call in a browser to test a build flow in the SAP Business Connector:
    I build a flow which receives a XML file, converts it into a record, then adds some mandatory data to the segment "EDI_DC40", then reconverts it into XML. After that, the XML gets converted into SAP IDOC format. Then I send it via ALE service to the connected SAP System.
    The flow works so far if I test it with the "send XML file" function in "Test" menu. But when I test it via a call in the browser, it doesn´t work. The mandatory data in "EDI_DC40" is there, but the Business connector does not recognize the data which comes with the XML for this segment ("MESTYP" and "SNDPRN") - so it can not be transfered to the SAP system. It causes a routing rule error, because sender and message type is unknown.
    Does anybody has experiences with that? Is there a difference between browser call and the test function "send xml file"?
    Thanks in advance for your help!
    Kai

    Hi,
    Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
    If that is correct than there wont be much chances of problem in BC.
    \[removed by moderator\]
    Regards,
    Siddhesh S.Tawate
    Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM

  • SAP Business Connector on Windows XP

    I've been trying to get the SAP Business Connector 4.7 to work on Windows XP professional but haven't been very successful. The business connector seems to install okay, but when I try to start the business connector through the server.bat file it generates the following errors:
    (loglevel = 4) 
    Loading WmPartners package
    00000E  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.EmailTransport:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.EmailTransport
    00000F  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:saveMessage: [B2BSERV.0026.9106] No method saveMessage in class wm.PartnerMgr.xtn.admin
    000010  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:view: [B2BSERV.0026.9106] No method view in class wm.PartnerMgr.xtn.admin
    000011  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:saveRoutingRule: [B2BSERV.0026.9106] No method saveRoutingRule in class wm.PartnerMgr.gateway.admin
    000012  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:convertWildCards: [B2BSERV.0026.9106] No method convertWildCards in class wm.PartnerMgr.gateway.admin
    000013  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.B2B:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.B2B
    000014  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:editStore: [B2BSERV.0026.9106] No method editStore in class wm.PartnerMgr.xtn.admin
    000015  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.FTPTransport:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.FTPTransport
    000016  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:invokeViewService: [B2BSERV.0026.9106] No method invokeViewService in class wm.PartnerMgr.xtn.admin
    000017  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:viewMsgContent: [B2BSERV.0026.9106] No method viewMsgContent in class wm.PartnerMgr.xtn.admin
    000018  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:updateTransports: [B2BSERV.0026.9106] No method updateTransports in class wm.PartnerMgr.gateway.admin
    000019  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:invokeService: [B2BSERV.0026.9106] No method invokeService in class wm.PartnerMgr.gateway.admin
    00001A  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:log: [B2BSERV.0026.9106] No method log in class wm.PartnerMgr.xtn.admin
    00001B  [B2BSERV.0028.0005] Loading SAP package
    00001C  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.RFC:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.RFC
    00001D  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.BAPI:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.BAPI
    00001E  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.XML:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.XML
    00001F  [B2BSERV.0026.0002] Failure while loading service sap.bapi:encodeToFile: [B2BSERV.0026.9106] No method encodeToFile in class com.wm.pkg.sap.bapi.BusinessDocumentCoder
    000020  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:bapi2rfc: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000021  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:rfc2bapi: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000022  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:bapi2ale: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000023  [B2BSERV.0026.0002] Failure while loading service sap.admin:listGatewayServices: [B2BSERV.0026.9106] No method listGatewayServices in class sap.admin
    000024  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:ale2bapi: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000025  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.ALE:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.ALE
    000026  [B2BSERV.0028.0005] Loading WmSamples package
    000027  [B2BSERV.0028.0026] Warning: Deprecated service type (webtap) in service sample.webtap:logApp in package WmSamples
    000028  [B2BSERV.0028.0005] Loading WmDB package
    These errors don't stop the business connector from starting up, but the errors are not normal behaviour. When I try to start the business connector through a Windows service then I get the message "Could not start the SAP Business Connector Service on Local Computer. Error 126: The specified module could not be found".
    I have a working business connector installation on a Windows 2000 server, and when I checked the error log of that installation I noticed that it had logged the same errors about the 'WmPartners' package. It on the other hand didn't have any problems loading the 'SAP' package.
    I tried installing the business connector on two different systems with identical results. Has anybody been able to get the business connector to work on Windows XP?

    HI,
    I have no idea clearly about BC.. but ..
    See the following links.. may be helpfull..
    Business connector
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8609b90-0201-0010-c6bc-a41b611c6dac
    SAP Business Connector on Windows XP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92e5bd90-0201-0010-b799-dfdc27f3100a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    If usefull .. points rewarded..
    Regards
    Chilla..

  • How do we Integratet SAP to Non-SAP Using Business Connector

    Hi Experts,
    I am new to SAP Business Connector !!
    and what are the Forms ? for SAP Business Connector Related Postings ??
    !! I have a requirement to integrate sap to non-sap with Business Connector !!
    We need to Generate the SAP Data In xml Format ? and the Non-sap System can Understand Only XML Formated data.
    Is there any way Business Connector Box can Pull the XML file from R/3 Application Server and store the file in the Business Connector Server. from  that How do we Sent XML file to Non-sap. How do we Integrate ??
    what transaction code will trigger this event ? I mean is ther any SAP Transaction Code to Integrate Business Connector?
    For Eg. like in R/3  SD to FICO and MM Integration.
    Please Give your Valuable Suggests..
    Thanks .
    Upender.

    Hi,
    It is not an issue, It will be a separate project :-).
    The right forums for this,
    Expert Forums » SAP NetWeaver » Process Integration
    www.wmusers.com
    Also go through the following links:
    http://www.sapgenie.com/interfaces/businessconnector.htm
    http://www.sapgenie.com/mysap/bus_connector.htm
    /people/bla.suranyi/blog/2006/07/10/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
    Thanks and Regards,
    Chandra Madapati

  • Flat File Transfer from SAP R/3 4.7 to SAP Business Connector 4.8

    Hi Experts,
    I have a requirement of transferring a flat file from my R/3 SAP 4.7 Box Application Server to the Business Connector 4.8 Box. I am new to SAP Business Connector and I am not to sure whether FTP works if I use a shell script in SAP R/3. Also, is there any way Business Connector Box can pull the file from R/3 Application Server and store the file in the Business Connector Server.
    Any help will be appreciated!!!
    Regards,
    Subhhrangsu

    Hi,
    There are many ways thru which you can pass document to SAP BC:
    You can HTTP, FTP, Email document to SAP BC.
    SAP BC has predefined services for all of them.
    For FTP document to SAP BC:
    1 Initiate an FTP session on SAP BC Serveru2019s FTP listening port ( this can be found out from SAP BC administrator or from SAP BC homepage).
    2 Point to the directory that contains the service to which you want to pass the XML
    document.
    Example cd \ns\Purchasing\SubmitOrder
    3 Copy the XML document to this directory using the following command:
    put XMLDoc.xml
    Where XMLDoc.xml is the name of the file that you want to pass to SAP BC Server.
    Example put PurchaseOrder.xml
    Above code can be written in a batch file and you can schedule it to run at interval of minutes.
    You can write java client program as well to upload file and map it to String variable of Flow service of SAP BC.
    As Micheal said, you can look at sapbc/Developer/doc folder to look for more options.
    Best Regards,
    Divyesh

  • SAP Business Connector certificate problem

    We are trying trying to send data from SAP to bank via SAP business connector using bank URL. We have configured the certificates in SAP BC which are authenticated by bank on the basis of private key generated from our server. Now when we trying to post data to bank it is giving below error.
    java.lang.RuntimeException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
    Any idea? Please give me some suggestions to resole this problem.
    Thanks and Regards

    Normally I do not like to give documentation references, but in this case I think it makes sense. Certificate handling is an ugly and complicated topic, so many things can go wrong. Please check the SAP BC 4.7 Administration Guide, page 103 onwards ("Securing communications with the server"). It explains very well what needs to be done. Make sure you configured everything correctly.
    CSY

  • SAP Business Connector MIME Services to SAP XI Transition

    Today we are using the built in MIME services in Business Connector (pub.mime) to format a MIME message, and are then using https to post it to an external business partner by placing the data into the "mimeStream".
    Is there a way to perform this same functionality in SAP XI?
    Thanks
    Peter

    Hello Prateek,
    Thank you very much for your answer. The AdapterGuide was really helpfull.
    Now the routing rule is associated to the correct Service (that was a the problem). So the rule started to process the XML files from the folder (the XML files disappeared immediately after I corrected the rule).
    But now my problem is that on the SAP side there is no inbound IDOCs so it seems the trasmission may failed.
    Moreover under "Routing"-->"Transactions" I don't see these entries with the the current date.
    Our routing rule is simple: "wildcard" "wildcard" "wildcard" "ALE (R/3 IDOC)"--><OUR SAP SYSTEM>
    The SAP connection is working as I can test under "SAP..." menu.
    Is there any other way to monitor what had happened with these XML files? I'm sure the BC processed as the files are gone, but there is no IDOC in the destination SAP...
    Thanks a lot!

Maybe you are looking for

  • How to create sequence

    How to create sequence(Auto generated no in oralce) with out using Triggers? If i create trigger sequence of numbers are getting generated but in case if i want to include explicit sequence no at the end of the table say like '9999'...it is not getti

  • Role of BW consultant in DP, APO BW 7.3 implementation

    Hi Folks, We are going to implement BW 7.3 project and i want to know the role of BW technical consultant in DP, APO and SNP module. Thanks in advance. Regards srini

  • Hide and unhide button..how?

    Guys, need you help. action script...below is the situation. I have 3 entry box 1. name1 2. name2 3. name3 I have 1 image button and 1 click button. 1. image button.. called "button1" 2. click button.. called "click1" how do use action script to do t

  • Problem running my class file

    i'm using os x and when i compile my HelloWorld.java i have no errors and it creates the HelloWorld.class file in the same directory. now if i try to run the program from the terminal by typing in java HelloWorld it works file, but if i try to send t

  • Small screen

    i just downloaded photoshop and all of the elements are tiny to read, any ideas on how to adjust?