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

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

  • Error message when calling a Business Connector RFC destination from SRM

    Hello all,
    We are facing one problem with data Purchase Order transmission between SRM 5.0 (SRM_SERVER 5.5, extended classic scenario) and Business Connector 4.7.
    We made needed customizing in order to have "XML / XI" output medium available in tab 'Company Data' in "Manage Business Partners" web transaction (by updating BBP_USE_AI table in SM30 transaction).
    Then, we implemented BAdI definition BBP_EBPXML_OUT_BADI with method PURCHASEORDER in order to change XI system type to Business Connector.
    In this way, PO transfer data between SRM and BC is done using BC Module Function BAPI_POEC_XML_SEND (TCP/IP RFC connection was defined for Purchase Order in BBPC_RFCDEST table).
    Nevertheless, even if method BBP_PO_SEND_XML is correctly triggered when PO is created with a vendor with XML output medium, we have in the document output log ("Process Purchase Order" web transaction) an error message:
    ' Error (Unknown Partner and Message Type. Routing Rule created. Sender: SMR Receiver:) when calling RFC destination BC '
    where SRM is the SRM log. sys. and BC the Business Connector log. sys.
    Our EAI team is working on it, but if you have any idea, your are welcome !
    Thank you in advance.
    Regards.
    Laurent

    Hello Christian,
    Thank you for your help. However, we abandoned this solution between SRM and Business Connector.
    So, we followed instructions indicated in OSS note 883693 - "ECS: PO output determination in R/3".
    Nevertheless, in order to restrict this behaviour for specific vendors and purchasing organizations, we added some filters.
    It is working fine.
    However, when the PO is modified in SRM, then order again, PO is modified in R/3 (by the RFC user from SRM) more than once.
    As a consequence, we have as much messages as modifications of the order in R/3 (due to multiple RFC access with the SRM RFC user).
    Does anybody have an idea to have only one R/3 output message when the PO is modified in SRM ?
    One solution could be to check in the NAST table if the time creation of the last output message is lower than, for example, one minute.
    If it is the case, we do not allow R/3 ouput message.
    Any suggestions is welcome.
    Regards.
    Laurent.

  • 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

  • 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

  • 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

  • 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

  • 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

  • BAPI call with JCO too slow

    Hello everybody,
    I have an application which a call a BAPI in an ECC System. This BAPI is a specific one, and it is developed in Batch input to create a Billing document from a sales order.
    This call take too much time and my java program don't wait for the answer of it. I have done some performance check on the program and this call take more of 1 minutes to finish.
    Here is my program :
                   //-Fill the entry parameter-
                   //Import parameter
                   paramImport = function.getImportParameterList();
                   paramImport.setValue(SalesOrder, Constants.IV_VBELN);
                   //Define Export parameter list for the returning Data
                   paramExport = function.getExportParameterList();
                   //Execute the BAPI
                   client.execute(function.getName(), paramImport, paramExport);
    The fact it is developped in Batch input could be a problem ? Tell me if there is a solution to speed up the process or to say to my java program to wait until the answer of the BAPI.
    Thanks.

    Hello Sir,
    I am a student who is pursuing a project that deals with JCo 3.
    I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
    Kindly, try to shed some light on following question:
    Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
    I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
    when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
    I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
    Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
    know how to run the SAP JCo program.
    Your guidance will be highly appreciated
    -Thanks
    -Dmukhi

  • 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

  • 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

  • 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

  • Business Connector 4.7

    Hi,
    I am SRM Consultant and not so specialized with XI or Business Connector.
    I am working with a customer on SRM 4.0 / CCM 2.0 / Business Connector 4.7 ( standalone scenario ).
    We need to have "contract catalogs" in our system ( CCM 2.0 )
    So it is important that our contract data in SRM 4.0 will be changed into XML and send to CCM 2.0 Catalog.
    This should be done by Business Connector 4.7
    I know, that this works with XI - because there appears a flag " Distribute to Catalog" in SRM 4.0.
    But how could this work with Business Connector?!
    Would be glad, if someone could give me a hint.
    Thanks and Regards,
    J.H.

    Hi,
    I know that Business Connector is antiquated - but the customer works with that.
    XI seems to be the future - but it is expensive too.
    So - I´ve to find out how it works.
    I think I will try to find an BAPI, which mapps the data into XML and send it to BC.
    Can anybody tell me what is a "BAPI Driver". I found some of this and they all call up the Business Connector.
    Best Regards
    J.H.

Maybe you are looking for

  • Date format in the Web layout of Oracle 10g Reports

    Dear all, I want to change the date format in the oracle reports. I am using weblayout & paper layout. I have changed format mask using property inspector. It appears in paper layout. How can i get in the weblayout, please help me. With Regards, Srin

  • How to view JPEG in LR5

    I just loaded lr5 with the library on my HD, and all Raw and JPEG images show nicely in the library pane, but no JPEG image will open in the develop module.  The notice "THIS FOLDER COULD NOT BE FOUND" is displayed. (and yes, i checked the box in gen

  • Question / Suggestion - OrderBy (Sorting) Feature by Clicking.

    Maybe there is a way to do this and someone can fill me in, or maybe this will be another suggestion for consideration. When I open a connection to an oracle DB, then click on a specific table. A worksheet popups with Columns Tab in focus. I'd like t

  • Import SWCV in Repository - 403 Unauthorized

    Hi all, i have a question again. When i am trying to import a software component from sld in the design time repository i get the following failure message: SAP NETWEAVER 2004S: ABAP Server Error when updating Product Version Cause: HTTP response cod

  • Sending pics by mms

    I am trying to send pics by mms. Only 2 out of every 10 or so that I send make it to the person I am sending them to. Can anyone please tell me what I'm doing wrong?