Passing URL Parametes to Variables in variable Selection Screen

Hi
Is there any way to pass the URL parameters to the variables in the selection screen of Web Report/ and How to make to non editable.
Your points are assured
Thanks and Regards
Prasad

Pankaj,
What you have mentioned is for BSP Pages... for web reports .. add the following to the URL..
&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=<Your Variable Name>&VAR_VALUE_EXT_1=<Value of the variable>
This is for a normal variable - it is slightly different for hierarchy variables...
For details information - you can refer the WEB API reference 3.x....
service.sap.com/bi -> BW infoindex -> Web Application Designer 3.x -> Web API Reference 3.5 (pdf)
Arun
Assign points if useful
Message was edited by:
        Arun Varadarajan

Similar Messages

  • Passing URL parameter to form

    Hi, i'm currently building a back-end for a small site. What
    i'm trying to do is enable a user to edit and update an article.
    I've got a dynamic table, i'm trying to use a URL form parameter to
    pass the unique ID of an article to a form that brings up the
    article for editing, but its not working, its just bringing up the
    same record whatever link is clicked in the dynamic table. Can
    somebody point out whats missing? I'm using PHP & mySQL.
    Thanks, any help appreciated.

    You don't specify what language you're using, or how you're
    populating your
    form.
    If you're using a recordset to populate your form, simply
    edit it and then
    set the filter to your ID field, and use the URL parameter to
    capture your
    variable. Make sure in your recordset for your page to
    display the records
    you put the same variable name as you use on your previous
    page with the url
    variable.
    HTH,
    Jon
    "MarkAD88" <[email protected]> wrote in
    message
    news:e4f5s9$4l$[email protected]..
    > Hi, i'm currently building a back-end for a small site.
    What i'm trying to
    > do
    > is enable a user to edit and update an article. I've got
    a dynamic table,
    > i'm
    > trying to use a URL form parameter to pass the unique ID
    of an article to
    > a
    > form that brings up the article for editing, but its not
    working, its just
    > bringing up the same record whatever link is clicked in
    the dynamic table.
    > Can
    > somebody point out whats missing? Thanks, any help
    appreciated.
    >

  • Error while using selection option variable in the selection screen

    Hi All,
    I am facing an issue while using selection option variable in the selection screen for one of my reports.
    Scenario: For the field "Region From" we need to have wild card logic () in tes selection screen, for example if we put "BE" in the selection screen for the field Region From then the query should be executed only for those "Region From" values which begin from "BE".
    Approach: For the above requirement I have made a selection option variable for "Region From". This allows use wild card
    But when the report is executed we get the following error:
    "System error in program CL_RSR_REQUEST. Invalid filter on ETVRGNFR".
    (ETVRGNFR is technical name of the info object Region From)
    Though the report is executed it displays all the values for the field "Region From" irrespective of the selection given in the selection screen.
    Please give suggestions / alternate solutions to crack this issue.
    Thanks in advance
    Regards
    Priyanka.

    Hi,
    Try to use a variable of type Customer Exit and do the validation inside the exit to display according to your request.
    This is just my view, i am not sure if u are already using this or Char. Variable.
    Cheers.
    Ranga.

  • Passing url parameter

    Hi,
    I would like to pass a url parameter, with the following format,  to a get method.
         http://myserver/send?param-id=1234@5678
    I was able to do it using the HTTPService send(parameter) but the characters "-" and "@" are changed. I want to send the parameter as is, can anyone teach me how?
    Thanks in advance..

    rockstar888,
    for a GET, you can only use things which are permitted characters in a URL string. Hence some characters won't work just as they are. Now, we all know some browsers are very accommodating with things like this (eg a space character should be sent as %20 but if typing in a URL you can usually get away with it in a browser), but you have to be more strict in this situation. One way is to have some encode/decode stuff at each end. Another (if you are going to use the result simply as a URL at the other end) is just to let the URL encoding go on its way without problems. Another is to use POST rather than GET, since POST variables are passed like entries in an HTML form rather than a querystring, so you have more flexibility. To do this you just use the method property of HTTPService.
    Richard

  • Sorting Currency conversion Variables in Query Selection screen

    Hi Experts,
    I have an issue in sorting variables.
    A Currency translation is used here which has two selection options here, one for "Currency" and one for "Currency conversion date". They just pop in somewhere in the selection screen with out order. I want to put them together either in the middle or at the bottom.
    They are not visible in the Variable sequence tab of query properties.
    I changed the text for each of them (Ex. "XCurrency"), so that it sorts alphabetically, but no difference.
    Had anybody come accross this issue before.
    regards
    G Rai

    Hi,
    This seems strange that the variable does not show in the query properties. One thing I can suggest it to try changing the technical name/desciption of the variable if that changes the order.
    Please update back the thread if that helps.

  • 'Text' of a variable in Bex selection screen

    Hello,
    We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
    In Bex selection screen i am not getting text of default/entered months.
    for example: if default value is 2 to 4,then text would be FEB to APR.
    what could be the reason?how to get teaxts of entered values?
    (we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
    In web it is working fine.
    Rakesh

    Hi,
    Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it  helps.
    Regs,
    Vachan

  • Controlling the blank variable on the selection screen

    Hi, I have a query with five keyfigures and each keyfig is restricted by a variable. The variables are BP, ID, Street, City, Country, Postcode. And when I input the value in one variable or two i just wnat to display that data relates to the input criteria.
    Eg: When I enter BP: 1019089 and City: NewYork, here i jsut wnat to see bp and the BPs relates to Newyork. But in my case I'm also getting info relates to all coutries, streets and postcode (I want to restrict this data how ?).
    Because ID, Street, Country and Postcode variable are blank on the selection screen, it is displaying everything.
    How to restrict displaying data for blank variables. Please suggest. Thanks

    You will need to use custom exit variables. Check out "Using Customer Exit Variables in BW Reports". Parts 1 - 4:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20f119d9-922d-2c10-88af-8c016638bd90
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f002c608-2533-2c10-25a1-d0e7f7b5b662
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0fefc77-40e3-2c10-8da3-d4bfcb013387

  • How to pass url parameter string to a query

    I need urgent help please, to pass a mysql query string from a master page to another details jsp page using a url parameter. The master page's url parameter looks like this;
    <a href="Details.jsp?jobs=<c:out value="${row.actions_id}"/>"><c:out value="${row.action_title}"/></a>How can I query the mysql database using the url query string to get the query details.
    Please help me out with detailed example please.

    You can get the parameter value using HttpServletRequest#getParameter():String jobs = request.getParameter("jobs");You can interact with databases using the JDBC API. This is a different topic. If you aren't familiar with it yet, then learn it. There is a very good JDBC tutorial here at Sun.com: [http://java.sun.com/docs/books/tutorial/jdbc/index.html]. Once you're familiar with that, create a DAO class which does the all the database interaction tasks. Create a method which takes the jobs value as parameter and let it return result(s) accordingly. You may find this article useful either: [http://balusc.blogspot.com/2008/07/dao-tutorial-data-layer.html].

  • How do I pass URL parameter after Update record?

    I have an update record page that successfully updates a record, but when it is redirected to the page it came from it loses any parameters to filter record sets to obtain the correct records.
    When I try to use the Parameters dialog box from the Update Records "select a redirect" dialog box, it results in an error indicator in front of the Update Records line in the Server Behavior, and the web page ceases to update the records.
    How do I pass a parameter to the next page?
    Thanks

    I have found a work around for this issue. By selecting the Insert or Update button and adding a hyperlink with parameter settings. The Hyperlink has the same destination as the Insert records Behavior. When the button is clicked it performs the Insert, and passes the parameters to the destination page..

  • How can I pass URL parameter value to text field?

    Dear Masters,
    I have a text field. I want it to have a value based on the URL parameter, for example:
    http://myapplication.net:7777/pls/apex/f?p=102:1:::::P1_RTNUM:9448,P1_EMAILADD:email.add.here
    I want the value of the text field = P1_EMAILADD after the form was loaded. Also, please have it read-only.
    Thanks a lot.
    Edited by: user6368519 on Sep 16, 2009 11:39 PM

    Thanks Saad,
    Can I email you(I would need your email) for any concerns or just create a new thread for you to look?
    This is ok now. I'm sorry but I just marked this one as an "answered" one last time.
    Thanks for all the help again I appreciate it. ;)
    Thanks,
    Aaron
    [email protected]

  • How to pass the default value to search help selection screen

    Hi
    I need to push a certain value as a default value based on a condition to the slection screen of search help in web UI.
    Could you please let me know how can we do this?
    When we try to open the 'F4' help in web ui then it should populate a certain value as a default value to the selection screen of this 'F4' help. We will get this  default value based on condition.
    Regards
    Anil

    Hi Arun
    I'm using SE11 search help.I'm giving you my code for your reference here.
    DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lr_qs           TYPE REF TO cl_crm_bol_dquery_service,
        lr_current     TYPE REF TO if_bol_bo_property_access,
        lv_category    TYPE STRING.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'ATTRIBUTE'.
      APPEND ls_map TO: lt_inmap,lt_outmap.
      CLEAR ls_map.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'SERVICE_LINE'.
      APPEND ls_map TO: lt_inmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = 'ZATTR1'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_trigger_submit           = abap_true
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap.
    Here 'ZATTR1' is my search help name in SE11 and the field which is having 'F4' help is 'ATTRIBUTE'.
    Now when I press 'F4' on 'ATTRIBUTE' then it will give a popup and this popup is having 3 fields..
    1.'ATTRIBUTE'
    2.'SERVICE_LINE'
    3.Description of 'SERVICE_LINE'  and hence by pressing 'F4' i should get a value in the field 'SERVICE_LINE' based on
       a condition.
    However, if there is a value for ATTRIBUTE on the screen and when we press 'F4' on this then in the popup the value of
    ATTRIBUTE which is there on the screen is appearing in the 'ATTRIBUTE' field  and the same value is being copied to
    'SERVICE_LINE' field in the popup.
    Please guide me how do we populate the value to 'SERVICE_LINE' field inside the search help popup of 'ATTRIBUTE'.
    Best Regards
    Anil

  • Pass URL parameter to BEx application

    Hi all.
    We have a BEx query, that is called by Iview. In the URL, we attach the user that logged in the portal. Then when the BEx application is called we need pass this value to the query.
    We tried to solve this principally concatenating this chain to URL query in the Iview:
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=j_user
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE= ZUSPORT
    Where j_user is the user sended back by the portal, and ZUSPORT is the name of the query selection field.
    But now the problem is that we need to use an editable field to retrieve the user value... then we would make the field invisible or disabled but we don't know how to make this.
    If make the caracteristic invisible in query designer it doesn't turn invisible because is a editable field.
    If we use a exit variable the value isn't retrieved.
    Any idea?? Any help will be apreciated. Thanks in advance.

    Andrea,
    If the parameter is always the same value, you can use the URL iview or the Application integrator iview and simply add the parameter to the URL in the iview properties.
    If the parameter is dynamic, you can use the Application integrator. With this iview you can send user profile attributes as url parameters for instance.
    Hope it helps.
    Johan

  • Pass url parameter to cfreport

    I am using CF9 and have generated a report using CF Report Builder that has a report parameter that function correctly.
    I am trying to be able to get the variable value from the the address line and then display the cooresponding report page.
    I have set a default value in report builder and written a simple viewing cfm. 
    <cfreport template="NC_ImpactReport.cfr" format="pdf">
    <cfreportparam name= "CFVarProjectID" value=55>
    </cfreport>
    When I run this I get the report returned correctly for record '55'
    http://website/nc_impactreport.cfm
    Another program will have the hyperlink (http://website/nc_impactreport.cfm) with the selected record id(ie55) all on one line.
    How do I get the variable value from the address line into the cfm correctly to pass it into the report?
    Thanks,
    Kurt

    If your URL is "http://website/nc_impactreport.cfm?id=55" then your cfreportparam line should be:
    <cfreportparam name= "CFVarProjectID" value="#URL.id#">

  • Passing URL Parameter from a New Record

    Hey, I'm a bit of a newbie to this, so please help me !!
    I've created a form that adds a new record to a table using
    the insert server behavior for ASP. I want to pass over the
    strCompanyID field to the add-address.asp page as a URL variable,
    but I can't figure out how to do it. Any ideas? Here's the redirect
    source code:
    <%
    If (CStr(Request("MM_insert")) = "form2") Then
    If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_eConnect_STRING
    MM_editCmd.CommandText = "INSERT INTO tblCompany
    (strCompanyID, strCompanyName, strCompanyType, strCompanySubType,
    strWebsite, strInactive) VALUES (?, ?, ?, ?, ?, ?)"
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 10,
    Request.Form("strCompanyID")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param2", 202, 1, 50,
    Request.Form("strCompanyName")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param3", 202, 1, 20,
    Request.Form("select")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param4", 202, 1, 20,
    Request.Form("select1")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param5", 203, 1, 1073741823,
    Request.Form("strWebsite")) ' adLongVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param6", 5, 1, -1,
    MM_IIF(Request.Form("ynInactive"), 1, 0)) ' adDouble
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    ' append the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "add-address.asp"
    If (Request.QueryString <> "") Then
    If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
    Then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    Else
    MM_editRedirectUrl = MM_editRedirectUrl & "&" &
    Request.QueryString
    End If
    End If
    Response.Redirect(MM_editRedirectUrl)
    End If
    End If
    %>

    Bump :o)

  • Is it possible to pass URL parameter to "People" in Office 365 ?

    Hi,
    I would like to find out if I can pass parameter from SharePoint online to "People" module on Office 365.
    i.e.
    https://outlook.office365.com/owa/?realm=XXXXXXXX&wa=wsignin1.0?QUERY=John#path=/people
    Please note "?QUERY=John"
    I've tried different params like "k", "q", "query", etc but this doesn't work...
    What we would like to achieve is that user enter some name in search box on Sharepoint and after submitting is transferred to "People" module in Office365 with results matching name entered on Sharepoint.
    Any advice will be really appreciated !
    Thanks

    Hi Mariusz,
    To be able to access another user’s mailbox, we need to assign the account full access permission to access the other user’s mailbox.
    And then we can access the other user’s mailbox through URL like this:
    https://xxx.outlook.com/owa/[email protected]
    I recommend to edit the Search result page(when a search center is used) and add a button to the page. When user clicks the button, redirect to the corresponding mailbox.
    If a user name is typed in the search box, use JSOM to get the login name or email address of the user and generate the URL of the user’s mailbox which will be used when clicking the button.
    About how to use JSOM to get the email address of a user:
    https://msdn.microsoft.com/en-us/library/office/jj163800.aspx
    For more information, you can post your question to the forum for Office 365: http://community.office365.com/en-us/f/default.aspx.
    More experts will assist you, then you will get more information relation to SharePoint Online.
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Can video chat with Imac non-intel but not with Powerbooks

    Hi, I have a Linksys WRT54G firmware v. 1.0.6 connected to a Comcast Cable modem. My IMac Intel Duo (OS 10.4.6) is connected via ethernet cable to the router. I am set to DHCP on router and IMac. My Quicktime settings is at 1.5mb, I have tried with f

  • Idoc to File scenario using Party

    Hi All,            I have to configure Idoc to File scenario .This file needs to be posted in EDI Subsystem .My receiver partner type is LI.That means i need to use Party here.So please let me know the step by step solution to do this.Specially i wan

  • What is InCopy CC ?

    hey i am a cloud member. but  i am wondering what is incopy cc? i was told its like indesign cc, meaning its good for print and DPS.  so how does it work?  i am wondering bec i have dreamweaver and muse. both do the same thing designing for web sites

  • How to create linked server in sql 2005 to access free table visual foxpro 9 step by step

    Hi All, I want to connect to dbf file visual foxpro by using linked server in sql 2005, but i can't do, i hope getting best anwser from every body in forum. Thanks all.

  • NetBeans 6 M10: Update Center Missing?

    I can't find the Update Center in NetBeans 6 M10 in the tools menu...