Skip to Content

OpenDocument URL parameters in Design Studio 1.3


Hi,

My Design Studio version is 1.3 SP1.

My requirement is that users has to execute the Design Studio dashboard from the web browser by passing the parameters. Hence I am trying to achieve it using OpenDocument URL by passing the bex variable parameters in the URL. When they execute the dashboard they should not get the prompt screen which is what I am unable to achieve.

When the bex query has Optional Variables only, the setting 'Force Prompts on Startup = False' suppresses the prompt screen and the dashboard runs as per the parameters entered in the URL.

But when the bex query has Mandatory Variable, the setting does not suppress the prompt screen. I tried by giving Default Value in the Global Script variable for the mandatory variable and I have also tried the Default Value by setting in the variable properties inside bex. Both does not work and it still shows the prompt screen upon executing the URL.

My OpenDoc URL is shown below.

http://.../BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=Fo4giFR_6AIA5EoAAAAnyk..nI6ZHlf4&Xv_assid=40102020&Xv_fper=009.2013

v_fper is mandatory variable and v_assid is optional variable. Below is my global script content and On Startup content.

setVariableValueExt also did not work.

Pls let me know if anybody has achieved it
successfully when we have Mandatory Variable in bex query.

Thanks & Regards,

Kesavan.

Global Script.JPG (20.2 kB)
OnStartup.JPG (10.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 11, 2014 at 05:32 AM

    Have you tried setting the variables in the application event "On Variable Initialization" of the application?

    This event gets triggered before the variable submit and start up.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ingo

      I actually passed 009.2013 but it is cut while i pasted the link in scn here.

      Hi Deepu

      It works now aftr i moved the code to OnVar Init event. Thanks.

      Thanks & Regards

      Kesavan.

  • Dec 10, 2014 at 10:23 PM

    Kesavan - what is the possibility of your upgrading to 1.4 (perhaps as a proof of concept?) and trying the RRI?

    Deepu has a nice blog on this at

    Design Studio 1.4 RRI and Open Document

    Tammy

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 11, 2014 at 01:19 AM

    hello Kesavan,

    when the prompting screen comes up are at least the values that you did send set for the prompts ?

    it looks like you are sending a value like 009.2... to one of the variables. the URL gets cut here.

    In case that is a variable for something like the Calendar Month and year, perhaps you wanna try to use the internal value as value in the URL

    regards

    Ingo Hilgefort, SAP


    Add comment
    10|10000 characters needed characters exceeded