OPendoc in BOXIR3 with Passing prompt values

I am using opendoc to open webi reports from dashboard and it is working fine howevever when i try to pass values to the existing prompts using &Iss its not working and prompt appears,refresh on open is set for the report.
Please let me know the correct syntax of open doc to pass a single value to prompt in BOXIR3.1

Ranjit Singh
Have a look here also:
http://www.forumtopics.com/busobj/viewtopic.php?p=326129&sid=d99eeaba982cdbad7cbba86695945613
Linking 2 web I reports
I'm Back

Similar Messages

  • How to pass prompt value to columns with formula?

    Hello guys
    I have a situation:
    I have a report with 1 column name 'product' and in this column it has a case statement like 'case when item is ('a','b','c','d') then 'Men' else 'women' end'
    Then I have created a dashboard prompt of the exact same column, and I defined the same case statement in the prompt's column formula as the same.. Then I tested the prompt and it is returning only 2 values 'men', 'women'..
    However, when putting the prompt and report on the same dashboard, the report is not accepting the prompt values..
    Then I set the presentation variable on the prompt and call it 'Product', then in the report I created a filter on 'product' column as equal to presentation variable 'product'--- I tried with and without single quotes.. So the filter itself looks like : case when ...... is equal to / is in @{product}
    However, when I then return back to the dashboard, I am getting the error:
    State: HY000. Code: 388918336. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "Product". (HY000)
    Could anyone help?
    Thanks

    Hola
    is possible that are you using a BINS agrupation into the Column Formula?
    if you form a CASE statement using a Bins agrupation, in the column Formula, this must be disabled to match statements between columns and DB Prompt
    if you are using a BINS agrupation to form the CASE statement, you have to delete the bins agrupation in the Column but keep the CASE statement
    Regards

  • Pass prompt value by open doc to Web intelligence Report in BI Mobile

    Hi Experts,
    I need to convert this open doc formule for BI Mobile :
    Open Doc for Launchpad ==> it's Ok in production
    ="<a href=\"http://BI4SERVER:8080/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=AV5V9Gajm8pEthc0fowTIP8&sIDType=CUID&sType=wid&sRefresh=Y&lsSZSJOBID=Lien%20Mission&lsIZSJOBID="+EncodageURL(""+[Query 1].[Job Retain id].[Job Retain id - Key])+"\" title=\"\" target=\"_blank\" nav=\"doc\">Lien Mission</a>"
    Open Doc for BI Mobile ==>  it's ok wthout passing value
    <a href="sapbi://OpenDoc/?authType=secSAPR3&default=yes&connection_name=pwc&server_url=fremesap820.cmis.corp.fr.ema.pwcinternal.com:8080&ConnectionType=BOEConnection&cms=BI4SERVER:6400&type=webi&iDocID=AV5V9Gajm8pEthc0fowTIP8&reportPageNumber=0" title="" target="_blank" nav="web">BIMOBILE</a>
    I have a problem with passing value in prompt  ??
    How can write the red expression for web mode to work for BI MOBILE ??
    Thanks & best regards
    ELYAE BI

    Any help please or idea or Note SAP ?
    I have a problem with passing value in prompt with webintelligence document using BEX Query ?
    Thanks and best regards
    ELYAEBI

  • Error while passing prompt value in Column Formula

    Hi All,
    I have created a dashboard and added a dashboard prompt on that with a presentation variable named "promptdyn" that is basically showing bank names.
    Now i want to calculate the market value based on this prompt selection, so i edited the column formula as
    "WM FACT Sec"."MARKET VALUE" * EVALUATE('getBankBaseCurrencyValue(%2)' As Double,@{promptdyn},"Industry Type".INSTRUMENT_CCY)
    But it is throwing this error:
    \nQSError: 10058] A general error has occurred.
    \nQSError: 22051] The argument number 1 is not referenced in this evaluate expression: getBankBaseCurrencyValue(%2). (HY000)
    SQL Issued: SELECT "Industry Type".INDUSTRY_NAME, "Industry Type".INDUSTRY_TYPE, "WM FACT Sec"."MARKET VALUE" * EVALUATE('getBankBaseCurrencyValue(%2)' As Double,0,"Industry Type".INSTRUMENT_CCY) FROM WMAdHocReportingBMMSec
    I don't know what is wrong here.Here i tried to pass the value of the prompt to the function.
    Basically I have created a function in the database with two parameter as "bank name " and "Currency" and calling it with the help of evaluate function.
    How could we store the prompt value and pass it to some other function?
    Pls help me as it is urgent for me to solve.
    Thanks

    He Solved.
    Just i missed out to write %1,%2 in the evaluate function.
    But one thing i need to know that how can we store the value that is selected in a prompt say in dashboard prompt so that it can be used in query. Because i need to select a value first from the prompt and based on that i need to manipulate the values of the other request of the dashboard.
    Please Reply.
    Thanks

  • Opening Dashboard Page in New Window While Passing Prompt Values

    Hi,
    Currently it is not possible to open a dashboard page in a new window AND have the prompt values from a prior page pass to this page. I see one or the other can be accomplished but not both. Is there a way this can be acheived somehow or is there a workaround for this?

    You are correct. The "Link or Image" object does not pass the dashboard prompt values, though it allows the destination dashboard to be opened up in a window.
    Here is a workaround.
    1) Place the link in a "Guided Nav. Link" object and set the destination dashboard and desired report. With the prompt set up correctly (i.e., dashboard scope, set to PV, destination report column filtered to receive the PV), the destination report will be filtered on the prompt as desired.
    2) I noticed (and maybe this is why you wish the "new window"), there is no "return" link on the destination report. To fix this, in the destination dashboard, add a Text object to the dashboard. In the properties, paste the code below and make sure to check off "Contains HTML markup." This will produce a "Return" button on the dashboard.
    <input type="button" value="Return" onclick="history.back();">
    Now, when the user selects the prompt and clicks on the link, the prompt is passed to your second dashboard. When the user wishes to return, he/she can click on the "Return" button and return to the primary dashboard.
    HTH,

  • Linking reports passing prompt values to detail report ?

    Hi,
    I am building a linked report in webintelligence on SAP universe which has prompts coming from BI variables.In the master report i have created a hyperlink column so that if user can select the hyperlink for each row.now if i select the hyperlink it should take me to the detail report by passing the prompt values.i want to pass the values to the prompts build in BI varaible.
    eg: master report
    Country  Product  Rev  City
    now here i want to select city and open the detail report by passing city values. i need the formula for the hyperlink  city. City is just a prompt in master report it is not object in my report.
    Thanks,

    Hi Try this code
    ="<a href='http://l1280:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?&sDocName=Account&sType=wid&iDocID=5311&lsSAccountType="+[Account Type]+"'>"+[Account Type]+"</a>"
    Regards
    Prashant

  • Help with passing integer value in A.S.S

    I get an NSinternal script error while trying to pass this value can anyone help?
    Also I wonder if it is possible to pass the value to a matrix
    on clicked theObject
    tell button "checkbox" of window 1
    if integer value = 1 then
    set button "checkbox2" of window 1 to integer value = 1
    else
    set integer value to 0
    end if
    end tell
    end clicked
    I also tried:
    if state of button "checkbox" of window1 is 1 then
    set the state of button "checkbox2" of window1 to 1
    end if
    Message was edited by: Doug Bassett

    I've been following this thread and trying to figure out how to make this work. I was getting inconsistent results or errors with most of the code that has been posted. But I finally got it working... at least on a Leopard machine (not sure if this could have changed between Tiger and Leopard so your mileage may vary).
    What I found was that a checkbox button that's located directly in a window seems to have a state that's equal to 0 when it's unchecked and 1 when it's checked. But a checkbox cell that's contained within a matrix seems to have a state that's set to either _off state_ or _on state_. Trying to set a cell's state to 0 or 1 simply wasn't working right for me. So I get the state of the "selectall" checkbox button (which is a 0/1) and transform it to either "off state" or "on state" before setting the states of the checkbox cells in the matrix.
    Here's my code:
    on clicked theObject
    set n to name of theObject
    if n = "selectall" then
    set s to state of theObject
    log "state: " & s
    if s = 0 then
    set newState to off state
    else
    set newState to on state
    end if
    repeat with i from 1 to count of cells of matrix "directories" of window "main"
    tell cell i of matrix "directories" of window "main"
    set state to newState
    end tell
    end repeat
    return
    end if
    if n = "logStatesBtn" then
    logStates()
    return
    end if
    end clicked
    on logStates()
    log "Logging states:"
    set s to state of button "selectall" of window "main"
    log "selectall checkbox: " & s
    repeat with i from 1 to count of cells of matrix "directories" of window "main"
    tell cell i of matrix "directories" of window "main"
    set s to state
    end tell
    log "Cell " & i & ": " & s
    end repeat
    end logStates
    Note the "logStates" handler is just something I connected up to a "logStatesBtn" button in my window that lets me spit out the states of all the checkboxes into the console log. This is how I actually discovered that the cells were set to "off state" or "on state".
    Steve

  • Passing prompt value to a LiveOffice document

    Hi all,
    I've SAP BW Query as the data source having two prompts of one which is date, and I built a LiveOffice document connecting a WebI report. The prompt values in LiveOffice document are displayed as for ex : comp code : 2000 [0COMPCODE].[2000] and date as 10/0320 [0CALMONTH].[032010]. In case of Comp code I'm passing only 2000 removing the rest of the text and it works fine, but whereas when I modified date prompt in LO document like Comp code its throwing an error while refreshing.
    Getdocument Information Exception (Error  WIS : 10901). In details I can see that date is being passed 32010 instead of 032010 even though I tried to change the format of that particular cell.
    Any solution to this problem ?
    Thanks

    Hi Fred,
    The date format in BEX Query is mmyyyy and I'm trying to pass the same in LO but its going as myyyy, for ex : 032010 is passed as 32010.

  • Saving Dashboard with a prompt value

    Hi ,
    I have created a dashboard with dashboard prompt having value as 1,2,3,4,5 . I want to save the dashboard with value 1 with name dashboard value1 , then with value 2 with name dashboard value2 and so on . Please suggest , if this is possible .

    Hi,
    Using Saved customization we can.
    Select prompt value 1 and apply, then add saved customization
    Page option -> Save current customization as 1
    like wise create saved customization for all 5 values.
    when ever u want to apply saved customized values page options -> apply saved customization ex: 1
    http://santoshbidw.wordpress.com/2012/03/30/obiee11g-save-current-customization
    correct me if am wrong..
    Thanks........

  • Pass prompt values in a Webservice

    Hi there, my requirement is to get 'Input Values' from a Combo Box(Dropdown) and pass those values into the webservice and get the output.
    Here are the steps so far:
    1) Created a WebI Report(using WebI Rich Client). The report has a prompt called 'State'
    2) Published the report block as a web-service and copied the WSDL URL.
    3) Created a Combo-box(Dropdown) in Xcelsius and put 'State' values to output to a cell 'A1'
    4) Created a web-service connection in Xcelsius Data Manager, and used my WSDL URL. I am able to see that it has detected a prompt in my webservice in the Inputs area. There are two methods called:
    valueofPrompt
      and
      Index
    I am mapping the 'ValueofPrompt' to the same cell as the Combo-box output cell 'A1'
    5) Clicked preview and when i picked any state say 'Alabama' and hit refresh, i see that i get values for all states, not just Alabama. So looks like my dropdown value is not being passed to the webservice.
    Am i missing something? Any ideas where it might go wrong?
    Thanks,
    Kon

    Are you sure that the webi report is refreshing AND you're refreshing the connection? Try putting FALSE or 0 in the option 'GetLatestInstance' and TRUE in the refresh option.
    Try putting a loading status into a cell in the dashboard and mapping a spreadsheet component to this cell, so you can see what's going on. By seeing how long the connection is taking to load, you might be able to get an idea of whether or not the webi report is being refreshed.
    Lastly, have you considered fetching all states in the Webi report and instead using a filter to pick an individual state. This will be much faster.

  • Passing prompt value from one report to other using navigation

    I have one dashboard with one prompt (Prompt Name: Date) and a report with date column. This date in the prompt defaults to current date by using server variable ‘CURRENT_DATE’. When a user executes this dashboard the report will be executed for current date. Now I configured navigation on a column (MTD) that will take the user to another report. My Requirement is I have to filter the second report with a condition ‘Date<current date’. In the second report I applied a filter Date<valueof(CURRENT_DATE). To my surprise when I navigate from the first report to second report this filter condition Date<valueof(CURRENT_DATE) is replaced by Date=valueof(CURRENT_DATE). I did not under stand why navigating from the first report replacing the filter condition on the second report. If this is the expected functionality, what is the workaround for this?
    To summarise my user want to see current date data in the first report and all the data less than current date in the second report. I tried with presentation variables. same thing happening with them as well.
    Please let me know if there is any solution for this
    Venkat

    I mean to say,
    fro second report apply filter not as global filters
    To apply as inner fitlers...
    Go to measures fx in answers
    select the code in fx and click on filters options
    and select the date from left pane (selection pane)
    and write CURRENT_DATE by Converting this filter to SQL (the option is something like this)
    see in this way ..
    i didn't get time to work on your issue...
    So please try this and report back..
    Thanks & Regards
    Kishore Guggilla

  • OpenDocument issue with blank prompt values

    We have implemented optional prompts in XI R2 by joining our prompt objects with an 'Empty' object. When we create openDocument hyperlinks to these reports, passing nothing for the prompt objects worked just fine and the target report did not prompt for any values for these prompts, e.g. if there was a prompt on the report called Country and it was joined with an Empty ("") universe object via an AND, setting the Country prompt in the openDocument as lsSCountry= worked just fine.
    In XI 3.1, when these hyperlinks are accessed from the master reports via InfoView, the target report is prompting for all prompts that accept empty (blank) inputs. If the resulting hyperlink shortcut is copied and pasted directly in the browser URL, everything works fine, i.e. target report does not prompt for any of the empty values and the report is displayed correctly.
    We even tried using the 'no_value' option for these prompts in the openDocument but since these are universe based prompts that can't be defined as optional, no_value is not allowed.
    Anybody facing similar behavior?
    Thanks.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • Passing prompt value to column header

    Hi experts
    I'd like to change the column header dynamically.
    the report is using presentation variable so it's displayed after the user had selected a value in the dashboard prompt and clicked on go.
    I'd like to have in the column header the value that the user had selected in the dashboard prompt.
    Is there anyway to do that??
    Regards

    Hi,
    Yes. you can do that by creating presentation variable.
    What you have to do is , create the presentation variable like LOCATION_NBR in the prompt, like this you can create as many as you want to display it in the header.
    The next step is to display the value the user selects in the prompt that should display in the header, for that , you can create narative and like the following things and achieve it.
    <table>
    <tr>
    <td bgcolot ="#00080" width="1500" height="25" align="center">
    The location No is @{LOCATION_NBR}
    </td>
    </tr>
    </table>
    Since we define the presentation variable in Prompt and use it narative view we able to display the header based on the customer choose it from prompt
    I hope the above explanation will resolve your requirement
    Regards
    Raj

  • Problem with passing table values to RFC

    Hi all,
    I am passing values in table in RFC. There are no import/export parameters in RFC. We are passing only tables.
    There are two tables in the RFC I_Dept and I_Subdept. Initially RFC is executed for getting the Dept which works fine as for this there is no need to set in input table value. But to get sub department I need to set the dept in I_Dept and after executing RFC I should get values in table I_Subdept. The code is as below:
    wdContext.nodeOutput_I_Dept().invalidate();
    wdContext.nodeOutput_I_Subdept().invalidate();
    Z_Bapi_Dept_Values_Input d_Input = new Z_Bapi_Dept_Values_Input();
    wdContext.nodeZ_Bapi_Dept_Values_Input().bind(d_Input);
    Zdept dept = new Zdept();
    dept.setZname("Sales");
    d_Input.addI_Dept(dept);
    try
    wdContext.nodeZ_Bapi_Dept_Values_Input().currentZ_Bapi_Dept_Values_InputElement().modelObject().execute();
    wdContext.nodeZ_Bapi_Dept_Values_Input().nodeOutput().invalidate();
    catch (WDDynamicRFCExecuteException e)
    msgManager.reportException(e.toString(), true);
    Is anything wrong in this code because even after executing the RFC the size of node I_Subdept() is zero. But the RFC works fine in the backend.
    Regards,
    Jaydeep

    A typical misunderstanding when populating structured input data  
    via code is the following:                                              
    - You have bound a WD context node hierarchy to the model say
      N1         >         M1
      ->N2       >         ->M2
                                                                                    where N1, N2 are WD Context nodes (N2 is child of N1) and M1, M2 are   
    model classes bound to the context nodes. Important: M1 has a relation 
    to M2 on the model side, means there is some method M1.setMyM2(M2)   
    (assuming the target role of the relation is called "MyM2").           
    - You create context elements for N1 and N2 which are bound to a model  
    class instances of M1 and M2 respectively.                                                                               
    Assuming that M1 is the "executable" model class (*_Input) and M2       
    represents an input structure needed, the M2-input will - using the     
    above approach - not be available on execution. Why? The relation on the
    model side (MyM2) is not available if just maintaining it via the     
    context, i.e. context and model are not "in sync". As RFC execution is  
    done via the model the M2 input will not be available.                  
    You best create complex/nested input structures on the model            
    side and then bind the top-level model object to the resp context node. 
    In the above sample this would be:                                      
    M1 m1ModelObject = new M1();                                            
    M2 m2ModelObject = new M2();                                            
    m1ModelObject.setMyM2(m2ModelObject);
    Hope it helps!
    Regards,
    Sangeeta

  • Pass Prompt values into Legend / '-ALL-' filter filters out all records

    Hi
    I have 2 questions for the same chart so I hope it's OK to add them in one post.
    Firstly I have created a chart & added three Select List filters which work fine, the query is below, problem is that when I change back to '-ALL-' I get no data, it has filtered out all records as no data matches the value of '-ALL-' does anyone know the code to get around this?
    My chart query;
    select null link, P_MONTH AS MONTH, SUM(CALLS) AS data
    from DATA.MAIN_DATA
    WHERE WAREHOUSE = :P1_WAREHOUSE
    AND ANS_UNANS = :P1_ANS_UNANS
    AND PRODUCT = :P1_PRODUCT
    GROUP BY P_MONTH
    As I will have several queries like the one above for different options on the same chart, I would like the Legend to show what the user has chosen each time the options are changed ie;
    Something like the bolded text in the query to display the chosen values in the legend;
    select null link, P_MONTH AS MONTH, SUM(CALLS) AS 'P1_WAREHOUSE' || 'P1_ANS_UNANS' || 'P1_PRODUCT'
    from DATA.MAIN_DATA
    WHERE WAREHOUSE = :P1_WAREHOUSE
    AND ANS_UNANS = :P1_ANS_UNANS
    AND PRODUCT = :P1_PRODUCT
    GROUP BY P_MONTH
    Any ideas/suggests?

    Thanks Andy
    I'm having some problems with applying this so it may be best if I show you how I've applied this code.
    Here's an example of my data on a made up 'EMP' table;
    ENAME     SAL     DEPTNO     DEPARTMENT
    SMITH1     1871     345     DEPT1
    SMITH2     1953     345     DEPT2
    SMITH3     2239     345     DEPT3
    SMITH4     492     345     DEPT4
    SMITH5     2431     345     DEPT5
    SMITH6     2331     345     DEPT6
    SMITH7     1003     369     DEPT7
    SMITH8     1688     370     DEPT8
    SMITH9     2284     371     DEPT9
    So I'm only using one table - 'EMP'
    I've created 2 LOVs, 'DEPTNO' & 'DNAME'.
    'DEPTNO' LOV has the values for the 'DEPTNO' field in the table.
    'DNAME' LOV has the values for the 'DEPARTMENT' field in the table.
    I then created a chart with the below SQL query as its source;
    SELECT NULL LINK,ENAME LABEL,SAL VALUE
    FROM EMP
    WHERE (DEPTNO = :P1_DEPTNO OR :P1_DEPTNO = 0)
    ORDER BY ENAME
    The 'Chart Title' field under the 'Chart Attributes' tab has the below added;
    Department - &P1_DNAME.
    The COMPUTATION is as below;
    SLECT NVL(DEPARTMENT, '-ALL-')
    FROM EMP
    WHERE DEPTNO = :P1_DEPTNO
    Could you advise where I may be going wrong as I have the following errors;
    1. The chart is working OK with the added '(DEPTNO = :P1_DEPTNO OR :P1_DEPTNO = 0)' clause - but I still get no results for '-ALL-'
    2. I can't get the chart to display the current value in the legend - where exactly should I put this line - 'Department - &P1_DNAME.'
    3. The Computation is stopping any data from showing in the chart

Maybe you are looking for

  • Usb to serial converter console access on aironet 1131

    I am having difficulty accessing the console port utilizing a usb to serial converter. My settings are 9600, 8,n,1 and flow control is none. The converter works if I use it for switches and router but fails on the aironet. I can access the aironet if

  • How do I ungroup my tabs so that they all show again?

    I accidentally hit group your tabs and the several I had open disappeared. How do I ungroup them so that they are again displayed??

  • No apps under Purchases section?

    Hi! I bought Mountain Lion last week. Today I would like to download it to my secondary worksation (a MacBook Pro). When I signed in the App Store, go to the Purchases tab, it said "you have not yet purchased any apps." Why? How can I get back my pur

  • Built in iSight Not Detected

    Hi, Having an issue with my MacBook Pro where in iMovie, I am not able to select my built in iSight as an input source to record with (Camera Not Detected). Photo Booth works fine, and the issue recurs in a clean account. I have no problem with this

  • How to Download Whats App

    i want to download whatsapp on this mobile please Moderator's note: The subject was edited as we moved the topic to the correct board so others can easily search on the same topic.