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

Similar Messages

  • Passing URL parameters to WD application

    Hi!
    To pass URL parameters to WD application I currenly inbound plug 'defauld' (of type 'Startup') of main window. I use following code:
    types:
        begin of param_t,
          name type string,
          value type string,
        end of param_t.
      data: params type standard table of param_t.
      data: param like line of params.
      wdevent->get_data(
        exporting
          name = '_ALL_URL_PARAMETERS'
        importing
          value = params
    It works fine but this plug is called after init methods of the component controller an of the view. So if I want to do something with parameters, I must do in this plug.
    Is there way to pass URL parameters in a WD app. so that they were available from the very beginning of the application work i.e. in init method of the component controller etc.?
    Thanks!

    I had the same requirement too. There are a couple of threads on the subject as well, I've posted in one of them but had no answer:
    Re: Read URL Parameters programmatically
    The workaround i've used is this, it's definitely not as neat as I would like to since you end up having two initialization methods per controller, WDDOINIT and the one you create (for each controller you want to run code in using the received parameters). Nevertheless, it works:
    1) Create an event in your component controller, for example INIT_COMPLETED.
    2) Define a new method in your component controller, e.g. INIT_AFTER_WINDOW. This method receives an Importing parameter TYPE tihttpnvp. It uses this received HTTP parameters for the initialization logic and finally raises the INIT_COMPLETED event (This is the method that "replaces" WDDOINIT).
    3) In the Window's Inbound plug handler, you get the HTTP parameters (with wdevent->get_data) and afterwards call the method WD_COMP_CONTROLLER->INIT_AFTER_WINDOW (maybe you need to declare the usage previously in the Window to have the reference available).
    4) Finally, if you need some of the Views to be initialized afterwards the component controller's INIT_AFTER_WINDOW runs (for example to show some initialization messages), you'll have to replace the WDDOINIT method with an INIT_AFTER_COMPCTRL method and subscribe it to the component controller's INIT_COMPLETED event.
    I hope you got the idea, and more importantly, that we get some cleaner solution from SAP for achieving this in the future.
    Regards
    Edited by: Alejandro Bindi on Nov 6, 2008 10:08 PM
    INIT_AFTER_WINDOW is the method to be called on step 3

  • 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

  • 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].

  • 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.
    >

  • 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 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..

  • Passing dynamic parameter to BEx Web from Visual Composer application

    Hi Experts,
    I have got a table with brand name with hierarchy node,  brand key and when the user selects a row on the table it should display detail data on the BEx Web. To do this, I have done the following;
    - Added a button to the Action Toolbar of the Table
    - Added an HTML view to the design time as well as a Data Store
    - Created a field in the Data Store called u201Cselectionu201D
    - Map from the table containing the 'Select' button to both the Data Store and the HTML view
    - Used the custom action u201CSelectu201D to write a value u201C3u201D to the u201Cselectionu201D field of the DataStore
    - Set the system acion (Event Name) 'select' to set a URL for the HTML view
    - Set the URL Assinged Value = 'http://sapbid001:50000/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=ZPIP_BACKORD_DETAILS&FILTER_IOBJNM=0CUST_GROUP&FILTER_NODE_IOBJNM=0HIER_NODE&FILTER_VALUE='&@Brand_key&''
    It opens the query ZPIP_BACKORD_DETAILS for all brands and it's passing right brand key to it as well. But the dilema is the query is not filtering according to the parameter passed to it.
    Could you please suggest me what steps I need to follow in order to resolve the issue?
    Thanks.

    Hello Bhai,
    Could you tell me how did you solve  your issue? because i would like to doing same things.. but filter doesnt work...
    Thanks in advance
    Rasim

  • 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

  • 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#">

  • 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]

  • Pass Url Parameter To Portlet in a Tab Page

    Ciao,
    i have a portal page with TABS. I have pl/sql portlets that read the url, then they pass parameters to the url. With "wwpro_api_parameters.get_value" and the session i am able to pass parameters via URL and to know if i have changed tab or not.
    My question is: how cai i "CLEAN" the url if i change the tab? As you know, if i change tab, only the "_pageid" parameter change, and not the whole url.
    i.e.: http://misun13:7777/servlet/page?_pageid=202,204,217&_dad=portal30&_schema=PORTAL30&par_name=5
    I change the tab: http://misun13:7777/servlet/page?_pageid=202,206,217&_dad=portal30&_schema=PORTAL30&par_name=5
    But i want to RESET the parameters! That is i want: http://misun13:7777/servlet/page?_pageid=202,206,217&_dad=portal30&_schema=PORTAL30
    It seems i can't change the standard behaviour of the TAB.
    Does anybody know how to do that?
    Thanks in advance,
    Ettore

    Hi Ettore,
    It is true that when you pass parameters, they show up on the URL and even when you change tabs the messy long URL will show up.
    One way to avoid this, is to use the session store instead and save and access the parameter values from the session storage itself.
    For more details on using Session Storage, check the PDK documentation for using the session store.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/implementing.session.storage.html
    Another thing, you may try is using the owa_utl.redirect to specifically redirect to a clean URL. But i suspect that if your parameter values are still active, they will populate the URL in any case.
    For further details on parameter passing, check:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/guidelines.parameter.passing.html
    Hope this helps.
    Mohana

  • Pass URL parameter for zip code

    In this fake url I want to pass the zip code value of the confirmed BP into "zipcode"
    https://acme.com/locator.jsp?zip=zipcode
    from the other post I have read the parameter name would be "zipcode" and thru the transaction launcher I am able to assign parameter value =
    //selectedClmBpLinkRelationship/BpRelLinkBusinessPartner/BuilStandardAddressRel/POSTL_COD1
    The transaction launcher is opening the launcher but not passing the value into the field. The window opens but the field is not filled with the zip code.
    If I open a new ie browser and put in url
    https://acme.com/locator.jsp?zip=60001
    the url is reached and 60001 is filling the zip code field.
    Is there an easy way to debug and see if any value is getting passed?
    Am I conceptually on base for what I am trying to do?

    Hi Shwetha,
        That got me pointed in the right direction where we could get it to work.
    For others, these were some other points we used to get it to work.
    1. in the IMG where the url is defined don't add the ZIP parameter here so our IMG entry =  https://acme.com/locator.jsp?
    when the page launched correctly the parameters showed https://acme.com/locator.jsp?&zipcode=60001
    2. for zip code parameter value we used //currentCustomer/BuilStandardAddressRel/POSTL_COD1  >> this goes in the transaction launcher with parameter zipcode and is then visible in the IMG entry "copy/delete launch transactions"

  • Passing URL parameter across Show detail item tabs

    Hi
    I have developed a sample jsr168 portlet which takes 1 input parameter and deployed it into the stand alone OC4J shipped with Jdev 10.1.3.4.0
    In the view controller i created a jspx page and added the portlet to it. The portlet is added under a ShowOnetab->ShowDetailItem component in the jspx page. I mapped the parameter which i pass in the url to the portlet in the pagedef file of the jspx page.
    The page works fine when i run it for the first time but if i were to move to another tab (ShowDetailItem) in the page and come back to the first tab the parameter is not registered even though it still exists in the url.
    Can somebody please sugget a way to persist URL parameters across tabs (ShowDetailItem) in the page.
    Thanks
    Nikhil

    Hi
    I have developed a sample jsr168 portlet which takes 1 input parameter and deployed it into the stand alone OC4J shipped with Jdev 10.1.3.4.0
    In the view controller i created a jspx page and added the portlet to it. The portlet is added under a ShowOnetab->ShowDetailItem component in the jspx page. I mapped the parameter which i pass in the url to the portlet in the pagedef file of the jspx page.
    The page works fine when i run it for the first time but if i were to move to another tab (ShowDetailItem) in the page and come back to the first tab the parameter is not registered even though it still exists in the url.
    Can somebody please sugget a way to persist URL parameters across tabs (ShowDetailItem) in the page.
    Thanks
    Nikhil

  • Passing url parameter values to a non database field

    Hi,
    How do I pass values from the url to a non database field ?
    The following works for a database field:
    http://host:7777/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1892460035&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values=20
    but if I use the same for a non database field item20 it doesn't do anything.
    http://host:7777/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1892460035&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=item20&p_arg_values=2003
    Thanks,
    Sonal.

    Hi,
    Are you trying to query on this field? It wont work because only database fields can be queried on.
    Thanks,
    Sharmila

Maybe you are looking for

  • Cash flow forecast

    Can we make forecast cash flow on the basis of due dates of suppliers/vendors and as well as on the basis of open Purchase Orders/Sales Orders.

  • Material is not editable in sales order

    Hello, we have service order returns (zbre). with reference to returns order we create free of subsequent delivery (zbsd). but here some times the business wont delivery same material which shows in returns order it replaces different material. but t

  • Syncing contacts with iCloud and Outlook

    Hi, my iPhone is syncing one contact group ("from my PC") to Outlook and another ("iCloud") to iCloud. How can I merge everything and have all my contacts stored in MS Outlook and iCloud?

  • Looking for free game download of Go

    I didn't know where else to post this but I was hoping someone knew where to find a free download of the Chinese game of Go. Thanks.

  • Attribute change run process type failed with short dump

    Hi all, In the process chain Attribute change run process type failed with short dump. I checked the locks in SM12 but there are no locks associated. I checked in the attribute change run screen through RSA1 -> infoobject list but there are no infoob