Date Navigator Month Selection
Hello,
is it possible to use the datenavigator just for months selection? Like only displaying a year with twelve months. In case it isnt: Right now I have the problem that switching from one month to the other in a datenavigator with 1 row and 1 column doesnt trigger the selectMonth event, if I bind the same action to the select day property, it works fine.
thanks in advance
Hello,
because I wouldnt want to build a widget myself. Also the datenavigator looks nicer than a dropdown of course
I tried binding the date to an inputfield but that didnt help either.
Would I have to fill the dropdown manually?
Similar Messages
-
I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. year each month. I need to create a spreedsheet using the the Acutlas from the year-to-date and from last year-to-date, but need to report each month.
Hi Tony,
Answering your question would be easier given a screen shot of the source table and one of what you want the summary table to look like.
Is the data you want for each month in a single cell o the source table, or does the summary table need to collect February's data (for example) from several cells and do some math with those numbers before presenting them on the summary table?
Regards,
Barry -
Select multiple date with interval in date-navigator
Hi,
Is it possible to have a multiple date selection with interval in a date-navigator. When yes, how?
Richard MiddelburgLook at the below thread:
Re: Date Navigator Challenge
Raja T -
Select-options split date into month and assign to low and high
Hi,
In my select-options i am giving BEDAT (01.04.2004 TO 30.10.2005).I need to split month and
year in separate fields.that is
select-option_low-month in one field
select-option_high-month in second field
select-option_low-year in third field
select-option_high-year in fourth field.
Finally i need to move these four fields to it_final.
select * from mbewh into corresponding fields of table it_mbewh
for all entries in it_final where matnr = it_final-matnr and
bwkey = it_final-werks and lpmon = ? and lfgja = ?
and bklas <> ' '.
what input i have to give in lpmon and lfgja in select query to get for lfmon (04 to 10)
and lfgja (2004 to 2005).
suggest some ideas.Hi ,
Can you please check the following code.
Hi ,
data : l_low_yr(4),
l_high_yr(4),
l_low_mon(2),
l_high_mon(2).
Splitting the select option date to month and year into low and higher values
l_low_yr = s_date-low+00(04). " Year low value from the date range
l_low_mon = s_date-low+04(02). " Month low value from the date range
l_high_yr = s_date-high+00(04)." Year high value from the date range
l_high_mon = s_date-high+04(02)." Month high value from the date range
selecting the data from the table mbewh based on some conditions.
select * from mbewh into corresponding fields of table it_mbewh
for all entries in it_final where matnr = it_final-matnr and
bwkey = it_final-werks and lfmon BETWEEN l_low_mon and l_high_mon
and lfgja BETWEEN l_low_yr and l_high_yr and bklas EQ ' '.
This select will retrive the desired data records from the table MBEWH.
Please let me know if this works according to your requirement.
Thanks and Regards
Saritha -
HI Experts
i'm using date navigator which contains 3 months ...and select type is Range...
and i'm having two input fields .... that is Starting Date and End Date
what i need is if i select range of date that ex
jan 4 , to ......jan 23
starting input field has to show jan 4
End Date input field has to sow jan 23
please give me some suggestions
Regards
Ramprasad
Edited by: Ramprasad K on Sep 30, 2008 10:16 AMHi Sunaina Reddy T
can you please give me some more details about what you are mentioned
Regards
Ramprasad -
Stock report with value and qauntity for given date not month wise
Hi gems,
can any body give me the standard report for Stock value and qauntity for given date not month wise at storage location levelHi
check the report S_P00_07000139 with the option inventory and raw material report- detail and selection date (from, to date same). List will give opening & closing balances with goods movment and their values.
Thanks -
Hi all,
I have my data in the table as date wise. I need to sum this data in month wise.
Can anyone tell me how to do it. Is their any fm to do it or any sample pgm of this kind.
For ex my output should be like this :
field1 field2 Month1 Month2 Month3 Month4 ..
Waiting for reply,
Regards,
Priyahi priya,
First of all sort the whole set of values as per date wise into an internal table.
Sort the table as per the date .
CONCATENATE PR_MONTH '01' INTO W_FIRST_DATE.
CALL FUNCTION 'LAST_DAY_OF_MONTHS'
EXPORTING
DAY_IN = W_FIRST_DATE
IMPORTING
LAST_DAY_OF_MONTH = W_LAST_DATE
EXCEPTIONS
DAY_IN_NO_DATE = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
W_DATE = W_FIRST_DATE.
With this try to determine the first and last days of the month
From where u want to start .
Capture the month field from date field into pr_month.
Set the first date of the month to 01 like 02/01/2006
Suppose u had 02/02/2006 as the first occurance of the date then
U r trying to determine the first date and last date of ur feb month for the year 2006 .
Now 02/01/2006 and 02/28/2006 are determined by this process .
Set date_low = 02/01/2006 .
Date_high = 02/28/2006.
Now into ur select statement capture the fields between 02/01/2006 and 02/28/2006 just like range .
U can use select between or range
,so this covers all the fields for feb ,
Use collect on ur final output table which will give u the final sum values.
Now next field is say 03/10/2006 , then use the same process to capture the values .
Itab say is containg date fields
Logic is
Loop at itab.
Month = itab-date+(x)
At new month.
Perform operation .
Endat.
Endloop. -
1st & last day of month based on month selected
Hi All,
I am an infant in BO. I want to create a variable in which I need to compare Order Creation Date with First Day of Month and Last Day of Month.
I have gone through the posts here regarding this, I found huge no of posts on calculating the 1st & last day of month based on a date value. But,
I don't have any date objects in the universe level, instead I have only Month Name/Month Number objects in the universe level (as it is a monthly report)
So, How to create 1st day & last day of month based on the month selected.
That is, If I run the report for FEB 2011 (Prompt values), I need the outputs as 01/02/2011 & 28/02/2011 as my 1st & last date values respectively.
I am working on BOXI R 3.1
Thanks in Advance,
MitchHi
Create a variables and write a formula like
Also add Month number Object in query level
Var_Month
=userresponse("Enter Month")
Var_A
"01/"MonthNumberObj+Right(var_Month;4)
var_First date
Todate(var_A;"dd/MM/yyyy")
var_lastdate
=lastdayofmonth(var_Firstdate)
Note: check the default format for date according to ur database like MM/dd/yy or something like that . and add in the var_firstdate
regards
Sunil -
Using Range Option in Date Navigator
Dear Experts,
I am using the Range option in the Selection mode of a Date navigator.
I have bind two attributes to the First and Last selected property of the Date navigator..
I have implemented the On Day select event method to get the dates and fill in my Input fields.
But When I am clicking on the date the attributes bind to First and last selected dates are giving the same Value.
It is not fetching the two different dates.
Note: I have declared a node with carnality 0:1 and created tow attributes for the first and Last selected dates.
How can i get the Range of dates?
Kinldy give some suggestions
Thanks,
Nalla B.Hello Nallasivam ,
Did you try to specify the value 'range' to the property selectionMode of the Date navigator ?
Check out this sap link :
https://help.sap.com/saphelp_nw04s/helpdata/en/d5/9bac41993ac646e10000000a155106/content.htm
Dynamic Programming of Properties in :
https://help.sap.com/saphelp_nw04s/helpdata/en/81/ab884118aa1709e10000000a155106/content.htm
Best regards
Hicham -
Af:table range navigation and select with rownum
I'm trying to use af:table to display some data (long list), but the value attribute always returns the entire list. (Basic example)
I'd like to use the range navigation so the application only select a sublist from the database (using rownum between x and y) and also display the navigation pane with all the pages, but I was only able to get the specific page with no navigation pane.
Does anyone have a good example on how to use the range navigation with selects/rownum?Assuming I have an untitled1.jspx page with an Untitled1.java backing bean and an <af:table> on my page whose whose binding attribute is set to the EL expression #{Untitled1.table} to expose the table UI component in the backing bean, and a rangeChangeListener set to the EL expression #{Untitled1.onRangeChanged}, then with the following backing bean class, I seem to have been able to disable the user's picking the "Show all" option. It still appears in the list, but visually picking it stays on the current range of rows.
package test.backing;
import oracle.adf.view.faces.component.core.data.CoreTable;
import oracle.adf.view.faces.event.RangeChangeEvent;
public class Untitled1 {
private CoreTable table;
public Untitled1() {
public void onRangeChanged(RangeChangeEvent rangeChangeEvent) {
int newStart = rangeChangeEvent.getNewStart();
int newEnd = rangeChangeEvent.getNewEnd();
if (newEnd - newStart > getTable().getRows()) {
int oldEnd = rangeChangeEvent.getOldEnd();
int oldStart = rangeChangeEvent.getOldStart();
queueRangeChangeEventForTable(newStart, newEnd, oldStart, oldEnd);
private void queueRangeChangeEventForTable(int oldStart, int oldEnd,
int newStart, int newEnd) {
RangeChangeEvent rce =
new RangeChangeEvent(getTable(), oldStart, oldEnd, newStart, newEnd);
getTable().queueEvent(rce);
public void setTable(CoreTable table) {
this.table = table;
public CoreTable getTable() {
return table;
} -
Hi,
I am trying to use data navigator UI element. My requirement is to highlight colours on few dates i.e absent days of an employee.
Saw the help documents but couldn find how to do it.
Could you please tell me on how to do it step by step.
Thanks in advance,
Srihi
> Create a node with one attribute .
let node name -- marking.
attribute name -- date of type D.
---> give cardinality and selection as 0..N
> and then go to the layout and add right click on the date navigator node and insert selction.
> give the makring node as the data source and date attribute as data property.
> in the wddoinit or in the supply function of the node MARKING. fill the node with the values i.e. with the dates which you
want to highlight.
like as shown below.
DATA lt_marking TYPE wd_this->Elements_marking.
DATA ls_marking LIKE LINE OF lt_marking.
lS_marking-category = CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-ONE.
lS_marking-date = '20110101'.
APPEND LS_MARKING TO LT_MARKING.
lS_marking-category = CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-TWO.
lS_marking-date = '20110103'.
APPEND LS_MARKING TO LT_MARKING.
lS_marking-category = CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-TWO.
lS_marking-date = '20110106'.
APPEND LS_MARKING TO LT_MARKING.
** bind all the elements
data node type ref to if_wd_context_node.
node = wd_context->get_child_node( 'MAKRING' ).
node->bind_table(
new_items = lt_marking
set_initial_elements = abap_true ).
> then go to the layout and set the category property of the marking UI to any of the four possible values to
give them a color.
thanks
sarbjeet singh -
Date equality in select statement
Date equality in select statement giving 0 result even table contains record matching to it.please suggest what wrong in this query
1- select *from EOE_POC.PRODUCT_TEST_REPORT where CREATE_DATE = '03-SEP-13'
2 - select *from EOE_POC.PRODUCT_TEST_REPORT where CREATE_DATE >= '03-SEP-13'
above query (2nd one) is giving 2 records.But I am intend to check for equality not greater ..plz enlightenDeekay wrote:
Thanks Bhushan.
select *from EOE_POC.PRODUCT_TEST_REPORT where CREATE_DATE = sysdate
can u plz throw some more light how to check by sysdate?
Assuming CREATE_DATE is -- as it should be -- defined as a DATE (not a varchar) you need to be aware of the fact that DATEs always carry "time" as well. So sysdate is not just "today", it is "this very second". That's why you need to consider the use of TRUNC when you want to compare dates without consideration for the time.
The other thing you need to be aware of is that the literal '03-SEP-13' is not a DATE, but a character string that humans would tend to recognize as representing a date. But to a computer it is still just a character string, fundamentally no different from "here's yer sign!". Therefore, in your usage of comparing the character string '03-SEP-13' to the DATE in CREATE_DATE, oracle has to to an implicit conversion. And to do that implicit conversion it has to know what part of the character string represents the day, the month, the year, and possibly the hour, minute, and second. To do this, it relies on the current setting of NLS_DATE_FORMAT, which may or may not be what you expect. Please see: http://edstevensdba.wordpress.com/2011/04/07/nls_date_format/ - But I want to store my date as ... for a more complete explanation.
And finally, why are you using 2-digit years? Are you actually working in IT and never heard of "the Y2K problem"? Fifteen years ago I and thousands of my colleagues began a two-year grind of busting our butts to make sure systems continued to function correctly when the current date became 01-Jan-2000. Please don't repeat the same mistakes that caused that problem. -
How to use Data Navigation in OBIEE11g
Hi,
I read an article about BIEE 10g feature: Data Navigation (click on a record in Analytics report1 and corresponding drill down data show in Analytics report2). I found that there are some setting "Type: Navigate" in "Value Interaction" should be set in Tab: "Column Format" of Column properties in BIEE 10g (pls refer to: http://gerardnico.com/wiki/dat/obiee/navigation).
However, I didn't find these setting in OBIEE 11g. How do I use Data Navigator in OBIEE 11g? Is this features is disabled?*1. Firstly, what means of "Column (should be filtered)?*
The column in Criteria you should give the *Filter*
2. Table.Column -> Column Properties -> Interaction -> Value (Primary Interaction) -> Action Links -> Add (+ Symbol in Green color) -> Action -> Click *Navigate to BI Content* -> Select the Report from the Shared folder -> OK and Save the report.
Thanks,
Balaa... -
Matrix with dates of months as column heading
Hi you all, I'm trying to generate a query with the books name, dates of months as column headings and show the count of books sold on that particular date.
the expected format is
01-Jun-2006 02-Jun-2006 .................... 30-Jun-2006
Book1 2 4 0
Book2 2 0 6
can anyone help me..... please.........You didn't give us the table structure.
Considering the table having two columns BOOK_NAME and PURCHASE_DATE, find the query below for MAY. Change the Query accordingly if you want for a different month.
SELECT BOOK_NAME,
SUM(DECODE(PURCHASE_DATE,TO_DATE('01-MAY-2006','DD-MON-YYYY'),1,0)) "01-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('02-MAY-2006','DD-MON-YYYY'),1,0)) "02-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('03-MAY-2006','DD-MON-YYYY'),1,0)) "03-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('04-MAY-2006','DD-MON-YYYY'),1,0)) "04-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('05-MAY-2006','DD-MON-YYYY'),1,0)) "05-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('06-MAY-2006','DD-MON-YYYY'),1,0)) "06-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('07-MAY-2006','DD-MON-YYYY'),1,0)) "07-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('08-MAY-2006','DD-MON-YYYY'),1,0)) "08-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('09-MAY-2006','DD-MON-YYYY'),1,0)) "09-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('10-MAY-2006','DD-MON-YYYY'),1,0)) "10-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('11-MAY-2006','DD-MON-YYYY'),1,0)) "11-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('12-MAY-2006','DD-MON-YYYY'),1,0)) "12-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('13-MAY-2006','DD-MON-YYYY'),1,0)) "13-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('14-MAY-2006','DD-MON-YYYY'),1,0)) "14-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('15-MAY-2006','DD-MON-YYYY'),1,0)) "15-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('16-MAY-2006','DD-MON-YYYY'),1,0)) "16-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('17-MAY-2006','DD-MON-YYYY'),1,0)) "17-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('18-MAY-2006','DD-MON-YYYY'),1,0)) "18-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('19-MAY-2006','DD-MON-YYYY'),1,0)) "19-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('20-MAY-2006','DD-MON-YYYY'),1,0)) "20-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('21-MAY-2006','DD-MON-YYYY'),1,0)) "21-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('22-MAY-2006','DD-MON-YYYY'),1,0)) "22-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('23-MAY-2006','DD-MON-YYYY'),1,0)) "23-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('24-MAY-2006','DD-MON-YYYY'),1,0)) "24-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('25-MAY-2006','DD-MON-YYYY'),1,0)) "25-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('26-MAY-2006','DD-MON-YYYY'),1,0)) "26-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('27-MAY-2006','DD-MON-YYYY'),1,0)) "27-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('28-MAY-2006','DD-MON-YYYY'),1,0)) "28-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('29-MAY-2006','DD-MON-YYYY'),1,0)) "29-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('30-MAY-2006','DD-MON-YYYY'),1,0)) "30-MAY-2006",
SUM(DECODE(PURCHASE_DATE,TO_DATE('31-MAY-2006','DD-MON-YYYY'),1,0)) "31-MAY-2006"
FROM BOOKS
GROUP BY BOOK_NAME
Regards,
Mohana
Maybe you are looking for
-
Satellite L30-113 Memory Problem
I have a Satellite L30-113 that is not reporting the correct memory size. The system was supplied with 512Mb and I have installed an additional 1Gb Stick but for some reason windows is only reporting 896Mb installed, and the Graphics card is using 12
-
I remember responding to an apple customer satisfaction survey in 2009, when I purchased my iPod Classic. I suggested it should be possible to have album art viewed in full screen like in photo slideshows or how album art is presented on half the scr
-
Vendor Account Statement Balances Formats problem
Dear Experts, I have a Vendor account statement and by logic the Total at the end should be the same for whatever period i request the statement in (using fbl1n). Currently i have a vendor which has differenet balances if i request the statement from
-
TS4002 Having upgraded to 10.8 some emails are disappearing before I can read them.
Having upgraded to 10.8 some emails are disappearing before I can read them. They are present for about a second, display as notified, but are not going to junk or Trash. The problem doesn't affect all emails and seems to be restricted to some sender
-
Does anyone know of any good clip art collections other than Art Explosion? I have an older Art Explosion and I'm not too happy with it - bland images and too many duplicates. I would like to find a clip art package that has decent, Macintosh-friendl