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

Similar Messages

  • Regarding idoc mapping in Business connectors

    Hi Experts!
    I have a scenerio where i have to upload and xml file and then mapp it to the matmas_bapi idoc and send an idoc to R/3 to change material data.
    I have completed upto getting xml file converting it to the required field but im not able to send it to r/3.
    if someone can help me out with that.
    thanks in advance
    jawad

    is there 2 systems involved in this?
    kiran

  • Idoc outbound from business connector

    Hi,
    I'm  trying to map values to idoc from business connector(4.6). The flow is
    map
    transformhierarchytoflat
    ale outbound process.
    When I test the application, it's showing a null pointer exception . I have doubt in what all values should i give for control records ??
    Shall i create a new routing rule for this ?
    Any help or suggestion will be of great help .
    Thanks in advance.

    HI,
    You are getting the Null Pointer Exception due to missing of Values in any of the context variables or the fields from mapping on target side.
    Please check the data that you are passing may have any null values and whcih are not acceptable. Test the message mapping with test Tab.
    The Mandatory control records, such as Sender/ receiver Ports, Partner Profiles etc, you need to pass.
    Thanks
    Swarup

  • 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

  • IDOC: Message type:Business connector

    Hi
    I'm sending purchase order idocs to Business connector but it gets rolled back. Because i'm using VN as a partner function and a vendor number as partner, the sender are the purchase org and receiver is the Vendor.
    How can i ensure that the sender name is my Logical system and the receiver are the business connector?

    check the partner RFC confoguration and logical system is assigned to the RFC destination .business connector means
    EDI subsystem related.
    please give the details about business connector

  • 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

  • Business Connector Inbound process failed

    Hi,
    We have a requirement to import a QALITY IDoc into the Business Connector 4.7 to send to customer in CSV flat file. However, everything when I tried to import the IDocs (I have configured the partner profile and the routing rule),  I receive an stack overflow error when the process gets to wm.PartnerMgr.flow.RCVR.SENDER.MSGTYP. I am using wm.wmPartnerMgr.~B2B.InboundProcess to receive.  I would really appreciated it if anybody can tell how to overcome this problem.  Thanks.
    Rocky

    The fields we usually fill in segment are:
    TABNAME
    MANDT
    DOCNUM
    DIRECT
    IDOCTYP
    MESTYP
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPOR
    RCVPRT
    RCVPRN
    Do you get the record for the IDoc from SAP?
    Best regards,
    Jure

  • IDoc Inbound Business Connector

    Hello
    I am trying to send an inbound IDoc to SAP via Business Connector. This is shortly to be replaced by XI.
    The flow in Business Connector creates a routing rule which is blank because it is not finding the control information from the IDoc I believe.
    I think I am missing a step in my flow.
    Currently the flow is
    document to record
    Transform hierarchy to Flat.
    Map ( mapping the fields into the IDoc)
    Record to Idoc
    Inbound process
    The inbound process always fails because it doesnt recognise the message type, sender etc.
    This is all the idoc and in record to Idoc this is an input with an output of Idoc list which is passed to the inbound process.
    However Idoclist I believe doesn't seem to contain any data.
    I think a step is missing can anyone help??
    Thanks

    Hi,
    Please see this.
    Hi,
    BC adapter can be used when you want to communicate to a existing interface on Business Connector. If you are talking to SAP, you use RFC / IDOC adapters.
    The SAP Business Connector (BC) is used in a large number of SAP production environments. SAP Business Connector will probably be gradually phased out and replaced by SAP XI technology. For the short term SAP Business connector and SAP XI will inevitably continue to coexist in companies IT landscapes.
    See Below links
    Integrating your SAP Business Connector with SAP XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/96ed2129-0b01-0010-2e91-c45e1fad0d03
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f27ad80-0c01-0010-f8b8-c5e153a16ca1
    Before XI
    Before XI
    webMethods Integration Server Vs.  SAP Business Connector 4.7 (BC)
    Choose the Right Adapter to integrate with SAP systems
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Thanks
    akshay

  • EDI file to IDOC using Business connector 4.6

    Hi Gurus,
                       We have a requirement of converting the EDI file to IDOC using Business connector 4.6 (943 & 944 ) one Inbound and other is outbound ..
    Can any one of you share the document on developing the scensrio ... we have searched couldnt get the same.
    Thanks in advance .
    Ramamurthy

    Hi Raj,
                     Thanks for the reply , Yes currently we also having the project using PI as rightly said we are using the seeburger and then converting the EDI format to XML and then mapped in IR to the IDOC .
    also using Item field conversion we developed some projects , similarly we have developed using modules too .
    Since the Business connector is new to us we didnt able to catch hold on where to import the Java program that we write in the Business connector ... from  Jothi reply understood the server side configuration.
    In case of BC where is that we need to implement the java code if you can share some thing on this would be good .
    Could you please share on how to transform and then implement the code in the BC ....
    Thanks,
    Ramamurthy

  • IDoc / Business Connector - future developments

    hi,
    I would like to know some possibilities to transfer data from a non-sap-system to a sap-system. I think the IDoc-interface is really good for transporting data into SAP-systems. I have spoken with some people they mean that the IDoc-interface is out-of-date. What do you think about it? Which other possibilities exist?
    Another possibility is to use XML-documents, but how could I transfer this data? With business-connector (it's also a out-of-date tool)?
    What do you think which are future developments of transferring data into SAP-systems (e.g. 4.6c / 4.7)?
    thanks
    markus

    The reason why asked about the version is that there some integration methods that may not be available in some versions like the Webservices that Rich mentioned is not available in 46C. Idocs is not an outdated technology, but it is more geared towards EDI interfaces rather than other interfaces.
    You have to first differentiate between your conversion/bulk load requirements, online/real-time requirements and your batch interface requirements. Depending on which one you are talking about, the choice of the interfacing tools will differ. No one tool is good for all. RFCs/BAPIs are a good way to do real-time interfaces with users online, via business connector. But this is resource intensive, so you should not use it for bulk data transfers. You can still use the same BAPI or RFC as a simple function module call in a custom program and schedule the custom program to load data from the external systems through files during off-peak hours. This way your data is loaded into the system while it is not interrupting with the online users for resources.
    IDOCs/RFC/BAPI/BI/DI/Call transactions/standard SAP program are the different interfacing/data conversion technologies you can use. Don't forget the powerful LSMW tool which is really easy to use and powerful enough to have complex mapping done and flexible enough to write some code to achieve some specific mapping transformations.
    Bottom line is you have to evaluate what is best for your case and use it. It can be a mixture of all.
    Srinivas

  • Business connector developer-Error message 'No IDOC found in input'

    Hi,
    Please note that this query is related to business connector developer not to XI.
    I have created a flow service based on an IDOC. When I tried to test the service from the business connector developer it gives me an error 'No idoc found in input'. I have done the setting based on the business connector configuration guide. The idoc also send to the port successfully.
    Can anyone guide me how to trigger the test from business connector developer for an idoc.
    Thanks
    Jim.
    Edited by: Jim Jose on Jul 13, 2011 5:58 PM

    Hi,
    Probably you would have created the routing today, with valid from todays date. But the order you are creating may be with start date in past and system is not able to find and valid routing for the day.
    I would suggest you to remove both the Basic "Start" and "End" and change the scheduling type to "Current date Scheduling", now enter. If system still not finding the routing, use the function "Read PP Master data".
    Regards,
    Prasobh

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

  • 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

  • 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

  • Business connector idoc error

    hi,
    i am getting these errors continously in bc server after restart of sap due to which there is data loss in the inbound messages to sap.outbound messages were processed every time sap was started.the errors are as follows:
    com.sap.mw.idoc.IDoc$Exception: (3) IDOC_ERROR_ILLEGAL_TYPE: The document does not correspond to the associated repository.
    at com.sap.mw.idoc.jco.JCoIDoc$JCoDocumentList.add(JCoIDoc.java:3095)
    at com.wm.pkg.sap.rfc.SAPSession.sendIDoc(SAPSession.java:671)
    at pub.sap.client.sendIDoc(client.java:356)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source)
    and am also getting rfc error as follows:
    com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
    at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
    at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
    at pub.sap.client.createTID(client.java:373)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
    at com.wm.lang.flow.FlowState.step(FlowState.java:430)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
    at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
    at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Unknown Source) .
    please let me know rootcause of these errors and wat can be done to resolve it soon
    thanks in advance,
    regards,
    priya.

    Not sure if it will help, but have you tried to flush the structure cache? I think you will have problems if the structure of the IDoc has changed in the R/3 system and the Business Connector is not aware of the change.
    BR,
    Tony.

Maybe you are looking for

  • How do I create a set of framed transparent windows?

    Hello All, I want to create a set of framed windows that are transparent, so that I can place any image below the frame in the stacking order, and the image will show through the windows. If it worked, the image below would show the trees though the

  • Soft button STOP not working in alarm mode ver 50 ...

    I have recently update my Nokia 5800 firmware to ver 50 and found the soft button STOP not working during alarm. This was oK in ver 21. Anyone has any idea how to correct this issue ? Chris Solved! Go to Solution.

  • Using odc:tabbedPanel   : event handling ?

    Hi , I am using <odc:tabbedPanel> for tabs , need some help on event handling when we click on any tab by using <odc:tabbedPanel> When tan is getting loaded want to do some server side coding , Any body has any idea on this ? Thanks, ....

  • How do I permanantly apply audio noise reduction in FCP X

    I have a clip shot on a blue screen set that had some noise in the background (constant hum from air conditioner). The Background Noise Reduction in FCP X, applied at 100%, does a truly amazing job. But there is one huge problem. It appears that FCP

  • I can't see it in bluetooth razor orochi mouse ??

    I have orochi Razor mouse and i can't see in bluetooth list when i try to connect it ! it works via usb cable fine ! Thank you