Parameters with OLAP?

How can I create an OLAP query in Report Builder (version 10.1.2.2) that has a condition based on a parameter?
I also can't get Report Builder to include a basic condition. For instance, I have a location dimension with members X, Y, and Z. I included all three in the report and then I added a condition that states the member must be equal to Y. When running the report, it still shows all members (X, Y, and Z).
I think I need to get the condition working first and then I get it to use a condition based on a parameter.
Anyonw know? I've looked on Metalink and OTN but I haven't found anything.

Oracle definetely managed to create a bit of a mess with these parameters. Somehow I am thinking that the Discoverer web apps were not originally designed to be used directly via HTTP and some marketing guy just came up with the idea to productize the parameters... ;)
I've been in contact with Oracle support and it looks like OLAP workbooks really have no IDs. However it is possible to access them by using workbook and worksheet names. Not as good as using IDs, but at least the bloody thing works. The trick is to use the worksheetName HTTP parameter with OLAP workbooks, like so:
http://my.server:7777/discoverer/viewer?lm=olap&db=my.server:1521:mydb&us=john&pw=secret&worksheetName=Users%2Fjohn%2Fjohnsworkbook%2Fsomeworksheet
(If you want to include the pw parameter you have to use HTTP POST.)
Discoverer HTTP parameters really are a mess, but here's a list of most important parameters.
HTTP parameters that work in both Discoverer Viewers
Login type: lm=olap, lm=discoverer, connectionAccessType=discoverer, connectionAccessType=olap
Database URL: db=<db>, databaseIdentifier=<db>
Username: us=<username>, username=<username>
Password: pw=<password>, password=<password> (HTTP POST only)
HTTP parameters for Discoverer Viewer
EUL: eul=<eul name>
Workbook: wbk=<workbook name>
Worksheet: wsk=<worksheet name>
HTTP parameters for Discoverer Viewer OLAP
Workbook/sheet: worksheetName=<path to worksheet> (folders and worksheet separated with slashes)
As you can see sometimes several parameters can be used to specify one thing and that most but not all parameters work both in Discoverer Viewer and Discoverer Viewer OLAP. I am definetely confused and I have no idea anymore which of those parameters are documented and where but they should all work.
Also you must specify a worksheet name in the worksheetName parameter and it must be separated from the workbook name with a slash.
And do not forget to properly encode URLs!
Cheers,
- Ari

Similar Messages

  • Parameters in OLAP Intelligence

    Hi,
    I am currently using OLAP Intelligence because Voyager did not even give me the functionality I want, but I'm having a problem.
    I have a view created with OLAP Intelligence connected to a SAP BW cube, really want to move from this view to a second view of another cube in BW. I know OLAP Intelligence has not this functionality because it is not multi source but I'm trying to do it through a URL. When I open the first view, I asked some set of parameters to filter, then come have a button associated with an action and when I click on it a URL leads through to the second view (the second cube). My problem is with the URL to pass the parameters because the URL is not sending me the current members. Proven to function currentmember not work for me.
    The dimension and hierarchy that I have are:
    Time
      Year / Month
        2003
        2002
    Therefore the first time when I am asked to put parameter (for example, 2002) my first view filter it, later I can selected another member through the member selector for example [Time]. [Year / Month]. [2003] and want to jump to the second view, but the second view doesnt filter my data.
    My URL is:
    "http://cdi5boe:8080/businessobjects/enterprise115/desktoplaunch/opendoc/
    openDocument.jsp? & sPath = [Liverpool] & sType=car&siDocID=65478
    & lsS907B8C93-C89E-4872-87% 2CC8% 2C1E% 2C8% 2C56% 2C81% 2CB7% 2CDD =
    %5BTime%5D.%5BYear%2FMonth%5D.CurrentMember.Name "
    Can you help me to use correctly the MDX function? I think it is my problem.
    Regards,
    Sandra.

    Hi,
    If you create a cell type action rather than a member action you can get context from multiple dimensions.
    The general syntax for your URL would be:
    "http://mysever/myscriptpage.jsp?param1=" + [Dimnesion1].* +"&param2=" + [Dimension2].*
    Here, for the selected cell in the cross-tab, the member from each dimension specified is substituted into the URL. To use a member from a specific dimension you need to use the dimension's unique name followed by a dot and a start in the action definition. So for example if the cell I had selected consisted of member ABC on dimension 1 and member XYZ on dimension 2, the final URL produced might look like the following:
    http://mysever/myscriptpage.jsp?param1=[Dimension1].[ABC]&param2=[Dimension2].[ZYX]
    You can add MDX or OLAP Intelligence syntax again around the wild cards:
    MDX
    [Dimension Uniquename].*.uniquename
    OLAP Intelligence Syntax
    GetUniqueName([Dimension Uniquename].*)
    There seams to be a bit of a pug in the parser of the version of OLAP Intelligence I'm using which means that if you want to concatenate two parameters right next to each other the following produces an error:
    "http://mysever/myscriptpage.jsp?param1=" + [Dimnesion1].* + [Dimension2].*
    but you can get the same effect by concatenating an empty string in between the two items so the following works fine:
    "http://mysever/myscriptpage.jsp?param1=" + [Dimnesion1].* + "" + [Dimension2].*
    Reuben

  • Query parameters with the same name and different values

    According to HTTP, multiple query or post parameters with the
    same name and different values are permitted. They are transfered
    over the wire in the following format -
    name1=val1&name1=val2&name1=val3
    The problem is that I can't see anyway of assigning multiple
    parameters with the same name and different values to the request
    object of mx.rpc.http.HTTPService. I have tried using the
    flash.utils.Dictionary object as it does strict key comparison but
    that doesn't work too. I have tried setting an array of values to a
    property of the request object but that sends the request to the
    server in the following format -
    name1=val1,val2,val3
    The java servlet engines throw exceptions when they see this.
    Any help would be greatly appreciated.

    If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
    release.
    wrote:
    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

  • Passing multiple URL parameters with same name

    Hi,
    I have a question which is not entirely related to Java. But although its related HTTP calls, so I thought I might get some ideas here.
    Background:
    I am making HTTP URL call from SAP ABAP code. Its pretty much similar to Java (creating URL connection, setting HTTP headers, connecting, receiving response and everything)
    For example,
    http://service_server:8080/a7/extension.services.SearchRequirements.a7x?RequestStatus=CR&RequestStatus=RR
    Now, this service_server runs a query to database where it uses both these values of "RequestStatus" to form 'OR' condition for a field.
    Issue:
    When I run this URL from browser, it shows XML response containing results for both values. In short, this is the ideal response.
    (I am using getParameterValues(string) at service_server to read multiple values for same parameter)
    But when I see response in SAP system, I see that it is returning data for only one value of 'RequestStatus'.
    I checked the logs of service_server, and I see that it has received only one parameter, not two.
    Question:
    It seems like SAP systems web server is truncating both parameters with same name and passing just one of them to outside server(??)
    Is there any configuration at Web Server side or any HTTP headers to be set so as to avoid this?
    Can anybody suggest something on this?

    I managed to resolve this issue by using HTTP 'Post' method to send the data.
    CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
        EXPORTING
          URL                = L_URL
        IMPORTING
          CLIENT             = L_HTTP_CLIENT
        EXCEPTIONS
          ARGUMENT_NOT_FOUND = 1
          PLUGIN_NOT_ACTIVE  = 2
          INTERNAL_ERROR     = 3
          OTHERS             = 4 .
    "STEP-2 :  AUTHENTICATE HTTP CLIENT
    CALL METHOD L_HTTP_CLIENT->AUTHENTICATE
      EXPORTING
        USERNAME             = 'name'
        PASSWORD             = 'password'.
    "STEP-3 :  SET HTTP HEADERS
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
          EXPORTING NAME  = 'Accept'
                    VALUE = 'text/xml'.
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_HEADER_FIELD
        EXPORTING NAME  = '~request_method'
                   VALUE = 'POST' .
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_CONTENT_TYPE
        EXPORTING CONTENT_TYPE  = 'application/x-www-form-urlencoded' .
    "SETTING REQUEST DATA FOR 'POST' METHOD
    IF L_PARAMS_STRING IS NOT INITIAL.
       CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
         EXPORTING
             TEXT   = L_PARAMS_STRING
         IMPORTING
               BUFFER = L_PARAMS_XSTRING
         EXCEPTIONS
            FAILED = 1
            OTHERS = 2.
    CALL METHOD L_HTTP_CLIENT->REQUEST->SET_DATA
        EXPORTING DATA  = L_PARAMS_XSTRING  .
    ENDIF.
    "STEP-4 :  SEND HTTP REQUEST
      CALL METHOD L_HTTP_CLIENT->SEND
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2.
    "STEP-5 :  GET HTTP RESPONSE
        CALL METHOD L_HTTP_CLIENT->RECEIVE
          EXCEPTIONS
            HTTP_COMMUNICATION_FAILURE = 1
            HTTP_INVALID_STATE         = 2
            HTTP_PROCESSING_FAILED     = 3.
    "STEP-6 :  READ RESPONSE DATA
    CALL METHOD L_HTTP_CLIENT->RESPONSE->GET_CDATA
            RECEIVING DATA = L_RESULT .
    "STEP-7 : CLOSE CONNECTION
    CALL METHOD L_HTTP_CLIENT->CLOSE
      EXCEPTIONS
        HTTP_INVALID_STATE = 1
        OTHERS             = 2   .
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to use lexical parameters with Sql Server Stored Procedure?

    Hi,
    I'm developing a BI Publisher report on a sql server database. I need to execute a stored procedure to dynamically build the query by replacing the lexical parameters with the values of varaibles of the stored procedure. With Oracle stored procedures, I have used data template and had reference the varaiable in SP by prefixing it with '&'.
    It doesn't work if I try to do the same thing with SQL server. Is there anyone who has come across the similar situation? Please let me know if anyone has got any ideas...
    Thanks in Advance
    Rag

    TopLink currently doesn't support multiple ResultSets. Multiple ResultSets support is considered for a future release.

  • Deprecated system parameters with specified values:

    Hi ,
    I am getting below in alert log:
    Deprecated system parameters with specified values:
    remote_os_authent
    IS this parameter is suppotable in 11G and also how can i remove it from SP file with out bouncing the instance.
    thanks..

    1) It is deprecated in 11g as er your alert log message. http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams199.htm
    2) Set it in your spfile to FALSE which will reset this back to the default. This can't be changed dynamically and you will have to reboot your instance.
    alter system set remote_os_authent=false scope=spfile;

  • How to define  parameters with radio button

    HI
      How to define  parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.
            I don't know how to paste figures here, otherwise i will provied u the figure for more details.
    Regards.

    PARAMETERS : r1 RADIOBUTTON GROUP radi.
    Go to --> text elements --> selection text
    R1    <your text>
    You can change the program selection screen lay out in screen painter (se51) .
    screen number for your selection screen is 1000.
    Regards,
    Santosh reddy
    Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM

  • Problem with OLAP DML

    Dear All,
    We are using OLAP DML to work with multi-dimensional data on an Analytic workspace. How do you access pre-stored multi dimensional variables set up in a analytic workspace, using OLAP API's.
    How/Is it possible to load Cube data from a multi-dimensional variable ?
    How or from where do we setup OLAP WORKSHEET to work with OLAP DML ??
    Regards,
    Subhankar

    Jean-Marc,
    I had an email from one of my colleagues in development and has kindly explained some errors in my previous posting. In 10.2 and earlier, relational import/export should do as good a job as EIF, except that these utilities are slower (due to the need to text encode the EIF data) and less granular (you can only export an entire schema at a time).
    Fortunately, there is no need to worry about the various objects that comprise and AW. We manage all that for you directly inside the database.
    However, the performance overhead is enough that for clients with the know-how, it's usually recommended to use EIF instead. That being said, the particular problem you are having seem extreme since you should not see a "15 minutes" to "hangs" slowdown when using relational import.
    Have you tried monitoring the export job via Enterprise Manager to check the wait events which might be occuring when the system hangs? Are there any messages in the alert log?
    It might be a good idea to open a TAR with Support to try and diagnose this issue.
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Displaying 2 parameters with descriptions in same line of Selection-Screen

    Hi All,
    I want to know how can we display 2 parameters with descriptions in same line of Selection-Screen.
    Means in selection screen first we will give comment as
    <b>Material no</b> then <b>parameter box as MARA-MATNR</b>, In the same line description as <b>Plant</b> then <b>parameter box as T001W-WERKS</b>.
    Material No - BOX - Plant - BOX.
    Can any body tell me how can we do it.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi shaik,
    1. define two TEXT-SYMBOLS :
    001     Material
    002     Plant
    and Activate
    2. use this code (just copy paste)
    REPORT abc LINE-SIZE 80.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001 FOR FIELD p_matnr.
    PARAMETERS : p_matnr TYPE mara-matnr.
    SELECTION-SCREEN COMMENT 35(10)  text-002 FOR FIELD p_werks.
    PARAMETERS: p_werks TYPE t001w-werks.
    SELECTION-SCREEN END OF LINE.
    regards,
    amit m.

  • Oracle database installation with OLAP

    Hi Folks
    I have a serious problem with my database server datawarehouse with OLAP option (RHAS 4 and Oracle DB10g R2), after I implement an application with OLAP I can't export a full database this process hangup in:
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/POST_INSTANCE/PROCDEPOBJ
    Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCOBJ
    and when try to export the user OLAP owner the process hangup in
    Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
    Processing object type SCHEMA_EXPORT/DIMENSION
    and the server shutdown with the follow message in the file (/var/log/message)
    May 18 18:13:47 bdbi kernel: Process oracle (pid: 8382, threadinfo=dab1e000 task=e695d6b0)
    May 18 18:13:47 bdbi kernel: Stack: ee6685f4 f7312380 c014a77a ee6685f4 00000070 00000000 d9c1bb80 c014b2ba
    May 18 18:13:47 bdbi kernel: f4be3dac f4be3da0 00000000 00000001 00000000 f6d5a5c4 f7312380 00080000
    May 18 18:13:47 bdbi kernel: b7295000 f4b0eb74 f4be3dac f4be3da0 f7312380 f73123b0 dab1e000 d9c1bb80
    May 18 18:13:48 bdbi kernel: Call Trace:
    May 18 18:13:48 bdbi kernel: [<c014a77a>] vma_link+0x9c/0xbc
    May 18 18:13:48 bdbi kernel: [<c014b2ba>] do_mmap_pgoff+0x50e/0x666
    May 18 18:13:48 bdbi kernel: [<c010b557>] sys_mmap2+0x7e/0xaf
    May 18 18:13:48 bdbi kernel: [<c02c7377>] syscall_call+0x7/0xb
    May 18 18:13:48 bdbi kernel: Code: c3 39 ca 74 08 0f 0b 0f 02 66 aa 2d c0 8b 43 08 2b 43 04 c1 e8 0c 8d 54 02 ff 8b 46 08 2b 46 04 c1 e8 0c 8d 44 01 ff 39 c2 74 08 <0f> 0b 10 02 66 aa 2d c0 c7 43 34 00 00 00 00 83 7e 34 00 c7 43
    May 18 18:13:48 bdbi kernel: <0>Fatal exception: panic in 5 seconds
    Please anybody to know some issue like this or there are some trick for the installation because this is the second installation (in other box) and the server falls in any time.
    Very thansk and regards,
    Wilson

    I've also had a problem where the system will not do a full export of an AW as an eif file. It starts, then just hangs. If you try to import the file that is created you get some but not all of the objects in the original AW and an error message at the end. I have cycled through the NAME dimension exporting objects one at a time and discovered an object where it hangs and can't get past. It's not large and it's one of the objects with the property 'AW$CREATEDBY' = 'AW$XML'. So seems to be an Oracle bug, maybe some metadata got messed up, who knows, but it should always be possible to export an AW.

  • The type Iterator is not generic; it cannot be parameterized with arguments

    Hi all, i have a problem, and i think is a JRE problem
    The error is the following:
    If i share a Web JSF Exadel project enterely, with the .classpath, the .project,
    ect everything go ok. I can Check out the project
    and work with it without problems.
    But if i share only the JavaSource and the Webcontent of the same project
    and the other files and folders like the .classpath, the .project, the ant folder,
    ect are added to the subversion then appear the problem. When i Check out the project and build it (not with shift-alt-x Q but with the Build Project option of the Projec Menu in Eclipse)
    appear an strange error that say: "The type Iterator is not generic; it cannot be parameterized with arguments <E>".
    If i build the project using the build.xml file that came with the project everything is ok, but when i run the project into the Exadel the error
    appear againt.
    The error appear with all the eclipse versions from 3.1 to 3.3 and with all the ExadelStudio Pro versions from 3.5 to 4.0.4 and with the JRE versions 1.5.0_05 and 1.6.0_02
    Any idea will be very appreciated.

    Hi, i think i found a clue to discover the mistery, i deployed the same .war in the ExadelStudio Pro 3.5.1 tomcat and in the ExadelStudio Pro 4.0.1(and 4.0.4) tomcat in the first one everythink work fine but in the second i get the error i described above.
    The ExadelStudio Pro 3.5.1 use Tomcat 5.0 and ExadelStudio Pro 4.0.1 and 4.0.4 use Tomcat 5.5
    There are some problem with the new versions of Tomcat?
    Something related to the use of an old version of the JVM by default?
    There are some problem with the jdk1.5, something related to the posibility that i can't mix code compiled with an old version of jdk with code compiled with the jdk1.5?
    Any suggestion will be very appreciated

  • I want parameters with f4 help for program names in value request

    I want parameters with f4 help for program names in value request
    points will be awarded if  useful

    lv_name1 TYPE name1,        "Vendor Name
    CALL FUNCTION 'POPUP_TO_SEARCH_VALUE'
        EXPORTING
          textline1   = 'Vendor Name'(f09)
          titel       = 'Enter'(f17)
          valuelength = 35
        IMPORTING
          value       = lv_name1.
    try this out ..

  • Problem with OLAP SAPBI SHOWING Server in not responding

    Hi All,
    Problem with OLAP SAPBI SHOWING Server in not responding
    SBO0001)",
    Iam Creating a universe , When iam Retriving my olap cube query it showing the error "Server in not responding (SBO0001)",
    Thanks In advance
    Praveen Kumar Yagnamurthy

    I am receiving this same error.  I have these additional details:
    CS: COM Provider CLSID not specified or erroneous
    In my case, this is for a universe that I created in BOE XI R2 sp5.4 and migrated up to BOE XI 3.2 sp2.  This connection uses OLEDB.  I have the same situation with another universe that I migrated over that uses an ODBC connection and it works fine.
    In my case, I am not using OLAP.

  • Where I can find examples with OLAP DML to update the cube cells?

    Hi,
    Where I can find examples with OLAP DML to update/calculate the cube measure/cells?
    I would like to insert data into the cube by OLAP DML.
    Regards,
    TomB

    Not sure about examples but this is how you should proceed
    1. Limit all your dimension to the leaf level values.
    lmt financialperiod to '200901'
    lmt geography to 'XYZ'
    lmt product to 'LAPTOP'
    2. Limit your measure variable to one measure(this is applicable if you have more than one stored measure in the cube).
    for 10g
    lmt <cube name>prtmeasdim to '<MEASURE NAME>'
    for 11g
    lmt <cube name>measuredim to '<MEASURE NAME>'
    3. Write into the variable.
    for 10g
    <cube name>prttopvar = 100 -- this variable is created for a compressed & partitioned cube. for uncompressed cube the variable name is <cube name>_stored.
    Thanks
    Brijesh

  • Use Discoverer with Olap Cubes

    Hi, is there any one that know how work Discovere with Olap Cubes?
    Thanks

    hi
    if you mean the cubes (rolap/molap), which the bibeans are working on it is a yes/no
    for molap cubes:you use the olap table to build a virutal star on top of the analytic workspace, which is then queryable by any relational cube, including discoverer
    for rolap cubes:not (yet)
    having said that:watch the announcements during oracleworld
    regards,
    thomas

Maybe you are looking for

  • Problems with Jack and my USB mic

    My current settings on Jack are relatively standard, except for one thing - I have specified different input and output devices than default. Using such a setup stops Jack from starting up at all, and is very annoying - I would love to be able to use

  • Problem with making 16:9 PAL DVD

    Hello! I'm trying to make a 16:9 PAL DVD in Adobe Encore and everything is perfect untill I play the DVD on my TV (it works just fine on my computer). Two videos included in the DVD were made in Adobe Premiere and one of them works without any proble

  • IOH temps higher after new CPU cooler on my X58 Pro

    Hi I have a X58 Pro with 12GB OCZ Platinum 1333 RAM + i7 920 + Antec EA500W. The stock cooler was making too much noise so I installed a new Thermaltake ISG 300 cooler. My IOH temps jumped from 57 to 82C on idle. I have an Antec Solo case which shoul

  • Video file path from HTML - Urgent

                Hi             I have created a simple imported video in actionscript 3.0 and it works fine when I play it. Since I am a newbie, can anyone guide me             how do I specify the filepath from HTML, e.g. in the HTML how can i specify <

  • Problem editing after resetting computer

    I recently had to reset or reinstall my laptop, and therefore had to reinstall Adobe Premiere Elements 12 as well. Before this it worked fine to import and edit MVI video files from my Canon Powershot SX260 camera, but now when I was about to edit fo