Problem processing IDOC on SAP business connector

Dear all,
Using the SAP Business Connector I try to convert and IDOC which is in plain text to a record representing this IDOC.
Note: The record is generated using a DTD and the plain text is 'inserted' to the service using a MAP statement.
Which flowservice can I use and how should it be used?
Currently I'm experimenting with the FlatToHierarchy service.
Your help is appreciated!
Best Regards, Harald

Hi,
I wonder that no one replied until now!
You are on the right way: you must use the service pub.sap.idoc:transformFlatToHierarchy. Then you must create a record in the PipelineOut-Section, referring to your IDoc-Record (that you have created form the DTD), and then connect/map it to the Service-Out-Parameter boundNode of the transformFlatToHierarchy-service. The connection between boundNode in Service Out and boundNode Pipeline Out must be deleted and the last must be dropped (red arrow down).
That's all! You don't need no other Mapping-Step.
I hope that would help you!?
Pöease excuse my bad english: I'm not pratizing it very often and my native langugae is german.
Best regards, Dagmar

Similar Messages

  • Finding message in SAP Business Connector with IDoc number

    Hi Experts,
    Since there is no separate forum for Business Connector, posing my question here.
    Does anyone have idea how we can find a message in SAP Business Connector if we know the source IDoc number, the same way we use IDX5 in PI.
    Thanks,
    Dhawal

    AFAIK there is no simple way.  What I usually do is compare timestamps. The Idoc is usually processed on the B.C. within the same minute.
    We only have up to 10 Idocs within one minute and I do not have to search every day. So it works for me.

  • 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

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

  • JCo IDoc: SAP Business Connector required?

    On my searching for the error IDOC_ERROR_METADATA_UNAVAILABLE i have found this thread:
    BC 4.7 -IDOC_ERROR_METADATA_UNAVAILABLE
    "As of SAP BC 4.7 the SAP Adapter (the piece dealing with the SAP system(s)) uses the new SAP IDoc Java API which uses other function modules to retrieve the definition data of the IDocs.
    You need new permissions in the SAP system, especially
    S_IDOCDEFT:EDI_TCD=WE30,ACTVT=03,EDI_CIM=,EDI_DOC=
    S_CTS_ADMI:CTS_ADMFCT=TABL"
    Does JCo Idoc require the Business Connector installed to execute the JCoIDoc.createDocument() method? I guess not, but i can not see other reasons for the error message. If i read it correctly, the BC needs the permissions in SAP, but the JCoIdoc library does not depend on the BC.
    Mike

    No, it is not required.  At my company we use a third party software to handle all faxes.  Really it is setup SAP as an output device, so it is just like printing to a printer.  THe only differences is we need to have a header page in the sapscript which gives all of the details of the fax to the third party software.  This software then strips off this first page and faxes the rest of the pages.
    It is called RightFax and it runs on a separate server.
    Regards,
    Rich Heilman

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

  • RFC function callls a SAP Business Connector Flow - only upper case

    Hi everybody,
    I wrote a function in SE37 which is calling a Flow in SAP Business Connector.
    R/3 and SAP BC, both are Non Unicode systems.
    The export parameter is TYPE makt-maktx.
    The call to SAP BC works fine. Only all the text I can see in the pipeline of SAP BC is upper case.
    I checked wether the domain of the makt-maktx allows case sensitive texts.
    This is OK.
    I have no idea how I can tell SAP BC to receive case sensitive texts.
    I checked the forums. Seems nobody had such a problem.
    Can somebyody help?
    Best regards
    Jochen
    Hi to all,
    it was not the JAVA Version, or a bug or whatelse.
    I just ingnored while testing in SE37 that there is
    a Flag [X] case sensitive - That's all!
    Shame on me!
    Greetings Joe
    Message was edited by:
            Jochen Seeliger

    Hi Priya
    Seeing the messages, it appears that server is down.
    "java.net.ConnectException" occurs whenever you try to connect to a system which is not up and running.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • IDOC Mapping in Business Connector

    Hello,
    we use SAP Business Connector 4.7 and would like to send IDOC DELVRY03 from SAP R/3 4.6 to an external.
    We had to map the IDOC an an XML structure. I created a record for DELVRY03, a record reference in Pipeline Out and an empty flow service. In this i use the service "pub.sap.idoc:iDocToRecord". Than i want use the "Map" function in the Developer. I created the target record for the XML file and map the requires fields, but the mapping does not work.
    What did i forget in this flow service?
    Thanks, Daniel.

    is there 2 systems involved in this?
    kiran

  • WebMethods Integration Server Vs.  SAP Business Connector 4.7 (BC)

    Hi All
           We have to integrate non SAP systems and SAP systems for that we have 2 options
    1)   SAP Business Connector 4.7 (BC)
    2)   webMethods Integration Server
           which one will be better option for this kind of POC by considering all the issues like interaction with SAP RFC or IDocs, performance, load balancing, salability, maintenance, etc.
         please tell us pro's and cons of both to decide upon which is better option.
         Thanks in Advance
    Thanks
    Ninad

    It is the same product, with different branding.
    The only thing is that SAP consider the SAP BC end-of-maintenance, and suggest to use XI.
    Regards,
    Sandro

  • Corefix 7 in SAP Business Connector 4.7

    Hi,
    We are currently using sap business connector version 4.7.we have 2 systems production and test,where in our production system is at Corefix 5 and test system is at Corefix 6.
    I need to know what are the patches and fixes provided by Corefix 7 in business connector,also a comparison with other corefixes.
    Thanks in advance!!
    Regards,
    Ramya

    Hi Ramaya,
    I am currently working on BC 4.7.
    I have established one HTTP to IDoc scenario.
    I want to know more about XSLT mappings in BC.
    What is it's structure?
    How we can use it in this scenario?
    Can you please help me?
    Waiting for your reply.

  • PI 7 to SAP Business Connector Connectivity

    Dear Gurus,
    I have to connect our ECC 6.0 System to another ECC 6.0 System using B2B scenario. For B2B purposes we are using PI 7 while the other party is using SAP Business Connector (SAP BC) as it's front-end-tool for ERP-to-ERP connectivity. I am a Basis Consultant and I have been given the task of doing this connectivity. I have never worked on any business connector. Can anyone guide me in this? We do not have any PI Consultant
    Also advice what infrastructure will be needed to complete this connectivity
    Request you all gurus to kindly advise asap
    Best Regards

    Well, a PI consultant would be a better choice as you will have to learn some basics before you can implement your project. PI is not an easy system as business connector and it requires deeper skills and expertise on the tool, but with some effort, certainly you can do it yourself.
    I do not have any experience on the administration of a dispatcher, so I cannot guide you on that subject. But after achieving the connectivity between the two dispatchers, the rest is the PI development task.
    It seems that your scenario is not really a hard one. Play around with the tools(in PI) and try sample scenarios to get used to it. Here are some for your convenience:
    And the PI (formerly called XI) library that covers almost everything is here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    With the help of the documentation and the sample scenario blogs, you will be able to develop your scenario. But gathering the required skill will take about a month or so, depending on your performance.
    After learning the basics, you also need to work on monitoring, alert definitions, going live pratice etc. also which you can also find examples in the blogs. Furthermore, if the messages exchanged are to be changed before reaching the ERP on the PI side, you will also need some mapping practice. Here are two blogs which will teach you graphical mapping in PI:
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    A B2B scenario can be partly auto-configured after definition of relevant integration scenario in the Integration Builder so it might be a good idea to learn it. I'm assuming you don't need any business processes(which automates A2A and B2B processes, for example a full order-to-cash scenario involving many systems and communications with business logic), so you will mostly need configuration instead of development. You also won't need any ABAP or Java skills in your case.
    The content on SDN about PI is pretty rich so I don't think you will be short on examples and instructions. Just search when you need something, almost every aspect is covered by now.
    Hope these are useful, feel free to ask anything you may need.
    Regards,
    Gökhan

  • To run a java service in SAP business connector.

    Hi,
    I have created one java service in SAP business connector.When i run it, i get the error as " Service 'rfctest:validatedata' is not operational. To run this service, first recompile the Java source."
    I have set the "path" variable,still i am getting the same error.
    What should i do to solve this problem?

    Hello,
    when you call a BAPI from an external system via Business Connector, you will send a bXML document to BC (for example via HTTP). Refer to the SapbcSAPAdapterGuide for how to do that in detail, its good explained (see 4-25 and 7-3) there.
    The explanation about sender/receiver is not correct. sender and receiver are the logical system names of the SAP backend system and the external system (check in transaction SALE of the SAP system).
    Just send such document to BC, it will create the routing rule automatically. Then complete the routing rule (see 7-2) and activate it.
    CSY

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

  • SAP Business Connector Error

    Guys,
    Do you know what this error in SAP Business Connector means:
    Missing or Invalid Parameter:Sender
    Any help would be appreciated.
    Thanks,
    Sathya

    Now this is a broad question_
    I guess you mean: IDOC handling
    This means usually, that the Sender ID is not set up properly in the BC (Send/Reveice Rules). In case you don't have a 1:1 mapping, use the '*' for ALL.
    Can you please give more specific information:
    where is the Error (Log, Popup-message etc),
    what is the context (BAPI CALL, IDOC etc)
    -hs

Maybe you are looking for