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

Similar Messages

  • Query as a web service- External Datas

    Hello,
    I would like to implement external data in "Query as a Web Service".
    For example, stock quotes or news. Can you give me sources where I get several free information?
    Thanks for the help
    Danny

    Hi,
    Hope this thread helps in answering your query.
    Stock Quotes from Web

  • 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

  • Error trying to extract data via HFM objects

    I've written a program to extract selected data from HFM (version 11.1.1.3.500) using the API objects. The program (shown at the bottom of this post) is failing on the 2nd of the following 2 lines:
    oOption = oOptions.Item(HSV_DATAEXTRACT_OPT_SCENARIO_SUBSET)
    oOption.CurrentValue = lBudgetScenario
    where oOption is a data load/extract object previously initialized and lBudgetScenario is the long internal ID for our budget scenario.
    The error is usually "COM Exception was unhandled" with a result code of "0x800456c7", but, mysteriously, even with no code changes, it sometimes throws the error "FileNotFoundException was not handled", where it says that it could not load "interop.HSXServerlib or one of its dependencies". The second error occurs even though HSXServer was previously initialized in the program and used in conjunction with the login.
    I've carefully traced through the VB.NET 2010 code and find that all relevant objects are instantiated and variables correctly assigned. It also occurred to me that the data load DLLs might have been updated when the 11.1.1.3.50 and 500 patches were applied. For that reason, I removed the references to those DLLs, deleted the interop files in the debug and release folders and copied the server versions of those DLLs to my PC. I then restored the DLL references in Visual Studio which recreated the interops. However, the error still occurs.
    The ID I'm using (changed to generic names in the code below) has appropriate security and, for example, can be used to manually extract data for the same POV via the HFM client.
    I've removed irrelevant lines from the code and substituted a phony ID, password, server name and application name. The line with the error is preceded by the comment "THE LINE BELOW IS THE ONE THAT FAILS".
    Imports HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION
    Module Module1
    Public lActualScenario, lBudgetScenario As Long
    Public oClient As HSXCLIENTLib.HsxClient
    Public oDataLoad As HSVCDATALOADLib.HsvcDataLoad
    Public oOptions As HSVCDATALOADLib.IHsvLoadExtractOptions
    Public oOption As HSVCDATALOADLib.IHsvLoadExtractOption
    Public oSession As HSVSESSIONLib.HsvSession
    Public oServer As HSXSERVERLib.HsxServer
    Sub Main()
    'Create a client object instance, giving access to
    'the methods to logon and create an HFM session
    oClient = New HSXCLIENTLib.HsxClient
    'Create a server object instance, giving access to
    'all server-based methods and properties
    oServer = oClient.GetServerOnCluster("SERVERNAME")
    'Establish login credentials
    oClient.SetLogonInfoSSO("", "MYID", "", "MYPASSWORD")
    'Open the application, which will initialize the server
    'and session instances as well.
    oClient.OpenApplication("SERVERNAME", "Financial Management", "APPLICATION", oServer, oSession)
    'Instantiate a data load object instance, which will be used to extract data from
    'FRS.
    oDataLoad = New HSVCDATALOADLib.HsvcDataLoad
    oDataLoad.SetSession(oSession)
    'Initialize the data load options interface.
    oOptions = oDataLoad.ExtractOptions
    'Find the internal ID numbers for various scenarios and years.
    'These are required for HFM API function calls.
    lActualScenario = GetMemberID(DIMENSIONSCENARIO, "Actual")
    lBudgetScenario = GetMemberID(DIMENSIONSCENARIO, "Budget")
    'Construct file names for open data.
    strFileName = "c:\Temp\FEWND_BudgetData.dat"
    strLogFileName = "c:\Temp\FEWND_BudgetData.log"
    'Extract data for the current open cycle.
    ExtractData("Budget", BudgetYear, "Dec", strFileName, strLogFileName)
    End Sub
    Sub ExtractData(ByVal strScenario As String, ByVal strYear As String, ByVal strPeriod As String, _
    ByVal strFileName As String, ByVal strLogFileName As String)
    'Populate the Scenario element.
    oOption = oOptions.Item(HSV_DATAEXTRACT_OPT_SCENARIO_SUBSET)
    If strScenario = "Actual" Then
    oOption.CurrentValue = lActualScenario
    Else
    'THE LINE BELOW IS THE ONE THAT FAILS
    oOption.CurrentValue = lBudgetScenario
    End If
    End Sub
    Function GetMemberID(ByVal lDimID As Long, ByVal strMemLabel As String) As Long
    Dim oMetaData As HSVMETADATALib.HsvMetadata
    oMetaData = oSession.Metadata
    oEntityTreeInfo = oMetaData.Dimension(lDimID)
    GetMemberID = oEntityTreeInfo.GetItemID(strMemLabel)
    End Function
    End Module

    I stumbled upon the solution to my problem. The documentation for extracting data via objects defines member ID variables as Longs. In fact, I've always defined such variables as longs in previous object programs and had no problems. It appears that the datal load/extract "option" property of "Currentvalue" is defined as integer. When I changed all of my member ID items (such as the "lBudgetScenario" variable that was the right-side of the failing assignment statement) to be integers, the program worked.

  • How to extract data via webservices and configure webservices in BI 7

    Hi to all,
    Can any body tell me How to extract data via webservices and configure webservices in BI 7.
    i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
    i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
    please can any body tell how to do that.
    also how to configure the webserive , what is it .
    I SHALL BE THANKFULL TO YOU FOR THAT
    Regards
    Pavneet rana

    Hi,
    1. Using the function library (transaction SE37), call the Web service creation wizard.
    To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
    2. Go through the following steps, shown in the wizard:
    a. Create a virtual interface.
    The virtual interface represents the interface between the Web Service and the outside.
    b. Choose the end point.
    The name of the function module that is to be offered as Web service is already entered here.
    c. Create the Web service definition.
    The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
    d. Release the Web service.
    The wizard generates the object virtual interface and Web service definition in the object navigator.
    The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
    The Web service is released for the SOAP runtime.
    3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
    A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
    If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
    a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
    b. Choose Change in the context menu for the virtual interface.
    c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
    d. Activate the virtual interface.
    Regards,
    Marasa.

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

  • 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

  • Java.lang.NullPointerException while creating virtual classroom via Adobe Connect 9 Web Services

    Hello all, I am trying to create a virtual classroom via Adobe Connect 9 Web Services with the code below.
    https://XXXXXXXX.adobeconnect.com/api/xml?action=sco-update&type=virtual-classroom&name=My Virtual Classroom&folder-id=1358451232&date-begin=2014-01-02T10:00&date-end=2014-01-02T11:00
    And the result below:
    <results>
    <status code="internal-error">
    <exception>java.lang.NullPointerException</exception>
    </status>
    </results>
    What could be the reason of this problem? I need your help.

    Hi Teomanx
    To create a virtual classroom, you have to give type=meeting & icon = virtual-classroom. So the correct syntax is :
    https://XXXXXXXX.adobeconnect.com/api/xml?action=sco-update&type=meeting&icon=virtual-clas sroom&name=My Virtual Classroom&folder-id=1358451232&date-begin=2014-01-02T10:00&date-end=2 014-01-02T11:00.
    Hope that helps.
    Thank you

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

  • Query as a web service question

    I have a QAAWS problem. BO XI 3.1, Xcelsius 2008 version 5.2.1.0
    I need to send 5 product names (user can select 1 to 5 products from a list) and display corresponding market share values I obtain from QAAWS.
    Created a query with Product names as prompt, returning market share. In prompt options, I selected
    "Prompt with list of values" and "Optional Prompt".
    in Xcelsius, when I created the connection, I select 5 columns as input from prompt (my product names). I selected the column from Input values, "Read From" and gave 5 columns in sequence.
    the problem:
    However, when I execute the query, I get only the market share of the first product returned.
    I know that QAAWS can take multiple prompt  from different columns. Is this because of Universe settings? or my option settings are in correct?
    Any help will be highly appreciated.
    Edited by: GopNair on Nov 11, 2009 8:26 PM

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • 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

  • Create a virtual classroom via Adobe Connect 9 Web Services

    Is it possible to create a virtual classroom via Adobe Connect 9 Web Services? I could not find a way in "Using Adobe Connect 9 Web Services" documentation.

    The answer of Jorma Jenning is almost correct. I investigated it myself and finally made a working solution.
    The trick is that virtual classroom does not have a special type, instead it is a "meeting inside trainings folder with the icon of virtual-classroom". Kinda strange logic and to add another level of hell the "trainings folder" is the one with the type "my-courses", so, finally, we get the the following workflow:
    1. Call h-ttps://example.com/api/xml?action=sco-shortcuts and filter sco-s until you find one with the type="my-courses" and remember its sco-id — this will be your folder-id.
    2. call  h-ttps://example.com/api/xml?action=sco-update&type=meeting&icon=virtual-classroom&name=October All Hands Meeting
              &folder-id=2006258750&date-begin=2006-10-01T09:00
              &date-end=2006-10-01T17:00&url-path=october
    The thing with icon is important.
    Note that if you call report-my-training service immediately after sco-update you won't see this virtual-classroom. This is because the default permissions do not allow that. Add yourself to the user list via permissions-update and it will appear in your training list. This is different from creating virtual classroom from web interface as there you are added as a host by default.

  • Error in testing XML query result set web service

    Hi
    I was trying to test a <b>XML query result set web service</b> in BW system with tcode wsadmin but getting error like
    <b>Cannot download WSDL from http://ibmbtsb02.megacenter.de.ibm.com:8070/sap/bw/xml/soap/queyview?sap-client=001&wsdl=1.1&mode=sap_wsdl: F:\usr\sap\W70\DVEBMGS70\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1139464945296\wsdls\wsdlroot.wsdl (The system cannot find the path specified)</b>
    I had tried it first time few days ago and was able to test it successfully with the same configuration settings.
    Could any one of you please provide any suggestion on this?
    Thanks in advance
    Sudip

    hi
    check this links it may help u.
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/e3072e65f04445a010847aa970b68b/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/frameset.htm
    Regards,
    Manoseelan

  • How to access  complex data type from a soap web services?

    hello
    can u please tell me how can i access complex data type from a soap web service from jdeveloper 10g
    Jdeveloper generates 3 classes
    serviceStub
    getproperties
    response
    i have to retreview the data which is a complex data type it gives some
    unknown type. and the return value is a key-value pair data type .
    regards
    vs

    After you create the partner link and the invoke (to create the variables), change the element type of the response message to the complex type definition of your collection that appears in the XSD. You can do the same thing if you want to change the element type of the payload of the request message as well.

Maybe you are looking for

  • Business Area for auto generated line items

    Dear All, If business area is XXXX then business place/section code is BXXXX. If co code XXXX, then profit center = business area. Both the above substitutions exist in our production system. I have set Business Area & profit center fields mandatory

  • When to use logical database locking?

    Hi Experts,     I have a custom table in one SAP R/3 system A. I am updating this table from another SAP System B from two different programs ( one an user exit and another one a function module). Suppose user exit code is updating the table and at t

  • How can Retrieve phone number on Blackeberry CDMA device?

    HI All, I am tring to retrieve phone number on Blackeberry CDMA device using Blackberry APIs Phone.getDevicePhoneNumber(false); but is is not working it is returning null string value. Also I can't send SMS using BB API (for CDMA Device) Can you plea

  • Crash when editing "Other..." CC data in piano roll

    I'm getting a really irritating crash that's happening quite frequently: I'm running Vienna Instruments and playing and editing CC 74 data in the piano roll (CC 74 is used for velocity xfading). About 50% of the time when I do this Logic crashes. Luc

  • Sync with windows vista

    if a sync my iPhone with windows vista i can do all what i can do if i have mac os x?