How to set the default value in dashboard prompt?
Hi there,
In my Dashboard prompt I'm getting values like:
Mar 2010
Apr 2010
May 2010
Jun 2010
How to set the default value to the current month (Jun 2010). I don't want to use "specific value". I want to use the "SQL Result" for populating the default value.
Appreciate your help
hi,
you can create a Repository variable current_month with the expression as
select to_char(trunc(sysdate),'Mon')from dual
and use this in the prompt "Default to" Server variable and use this repository variable.
hope this helps.
cheers,
vineeth
Similar Messages
-
SRM 4.0- How to set the default values for product type (01) only for SC
The radio button Service should not be visible.
Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
How to set the default values for product type (01) only for SC
We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
Here we can set defalut value 01 but it is not correct one since same search help is using several places.
We need to limit the search help results only for SC.
Kindly help out me ASAP.The easiest way to set defautl values is to edit the batch class.
Goto the characteiristic and go to update values.
In here you probably have something like 0 - 100 as a spec range.
On the next line enter the default value within this range. At the end of the line, click in the box in the column labelled "D". This indicates the defautl value for the characteristic.
If you need to you can do this in the material classification view as well.
Just to be clear, these values will only show up in the batch record. You can not have defautl values in resutls recording screens.
FF -
How to set the Default values for Info Objects in Data Selection of InfoPac
Hi All,
Flat file Extracion:
How to set the Default values for Info Objects in Data Selection Tab for Info Package
ex: Fiscal Year Variant Info Object having values 'K4' 'Y2' etc in Flat file
Initially default value(not constant) for this info Object value should be 'K4' in Info Package
If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
Rgds,
CVHi,
suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
haritha -
How to set the default value of an item type DATE PICKER to the day of yest
Hi
How to set the default value of an item type DATE PICKER to the day of yesterday ?
Thank you very much !
Christian.Hi Christian,
Have a look at this thread Re: Default the Date Picker to Today
It covers this issue in detail.
Regards
Paul -
How to set the default value of selectOneChoice
Hi All,
I have two selectOneChoice(soc1 and soc2) in two respective pages with the same datacontrol.Now i need to set the default value of soc2 as per the value selected in soc1.
For eg:-
if user has selected a value in soc1 say "Bag" in the list then it should set the default value in soc2 as "Bag" when the second page loads.As both the selectOneChoice has been created using same data contol.
How can i achieve this?
Please suggest.Hi PR/Suresh,
Thanks for your reply.
My soc1 shows the employeeId like 100,101,102,103 but it holds the value as employeeName like Navn,Joy,Steve,Mark. I have used valuechangeevent to get the current selected value from soc1 but when i set the value in soc2 in its set property then the log says :-
*<SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "Navn" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc2]*
My jspx page code of soc2 is :-
<af:selectOneChoice binding="#{backingBeanScope.backing_temp2.soc2}"
id="soc2"
label="#{bindings.FirstName.label}">
<f:selectItems value="#{bindings.FirstName.items}"
binding="#{backingBeanScope.backing_temp2.si2}"
id="si2"/>
</af:selectOneChoice>
and in my bean where i am accessing the value from valuechangeevent from soc1:-
public void getValue(ValueChangeEvent valueChangeEvent) {
BindingContext bindingContext = BindingContext.getCurrent();
oracle.binding.BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
//for iterator name click binding tab in the jsf page
DCIteratorBinding iter = (DCIteratorBinding) bindings.get("Employees1View1Iterator");
int curIndex = (Integer)valueChangeEvent.getNewValue();
Row datRow = iter.getRowAtRangeIndex(curIndex);
String name = (String)datRow.getAttribute("FirstName");
System.out.println("the new value is"+name);
RequestContext requestContext = RequestContext.getCurrentInstance();
requestContext.getPageFlowScope().put("value", name);
and then i am setting it to the soc2 in backing bean :-
public void setSoc2(RichSelectOneChoice soc2) {
this.soc2 = soc2;
RequestContext requestContext = RequestContext.getCurrentInstance();
String val = requestContext.getPageFlowScope().get("value").toString();
this.soc2.setValue(val);
In this error i can predict that it is not able to find the 'Navn' in the list of soc2 because in the list it has employeeId which has corresponding value as name of that employee but how do i set the value in soc2 then.
*<SimpleSelectOneRenderer> <_getSelectedIndex> Could not find selected item matching value "Navn" in RichSelectOneChoice[UIXEditableFacesBeanImpl, id=soc2]*
Any ideas??
Thanks -
How to set the default values of the field of the context.
Hi Experts ,
I want to set the default value of the field of the context.
Where and how this declaration should be done.
Thanks in Advance.In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
Regards
Naresh -
How to set the default value of a LOV that is found in a view criteria
HI,
I need to set the default value of an LOV that is found in a view criteria. I tried to set a groovy expression but unfortunately it wasn't read. i also tried to bind the LOV to a bind variable and set the value of the bind variable in the constructor of my backing bean but unfortunately the default value appeared the second time i entered the screen and not on page load.
Can anyone advise where can i set the default value,
Thanksif you want some default value in LOV. you go to edit list of value wizard-> UI hint->include no selection Item checkbox -checked.use labeled item first of list- and beside that put the label. but when you try to get value, it will show null.but you can manipulate in ur java , if it default value
-
How to set the default value of a database column to NULL
Hello,
I want to set the default value of a column (VARCHAR2(20) to NULL, nut I cannot figure out to do this. I tried the following editing the offline table with JDeveloper:
Default Value : <empty> -> On database NULL
Default Value: '' -> On database ''
When I create a new column, there is no default value on the database side and when I open the tabe properties in the database navigator I can see that the default value is (null). This is what I want to see in the other column as well. I don't know why sometimes a default value is visible on the database side (when generating form offline tables to database tables) and sometimes not.
Perhaps sombody can bring some light in this issue.
Thanks ThomasHello Shay,
I have the impression that you don't understand my problem. So here step by step:
1. Create a offline Table TEST with one column TEST: VARCHAR2(20). nullable=true, no default value.
2. Generate the table to the database
3. When you look at the table properties (columns) with the database navigator the following information is displayed (sorry for the formatting):
Column Name | Data Type | Nullable | Data Default | COLUMN ID| Primary Key | COMMENTS
TEST | VARCHAR2(20 BYTE | Yes | (null) | 1 | (null) | (null)
4. Now set the default value for the column TEST in the offline table for example to 'Test'
5. Generate the table to the database.
6. When you have a look at the database table, the default value is now 'Test' (as expected)
7. Now remove the default value of the column TEST in the offline table
8. Generate the table to the database
9. When you have a look at the database table, the default value is now NULL (in uppercase letters without parenthesis)
And this is where the problem starts!
When you generate the table again with the options "Alter/Manual Reconcile" the default value of the column test is considered to be different! But in fact it should'nt be different because nothing has been changed.
Best regards Thomas
Edited by: thmayr on May 28, 2009 9:05 AM
Edited by: thmayr on May 28, 2009 9:31 AM -
How to set the default values for print options
Hi all,
We can set the default value for print options, just like Logical destination、numbers of messages、print immediately and so on, so where we should to maintain these default?Hi Sandy,
This can be done by an abaper by making changes in the driver program. The Driver program feeds all the data which u have mentioned for printing.
if the driver program is standard. copy to an z type and make modification on printer settings on the driver program code.
this will surely solve the issue.
Regards
Gunaseelan -
How to set the default values for fields
Hi all,
How to show the default values without changing the existing code in the CO for the seeded page.
I have requirement like one drown box in that three values are there. On page load the item is empty , but i have to show first value as default value. Is this possible through personalization..
Can any body have idea pls give some suggession.
Thanks
UmaConsidering you don't want to go for controller extension..
A way is to use java script in personalization.
Simply create a RawTextBean using personalization and add the java code to change the properties.
Java script plan:
Get the handle of the items to change (like here drop down)
selectTags=document.getElementsByTagName('select') --gives list of all the select tags in the page
get ID of the select tag whose value you want to change (loop throug selectTags array).
or get it directly by getElementsByName method or getElementsByID mETHOD.
Say its handle is changeItemID.
changeItemID.selectedIndex=2
Overview of script
<SCRIPT type="text/javascript">function _checkLoad(eventXX){
--yOUR CODE FOR GETTING handle Of the select item whose value is to be changed,goes here...
changeItemID.selectedIndex=2
}</SCRIPT> -
How to set the Default value in the picklist and LOV
Hi All,
I have created a table with some of the columns as picklist and some of the columns as Lovs to insert some data into the tables as per the client requirement.
I want to make one value as default for the picklist and one value as default for the Lov.
Could you please let me know how can we show one value as default in the pick list or Lov.
thanks in advance.
jaycan u please help how can we set the initial value dynamically with the userid
For that i was passing the value from process Request of the lovCO by using the get user id to the vo query in the vo
but its not giving the initial value as default dynamically depending on the user id
could you please let me know the solution.
Thanks
Ajay -
How to set the default value filters for navigational block in WAD.
Hi Experts.
as per the customer requirement . they have bex report we need to convert in to web. but in the bex for one field they using default filters but am not aware in the WEB reports.
Please anyone suggest me how to give the default filter values in the navigation block in WAD.
Thanks
AshokHi,
In the Properties of the Navigation Block pane. Goto WebItem-- Goto List of Characteristics, in that click list it will pop up new window, there enter the required objects wants to be in the default filter area.
Hope it hleps you.
Veerendra. -
How to set the default value in DataBase
Hi,
I am using Jdeveloper 11.1.1.3.0
I have created EO, VO and AM. if I run the AppModule and create one new record without give the value and commit the record. but they data base have the default value in that particular row(witout input given in App Module). how to implement this concept.
give some ideas....
regards,
RaguHi John,
Its commit the default value in database. Thank you very much.
Regards,
Ragu -
How to set the default value to the lov item
Dear alll
i have creation page in that two items are there those are lov's
i am calling that creation page from another page
i like this code to set the lov's
OAMessageLovInputBean comp =
(OAMessageLovInputBean)webBean.findChildRecursive("Company"); //grab the item
comp.setValue(pageContext,companyname);
when i set like
when i am saving the records again it is showing error "please select a valid value"
Regards
SreekanthHi Pratap,
I have tried the following code to set default value in OAMessageLovInputBean while loading the page but its not working.
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
String delToLoc = (String)pageContext.getSessionValue("deliverTOLoc");
Number delToLocId = (Number)pageContext.getSessionValue("deliverToLocId");
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject poHeadervo =
(OAViewObject)am.findViewObject("PoHeaderMergeVO");
PoHeaderMergeVORowImpl poHeaderVoRow =
(PoHeaderMergeVORowImpl)poHeadervo.getCurrentRow();
if (delToLoc != null && !"".equals(delToLoc)) {
// poHeaderVoRow.setShipToLocation(delToLoc);
OAMessageLovInputBean msb = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("DefaultShipToLocation");
msb.setValue(pageContext,delToLoc );
Please suggest me how to resolve this issue.
Thanks & Regards,
Sunita -
How to set the default value for page item in report
Hi Gurus
I currently i have company name as page item in one of my report screen ,but it is displaying the value for company name in its drop down column ,but i want to make it "*ALL* as default after the query result ",this is user requirement ,please share ,how can i make it ,is it possible ??,thanx in advance
thanx
PratapHi,
I don't think this is possible. You can of course use a parameter to select the page item and default the parameter but then the user will have to rerun the report to see other pages items.
Rod West
Maybe you are looking for
-
I have recently installed Mavericks on my desk top and since then I have been unable to switch off my computer without crashing it. I work with two screen and now I seem to have the menu bar on the second screen as well which I did not have before.
-
Imported images from iphone are unsupported in aperture?
When I try to import images from my iphone into aperture, they come in as gray boxes. When I click on these I get a message that the file format is unsupported. Anyone else running into this?!
-
How to open previous iMovie 09 Projects- don't appear in the Project Pane!
I have a lot of iMovie 09 Projects that I have done but they no longer appear in the Project Pane. They are still on my external mac-formatted hard drive, but I can't get them to open in iMovie. I remember moving them to my external hard drive within
-
i recently posted a question about what may be causing my imac to freeze while shutting down ... or at least take a really long time to shut down. i got a lot of good advice on potential problems, i ran the disk utility, fixed permisions, and disk er
-
Tips for film audio prep in Audition?
Hello, I shot a film using a Canon 5D Mark II and I was looking for some tutorials or tips on the recommended workflow for preparing the audio in Audition, which effects I should use, etc. This is dialogue audio from the actors. I was planning on goi