Pass parameter to Bex Query via Query String

Hello,
I am trying to pass a parameter into a Bex Query from a 7.0 portal. I created a Bex query iView and I have tried various permutations with the Bex Query String property of the iview but nothing seems to work. The query runs but the parameter is not passed in.
For example I have tried: cmd=ldoc&TEMPLATE=Z_TEMPLATE&QUERY=Z_QUERY&Z_QUERY_VARIABLE=12345678 and several other variations of doing this.
Thanks,
Bert

Hi Satish,
I had already tried that but it did not work.
Thanks,
Bert

Similar Messages

  • How to get month value from custom calendar without passing parameter from SSRS in MDX query

    Could you please throw some light to achieve below requirement?  
    I need to filter the data between two periods dynamically . The date calendar here works differently(ex:-Date 26-Aug-2014 will fall in period 7 which is last date and 27-Aug-2014 will fall in period 8 and it is first date of period 8),so I cannot go
    with system date period/Month. Date Hierarchy is like YEAR,QUARTER,PERIOD ,WEEK and DAY.
    I cannot use SSRS for passing parameter. Requirement is to extract last 2 period of data dynamically in Power Pivot with MDX.
    Thanks Chandan

    Hi Chandan,
    You might try something like this
    Tail(null:
    Extract(
    StrToMember("[FYDay].[DATE].&[ + cStr(Format(Now(),"yyyy-MM-ddT00:00:00")) + "]")
    *[FYDay].[DateHierarchy].[Day]
    ,[FYDay].[DateHierarchy]).parent.parent
    ,2)
    What it is doing is multiplying Day by the current date, which returns a set of one date with cardinality of (Date,Day).  The Extract is pulling out just the datehierarchy Day.  the the Tail() is getting it and the previous day.
    Hope that helps,
    Richard

  • Running a Query via Query Monitor (RSRT) works, but Java Web does not

    I am running a query via RSRT (IC_SOPSAL/Z_SOPIC_CUSTSALES_01) and this is successful. But when I run the Java Web for same Query below,
    http://FQDN:59800/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=Z_SOPIC_CUSTSALES_01
    We get an error, The Web template "ZWEB_TEMPLATE_001" does not exist in the master system.
    our BW8 and BW3 SSO configuration on our Portal System Object connectivity are not BI master systems.
    Regards,
    James

    I am running a query via RSRT (IC_SOPSAL/Z_SOPIC_CUSTSALES_01) and this is successful. But when I run the Java Web for same Query below,
    http://FQDN:59800/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=Z_SOPIC_CUSTSALES_01
    We get an error, The Web template "ZWEB_TEMPLATE_001" does not exist in the master system.
    our BW8 and BW3 SSO configuration on our Portal System Object connectivity are not BI master systems.
    Regards,
    James

  • Pass parameter to sql statement in query manager

    Hai to all,
               I want to pass the percentage  as the parameter into the sql statemnet.i what to execute it in the query manager.
              If i execute that statement then cann't found the tablename error is coming.
             Other than the data in the table (general data)  pass to the parameter in the sql at runtime.
    for example:
    select [%0] *100
    how to pass 10 to that sql statement.
    Please help me...
    Regards,
    Raji.

    Hi Ramya,
    You can create a SP with parameters to accept and then execut this SP from SAP Business One Query Manager by passing the parameter (in your case 10). The result will be as desired.
    Ex:
    Create this Procedure in SQL Management Studio
    create proc Test(@a as int)
    as
    begin
    select (@a*100)
    end
    To Execute the Query use this Query and pass the desired values with parameters
    execute Test 10
    Regards,
    Reno

  • How to pass parameter to below my MDX query

    SELECT
    NON EMPTY {Hierarchize({{[Measures].[Available %], [Measures].[Unavailable %]}})} ON COLUMNS,
    NON EMPTY CrossJoin([Service].[Service].Members, CrossJoin([Host].[Host].Members, CrossJoin([Class].[Class].Members, CrossJoin([Country].[Country].Members, CrossJoin([Brand].[Brand].Members, CrossJoin([Category].[Category].Members, CrossJoin([Region].[Region].Members,
    [Account].[Account].Members))))))) ON ROWS
    FROM [2. Last 7 Days]
    WHERE {[Time Dimension.DAY NUM].[2014-06-27 00:00:00.0]}

    hi Thanks for you reply,
    i tried with :
    WHERE {[Time Dimension.DAY NUM].[&2014-06-27 00:00:00.0]}
    this is also not working ..............

  • Pass parameter to apex page via the URL

    Hi, I need to pass a parameter into a page that will be used in a query inside a report region,
    e.g report region query is
    select link_id, page_id, menu_parent_id, link_text, link_url
    from portal_pages
    where page_id = :page_id
    So the page will display different links depending on what value is passed to the page in the variable.
    I know with normal URL syntax it would be something like
    http://www.domain.com/page.html&page_id=1 (where page_id is a hidden variable in apex)
    but how do I do this with an apex page like :-
    http://host:port/pls/apex/f?p=123:9 <what goes here ? and what goes in the page for it to work>
    Any help appreciated - noob to Apex
    Thanks
    Phil.

    If your item to be used in the url is P1_Page_Id, the
    url should be something like:<br>
    http://host:port/pls/apex/f?p=123:9:page_id:&P1_Page_I
    d.
    Thanks for comments, understand the syntax of the apex URLs now, got the item sorted in the page now, all working.

  • Passing Parameter to SAP Transaction via AppIntegrator

    Hi,
    I created an AppIntegrator iView that calls a R/3 Transaction. The iView is running correctly.
    Now I want to pass a dynamic parameter to the Transaction so that it skips the first screen of the transaction.
    For this purpose there is the iView Parameter "AutoStart" that has to be set to true in SAP Transaction iView. Furthermore I have to set parameter "ApplicationParameter" in the follwing manner "<Screen_field1>=<Parameter1>" according to help.sap.com.
    Lets assume that the transaction I want to call is <b>SU01</b> and the screen field is <b>USR02-BNAME</b>.
    So the iView parameter "ApplicationParameter" has the value "USR02-BNAME=MyName".
    This works fine but is not dynamic.
    I then called my iView using the follwing URL:
    http://.../irj/../portal_content/.../R3_iView?param=MyName
    and changed the value of "ApplicationParameter" to ""USR02-BNAME=<Request.param>".
    This does not work. The input field of the R/3 Transaction contains "<Request.param>" instead of "MyName".
    My Question:
    Does the Template Processor of AppIntegrator not work for the Parameter "ApplicationParameter"?
    Help is most welcome
    Helmut

    Me actually,
    Hi Helmut!
    Im using a very similar technique heavily in a customer project for jumping into several transactions from an iView.  Instead of expicitely creating an iView i directly call the respective master iView
    "com.sap.portal.appintegrator.sap.Transaction"
    Then I append the required parameters as GET parameters:
    ?System=<system alias>&Technique=[SSF|SSD]&TCode=<exec first screen?>SU01 param=value;param=vaue;param=value&GuiType=[WinGUI|WebGUI|JavaGUI]
    GuiType should be clear, technique defines the startup behaviour of Wingui (being either as an activeX control (SSD) or using SAP shortcuts (SSF) ). If you want to submit the first selection screen, simply add a "*" to the Tcode. Also note that there is a space between the tcode and the param list.
    This should resolve the issue. Good luck with it,
    (and see you somewhen again in "real life"
    Dominik

  • Pass parameter to ssrs report based on cube

    hi folks:
      I am working on a weekly report based on cube. Users are able to pull out data by themselves using excel. Now they want this to be scheduled to run on a weekly basis via SSRS. The date hierarchy (date.calendar)  is like this: Year -> Quarter
    -> Month -> Week
     I want users to be able to pick any week (only one week) they want and run the report.  I understand I need to create a parameter @week .
    The problem is how to populate this parameter @week in mdx since the source is a cube db.
     Any idea?
     Thanks
     Hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Thanks Charlie, your solution is pretty close now. When I try out the shareddataset via cube, I found the following statement in the query via query designer:
    WHERE ( [Checkoutdate].[Fiscal Year Calendar].[Week].&[23]&[2014]&[2]&[6] )
    23 is the week no, 2014 is the year, 2 is the quarter and 6 is the month. I intend to create 4 parameters so that users could pick year, quarter , month and week. 
    The question here is the sequence, do I have to strictly follow the sequence  [week - year - quarter - month] or it doesn't matter? 
    SELECT {STRTOMEMBER("[Date].[Calendar Weeks].[Calendar Week].&["+@Week+"]&["+@Year+"]&["+@quarter+"]&["+@month+"]
    ")} ON 0
    or can I go like this as it's more intuitive:  
    SELECT {STRTOMEMBER("[Date].[Calendar Weeks].[Calendar Week].&["+@year+"]&["+@quarter+"]&["+@month+"]&["+@week+"]
    ")} ON 0
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

  • How do you pass a custom value on a BW iVew (BEx Web App Query String)

    Hi,
    I am using a <b>BW Report iView</b> to display a report (BEx Web App) on a external facing portal. As part of the BEx Web App Query String, I need to pass the customer number. So, I followed the same procedure as the appIntegrator iView and put in the parameter <Custom.Customer number> as part of BEx Web Application Query String, which is supposed to get replaced dynamically with value from the UME by using the custom 'ParameterProvider' service we had written. But, it's not working here. We are using the same Customer Exits for 'ParameterProvider' on the AppIntegrator and it works there. The BW Report is bit different then the appIntegrator iView and I think I am missing something. Need some help to resolve this please. Thank you.
    Regards,
    Abu

    Any one?

  • How to pass parameter to the Query String of the Named Queries'SQL

    Firstly to say sorry,I'm a beginner and my English is very little.
    Now I want to know
    How to pass parameter to the Query String of the Named Queries'SQL in the Map editor.
    Thanks.

    benzi,
    Not sure if this is on target for your question, but see #5 in the link below for some web screencasts that show how to pass an input text form field value to the bind variable of a view object. If you're looking for something different, maybe provide some more details such as what you are trying to accomplish and what technology stack you are using - for example, ADF BC, JSF, etc.
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    Also see section 5.9 and chapter 18 in the developer's guide.
    thanks

  • ColdFusion: onload pass a variable via query string

    Hey guys - I have a form on a page that creates a coupon code (something like 879COUPON) and emails it to the user when they submit the form. They are also taken to a thank you page after submitting the form.
    What I want is to pass the variable (879COUPON) via query string to an outside URL (www.notmysite.com?id=879COUPON) when the thank you page loads.
    I use ColdFusion to generate the code, so is there a ColdFusion way to automatically send the query string when the second page loads? Or do I need to do some kind of ColdFusion/JavaScript hybrid?

    Thanks for the reply.  I just want to pass the query string info to the page without actually going to the page.  I also want it to be automatic when they arrive on the first page, the second page would then recieve the query string info and the person on the page would not be aware of it being passed (i.e., they wouldn't have to click a link).

  • How to pass parameter in query string

    Hi Friends,
    I have a working struts app with Action classes and Servlets...now I need to pass query paramter to one of the servlets,can someone please tell me how to do that.I tried to put this code in web.xml but failed:
    <servlet>
    <servlet-name> test</servlet-name>
    <servlet-class>com.app.Test </servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>test</servlet-name>
        <url-pattern>/app/Test</url-pattern>
      </servlet-mapping>And then I tried to pass parameter as:
    http://localhost:8080/app/Test?param=value
    Please tell me guys how to accomplish this.
    Thanks in advance

    What do you mean by fails? Can you access the Servlet without the parameter? Do you get a null value when trying to retrieve the parameter?

  • 'Driver]Parameter missing' Error while trying to pass parameter to MS query & Return Data to Microsoft Excel

    I am trying to set up a parameter query using ODBC-Microsoft Query
    to BMC Remedy The ODBC connection is "AR System ODBC Data Source".
    I want to pass a parameter to modified date field and get all the remedy tickets for which the modified date is<= to the passed parameter date.
    So in MS query, SQL- 
    the query looks like
     WHERE ("Trouble Ticket"."Create Date">={ts '2014-10-01 00:00:00'}) AND ("Trouble Ticket"."Modified-date"<=?)
    I am getting the data fetched from database in the MS query window, but unfortunately
    When I click File-Return Data to Microsoft Excel, its showing an error: Driver]Parameter missing
    I set the connection properties- parameter-Prompt for value using the following string.
    Please help

    Hi,
    Based on the error message, I recommend we try the suggestion: Replace all "..."  with [...]
    http://www.pcreview.co.uk/forums/error-parameter-query-odbc-remedy-bmc-software-com-t3232964.html
    Then, if you want to connect the Remedy's oracle database, please see the thread:
    http://www.tek-tips.com/viewthread.cfm?qid=1123112
    We may try the workaround: Write an Excel macro which connects to the database and fetch the data based on the SQL query.
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If you have further question about write macro, I recommend you post the question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Error while executing BEX query via FM

    Hi Friends,
    I am getting following error while executing a query via FM RRW3_GET_QUERY_VIEW_DATA.
    Please see the error screenshot as follows.
    the I_T_PARAMETERS entered are as follows.
    Please let me know what is missing.
    Thanks.
    Regards,
    Hrishikesh

    the key date variable 0DAT is normally filled by a SAP exit variable, but this may not be the case.  it could have been changed in the query designer,  check the query in query designer and see.
    Try passing 0DAT in the variable list with todays date

  • From scorecard Pass parameter to be used as Measure in query of analytic Grid report in PPS in SP2013

    From scorecard Pass parameter  to be used as Measure in query of analytic grid report in PPS
    Any idea of how we can pass this parameter while connecting scorecard and report
    any use of MDX in connection formula ?
    Parameter needs to be assigned on click of scorecard cell

    Hi,
    That API has restrictions on its usage. Please see http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDICGDA
    The lines to be referred to are Also, this method requires that the parameters that describe the BLOB to be listed as the format of a valid item within the application. That item is then referenced by the function.Regards,
    PS: Your report must be on Page 98 , so it is able to reference the item P98_NAV_IMAGE. List being a Shared Component it may not be able reference that Item.
    Edited by: Prabodh on May 28, 2012 3:16 PM

Maybe you are looking for

  • Is there an easy way to create 2 page imposed PDFs with a background?

    I have figured out a way to create a suitable imposed single page PDF using the 'import as layer' action, the action only understands a single paged background PDF. In other words, I have a PDF that has the suitable marks on it with the pages marked

  • Enforce payment as per payment term given on sales order

    Hi Everybody I have created a sales order and given the payment term thereon. I want to build a check that system should not let the user ship confirm if amount has not been received as per payment term. Is there any standard solution or any workarou

  • Questions about TANDBERG MXP 550 with Call manager 4.2

    Hello, I have an TANDBERG MXP550 configured as an H.323 client in call manager 4.2 without a gatekeeper. 1. When I make a call between the TANDBERG and another phone registered. I have the ip address of the call manager displayed on the screen instea

  • Reading .ZIP files using File Adapter

    Hi, I am using BPEL File Adapter to read files. The files to be read are XML files which are in zipped format. so how should I read these .zip files and extract the XML files from that. Thanks /Kiran.

  • New tabs opening when clicking a link

    I have a MacBook Pro running OS X As of lately every time I am using safari and click on a link (i.e to get to the next page in a trademe search) a new tab opens up like a pop up. Normally it is some kind of advertisement. This just keeps happening a