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
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??
AVDHi,
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 CristiHi,
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 -
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 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,
ErnstAs 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 -
Getting error , while passing parameters from one page to another page
Hello friends,
i am getting error, while passing parameters from one page to another page, below code i wrote.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
ArrayList arl=new ArrayList();
EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
ERecordImpl ERecordObj=new ERecordImpl();
HashMap hMap = new HashMap();
hMap.put("1",ERecordObj.getTransactionName());
hMap.put("2",ERecordObj.getTransactionKey());
hMap.put("3",ERecordObj.getDeferredMode());
hMap.put("4",ERecordObj.getUserKeyLabel());
hMap.put("5",ERecordObj.getUserKeyValue());
hMap.put("6",ERecordObj.getTransactionAuditId());
hMap.put("7",ERecordObj.getRequester());
hMap.put("8",ERecordObj.getSourceApplication());
hMap.put("9",ERecordObj.getPostOpAPI());
hMap.put("10",ERecordObj.getPayload());
// hMap.put(EresConstants.ERES_PROCESS_ID,
if(pageContext.getParameter("item1")!=null)
pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hMap,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES
Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
Thanks
krishna.Hi,
You have imported the wrong class for HashMap.
Import
com.sun.java.util.collections.HashMap; instead of java.util.HashMap
Thanks,
Gaurav -
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,
rkI 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?
ThanksI 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 usageHi,
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 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
Richardactually
nevermind
i got it to work without even knowing :)
the condition was causing the error
and adding a % after the value makes it work -
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 DodlaI 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 -
Page 404 Error when passing Session values through URL
The current application I'm working on is a 'Targeted Email Communications' application. Bascially, employees at the school at which I'm employed can go in and select services to recieve outage notification emails on.
The problem I'm discussing in this post has to do with our so called 'Notification Summary Screen.' This screen is basically a report region which displays all outage notifications issued by this application. In the left-most column of this report, I have an edit button that when clicked, redirects the user to the 'Create / Update / Send Screen' with the primary key values passed through the URL. When this happens, all other page items query their values based on the NOTIF_ID passed in through the URL. All of this works fine.
The problem is, on the Notification Summary Screen, I also have a button labeled 'Create a new notification.' This button redirects the user to the same page as before, except now all of the values are NULL because this outage notification has not yet been created. The problem is, when I try and do this - I get a page 404 not found error. I'm pretty sure it's because my application is getting confused because earlier all of the values were passed in through a URL. For the 'Create New' button, I clear the page cache for this page - and it still does nothing. I am at a loss for what to do here because I keep getting the error.
Here's the code for the URL button found in the report query in the 'Notification Summary Screen' :
('<a href='
|| 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.::'
|| 'P2_NOTIF_ID,P2_NOTIF_SEQ,P2_INFO_TYPE:'
|| a.notif_id ||','|| b.notif_seq || ',' || 'Update'
|| '>'
|| '<img src="#APP_IMAGES#EditButton.gif" />'
|| '</a>') as "edit",** NOTE, I took out the double quotes after href and before the closing right karat brackets because for some reason the code in the URL wouldn't display...weird.... **
The NOTIF_ID value is the primary key identifier for each outage notification. Additionally, the NOTIF_SEQ value is the sequence number for each (because each notification could have multiple updates). The INFO_TYPE value just references whether this is 'Initial', 'Updated', or 'Closing' information.
Any suggestions would be much appreciated.
Eric
Edited by: user11685190 on Nov 6, 2009 1:12 PM
Edited by: user11685190 on Nov 6, 2009 1:13 PM
Edited by: user11685190 on Nov 6, 2009 1:14 PMHey you guys,
Thanks for your responses. I actually just started working for this academic institution, and have to finish a probationary period before I have access to their VPN (5 Months). Therefore, I cannot access my workspace, nor will they allow me to export my application because it's considered their intellectual property. I believe it may be the &DEBUG portion of it.
Though I cannot state the exact URL the error states, I can tell you that if I go into application builder to the page in question and try and run it before the page that links to it, I get the error. However, when I use the link everything works fine. When I use the 'Create New' button to link to the page with no values passed, I get the error again. I work again on Monday and will have more information then.
Thanks again!
Eric -
Error when passing parameters in a link
Hi:
i have a report and a form. i've created a link that will point to the form from the report. So i've associated the link to a field of the report and edited it so that a key field in the form will be equal to a value passed from the report's key field. The fact is that passing static values works properly, but when passing parameters from a column it raises an error:
Error: Unable to parse query (WWV-10200)
ORA-06550: line 1, column 37:
PLS-00201: identifier 'NO' must be declared
ORA-06550: line 1, column 9:
PL/SQL: Statement ignored (WWV-11230)
Failed to parse as PORTAL - begin wwv_rptclip.g_row_object :=
NO(wwv_rptclip.g_row_object) ; end; (WWV-08300)
Does anybody know how to solve this problem? or why is the error raised?
Thx.
Regards. Urko.Also, is that a function NO you're trying to use? I'm not sure what that is, so it's possible when Portal tries to parse the sql string and execute it, it's not a recognizable function in the Oracle language or the appropriate grants on that function have not been made to the schema executing the report/form
-
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 PMHi,
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
-
Changing Crystal report connection - another question
Hi All, I have to change the conneciton for crystal reports that resides on the CMC. I saw some code examples that looks promising, but I encountered some problems in opening the report as a ReportClientDocument ocbject. I use the following code: IR
-
Problem with mapping [Idoc to EDI]
Hi experts, i am facing a new problem in my mapping (idoc to edi scenario) my target is as follow: InvoiceDME >Invoice 1..1 >>InvoiceHeader 1..1 >>>IncotermsCode 1..1 My Idoc is as follow: IDOC >E1EDK17 0..20 >>QUALF >>LKOND >>LKTEXT There can be 2 s
-
I sent a request for my serial number 2 weeks ago and haven't gotten it! What do i do?
Im in hight school, but i do this thing called running start, where HS students can take classes at the community college. I bought lightroom 4.1 student/teacher edition. Because its the student/teacher edition i had to request the serial number afte
-
Change Preview Image at Callout (Video library Thumbnails view) to another DOM elements
Hello, Is it possible to change DOM of the already existiong Callout for Thumbnail View at Video Asset Library?
-
Error 1611 when trying to update software
When I update my iPhone on my pc I am given the error 1611. I can update the phone on another computer but when I try to update on the same computer again it is impossible.