Excel Function to query BW using Web Services API

Hello,
I need to write an Excel function as an .XLA that will do the following:
It will be invoked like any other Excel function. E.g. =GetCost(param p1, param p2)
This function queries an InfoCube and must return a single numerical value for the Cell in Excel that the function is used in.
I have never done anything like this before. I have done a decent amount of reading to discover the best way to attack this. It seems like the best way to create this functionality is to:
1. create a web service in a BW function group with a function module that is RFC enabled.
2. I'm thinking the function module will use native SQL to query the InfoCube and pull the value and then somehow pass this value to a web service.
3. The value in the web service will be accessed through it's API in Excel/VBA.
I am not sure if this is best way to do this, or if it is even possible to do it this way. I was wondering if anyone could tell me if I am heading down the right path and possibly direct me to a tutorial or other information that would aid in accomplishing this. I have yet to find some type of proof of concept from beginning to end on how to do something like this. Any help would be greatly appreciated.
These are the documents I have found insightful so far:
How to build an XLA: http://www.fontstuff.com/vba/vbatut03.htm
If you can read a table and dump it into Excel then you can query an InfoCube? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c043d836-166c-2910-b99e-ae3633dec547
How to view a webservice homepage: http://help.sap.com/saphelp_nw04/helpdata/en/1c/472e22c45cc94599ab3725bc9558d2/content.htm
How to create a webservice:
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
What I am missing is how to pass data from the function module to the webservice, and from the webservice to the Excel/VBA code.
Thanks!
-Gary

/bump

Similar Messages

  • Query as a Web Service can't see .unx universes to use as data source?

    Hi,
    I created a Universe using Information Designer. The Universe is published on the server as *.unx.
    With Query as a Web Service Designer, I connect to the server to create a query. However, in "Choose a universe as a data source for the query", I do not see the *.unx Universes, I only see *.unv Universes.
    Both software are the latest version (XI 4.0).
    Anyone know what is the issue here?
    Thanks,

    Hi there,
    So in QaaWS tool, therefore, only UNV files are seen?
    Regarding going through WebI Rich client > Web Services, how do I generate a URL?
    In WebI Rich client this is already sourcing the Web Service (provided i already have a URL)...
    I am confused with this.
    Can someone please reply?
    Regards,
    Iris

  • Query for job status using Web Services in BODI

    Hello,
    I am starting a Batch job in DI using Web Services, getting the following response from DI:
    Code:
    <soapenv:Envelope
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Body>
            <BatchJobResponse>
                <pid>704</pid>       
                <cid>26</cid>       
            </BatchJobResponse>
        </soapenv:Body>
    </soapenv:Envelope>
    How can I know the status of the started job?
    How can I know if the job execution finished with success or not?
    I did not find in WSDL file any method to query for job or service status...
    Thank you in advance,
    Adrian Mitrica

    Did you ever get this figured out?  I am having exactly the same problem in code generated by VS, with the BAPIRET2 structure.
    Any help you could provide would be greatly appreciated.
    Thanks!
    Leighton Wingerd
    Adirondack Solutions, Inc.
    [email protected]

  • Query as a Web Service and In List

    Hi,
    Here is my scenario (Xcelsius 2008 Enterprise SP2):
    - List builder object which returns multiple values
    I want to use those values to filter a Query as a Web Service data connection (to BW based universe). How is that possible?
    My web service contains a Filter defined as <Dimension> In List <Prompt>
    I have tried the following:
    1) Selected multiple rows in the Input Values/Read From section of the connection
    2) Tried to concatenate the individual values using ; and , and then passing the concatenated values to the Read From section of the connection (as one cell)
    1) works fine as long as I just select one value, but when I select multiple values, only the first one is used to filter the QaaWS
    2) Does not work
    Any ideas/suggestion on how to solve this?
    Thanks in advance,
    Jacob

    Hello David,
    I tried this feature of BI Services through WebI Rich Client. But I am having problem with sending values for Prompts using Xceslius. Below is the procedure I followed in developing a report and using BI web service to connect to Xcelsius.
    1) Build a report in Web Intelligence rich client along with Query filters (Inlist, Optional Prompts).
    2) Activate BI Service and publish the block after exporting the file.
    3) Use the WSDL URL to connect to Xcelsius from Data Connection (Add as Query As Web Service and Import it).
    4) Method: Get_ReportBlock_<Block name>,
        set input values <Enter_value_s_for_prompt>
            i) Valueofprompt (bind to single values, hard coded)
           ii) Index (leave blank, not binded)
    5) set <refresh> as 1 (or true) and <getfromlatestdocumentinstance> as 0 (false)
    6) Bind the output values to excel and pull a scorecard component to view the data.
    7) Preview the dashboard and now I get this error
                    Cannot Access external Data: String index out of range: -1
    When I remove both the values inserted in step 5, I get complete data (prompt is not applied). I also have a doubt whether I can pass multiple values for the prompt without using + sign to duplicate the Prompt.
    From some of the previous posts I came to know about Value formatting compatibility issue between BI Services and Xcelsius. Which is addressed with two fix packs
    1) XI 3.1 SP2.5 (available since last March) for WebIntelligence Rich Client & BI Services, and
    2) Xcelsius 2008 SP3.1 (available since last April).
    Are these the up to date Fix packs available and will they solve my problem?
    Where can I download them from (SAP Market place)? or from our SAP service consultant?

  • Performance impact of using Web Services?

    As BEA and other vendors continue to add Web Services support
    to their enterprise software, what is your plan for
    quantifying the performance impact and the functional
    correctness of using web services before going live with the
    final application?
    Empirix is hosting a free one hour web event discussion on
    web services testing and automated web services testing
    solutions on Thursday, January 17, 2-3pm Eastern time.
    To sign-up for this web event or learn about other web
    events being offering by Empirix this month, go to:
    http://webevents.empirix.com
    For your convenience, here is the complete abstract:
    The advent of web services has brought the promises of
    integrating multiple software applications from
    heterogeneous networks and for exchanging information
    from vendor-to-vendor or vendor-to-consumer in a
    standardized way.
    As web service technologies are deployed within and across
    organizations over the next several years, it will be
    critical that web services undergo performance testing.
    As with any enterprise software project, the adoption of
    proper test methodologies and use of testing tools will
    play a key part in the overall success or failure of
    projects utilizing web services. In a compressed
    software project schedule, an organization must
    quickly determine if its web services will operate
    successfully under a variety of load conditions. Like other
    web-based technologies, successful web services will need
    to respond quickly and correctly when implemented.
    During our presentation, we will discuss the testing
    challenges created by this emerging technology, along with
    the variety of testing solutions available. Automated
    web service testing will be discussed and demonstrated
    using FirstACT, the first web services performance testing solution available
    on the market. Using a sample web
    service, automatic test case creation, scalability testing,
    and results analysis will be explored.
    If you wish to download FirstACT prior to the web event, you can do so at:
    http://www.empirix.com/downloads/FirstACT

    As BEA and other vendors continue to add Web Services support
    to their enterprise software, what is your plan for
    quantifying the performance impact and the functional
    correctness of using web services before going live with the
    final application?
    Empirix is hosting a free one hour web event discussion on
    web services testing and automated web services testing
    solutions on Thursday, January 17, 2-3pm Eastern time.
    To sign-up for this web event or learn about other web
    events being offering by Empirix this month, go to:
    http://webevents.empirix.com
    For your convenience, here is the complete abstract:
    The advent of web services has brought the promises of
    integrating multiple software applications from
    heterogeneous networks and for exchanging information
    from vendor-to-vendor or vendor-to-consumer in a
    standardized way.
    As web service technologies are deployed within and across
    organizations over the next several years, it will be
    critical that web services undergo performance testing.
    As with any enterprise software project, the adoption of
    proper test methodologies and use of testing tools will
    play a key part in the overall success or failure of
    projects utilizing web services. In a compressed
    software project schedule, an organization must
    quickly determine if its web services will operate
    successfully under a variety of load conditions. Like other
    web-based technologies, successful web services will need
    to respond quickly and correctly when implemented.
    During our presentation, we will discuss the testing
    challenges created by this emerging technology, along with
    the variety of testing solutions available. Automated
    web service testing will be discussed and demonstrated
    using FirstACT, the first web services performance testing solution available
    on the market. Using a sample web
    service, automatic test case creation, scalability testing,
    and results analysis will be explored.
    If you wish to download FirstACT prior to the web event, you can do so at:
    http://www.empirix.com/downloads/FirstACT

  • What is the best way to deploy application that uses web services?

    Hi all,
    I'm having some problems figuring out the best way to deploy our app now that we've switched over to using web services.
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like.
    Here's a little background:
    We have a large PowerBuilder/Oracle application. The db consists of over 500 tables and the client consists of several thousand PB components. A user creates "transactions" which contain a series of "sub-transactions" within. Most of the data is collected and stored locally in the client in a series of datastores. When the "finalize" happens, the records are validated and sent to the database.
    We are in the process of moving each of the subtransactions (currently in the PB client) into subPROCESSES on a java project. We are using the JAX-WS framework to develop the web services in Netbeans. These web services aren't much more than remote xml as the messaging technology. For writing data back to the database, we are using the Java Persistence API to function outside of an EJB container but will shortly be migrating to the Glassfish application server to use several of the EJB container frameworks including the EntityManager.
    We haven't attempted any type of deployment and are unsure of where to start. Any suggestions would be so helpful and appreciated!
    Thanks!
    Edited by: doubleEspresso on Jan 10, 2008 8:06 AM

    >
    I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like. >Correct, while Java Web Start has 'web' in the name, it has little if anything to do with web applications - certainly not providing much toward their installation. It is for launching rich client GUI based (AWT, Swing, SWT..) applications onto the end-user's desktop.
    There are some parts of JWS that might seem peripherally useful to the installation of a web-app., but it is really not a 'good fit'.
    >
    ..Any suggestions would be so helpful and appreciated!>You might try the forums for the 'web tier' APIs.
    <http://forum.java.sun.com/category.jspa?categoryID=20>
    Or perhaps the forum 'Java Technologies for Web Services' (under 'enterprise technologies')
    <http://forum.java.sun.com/forum.jspa?forumID=331>
    This one in 'BigAdmin' seems particularly relevant, 'Set up and Deploy'
    <http://forum.java.sun.com/forum.jspa?forumID=550>

  • Novice Help with Creating Opportunities Using Web Services 2.0

    Hello,
    I recently took over our CRM integration services and was asked to push some data via our custom portal.
    We use our portal to automate the creation of new opportunities in our Oracle CRM System.
    The code was developed using Web Services 1.0
    I was recently asked to add data to the "Parent Opportunity" field upon creation of a new Opportunity. Now I may be mistaken and if I am I will be very pleased, but it seems to me this field isn't available in 1.0
    If I am mistaken and there IS a way to push data to the "parent opportunity" field using 1.0 Please completely disregard what I have typed below.
    Upon looking at the WSLD for 2.0 I see "ParentoptyID" as an available field.
    I took it upon myself to try and move this process over to 2.0 but I have hit a few major stumbling blocks. Here is the working code for 1.0:
    Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal Account As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal AnnBudget As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal Territory As String, ByVal Owner As String, ByVal Opp As String) As String
    Dim opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
    Dim input As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
    Dim results As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
    Dim strPriority As String = "1-High,2-Medium,3-Low"
    Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
    Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
    CRMAddFinalShipmentOpportunity2 = ""
    ' Validate Data (CRM will validate if owner is valid)
    If Owner = "" Then
    AddError("Error: Missing Owner")
    Exit Function
    End If
    If Subject = "" Then
    AddError("Error: Missing Subject")
    Exit Function
    End If
    If strType.IndexOf(Type) < 0 Then
    AddError("Error: Invalid or Missing Type")
    Exit Function
    End If
    If strStatus.IndexOf(Status) < 0 Then
    AddError("Error: Invalid or Missing Status")
    Exit Function
    End If
    If strPriority.IndexOf(Priority) < 0 Then
    AddError("Error: Invalid or Missing Priority")
    Exit Function
    End If
    If Not IsDate(DueDate) Then
    AddError("Error: Invalid or Missing DueDate")
    Exit Function
    End If
    Try
    opportunity.Url = Session.GetURL()
    opportunity.CookieContainer = Session.GetCookieContainer()
    'Create the opportunity
    Dim tmpAry(0) As nkkcrm.SiebelOpportunity20.Opportunity
    input.ListOfOpportunity(0) = tmpAry
    input.ListOfOpportunity.SetValue(New nkkcrm.SiebelOpportunity20.Opportunity, 0)
    'Assign the opportunity Properties
    input.ListOfOpportunity(0).Owner = Owner
    input.ListOfOpportunity(0).OpportunityName = Subject
    input.ListOfOpportunity(0).AccountName = Account
    input.ListOfOpportunity(0).SalesStage = "Rebuy"
    input.ListOfOpportunity(0).CloseDate = Date.Today
    input.ListOfOpportunity(0).Territory = Territory
    input.ListOfOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
    input.ListOfOpportunity(0).SourceCampaign = "Rebuy"
    input.ListOfOpportunity(0).OpportunityType = oppType
    input.ListOfOpportunity(0).Revenue = AnnBudget
    input.ListOfOpportunity(0).Description = Description
    input.ListOfOpportunity(0).bRebuy = "Y"
    input.ListOfOpportunity(0).ProductInterest = partNumber
    input.ListOfOpportunity(0).plCurrency_Type = currency
    'input.ListOfOpportunity(0).ParentoptyId = Opp
    'insert the opportunity
    results = opportunity.OpportunityInsert(input)
    If results.ListOfOpportunity.Length > 0 Then
    CRMAddFinalShipmentOpportunity2 = results.ListOfOpportunity(0).OpportunityId
    End If
    Catch webex As WebException
    AddError(webex.Message)
    Catch ex As Exception
    AddError(ex.Message)
    End Try
    End Function
    What changes might I need to make in order to make this function correctly using Web Services 2.0?
    Currently I get the following errors- For every line of input.ListOfOpportunity(0) I get: '..cannot be indexed because it has no default property.'
    Another example of an issue I'm running into is: 'SetValue' is not a member of 'nkkcrm.SiebelOpportunity20.ListOfOpportunityData'

    We were able to make this work by re-modeling my code after a code sample I found that creates new Activities.
    Here's my code in case it helps someone scanning these forums in the future (Disregard the Opportunity entries that are missing when you compare this to my earlier code- Those weren't relevant to making this work or not work, I simply am not using them now.):
    Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Owner As String, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal POValue As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal servername As String, ByVal pass As String, ByVal usrname As String) As String
    'Get SessionID
    Dim sessionId As String
    sessionId = getSessionLogin(usrname, pass, servername)
    Dim Opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
    Dim OppInput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
    Dim OppOutput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
    Dim strPriority As String = "1-High,2-Medium,3-Low"
    Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
    Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
    'Validate Data (CRM will validate if owner is valid)
    If Owner = "" Then
    AddError("Error: Missing Owner")
    Exit Function
    End If
    If Subject = "" Then
    AddError("Error: Missing Subject")
    Exit Function
    End If
    If strType.IndexOf(Type) < 0 Then
    AddError("Error: Invalid or Missing Type")
    Exit Function
    End If
    If strStatus.IndexOf(Status) < 0 Then
    AddError("Error: Invalid or Missing Status")
    Exit Function
    End If
    If strPriority.IndexOf(Priority) < 0 Then
    AddError("Error: Invalid or Missing Priority")
    Exit Function
    End If
    If Not IsDate(DueDate) Then
    AddError("Error: Invalid or Missing DueDate")
    Exit Function
    End If
    'Instantiate OpportunityData
    Dim objListOfOpportunity As nkkcrm.SiebelOpportunity20.ListOfOpportunityData
    Dim objOpportunity As nkkcrm.SiebelOpportunity20.OpportunityData()
    Try
    objOpportunity = New nkkcrm.SiebelOpportunity20.OpportunityData(0) {}
    objListOfOpportunity = New nkkcrm.SiebelOpportunity20.ListOfOpportunityData()
    objOpportunity(0) = New nkkcrm.SiebelOpportunity20.OpportunityData
    'Assign the opportunity Properties
    objOpportunity(0).Owner = Owner
    objOpportunity(0).OpportunityName = Subject
    objOpportunity(0).AccountName = "UNKNOWN"
    objOpportunity(0).SalesStage = "Rebuy"
    objOpportunity(0).CloseDate = Date.Today
    objOpportunity(0).Territory = "North America"
    objOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
    objOpportunity(0).SourceCampaign = "Rebuy"
    objOpportunity(0).OpportunityType = oppType
    objOpportunity(0).Revenue = POValue
    objOpportunity(0).Description = Description
    objOpportunity(0).bRebuy = True
    objOpportunity(0).ProductInterest = partNumber
    objOpportunity(0).plCurrency_Type = currency
    'Connect the Opportunity to ListOfOpportunity
    objListOfOpportunity.Opportunity = objOpportunity
    'Connect ListofOpportunity to Input Parameter
    OppInput.ListOfOpportunity = objListOfOpportunity
    Opportunity.Url = servername & "/Services/Integration;jsessionid=" & sessionId
    'Opportunity.CookieContainer = Session.GetCookieContainer()
    Opportunity.OpportunityInsert(OppInput)
    Return "success"
    Catch webex As WebException
    AddError(webex.Message)
    Catch ex As Exception
    AddError(ex.Message)
    End Try
    End Function
    Public Function getSessionLogin(ByVal usrname As String, ByVal pass As String, ByVal servername As String)
    Dim loginurl As String = servername & "/Services/Integration?command=login"
    'MessageBox.Show(loginurl);
    Dim req As HttpWebRequest = DirectCast(WebRequest.Create(loginurl), HttpWebRequest)
    ' username and password are passed as HTTP headers
    req.Headers.Add("UserName", usrname)
    req.Headers.Add("Password", pass)
    ' cookie container has to be added to request in order to
    ' retrieve the cookie from the response.
    Dim cookie As Cookie
    req.CookieContainer = New CookieContainer()
    ' make the HTTP callby
    Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
    If resp.StatusCode = System.Net.HttpStatusCode.OK Then
    ' store cookie for later...
    cookie = resp.Cookies("JSESSIONID")
    If cookie Is Nothing Then
    Return "invalid session"
    End If
    Return cookie.Value
    Else
    Return "invalid session"
    End If
    End Function

  • How can I test my Query As A Web Service?

    Hi,guru:
        I have created my Web Service based on universe which based on SAP BW query using Query As A Web Service Designer, but when I use it in Dashboard on BOBJ platform by passing a parameter to the Web Service, it seems no response from the Server,I made 2 test steps:
        1.Pass a value to the input parameter,I checked by ST01 in BW Server and see no records of the action, and no result return.
        2.Pass a blank to the input parameter,I checked by ST01 in BW Server and got many records,and all data be retrived.
        It seems that when I passed the parameter,the Web Service seems no response and didn't run at all. Is there anybody who can tell me how can I test the Web Service,I want to test it and input my parameter.
        Thanks very much for your quick response.
    Best Regards
    Martin Xie

    Hi Martin,
    Check the following link which might be helpful:
    1657208 - "No object returned; you either have not put objects in the result pane or your query is incorrect" when using QAAWS and KEYDATE variable in BI4.x
    How to use Prompt in xcelsius of BIWS
    Regards,
    Noopur

  • % Wildcard selection - extract data via Query as a Web Service

    Hello all,
    I am using Query as a Web Service to extract data through to my Xcelsius document. I have a series of charts that display summed data according to user selections within some combo boxes.
    Is there any way to send through a wildcard selection, i.e. pass a " like '%' " query string somehow through to the database?
    With the query that I have created:
    I have a measure value returned
    I have 4 filter objects
    I have selected the "Prompt" option for each
    Within the Data Manager, the prompt fields are assigned to cells which reference the combo box selections
    When I build the query, the selections available are many (equal to, not equal to, greater than, greater than or equal to, etc), but there is no 'like' comparison.
    Alternatively, is there a way that I can pass the selected parameter values, including " like '%' " if no value is selected within a dropdown, to the original measure calculations within the universe?
    I hope this makes sense, let me know if I need to clarify anything. Any help would be very much appreciated.
    Cheers,
    Marco

    Very easy solution - select 'matches pattern' within the filter objects selection when building the query.
    Don't know why I didn't try this earlier.

  • How to use web service in ECC 6.0

    Hi.
    I found some WSDL in "SDN ES Workplace".
    Anybody know how to use this WSDL ?
    For example, I want to use 'Query Sales Order' web service and I found WSDL in "SDN ES Workplace".
    What's next step to use this web service ?
    Regards, Arnold.

    Hi Austin,
    Link provided for mySAP ERP Enterprise Service Package ECC-SE 600, does not work. My company is SAP customer and I am SDN member.
    Do I need some special login or membership to download ES packages?
    I also understand that I can access the Enterprise Service from the ES Workplace (implementation) and for that I have to Apply For an Account. I applied for an account at this link https://www.sdn.sap.com/irj/sdn/esareg .
    After applying for an Account should be getting an email with user Id/password OR I can use the my Service Market Place ID?
    Tried entering the my service market place Id, does not work.
    Thanks,
    Abhay

  • MDX Driver WIS 10901 Error in Query as a Web service Tool

    Hello,
    I'm trying to design the query as a web service to use for Xcelsius Dashboard (created connection, universe etc in Designer), but can't proceed with query definition - it's only possible to put one characteristic otherwise error WIS 10901 is triggered. Everything works fine with data based on cubes and some other queries.
    Couldn't get help anywhere:
    Here is the same error described in detail - people from SAP solved it, but the solution wasn't described->
    http://www.forumtopics.com/busobj/viewtopic.php?p=609845&sid=648088000ad779a259f6347e5241bbfc
    thanks in advance
    Lisa

    Hi Mark,
    Sorry for late,
    Actually the problem is in QAAWS. I can see the Universe created in QAAWS but when try to see the output bydropping the fields into the output box in QAAWS then I am getting the data base error WIS : 10901
    Actually I want to know how to design the output of the query(Universe) called in QAAWS.
    Thanks,

  • Multiple List Builder and Query As A Web Service Problems

    Hi All,
    I quickly became aware that trying to pass multiple parameters to "Query As A Web Service" from a "List Builder" object in Xcelsius was not a simple task to acheive after reading this post here :-
    Query as a Web Service and In List
    I followed the advice that David Brunner suggested towards the end of the thread about creating a "BI Service" by publishing a block from a Webi Rich Client report.
    I then referenced the newly created "BI Service" by using it's WDSL URL through the Xcelsius Data Manager - Query As A Web Service connection.
    Everything appeared to work fine (e.g. Did my selections from the last builder and got refreshed/changed figures in my Spreadsheet Table object in the Dashboard) until I realised figures in my dashboard were not reconcilling and appeared much lower than expected.
    After monitoring what was happening traffic wise with "Fiddler 2" I discovered that Xcelsius was only passing the first entry in each of the selected values for the list builder even though a range of cells (e.g Month_Year!$a$2:$a$13) was specified to be passed as an input parameter to the BI Service (confirmed through viewing the Input/Output XML being sent).
    I even tried specifying the multiple values in the different suggested ways that David Brunner advised such as a semi colon delimited list (e.g. Miami;Boston;Chicago) but this didn't appear to be working either.
    Can anyone suggest what I may be doing wrong here? Why is only the first value being passed?
    I am using Xcelsius Enterprise 2008 SP3.
    Many Thanks,
    Gary
    Edited by: Gary Scott on Dec 1, 2010 3:49 PM

    Hi Gary,
    I have the same problem. Have you found any solution?
    Thanks.
    EZ

  • Query as a web service Sorting issue

    Hi All,
    We have designed an existing BI query as a web service but it seems to be ignoring the Sort order of different characteristics used (as defined in Bex Query Designer).
    Using the Context menu in QAAS and defining/managing the Sort is not working.
    Has anyone experienced such an issue and how to handle this?
    Thanks and Regards,
    Bansi

    Hi All,
    You can try this solution. It has something to do with the universe parameter, END_SQL.
    I implemented this as a work around and it solved our problem about the sorting issue with QAAWS.
    Here are the steps:
    1: Open the universe
    2. Ope File,  then Universe Parameter
    3. Click the parameter tab
    4. Scroll down until you see the 'END_SQL' entry. This entry is blank by default.
    5. Select END_SQL
    6. On the VALUE box, type: ORDER BY 1
    7. This will enable the REPLACE button. Click REPLACE
    8. Save the universe
    9 Test a query using 2 columns and view the SQL.
    You should see now the ORDER BY 1 inferred in the SQL statement.
    Voila!!!!
    Of course you can always add ORDER By 1,2,3 later if there's a need.
    Enjoy.....
    Ferdinand

  • Issue using web-service with forms9i

    using web-service with forms9i
    Hi
    I have a setup of oracle9ias release 2 on solaris machine. I have made a web-service which is deployed on nt machine on weblogic server. I have made a call from my form (forms9i) to this web-service. When i try to use that web-service after deploying my form on solaris, it initializes the web-service and performs the action successfully. Now the problem is that my form also makes a call to report server to generate a report. The problem is when i initialize the web-service and uses its function it works but after that making a call to report server will fail. Also if i make a call to report server first, it generates the report and then i make call to the web-service, then that web-service fails to run. And in both cases, the forms application stops saying session has aborted.
    Why cant i make call to both the things in one session of application? What could be the reason for that? Need help urgently.

    Sorry,
    I didn't know that this was necessary to find a solution.
    Here are the definition out of the WSDL File:
    <xsd:complexType name="ZS_EQART_RANGE_LINE">
         <xsd:sequence>
              <xsd:element name="SIGN" type="tns:char1"/>
              <xsd:element name="OPTION" type="tns:char2"/>
              <xsd:element name="LOW" type="tns:char10"/>
              <xsd:element name="HIGH" type="tns:char10"/>
         </xsd:sequence>
    </xsd:complexType>
    Thanks for Help
    Ron

  • How to use web services in Excelsius 2008

    I am new  to this tool. I have trial version on excelsius 2008 and i would like to build a dashboard that should query our corporate database (in oracle). I think web services is a option to do it.  Any samples available?.Please help me
    Edited by: AshishDatar on Jul 27, 2009 6:29 PM

    Hi AshishDatar:
        For you question you want to get data from data base using web service connection. Here I can give you some suggestions
    1.Write a web service to retrieve data from data base, then use Xcelsius u201Cweb service connectionu201D under u201CManage Connectionu201D section to consume the service and get the data from data base to spread sheet.
    2.Xcelsius also provide you a tool to generate web service with easy way (without coding). (Suggested)
    Using flynet, you can get flynet installation file under Xcelsius installation folder u201CXcelsius\Connectivity\Flynet Webservice Generatoru201D for more information about flynet please refer to
    http://myxcelsius.com/2008/11/07/generating-web-services-for-xcelsius-using-flynet-web-service-generator/
    Here is also a demo on how to use  web service conneciton with Xcelsius + Flynet
    https://businessobjects.webex.com/ec0600l/eventcenter/enroll/register.do?siteurl=businessobjects&formId=50213992&confId=50213992&formType=1&loadFlag=1&eventType=1&accessType=
    Hope it helps with your work! And let me know if you need any further help.
    Thanks!
    Bill
    Edited by: Bill Xu on Jul 28, 2009 8:02 AM

Maybe you are looking for

  • How to edit the properties for existing variables in BEX query, so that I can get multiple input selections

    Dear fellow developers, I'm trying to edit an existing variable using BEX query, so that it can allow multiple input selections. As you can see in the screenshot attached, the option is selectable during creation. However, during editing of an existi

  • How to get a adf text area width using javascript

    hi i have to catch different input text width(i.e 30px,500px.etc) dynamically using javascript(adf:clientListner) Thanks and regard B.Maheswara Reddy

  • How do I stop the Menu audio from restarting with each selection?

    I have modified an Encore (CS4) menu in Photoshop so that it has 10 animating video thumbnail buttons, a 1:30 music file, subpictures on the thumbnails to highlight what is selected, and I routed the buttons to go in the order I wanted.  When I initi

  • Buggy Component Inspector window

    This has been an insane issue for years now and I was hoping they'd fix it by now, but no. When you adjust the columns in the Component Inspector window, then try to adjust a parameter, then the inspector scrolls you like 200 pixels out to the right

  • Use a motion board for a servo valve

    Hi!    I'm developing an application to control an hydraulic servovalve with feedback. I already have a motion board and I'd like to know if and how is possible to use the PCI-73xx servo board to control a servovalve 'cause it don't work in speed but