Business connector and idoc

Experts
Currently i am working on BC for creating
sales order using idoc , i have input file with me,
which is an xml format and the mapping is ready in
BC , only problem which i am facing is that i am not
able to understand following thing
1) How can i test these mapping as initial input
for mapping is node ,which won't except any input
2) How we can call these idoc structure(for example
ORDERS) in my BC.

Hi,
>>I am not sure of XI ,since i worked on BC only,
do XI provide automatice generation of java code ?
Not like BC, you have to write it manually.
>>curently i am looking into the serive that will create
inbound idoc in R/3 (ORDERS),since i worked with BAPI
and BC ,i am not much aware of IDOC, can we call
IDOC in our service directly as BAPI ,if so how?
See IDOC and BAPI'S are two different techniques for contacting the R/3. What you can do is call IDOC inside BAPI. BAPI is like your function (say java) and inside that you are creating an IDOC (say a file) and you are sending it to that R/3. For IDOCs you have to set Routing rules and all.. I think this might be helpful:
http://www.ups.com/sap/configuration/Configuration.pdf
Good, after long time a BC query. Now i think you will close this thread and BTW have you seen this:
just a few minutes....
Regards
Suraj

Similar Messages

  • Business connector  and BAPI ,java code

    Guy's
    we are having development project based on <b>Business
    connector and bapi</b> for sales order creation,we are
    going for function module /TECCOM/SALESORDER_SIMULATE
    for Availability request ,i am not aware of using business
    connector and bapi before,they are going for some java code,now i have to create java code and use this particualr BAPI,pls if somebody already worked on such issue,then help me with some material which will guide
    me and help me in finishing this task easily,
    <b>mail me at [email protected]</b>

    This is a very usefull link:
    http://www.henrikfrank.dk/abapexamples/Java/

  • Business Connector and sap router on same server?

    Hello,
    We are investigating currently in order to install "Business Connector" and "Sap router" on a same dedicated server.
    I would like to know if it is possible or not recommended, etc... if there are some guidelines.
    If someone has experience in this solution.
    Many thanks for your help

    I can't see a reason why not... any particular concerns?
    Regards
    Juan

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

  • Business  Connector and XI

    Dear Sir,
    Are there any preson change from Business Connector to use XI instead ?? Please kindly advise . how did you convert from BC  to XI
    Thank you and best regards,
    Vimol

    Hi Vimol,
    Check this "How to" guide, for the required information
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202&_OBJECT=011000358700005272252005E
    other How to guides,
    https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    have a look at this also...
    Re: Connectors and Xi...
    also,
    XI FAQ’/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    I hope this will help you.
    Regards,
    Saurabh...
    Reward with points if found helpful.

  • SAP Business Connector and EDI

    Hi,
    I need to implement a new EDI version to use within Business Connector. However, I cannot remember where to extract the EDI template files from. Has anybody done this before and can inform me where to extract the EDI template files from.
    Thanks
    Martin

    Hi,
        DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
            L_FILEMASK LIKE EPSF-EPSFILNAM,
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
        EXPORTING
          dir_name                     = l_dirname
          file_mask                    = l_filemask
    IMPORTING
      DIR_NAME                     =
      FILE_COUNTER                 =
      ERROR_COUNTER                =
        TABLES
          dir_list                     = pi_filelist
    EXCEPTIONS
       invalid_eps_subdir           = 1
       sapgparam_failed             = 2
       build_directory_failed       = 3
       no_authorization             = 4
       read_directory_failed        = 5
       too_many_read_errors         = 6
       empty_directory_list         = 7
       OTHERS                       = 8
    <b>Reward points</b>
    Regards

  • Business Connector and PI

    Hi,
    Does Business Connector have a very limited number of threads (in multi-threading of tasks)  when compared with PI?
    Amith

    Hi,
    as far as I know there is no such restriction on the business connector regarding the number of threads it can handle.
    best regards,
    Markus

  • 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

  • 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

  • Sending of iDoc to Business Connector

    Hi Folks,
    I am new to business connector and know very little about the same.
    I have sent an idoc(MATMAS05) to the business connector. The idoc status is set to 03, which means the idoc is successfully sent to the BC. But how to find in BC whether any idoc has been received or not.
    Thank you in anticipation.

    We have made an "wrap-arround" to the FM IDOC_STATUS_WRITE_TO_DATABASE and made it RFC enabled.
    On the BC we have created an service to update the status of an IDoc to status 18. This service is placed as an "pre-proccesing service" of all routing-rules receiving IDoc's from R/3.
    If the IDoc is converted and send to the Receiver status of the IDoc is set to 39, if not status is set to 30.
    If an IDoc "only" has status 03 we look in SM59 and se why thy IDoc counld not be send to the BC.
    FUNCTION Z_IDOC_STATUS_WRITE_TO_DB.
    *"*"Local interface:
    *"       TABLES
    *"              IDOC_STATUS STRUCTURE  BDIDOCSTAT
    *"       EXCEPTIONS
    *"              IDOC_FOREIGN_LOCK
    *"              IDOC_NOT_FOUND
    *"              IDOC_STATUS_RECORDS_EMPTY
    *"              IDOC_STATUS_INVALID
    *"              DB_ERROR
      DATA: L_IDOC_STATUS LIKE BDIDOCSTAT OCCURS 0 WITH HEADER LINE.
      LOOP AT IDOC_STATUS.
        REFRESH L_IDOC_STATUS.
        L_IDOC_STATUS = IDOC_STATUS.
        APPEND L_IDOC_STATUS.
        CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE'
             EXPORTING
                  IDOC_NUMBER               = IDOC_STATUS-DOCNUM
    *             IDOC_OPENED_FLAG          = ' '
    *             NO_DEQUEUE_FLAG           = 'X'
    *        importing
    *             idoc_control              = idoc_control
             TABLES
                  IDOC_STATUS               = L_IDOC_STATUS
             EXCEPTIONS
                  IDOC_FOREIGN_LOCK         = 1
                  IDOC_NOT_FOUND            = 2
                  IDOC_STATUS_RECORDS_EMPTY = 3
                  IDOC_STATUS_INVALID       = 4
                  DB_ERROR                  = 5
                  OTHERS                    = 6.
      ENDLOOP.
    ENDFUNCTION.
    Message was edited by: Kim Ternstrøm

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

  • IDOC_ERROR_ILLEGAL_TYPE in business connector 4.7

    Hi,
    IDOCS are being sent from sap system to Business connector and conversion to xml is done through bc services
    I am getting the following exceptions in business connector production server.I need to know the rootcauses of these exceptions and how they can be resolved
    2005-11-25 08:15:40 GMT 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)
    Regards,
    priya.

    I am with the same problem and it is apparently caused because the xml file is without encoding,

  • Business connector help

    Guy's
    i am new to business connector and need some help
    file which are easy to understand ,pls
    forward such file to my mail-id [email protected]
    ,point's will be rewarded

    Hi Sanju,
    <u><b>SAP BC:</b></u>
    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 <a href="http://www.sapgenie.com/mysap/bus_connector.htm">WHAT IS SAP BC ?</a>
    <u><b>
    SAP XI:</b></u>
    SAP Exchange Infrastructure (XI) enables you to implement cross-system business processes. The aim of the Exchange Infrastructure is to integrate different versions of SAP and non-SAP systems implemented on different platforms (Java, ABAP, and so on). The Exchange Infrastructure is based on an open architecture, makes uses of open standards (in particular those from the XML and Java environments) and offers services that are essential in a heterogeneous and complex system landscape: Namely a runtime infrastructure for message exchange; configuration options for managing business processes and message flow; and options for transforming message contents between the sender and receiver systems.
    For more information on the same see <a href="http://help.sap.com/saphelp_srm30/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/content.htm">SAP Exchange Infrastructure</a>
    I hope your doubt is clear now.
    <u>Also go through the following links:</u>
    http://www.sapgenie.com/mysap/bus_connector.htm
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/3f93404f673028e10000000a1550b0/content.htm
    Regards,
    abhy

  • Error when passing data to Business connector

    Hi All,
    I am getting the error (com.wm.lang.flow.FlowException: [B2BCORE.0049.9010] Service; An error occurred when executing a REMOTE FUNCTION CALL.) when i am passing data from a program to business connector.
    I have tested my connection in R/3 and business connector and the connection is fine. Can any one pls let me know how to handle this error.
    Thanks,
    Raju

    Hi
    Answer is pure assumption
    Pls check the following OSS notes
    (1) Note 412511 - IDocs with segment release 2 and MarketSet Connector
    (2) Note 407867 - IDoc segment release 2 (R/3 release < 4.0)
    Pls take opinion from SAP / BASIS before implementing the OSS note
    Regards
    Madhan D

  • NULL Value in SAP Business Connector  (BC47_CoreFix7 )

    Dear All,
    I am working with SAP Business Connector and some times i get NULL value in (PROXY SERVER) in Secure Proxy (HTTPS) so i need usualy to remove it manully and save the changes.
    Would you plesae help me to solve this issue either to delete automatically or to have any idea to prevent getting this NULL value.
    Thanks in advance..
    Message was edited by: Hassan Hakeem

    Dear,
    i need the answer ASAP pleasssssssssssse.
    Thanks..
    Message was edited by: Hassan Hakeem

Maybe you are looking for

  • How can I delete multiple files at a time from "Finder"

    I can't possible delete the thousands of junk files that showed up in Finder once I downloaded Maverick.  I can't delete more than one at a time now.  Why won't the highlighting stay in place on more than one file that I want to delete?

  • MM.MYSQL jdbc driver

    Environment: - mm.mysql-2.0.14-bin.jar; - JDK 1.4 - Tomcat 4 I've put the jar file in all places it is needed ($JAVA_HOME/jre/lib/ext - MyWebApp/Web-Inf/lib); My code: <%@ page import="java.sql.*"%> <%@ page import="java.util.*"%> <%@ page import="ja

  • Still Acrobat 5.0

    How can I upgrade it to the latest version?

  • Converting to CMYK color profile (for print) in raw format

    I am looking to self publish a cookbook in lightningsource. They need the photos in cmyk format. When is it best to convert to this color profile from rgb? I have bridge CS5 What I'm doing currently: I click on my .arw image file and select "open in

  • Secure Enterprise Search Quality Support  - job requirement

    Greetings!!! We currently have the following requirement for the experience Consultants with one of our fortune clients. Please respond if you have any consultants available with the skill sets mentioned below. Quality Analyst REQ: Location : Indiana