OpenDocument Prompts

BO webi 6.5 allows to link two reports (parent and target) using the openDocument syntax in a cell formula's. I have following 2 issues while trying it:
1. Problem: The prompted values are not passed into the target document. The target (called document) opens by displaying the prompts screen for user to make a selection, when it should instead pass the value from the parent report. Pls see below the syntax I used. Can you pls indicate the fix to this problem
2. Question: the syntax requires a "server name", but as the report is copied from server to server: Developmnet / Test / Production, this is inconveninet if the server name is hard-coded in the report: is there a function or system variable that can be used to return the server name?
Syntax example from webi manual:
="<a href=\"http://l100beta2:8085/wijsp/scripts/
openDocument.jsp?&iDocID=451&sDocName=eFashion%20Stores&sT
ype=wid&sRepoType=Corporate&lsSState%20Equal%20to:="+[Stat
e]"\">"[State]+"</a>"
My target report has 1 prompt, which displays the prompt text as "District Code". The syntax I use in the parent report:
="<a href=\"http://bbplkd118:8085/wijsp/scripts/openDocument.jsp?&;iDocID=469&sDocName=Inventory%20Value%20by%20District%20Location%20Detail%20(MSA17J)&amp;sType=wid&sRepoType=Corporate&amp;lsSDistrict%20Code="[District Code]"\">"[District Code]"</a>"
NOTE: PART OF THE TEXT ABOVE IS NOT DISPLAYED AS TEXT AS ENTERED; THE FORUM ALTERS THE LAST PART OF TEXT 
All works ok except for the target report MSA17J opens by displaying the prompts selection window. I expected the report to open showing data refreshed and relevant for the "District Code" value passed in from parent report.
The parent report is at this time in my Personal Documents, and the target report is in Corporate documents.
The target report used a prompt on district, pre-defined in the Universe design. The sql view shows following code for the prompt:
MSV000_DC0001_NAME.DSTRCT_CODE IN @Prompt('District Code','A','District Inventory Information\District Code',Multi,Free,Persistent,{''},) OR '' IN @Prompt('District Code','A','District Inventory Information\District Code',Multi,Free,Persistent,{'*'},)  )
MSA17J is saved with Refresh option set to 'Manually'

RE: Dave R.
1. the prompt is "single" not multi ; the target report MSA17J has only 1 prompt, called 'District Code", and I use following syntax:
&lsSDistrict%20Code="+[District Code]+"\">"+[District Code]+"</a>"
2. I don't know what BO will pass, just assume it's the data that is displyed in the report cell, which looks like 1054 and it's underlined (hyperlink) so it looks ok to me
3. the data does not include spaces, it's a 4 digits character type, eg 1054
Edited by: Calator on Jun 22, 2010 2:33 AM
Edited by: Calator on Jun 22, 2010 3:09 AM
Edited by: Calator on Jun 22, 2010 3:12 AM

Similar Messages

  • Opendocument Prompt

    Hi guys,
    When I tried to pass the parameters into a report by Opendocument. for example
    openDocument.jsp?sPath=[Sandbox Area]&sDocName=Opendocument example&IsSSelect a Year:=2010
    It always couldn't work, this report could be open, but prompt didn't work, can anyone help me what's wrong with my code?
    "Select a Year:" is the prompt text
    Edited by: GodBlessMe on Mar 11, 2010 4:26 PM

    Hi,
    Ensure that:
    1. it is lsS as suggested by Rohit.
    2. in the url, write ...&IsSSelectaYear:=2010 (replace spaces with '+'; do not do this for trailing spaces if any). There sould not be any space between the url.
    3. It is a single-valued prompt. If it is a multi-valued prompt, use lsM instead of lsS.
    Regards

  • Passing a Prompt value to Webi using Xcelsius with OpenDocument

    -Operating System: Windows XP
    -OS Patch level: Service Pack 3
    -Office Version: 2007
    -Flash Player version: 10
    -Xcelsius Version and Patch Level: Enterprise 2008 with SP2 (version: 5.2.0.0)
    -Xcelsius Build number (Help>About Xcelsius): 12,2,0,608
    -Business Objects Enterprise version/patch level (if applicable): Edge 3.1
    -Issue Description:
    I'm trying to open a Webi Document from my Xcelsius dashboard and pass the value for the prompt "Region".  Ultimately I want to have this value determined by the drill down from a chart but at the moment I cannot get it to work even by adding the value at the end of the URL.  The webi report opens but the user is given the prompt option and asked to select the value, where I want to pass this so it automatically shows the selected region.
    The URL I'm currently using is:
    http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&nbPrompts=1&lsSRegion=South
    I have double checked the report and the prompt is definitely called "Region" and "South" is a valid region.
    I would be very grateful for some help.
    Many thanks
    Robert Peters

    Hi Robert
    I would take out the reference to the number of prompts to give:
    http://"servername":8081/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&sDocName=Regional_Drilldown&mode=full&IsSRegion=South
    If you copy and paste the url into a browser does it sucessfully find the document?
    Regards
    Charles

  • How to hide prompts panel for WebI documents opened in PDF via openDocument

    I am linking to a WebI document via openDocument call with sOutputFormat=P. The report opens in PDF format but within another browser window with top panel and left prompts panel.  I tried to set different Web Intelligence Interactive settings in CMC to hide the left prompts panel but to no avail.  We are linking to this WebI report from an Xcelsius dashboard via openDocument and are passing parameters so that the user doesn't have to interact with the report.  Once the results are displayed, user should not be allowed to either Refresh the report or see the parameter panel in the left pane.  Is this possible either via CMC security settings or viewer customization?

    Thanks, posted. The forum was a bit hard to find

  • When I add an opendocument login token, it wipes out my parameter/prompt response in the Redirect URL

    I am having this issue and I wonder if anyone has any pointers?
    When I send the URL with the single prompt response &lsSPrompt0=1234567 it works fine but I have to login to InfoView.
    So I created a login token .jsp and that took care of the login for InfoView, but it also killed my prompt value.
    The code that I got from another site that does the same thing I WANT to do seems to create a cookie to store the passed prompt value in, then it creates a login token, then it assembles it all in the redirect URL and sends it to the openDocument.jsp.
    The login token works like a champ, but the prompt value (initially passed in to the cookie as "Prompt0") ends up passing from the Redirect URL to the openDocument.jsp with a value of NULL (lsSPrompt0=NULL).
    In my lack of knowledge, I am thinking maybe it has something to do either with how the cookie is being created, how it is being passed, or how/if it is getting stored at the target.  The cookie/token.jsp and the openDocument.jsp are in different folders on the same domain.
    So, I pass this URL:
    http://server:8080/InfoViewApp/token.jsp?&lsSPrompt0=1234567
    The token.jsp that it hits looks like this:
    So, the redirect winds up hitting the target looking like this:
    http://server:8080/OpenDocument/opendoc/openDocument.jsp?token=logonToken&iDocID=45227708&sKind=FullClient&lsSPrompt0=NULL&NAII=N&buttonrefresh=hide&buttonexport=hide
    Obviously, my problem is this:  lsSPrompt0=NULL
    Any pointers or nuggets of wisdom are GREATLY appreciated?
    Also of note, I wasn't sure if I needed to publish this token.jsp as a Webapp to Tomcat.
    I just placed the .jsp file in the folderTomcat5.5/webapps/InfoViewApp (same location as the client who has it working).
    Do I need to publish it?  Is that part of the problem?
    I am a little out of my realm here but trying to learn!
    We are on BOXI R2, Tomcat 5.5, JAVA, and I am having the same behavior on my personal XI 3.0 server too
    Thanks in advance,
    Randy

    I believe it's storing the info in a cookie so that it can be used later.  You don't mention which version of BO you're using, but I've sometimes found that the logon tokens created in 4.x contain special characters and may need to be URL encoded.  Also, I've found that it helps to put the logon token at the end of the URL after any parameters instead of in the middle before the parameters.
    -Dell

  • Suppress/Hide Prompts - OpenDocument - Interactive Viewer

    Is anyone aware of a method for hiding/disabling/suppressing prompts for input data in the interactive viewer?  We have a custom application that launches a WebI report through OpenDocument, and the application has applied rules to the nature of the prompt values.  Once OpenDocument has launched the viewer, the desired behavior is for the user to specify prompt values through the application, not through the viewer.  The users are internal as compared to external, so there isn't a big issue with preventing hacks to the URL to override the prompt values.  I see other admin settings for other capabilities in the left panel, but not for the user input prompts.

    Sorry, I thought you were talking about the stopping the prompt dialog from appearing when you refreshed the report.
    If you are talking interactive viewing mode this it is possible to hide/show toolbars using user security. I don't think it is possible to hide just the User Prompt Input tab.
    You can alos restrict the user to HTML viewer.
    Hope this helps
    Alan

  • Webi OpenDocument URL NAII=Y Not Displaying Prompt Window

    Hi everyone,
    I have a webi document with 2 prompts. The first is a mandatory prompt that is generated by a universe object. The object is named "Subtract Number Of Days Prompt" and when it is used in a query filter it will generate a prompt and then return current date minus the integer input at the prompt. We use it to run statements such as Today - <DYNAMIC NUMBER AS INPUTTED BY PROMPT>
    This is becasue my organisation dose not allow custom SQL.
    Ok, so I have Minus number of days becasue I want to look at any record <= (CurrentDate - 3 days).
    My second prompt is optional and is on Service State.
    I have the following URL to open the report:
    http://bi/OpenDocument/opendoc/openDocument.jsp?iDocID=AeVqxuUpApVLupgbup6_QC4&sIDType=CUID&sRefresh=Y&sType=wid&sOutputFormat=H&NAII=Y&lsSSubtract%20No.%20of%20days%20(0%20-%20999):=3
    Works Fine, the prompt is answered with 3 days but for some reason the prompt box is not displayed asking for the state prompt.
    I have this exact same URL format working for 7 other reports, only difference is that their state prompt is mandatory.
    I can trick it into forcing the prompt box using the following: (Service State:=?)
    http://bi/OpenDocument/opendoc/openDocument.jsp?iDocID=AeVqxuUpApVLupgbup6_QC4&sIDType=CUID&sRefresh=Y&sType=wid&sOutputFormat=H&NAII=Y&lsSSubtract%20No.%20of%20days%20(0%20-%20999):=3&lsSService%20State:=?
    But this opens up the prompt box with ? selected in the state.
    This means if you hit run query it gives a database error becasue ? is not a valid response for state.
    You have to either remove it to run for everywhere or select another state to run for a specific state.
    This is not the behaviour I want.
    I want the prompt box to open up so the users either hits run query leaving state empty or makes a selection and hits run to generate the report for the selected state.
    I have not been able to find anything on this issue or anyone else who has experienced it via hours of google searching so I appreciate any assistance anyone can offer.
    Cheers.
    Nick

    Testing with eFashion, a mandatory prompt and an optional prompt, I can make the optional prompt entry appear with:
    &lsSPromptText=?
    ..but this doesn't populate the prompt entry with a question mark, it leaves it blank.
    I have tried a few different permutations of checking / unchecking "Keep last value selected" and "Select only from list", but I can't seem to get the prompt entry to reflect the question mark from the URL - it always leaves a default entry box.
    NAII=Y determines if the Mandatory prompt shows in the prompt box when specified in the URL, as expected.
    See:
    lsS Prompt not passing through opendocument
    NMG
    XI 3.1 SP5 (12.5.3.1475)

  • 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

  • Is passing prompts with opendocument possible

    Hi,
    I want to open a Design Studio file over the web. I use the opendocument link out of Infoview.
    My goal is to pass Parameters to the opendocument link. I want to be able to call Design Studio Files from an BO document or to include Design Studio in an portal.
    To avoid that the enduser has to reselect parameters after opening the file it would be interesting if any of you have suggstions how to to solve this.
    Thanks and regards
    Manfred

    Hi Manfred,
    In the current 1.0 version of Design Studio OpenDocument is not included. But, in the 1.1 release (H1 2013) it should be possible to pass data from and to a Design Studio app via OpenDocument. Source: http://scn.sap.com/community/business-intelligence/blog/2013/02/23/key-bi-challenges-innovations-first-bi-innovations-webcast-part-2 --> Figure 6.
    Cheers,
    Xavier

  • 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

  • OpenDocument URL to open a Webi Report

    hi,
    We are using OpenDocument URL to link Webi Documents to another one. Right now all the prompts are there in Webi Layer it self. In the new Project the universes will be pointing to BEx queries and they will have all prompts in the BEx layer itself. So in Webi layer we dont have to create prompts. My question is can we use same openDocument syntax(sample url when prompts are in Webi Layer--- http://Server:port/OpenDocument/opendoc/openDocument.jsp?
    sType=wid&iDocID=49543&sRefresh=Y&sWindow=New&lsSEnterYear=2006&lsMEnterState=Colorado) to pass parameters eventhough prompts are there at BEx layer?
    Also in case we are in the same session,by default iOpenDocument will take that logon token and SSO will happen. How do we force OpenDocument to Prompt for logon credentials even though the session is open.
    Could you please help?
    Thanks
    Aravind

    Hi Cuttle,
    This is a known question and there is also a record in our system. Thanks for your infomation!

  • How to parse crystal report query prompt value via url parameters

    HI All,
    I am creating a employee detail report in crystal report. The recordset is huge and i have created a parameter prompts in the query and thinking to parse the prompt value via url parameters. Not sure why i still could not make it works.
    for example, in my query panel i have created a prompt called "pwwid"
    and this is how i parse the prompt value via open document url.
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpwwid=12345678
    I read the sap documentation, this is how it parse the prompt value via url parameter. but it is not working for me and i am getting prompt to fill in the wwid whenever i run the reports.
    any idea why i am not getting this works?
    Regards,
    KeatAun

    Could you try:
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpspwwid=12345678
    -Abhilash

  • To Link a Crystal Report (2008) from Webi report - Prompts not to Repeat

    Hi ,
    I have created a Webi report and Crystal report (2008) both have the same prompts.now i want to create a Hyperlink in Webi to link the Crystal report.
    i am able to do this. however the crystal report is again asking to provide the prompts which i already given in Webi.which should not happen.
    So how to achieve this scenario in Webi.        
    Need your help as soon as possible.
    Regards,
    Kishore.

    Hi
    the information you need are in the following manuals
    [Viewing Crystal Reports Using URL Reporting|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_cr_url_reporting_en.pdf]
    and
    [Viewing Documents Using OpenDocument|http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_opendocument_en.pdf]
    Thanks!

  • How to pass a hierarchy node variable value over OpenDocument?

    Hello,
    I have been unable to link to an instance with matching parameters with opendocument with hierarchy node variables.
    Has anyone attempted this or been successful?
    Please reference this post I had in the Web Intelligence forum.  sInstance=Param not working for sap bw query based reports (FWM 02020)
    Here's some background information
    We've created 2 new crystal reports based of sap queries.
    Report 1, single prompt, no hierarchy.
    Result : Can link to specific instance with matching parameters. Great!
    Report 2, single prompt, hierarchy based.
    Result: Cannot link to specific instance with matching parameters
    Parameter list for report 2
    [!V000001} : Cost Center/Gr{oup (Multiple) = {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    However when I go into the history and look at the successful instance parameters used, it seems to be picking up an extra parameter ( my guess is node)
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    We have attempted to use the entire string, the first portion, second portion, and just the technical response. No luck.
    Any help or pointers would be appreciated!
    Nick

    Hello  Ingo,
    I'll explain the situation more clearly,
    Report 2, single prompt, hierarchy based.
    Result: Cannot link to specific instance with matching parameters with a response from the Bus Objects server
    An error has occurred: The object with ID -1 does not exist in the CMS or you don't have the right to access it (FWM 02020)
    We have 1 parameter for report 2
    {!V000001} : Cost Center/Group (Multiple)
    We selected a single value:
    {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    (The XXX, XXX, & XXX is the description)
    We ran a successful instance.
    However when I go into the history and look at the successful instance parameters used it displays the following: 
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    An extra description seems to appear (The first XXX, XXX & XXX;) Our original selection was only {0COSTCENTER   XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    We attempted to build variations of the open document strings
    1. We tried the entire parameter response,
    XXX, XXX & XXX; {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    2. The first description that was not part of the original selection,
    XXX, XXX & XXX
    3. The technical name and description
    {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE} - XXX, XXX & XXX
    4. The technical name
    {0COSTCENTER XXXXXXXX.BGT3}.{XXXXXXXXX.BGT3 0HIER_NODE}
    Please let me know if you need more details.
    Regards,
    Nick

  • OpenDocument syntax with UserResponse  at universe level

    HI,
    Can any one tell me what is missing or wrong in the following syntax of Open Document. I am using this at the universe level with user response and two parameters.
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="UserResponse("Select Name:")l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+'</a>'
    Thanks!!!!
    Bernard.

    Hi Bernard,
      UserResponse is for WEBI reports, in universe the formula is prompt.
      Where clause = <FILTER KEY=u201D[MyVar]u201D>
    <CONDITION OPERATORCONDITION="InList">
    <CONSTANT NAME="@Prompt('Hierarchy node values','A','Sales
    employee\LovHierNodeL03 Sales employeeBase',multi,constrained)"/>
    </CONDITION>
    </FILTER>
    I replace in your syntax the UserResponse for @Prompt
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="@Prompt('Select Name:','A',{'NAME1','NAME2','NAME3','NAMEn'},mono,constrained)]l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+''
      This is an exaple of MDX for SAP BI, Choose a dimension among the different u201Ctimeu201D dimensions available in a SAP Netweaver infocube.
    0CAL@Prompt('CalendarLevel?','N',{'YEAR','QUARTER','MONTH','DAY'},mono,constrained).[[LEVEL01]]
    I hope this help you.
      Federico.
    Edited by: Federico Sperling on May 11, 2009 4:39 PM
    Edited by: Federico Sperling on May 11, 2009 4:39 PM

Maybe you are looking for