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

Similar Messages

  • Issue with passing parameters through Java-JSP in a report with cross tab

    Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
    I hava report that works perfectly fine
       with ODBC through IDE and also through browser (JSP page)
    (ii)    with JDBC in CR 2011 IDE
    the rpt file has a cross tab and accpts two parameters.
    When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
    I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
       Re-Write the rpt files not to have cross-tabs - This would take significant effort
    OR
    (ii)  Abandon the crystal solution and try out any other java based solutions available.
    I have given the code here in this forum posting..
    CR 2011 - JDBC Report Issue in passing parameters
    TIA
    DRG
    TIA
    DRG

    Mr.James,
    Thank you for the reply.
    As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
    To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
    You are right about the parameters, we are using  {?@Direction} is: n(1.0)
    {?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
    When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
    You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
    Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
    This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
    Additionally we tested the same in
        With CR version 2008 instead of CR 2011.
    (ii)   Different browsers ranging from IE 7 through 9 and FF 7.
    The complete environment and various softwares that we used for this testing are,
    OS      : XP Latest updates as on Oct 2011.
    App Server: GlassFish Version 3 with Java version 1.6 and build 21
    Database server ; SQL Server 2005. SP 3 - Dev Ed.
    JTds JDBC type 4 driver version - 1.2.5  from source forge.
    Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
    I am uploading the log file that is generated when rendering the rpt for view in IE 8
    Regards
    DRG

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

  • 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

  • Is it possible to pass parameters through eventlisteners?

    Hello everyone!
    Inside a .fla file I have some buttons and each button will tween a different image to the stage. All the images are outside the stage in the same x and y position and I just need to tween the x coordinate.
    Now I'm working with an external document class where I'm trying to hold all my functions and I'm stucked with the Tweens. I'm willing to stay away from the flash tween engine and I'm trying to work with tweenLite.
    My question is: Is it possible to pass parameters through eventListeners so I can use something like this inside my docClass?
         public function animeThis (e:MouseEvent, mc:MovieClip, ep:int):void { //ep stands for endPoint.
         TweenLite.to(mc, 2, {x:ep});
    If this is possible, how am I supposed to write the listeners so it will pass the event to be listened for AND those parameters? And how to build the function so it will receive those parameters and the event?
    If this is not possible, what's the best approach to do this?
    Thanks again!

    So, I understand you need to match buttons with corresponding visuals.
    Here is a suggested approach.
    Since SimpleButton is not a dynamic class, I suggest you have an enhanced base class for these buttons that extends SimpleButton. What is enhanced is that button has reference to the target.
    I wrote code off the top of my head and it may be buggy. But concept is clear:
    This is base class for all the buttons:
    package 
         import flash.display.DisplayObject;
         import flash.display.SimpleButton;
         public class NavButton extends SimpleButton
              public var targetObject:DisplayObject
              public function NavButton()
    Now, this is your doc class that utilizes this new buttons:
    package 
         import flash.display.DisplayObject;
         import flash.display.MovieClip;
         import flash.display.Sprite;
         import flash.events.Event;
         import flash.events.MouseEvent;
         public class DocClass extends Sprite
              private var btnArray:Array;
              private var visuals:Array;
              // references to objects being swapped
              private var visualIn:MovieClip;
              private var visualOut:MovieClip;
              public function DocClass()
                   if (stage) init();
                   else addEventListener(Event.ADDED_TO_STAGE, init);
              private function init(e:Event = null):void
                   removeEventListener(Event.ADDED_TO_STAGE, init);
                   // buttons and MCs shouldn't be in the same array - otherwise it is counterintuitive
                   // assuming all the objects are on stage
                   btnArray = [price_btn, pack_btn, brand_btn, position_btn];
                   visuals = [g19_mc, g16_mc, g09_mc, g04_mc];
                   configObjects();
              private function configObjects():void
                   var currentVisual:MovieClip;
                   var currentButton:NavButton;
                   for (var i:int = 0; i < btnArray.length; i++)
                        currentVisual = visuals[i];
                        // hold original positioin
                        currentVisual.hiddenPosition = currentVisual.x;
                        currentButton = btnArray[i];
                        // set target MC
                        currentButton.targetObject = currentVisual;
                        currentVisual.addEventListener(MouseEvent.CLICK, placeObject);
                        currentButton.addEventListener(MouseEvent.CLICK, placeObject);
              private function placeObject(e:MouseEvent):void
                   // if NavButton is clicked - make new visual targeted for moving in and currently visible object subject for moving out
                   if (e.currentTarget is NavButton) {
                        visualOut = visualIn;
                        visualIn = NavButton(e.currentTarget).targetObject;
                   else {
                        // otherwise - move visual out
                        visualOut = visualIn;
                   swapVisuals();
               * Accompishes visuals swapping
              private function swapVisuals():void {
                   if (visualIn) TweenLite.to(visualIn, .3, { x:0 } );
                   if (visualOut) TweenLite.to(visualOut, .3, { x:visualOut.hiddenPosition } );

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

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

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

  • UNIX script invocation by passing parameters through  OIM

    According to our requirement, we need to pass parameters (say userid) through OIM 11g R2 to a script and then execute the script for user deprovisioning/deletion in a target m/c
    Please let us know how much feasible is it to use UNIX OOTB connectors to pass parameters and execute the scripts ?
    Any idea is appreciated.
    Thanks

    Yes, you put a line in the script that looks like this:java classname parameter1 parameter2 parameter3 ...Then the JVM will call the static main(String[] args) method of "classname" and put those parameters into the "args" array.
    If you are asking how to generate such a script, or how to call it from your COBOL program, sorry, I don't know how to do that.

  • 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

Maybe you are looking for

  • Apply OID search filter for Active Directory Export Sync Profile

    - currenlty we have active directory export profile working successfully - the filter we apply at OID side is SynchronizeToAD!=OID that means synchronize all ldap data that has a attribute value other than "OID" - This works very well Problem: - We n

  • Cannot reinstall Adobe Illustrator CS4

    Hello! 2007, I have bought Adobe Illustrator CS4 from your website. I used it few months and then I put it aside. First, the cd kept asking for a serial number and the one I still had since 2007, did not work. One must buy a new serial number, i have

  • Sustain won't stop when using Logic's Plugins

    I have a CME VX80 and using it with Logic 9.01. I'm getting the sustain staying on all the time once I press the pedal. If I change the polarity then the sustain stops when I press the pedal. This seems to happen only with Logic's virtual Instruments

  • How do we initialize DAL variables without making changes to INI files?

    We have an application which currently use only two DALs. We would like to add a DAL to popluate certain data on the form. We have encountered an issue with initialization of dal vairables. One of the solutionis that set FlushDalSymbo = Yes in the FS

  • MyFaces Trinidad and Disabled Javascript (Accessibility)

    Hi All I have a requirement for the application to be rendered and viewed even when javascript is disabled on the browser. MyFaces Trinidad seem (or seemed) like a good choice based on the claim that the javascript will degrade gracefully when javasc