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

Similar Messages

  • 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

  • HT1476 my iPhone 4 will no longer charge. It is also not recognised in iTunes. There seems to be a problem with the connector slot. I've tried other cables and other computers/plugs but the connection is not being made. Any suggestions?

    my iPhone 4 will no longer charge. It is also not recognised in iTunes. There seems to be a problem with the connector slot. I've tried other cables and other computers/plugs but the connection is not being made. Any suggestions?
    It seems to me that the connection port is faulty.
    George

    Looks like a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • URGENT :   EP 7.0 /ECC 5.0  -   Problem with Business Package : ESS/MSS

    Dear Portal Gurus,
    We are facing a problem with business package for ESS/MSS
    Our system Info is as under :
    Portal:- NW 2004s
    ERP2004: - (R3 ECC 5.0)
    ESS:- BP for Employee Self-Service (mySAP ERP 2004) 60.2
    MSS:- BP for Manager Self-Service (mySAP ERP 2004) 60.1.1
    SAP XSS  à (SAP ESS 100, SAP MSS 100 and SAP PCUI_GP 100 , all upto SP 12)
    After the Business Packages were installed,found that some  ess apps where not deployed...so manually deployed it.
    The JCO connections are OK.
    Do we need to set up the backend Homepage Framework for the same......even for preview.....was thinking not.
    Also, here is the error and exception that we get when we preview any ESS iview.
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:234)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:159)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:183)
    Thanks.
    Message was edited by: Ashutosh Rana

    I got the same problem :/
    not the authorization, but the fields in working time is displaying wrong.. (too big)
    Any solution to this?
    Best Regards
    Kristoffer Engh

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

  • Problem establishing Business Connector 4.8 and R/3 connection

    Hello,
    I'm currently running a few SAP Business Connectors 4.7 servers for my company, all connected to SAP R/3 4.7 backend, and everything works fine.
    I tried to setup the new BC 4.8, on a fresh Windows 2003 server, the install went fine, but when I try to make a new R/3 connection, with a working and existing RFC user (previously used by the former BC 4.7), I have the following error message :
    Error : class com.sap.conn.jco.JCoRuntimeException
    Message : Name or password is incorrect. Please re-enter on 192.168.0.4 sysnr 00
    Service : sap.admin.server:getInfo
    I don't understand because if I unplug the 4.8 server and plug back the 4.7 one with exactly SAME user/password and same R/3 connection properties, it works fine...
    I precise I re-typed manually the login/passwords in both BCs to ensure it's not due to a typo error.
    I have read that JCO has changed between 4.7 and 4.8 releases. Could it have an impact ? Also do I still need to install a librfc32.dll in my windows/system32 directory ?
    Any clues ?
    Thanks in advance for your help
    P.
    Edited by: Patrick TOURNEUR on Jul 21, 2008 6:40 PM

    Hello,
    just for your info, the JCo implementation has changed about this login function. BC 4.8 is using JCo 3, 4.7 used JCo 2.
    I never understood the whole problem completely, but as you found out by yourself, you are safe if you enter the user/pwd in SAP only uppercase, and also in BC
    SAP changed this user/login up/lowcase stuff at some time, which has caused many trouble in projects.
    CSY

  • 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

  • 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

  • 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

  • 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

  • Problem with busy cursor

    IHey there,
    i have a popping up window in my Flex app. This window needs a little time to get created. In this time I want to set the Cursor to busy. But instead of the busy cursor Flex displays no cursor, also the arrow cursor disappears.
    I tried the hack with callLater but it doesn't help. Had anyone a similar problem and knows how to fix it?
    By the way: What is the best way to set the busy cursor? Static, with the parentApplication.cursoManager property or in the component with this.cursoManager? All of these ways have the same result on my problem: no cursor!
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork() {
        // DO WORK AND ADD POPUP
        this.cursorManager.removeBusyCursor;
    I checked the right timing with trace statements [ trace("setBusy") ... ] and the also cursor comes Back when work is done and popup was added. All right and in right time. But the cursor disappears in that time instead of showing the busy cursor.
    Can anybody help me???

    I see there are problems with reading the code, try again:
    click on a item (own component, extended Canvas, buttonMode = true)
    call function by MouseListener
    function {
        this.cursorManager.setBusyCursor();
        this.callLater(doPopUpWork);
    callLater function
    doPopUpWork {
        // DO WORK AND ADD POPUP
        this.cursoManager.removeBusyCursor();

  • Problem with Business Partner List - State

    I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
    Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
    Thanks,
    Mark

    No. Different state name but same state code.
    Ex:
    GA - Georgia in USA
    GA - Galapagos Islands in Galapagos Islands
    When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia.

  • Problem with business rule

    Hi all,
    I have a problem with a business rule (BR) deployed as a standalone Descision service.
    the BR consists on a simple decision table wich compare an input (bigInteger) with 50. It returns two facts (as output).
    the two conditions are confugured (i.e. <50 and >=50).
    the Decision service (stateless) is called in a simple BPEL process. in some cases the the assign activity in the bpel process rise this exception :
    <bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result. The XPath variable or expression /ns5:callFunctionStatelessDecision/ns5:resultList/ns6:processResponse/ns6:CodeRetour is empty at line 440. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary></part></selectionFailure></bpelFault>
    it seems like an output of the business rule used by the assign after the invoke activity is empty.
    But in the input payload for the decision service all elements are not empty. I can't inderstand how the OBR return an empty variable?
    Any help please?

    In the taskflow you should be capable to trace step by step what happens in the execution. Does this give any clue, e.g. why sometimes the assert does not work?
    cu
    Andreas

  • Problem With Business Object and printing job

    Hello,
    We are encountering a problem with the application "Business Objects FINANCE", and we would need your help quickly.
    In the application , itu2019s impossible to print Consolidated Subsidiaries nor the Securities Held. If we try so, the application freezes and we can't do anything but killing the application via the task manager.
    Though, other states can be printed without problem.
    We tried on several different PCs, and the problem occured equally on each one.
    The version installed is 10.5, and we can do any tests that you think would be useful to diagnose problem.
    Our society is AUBAY SA, and our credential to enter in your support website are : S0005386617
    In attachment youu2019ll find a screenshot of the event viewer from the server where the application is install.
    Thanks in advance for your answer,
    best regards.

    check the export parameters of the event triggering workflow.
    If there is a problem, try instantiating the object in your wf based on the key.
    Also check if the wf is able to import the data.
    regards,
    Sandeep Josyula

  • Problem with Business object attributes in UWL Workitem description

    Hi All,
    I have developed a workflow which sends the workitem for two level approvals. Once the workflow is triggered workitem sent to the respective user for approval. When user opens the workitem in inbox he can see all the data which comes from the 'Z'  Business object in R/3 and he can approve the same. Everything works fine when this process happens in R/3 system.
    The problem comes when user opens this workitem in UWL or this workitem is sent to user mail ID executing  'SWN_SELSEN' report, all the attributes of the business object are displayed in the workitem description  except 2 . These are the Minimum annual salary(GRMIN) and  Maximum annual salary(GRMAX) fields from 'T510N'  table.
    Regards,
    Vaishali.
    Edited by: vaishali rautray on Dec 24, 2008 7:52 AM

    Hi Saumya,
    Thanks for the quick reply.
    For storing the Minimum and maximum annual salary values I have created two attributes in the business object which are referring to database fields. T510N is a customizing table. I could see the values for the same, if I test the Business Object or Trigger the w/f in R/3 and check the approval work item in R/3. These values disappears only in case of web interfacing i.e. If I send the same work item to outlook mail or check it in UWL.
    I had checked the same and thought if there is any problem with BO or some other processing takes place before these values are retrieved. But I wonder why this happens only if I process the work item outside R/3 system?
    Regards,
    Vaishali.

Maybe you are looking for

  • How do I select a row from the middle of a recordset?

    UserID QuestionID Answered 10 9 N 10 8 N 10 7 N 10 6 N 10 5 Y 10 4 Y 10 1 Y From the table sorted by QuestionID DESC, how do I select the first row from the bottom going up with Answered value equal to 'N'? Which in the example above would be: 10 6 N

  • How to increase my internal speaker loud

    product name ; apple speed ;  1.4 GHz Intel Core i5 memory and storage capacity 4 GB 1600 MHz DDR3.... my laptop is runing OS X YOSEMETI   graphics ;Intel HD Graphics 5000 1536 MB the problem of my laptop is that my macbook isnt sounding as it should

  • Insert values - with a trick! (multi-step sequences?)

    I have a table with 4 columns which I need to populate with values. The values respect a repeating pattern which is different from one column to the next. Column 1: has values starting with 1 and ending with 10, repeating 16200 times. That's easy to

  • Restriction in select command

    in a alv report i have used select statement on 2 columns say crtno , range to select entries from a table1 db. and i want to select again crtno (with few same entries) from another table2 in db. what i want is to EXCLUDE earlier selected entries in

  • I upgraded to OSX mountain lion and now the scroll bars on every screen are not there unless I stretch the screen - help

    can anyone tell me why I can no longer see the scroll bar to the right of the screen unless I stretch the screen but it fades in and out instead of always being there to scroll down