Passing Parameters in a URL

Hi,
Does anybody know how/if it's possible to pass parameters into a URL from LOV/comboboxes/tick-boxes etc...
I know this is possible through External Applications for the username and password, but what if the user wants to select multiple departments of a given report?
The idea being, that we are going to be passing parameters into Sales Analyser to fire off a specific report with given values.
These values are restricted, depending on which user you are and your level of access to the portal. This URL will then be used to open an SA report with the details required.
Thanks, Matt.

Hi,
You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
characters in the value it should be encoded.
example
select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
<portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
from meters
The above is just an example. Please change the names to suit your requirements.
Thanks,
Sharmila

Similar Messages

  • Passing Parameters in a URL to Reports - Need Help Urgently !

    I have created Image Maps (content area) where I pass parameters in the URL as follows :
    <area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter=PMS 11BBA01">
    <area shape="rect" coords="400,55,600,90" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter=PMS 11BBA02">
    I am having a problem passing this meter parameter to the report [I am generating this report (RPT_SUMKWH) using SQL Query] :
    I have tried the following :
    1) I tried referencing this parameter in the 'Additional PL/SQL code, before displaying page' section of my Report as :- wwpro_api_parameters.get_value('meter', 'RPT_SUMKWH')
    but this did not work (this made the package body invalid).
    2) I then tried using the meter parameter as a bind variable in my SELECT Query of the Report, then, in the 'Customisation Form' section, I place :- wwpro_api_parameters.get_value('meter', 'RPT_SUMKWH') under Default Value, however, when I go back to my Image Map content area & ty to click on the URL, I get an error "Page does not display" .
    How do I then pass this parameter to my report, where do I place the code to make the call for the parameter being passed from the Image Map URL in the content area??
    AVD

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

  • Passing parameters from an URL to a WAD Web Template 7.0

    Hi guys, I need to pass parameters from an URL to a web template created with WAD 7.0. We need to open a template with certain filters starting from a link button located on an Xcelsius Dashboard. Our customer wants a web template to be opened with the filters defined within the Xcelsius
    The idea is to run the template with the filters defined in the URL. I know this was incredibly easy with WAD 3.x, but I didn't find any suitable solutions to use with WAD 7.0.
    What is the easiest way to do this with WAD 7.0?
    Thanks in advance and regards.
    Fabio Cristi

    Hi,
    It is possible in 7.0, but unfortunately it is a lot more complicated than i 3.x. There are quite a few examples here:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/content.htm
    I used it in a case where I wanted to embed a Web template in a BPS application and pass characteristic filters from the BPS application to the web template - similar to your requirements. Basically you need the following just to restrict one characteristic :o(
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=PDS06
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=0D_PH2
    I could only get it to work with one characteristic and I suspect, that the reason is that the URL simply gets to long (very quickly). You have to repeat the above for every characterstic you want to use :o(
    Hth,
    Jacob

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • Passing parameters in FQDN URL of WDA component

    hai my dear WDAers,
    how can
    we pass the parameters from URL and how can we access that paremeter into another view.
    regards,
    rk

    I am not sure what you mean by passing parameters in FQDN URL.
    Is this application called from Portal ? Then you can define parameters in the iView application Parameters.
    If you call the application using navigation api then there is a importing parameter lt_business_parameter.
    You can define also parameters in the application , open the application and right side pane you can define the parameters.
    You can read the parameters in on default plug  of the window and save it in component controller attribute, you can read them back from any view in your component.
    data lt_all_url_param TYPE tihttpnvp.
    wdevent->get_data( EXPORTING name = '_ALL_URL_PARAMETERS'
    IMPORTING value = lt_all_url_param ).
    wd_comp_controller->gt_all_url_param = lt_all_url_param.
    Note: Please read the forum rules once, search the forum before starting your post.

  • Help in passing parameters along with  URL

    Hi All,
    I have a small web application in which I am passing some details to a servlet along with url.
    http://localhost:8080/Test/orderDetails.do?OID-67856
    When I am checking req.getParameterNames(),I am able to see paramname 'OID-67856'
    in Jboss .But not able to see the same in WAS .What is the exact pattern we need to follow when we pass parameters?
    Do we strictly need to follow paramName=paramValue pattern in order to work this on all application servers?
    It will be great if someone share me any specification documents regarding this .
    Thanks in advance.

    798185 wrote:
    Hi All,
    I have a small web application in which I am passing some details to a servlet along with url.
    http://localhost:8080/Test/orderDetails.do?OID-67856
    When I am checking req.getParameterNames(),I am able to see paramname 'OID-67856'
    in Jboss .But not able to see the same in WAS .What is the exact pattern we need to follow when we pass parameters?
    Do we strictly need to follow paramName=paramValue pattern in order to work this on all application servers?
    It will be great if someone share me any specification documents regarding this .
    Thanks in advance.Well, try turning it into ?OID-67856= (so an empty value) and see if it starts to work on WAS. Would have been a test of a few seconds, posting this question took you at least a minute.
    If even after trying it out you want hard proof, you should check the HTTP specifications (google for 'rfc http').

  • Launching a page by passing parameters in the URL

    My app has a page sentry function that sets the APP_USER using the Apache mod_ntlm module to the Windows domain user. I check security for each page in a custom table that I maintain.
    If I try to launch a page by passing parameters in the f?p= URL like
    f?p=100:1:::::P1_ID:10
    since I dont have a session yet, the page sentry generates a session for me and redirects to the page (100:1), but I lose my parameters (P1_ID)
    How can I preserve the entire URL in this case?
    Thanks

    I modified the page sentry function like you suggested.
    Launched f?p=102:51:::::P1_ID:1234
    This got redirected to
    f?p=102:51:2458638498649564102
    My debug table has 8261051781657854662
    When I inspected session state for 2458638498649564102 using Workspace XXX>Manage Workspace>Session State Management>Recent Sessions>Session State
    it had no entry for FSP_AFTER_LOGIN_URL. All it had was
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    There is no entry for 8261051781657854662
    Thanks for your continued help. Appreciate it.

  • Passing Parameters via OpenDocument URL to OLAP Analysis .amw

    Hello together,
    did anyone ever manage to successfully create an OpenDocument URL which passes parameters to an existing analysis workspace .amw?
    We already linked to other .crp and BEx reports, but maybe .amw needs some special syntax..
    I appreciate every hint
    Thanks
    CR Enterprise 4.0 SP2 in usage

    Hi,
    I can confirm: The situation for A-OLAP is the same as it was for Voyager.
    Analysis, like voyager, supports outbound opendoc params (ie pass context to WebI/CR) but not inbound params. The only exception is that you can specify which Voyager workspace to open.
    Voyager/analysis supports SAP connection parameters on opendoc, but this is a manual selection in prompts. You cannot programmatically set connection variables.
    Today we also support "Jumplinks"... a feature in both Voyager and A-OLAP that allows contextual information to be passed to a pre-defined Crystal Report.
    For BI4.1 (end 2012) SAP plans to make A-OLAP more open. This includes supporting SAP's Report-Report-Interface (RRI) and extending the OpenDocument parameters beyond just the workspace name that is supported today.
    Regards,
    H

  • Passing parameters to the url which navigates to oracle applications

    Hi All,
    My requirement is i need to display a link in the email message, so that user can click it and can navigate to a form in oracle applications.
    The link will be like http://shine.apps.com/function_id=670&language=US etc
    I am able to display the form which the user wants, but they want the form to be queried with a value. so can anyone help me to how to pass parameters to the above url.
    Thanks in advance
    Srinivas Dodla

    I achived the same thorugh workflow. In the workflow define a attribute of type form and then pass the formname, applicaiton name, resp name and any other form parameters to it.
    You can mix forms personalization to achive best results.
    Thanks
    Prudhvi
    www.erpschools.com

  • JSF (Trinidad) passing parameters visibly on URL

    Hi,
    I can pass parameters with managed beans, but i they are not visible on url and i want some parameters to be visible so that user can copy-paste and share with someone else..
    How can i handle it? For example:
    user/userinfo.xhtml?id=123456
    Thanks
    Edited by: oak on Nov 30, 2008 1:47 PM
    Edited by: oak on Nov 30, 2008 2:02 PM

    Hi,
    if your attribute is on a input component (hidden or otherwise) it will be passes to the next page when the page is submitted.
    If you want the parameter to be appended to the URL/I then you need to change the form method to GET rather than POST.
    To operate on the parameter on the target page you can create an invoke action on the target pages page definition to do something in the model with the passed value.
    in PageDef of target page:
    Params section:
    <parameters>
        <parameter id="id"/>
      </parameters>in Bindings section:
    <methodAction id="findEmpById"
                      InstanceName="HRServiceDataControl.dataProvider"
                      DataControl="HRServiceDataControl" RequiresUpdateModel="true"
                      Action="invokeMethod" MethodName="findEmpById"
                      IsViewObjectMethod="false">
          <NamedData NDName="num" NDValue="${param.id}" NDType="java.lang.String"/>Invoke action in executables section to call the method above only if param id is passed:
    <executables>
        <invokeAction Binds="findEmpById" id="invokeFindByID" Refresh="ifNeeded"
                      RefreshCondition="${param.id != null}"/>
      </executables>AM method to do something with the param:
        public void findEmpById(String num){
            if (num != null){
                System.out.println("ID is: " + num);   
            }else {
                System.out.println("ID is: null");
        }Brenden

  • Pass parameters dynamically to url iview from web dynpro abap

    Hi,
    I am trying to pass 3 key-value pairs via absolute navigation to a URL iview.
    The url expected is : http://www.sap.com?field1=value1&field2=value2&field3=value3
    For this, I have done the following:
    1) Created a url iview with the 3 parameters in get.
    2) Used the pcd location of the url iview and referred it in the navigate_absolute method.
    Following is the call:
            CALL METHOD lr_port_manager->navigate_absolute
              EXPORTING
                navigation_target   = wa_navigation-target
                navigation_mode     = wa_navigation-mode
                use_sap_launcher    = abap_false
                business_parameters = l_bus_parameter_tab.
    The l_bus_parameter_tab has the key-value pairs populated and I can see them populated.
    However, when the url is being called the parameters are not getting passed. Am I missing anything to be passed?
    Thanks.

    Hi Kumar,
    I have followed your reccomendation and updated the code and iview properties.
    The code now looks like:
            l_parameter-key = 'userid'.
            l_parameter-value = sy-uname.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
            l_parameter-key = 'portal'.
            l_parameter-value = 'test'.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
            l_parameter-key = 'mode'.
            l_parameter-value = 'I'.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
    *End of business parameters population
            CALL METHOD lr_port_manager->navigate_absolute
              EXPORTING
                navigation_target   = wa_navigation-target
                navigation_mode     = wa_navigation-mode
                use_sap_launcher    = abap_true
               business_parameters = l_bus_parameter_tab.
                launcher_parameters = l_bus_parameter_tab.
    However, when the method is called, it does nothing and the url does not get called.
    When I manually add parameters to the url iview and preview it, it does the job.
    For some reason, these parameters are not getting passed to the url iview or page.
    Is there a limitation that parameters cant be passed to url iviews?

  • Passing Parameters through a URL to a Report..

    I have noticed a lot of message about similar situations where people have had problems sending certain parameters through a URL.. so this is maybe something that's not possible.. but you if you dont ask then you dont know.
    so..
    We have a form that has search options in it
    (its a customized form that replaces the customization bit that you get with a report -> .show_parms - just so we could do different things with it)
    and one of the fields is a combobox populated by an LOV
    - it has usernames in it
    so when you search using a value in the combobox it will show all the records that that person has entered into the table..
    however we are currently getting an error
    Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
    this is the URL with the parameters
    http://portal.somewhere.com/pls/portal30/foldername.RPT_Edit_Request_Old.show?p_arg_names=Request.RID&p_arg_values='||nRID||'&p_arg_names=Request.CID&p_arg_values='||nCID||'&p_arg_names=Request.ATID&p_arg_values='||nATID||'&p_arg_names=Request.REQUEST_NAME&p_arg_values='||nREQNM||'%&p_arg_names=_request_rid_cond&p_arg_values=%3D&p_arg_names=_request_cid_cond&p_arg_values=%3D&p_arg_names=_request_atid_cond&p_arg_values=%3D&p_arg_names=_request_request_name_cond&p_arg_values=LIKE';
    when you remove the condition at the end
    the report is displayed (but not customized obviously)
    however you can see the value has been picked up from the combobox as it's in the URL in the address bar..
    so that bit works fine
    any thoughts/ideas/or even solutions! :) would be much appreciated
    thanks
    Richard

    actually
    nevermind
    i got it to work without even knowing :)
    the condition was causing the error
    and adding a % after the value makes it work

  • Error in passing parameters in Go Url

    Hi every one,
    I am using the following go url in my report to navigate between dashboard pages.
    '' || cast("Execution Plan-Run"."Start Date" as varchar(20))|| ''
    The target column is in the datatype of timestamp(date time)
    When i am clicking on any value it navigating but giving the error as
    View Display Error
    A datetime value was expected (received "11-NOV-11").
    Error Details
    Error Codes: EUE9D5XW
    Thanks in advance.
    Edited by: 861096 on Nov 16, 2011 11:38 AM
    Edited by: 861096 on Nov 16, 2011 11:39 AM

    Hi,
    this sounds familiar. Didn't you post exactly the same question a couple of weeks ago ? Don't remember what I replied to you, possibly to use varchar2 instead of character and give it a try. If this doesn't work, I remember that there is a way to use serverside command files for common parameters that needs to be passed. At least I can not find any bug filed against this. If the behavior doesn't change to teh better I therefore suggest to talk to customer support and file a bug.
    Frank

  • Passing Parameters with a URL to an Oracle Report, on an Oracle Reports App. Server

    I have built an Oracle report which resides on a Windows 4.0 / IIS application server with Oracle Reports installed.
    (8i Database / 6i Developer 2000 suite). This works flawlessly when called from an Oracle Form.
    My question is, how do I call the same report from portals and pass it the required parameters. Thanks!

    Hi,
    You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
    characters in the value it should be encoded.
    example
    select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
    <portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
    from meters
    The above is just an example. Please change the names to suit your requirements.
    Thanks,
    Sharmila

  • Passing parameters from a browser URL to Flash

    Flash CS3, AS3
    Is there any way to pass parameters from the URL line in a
    web browser to actionscript?
    ie. so if you had something like the following URL link in
    the browser...
    http://www.somedomain.com/someswf.swf?var1=10&var2=false
    ...it would pass var1 and var2 to someswf.swf.
    (Hypothetically, of course - I'm unsure as to the necessary syntax)
    Is this possible? Or would I need some intermediary software?
    Thanks
    Rick

    i answered a very similar forum query a few days ago
    here
    You need to look into loaderInfo.parameters.

Maybe you are looking for

  • M6-n012dx HDMI out to 3840x2160 60hz?

    I recently bought a new 4k television and trying to output the PC display as 3840x2160 at 60hz, but capped at 30hz. Is this a hardware limitation of the Intel 4600 chipset, or should I be able to output at 60hz? I can't seem to find if the HDMI port

  • Exporting Widescreen out of FCP 3?

    I am trying to export a file out of FCP that was shot in widescreen, yet I don't want it to have the black bars on the top and bottom of the screen. Is there a way to export out it out without it doing this? -Evan Jacobs

  • Just performed update to 10.6.7. Finder is DOA

    After the update, which included itunes and I think Safari updates, finder crashes whenever any file function is peformed such as open file, etc. iTunes does open and work and the Firefox browser as well. Safari does not. I booted with system DVD and

  • ME51N field

    Hi experts, i need to make the GL Account Field on the account assignment tab as display only, i tried on Spro, MM, purchasing, purchase requisition, Define Screen Layout at Document Level but cant find it under the ME51N... where i can change that f

  • IChat app. (4.0.5)

    Why is there no speficic forum for iChat app. (4) ?