Calendar range data

Hi All,
my requrement is i want to display the data betwenn 2 calendar date rage
I mean
I have 25 rows for each day with 4 columns like
StartDate  End Date     Tcode    Count
01/01/09   01/01/09     rsa1      300
01/01/09   01/01/09     rsa2       400
02/01/09   02/01/09     rsa2       400
I would like select start date in the first calendar and end date in the next calendar
then it suppose to display tcode Vs Count as column chart.
I am getting data from WebI to Live Office and then imorting into the xcelsius.
Thanks
Muvva

As you are getting data from WEBI --> Live Office. I think you can modify the webi query and add 2 prompts i.e. StartDate and EndDate in the Filters panel in Query Designer.
In Excel, have 2 cells one which will hold StartDate that user selects in the Calender and other for EndDate.

Similar Messages

  • Date is outside the factory calendar range

    I am trying to run a BW query. When I click on the calnedar icon field. It gives this error.
    Error: Date is outside the factory calendar range
    Msg No. FK884
    What could be the problem in the query? Has anybody had the similar problem before? I tried to search in SAP notes and could not find anything close to this.
    I will  Appreciate your help. Thanks a lot.
    Abhi

    Hi Abhijit,
    We got the same error message in 2010.
    1) Check in transaction SCAL that the Factory Calendar ID 01 (i.e. German) is valid to 2009. This explains the error message.
    2) Found SAP Note 1136142 about the configuration of default factory calendar ID of F4 Help and hierarchy for Time-characteristics in BI 7.0.
    SAP Note Solution:
    The key figure attribute obtains its value from the default work calendar as it is maintained in transaction RSRHIERARCHYVIRT (General Settings -> Default Factory Cal. ID).
    This setting is valid across the entire system and does not permit any variable selection of the factory calendar for each query.
    Furthermore, a value for 0NUMWDAY is calculated only for the period in which the default factory calendar is valid.
    3) Check in transaction SCAL that the Factory Calendar ID of our location is valid to 2050.
    The problem is solved after changed the Default Factory Cal. ID from 01 to the ID of our location in transaction RSRHIERARCHYVIRT.
    Regards,
    Ricky

  • Calendar Region : Date Range

    Hi,
    I am trying to add ranges to a calendar report.
    Here is exactly what I am trying to acheive...
    http://www.sumneva.com/apex/f?p=15000:305:0
    Does anyone know how this is acheived??
    I have tried messign around with calendar date, calendar end date but I don't seem to get anywhere??
    Thanks
    Richard

    Hi,
    Are you still working on this ? If you have solution please share.
    What I have check javascript, one option is something like below to get array mentioned in documentation
    http://arshaw.com/fullcalendar/docs/event_data/events_array/
    <script type='text/javascript'>
    $(function() {
    $('#calendar').fullCalendar({
      events:function(start,end,callback){
       /* user parametter start to pass open calendar starting date to funtion return events */
       /* user parametter end to pass open calendar starting date to funtion return events */
       $.ajax({
        type: "POST",
        url: "wwv_flow.show",
        dataType: "json",
        data:{
         p_flow_id:$('#pFlowId').val(),
         p_flow_step_id:$('#pFlowStepId').val(),
         p_instance:$('#pInstance').val(),
         p_request:"APPLICATION_PROCESS=CALENDAR_QUOTE_EVENTS"
         x01:start, /* in On Demand process use APEX_APPLICATION.G_X01 to get calendar start */
         x02:end  /* in On Demand process use APEX_APPLICATION.G_X02 to get calendar start */
        success:function(calevents){
          /* make event array with objects */
         var events=[];
         $.each(calevents.row, function(i, ev){
          events.push({
           title: ev.title,
           start: ev.start,
           end:ev.end
         /* return events to calendar */
         callback(events);
    </script>In JSON start and end date should be format YYYY-MM-DD HH24:MI:SS.
    Regards,
    Jari

  • Warning of " Date of  outside  the factory calendar Range"

    Hi Experts,
            I have created a variable  of ocalday,It is taking  # values and it showing warning " Date of  outside  the factory calendar Range".How avoid this warning.Actually intially in the one of infocubes carries the # value for 0calday, now we have deleted it, even then  it taking # values and showing same warning.I have check at variable it doesnt carring any default value.Now to delete the # values from variable so that it should not show any warnings.
    Can any body suggest me any thing.
    Thanks
    Vinod

    Hi Srinivas ,
       Thank you very much for your reply.There is # value in the master and transaction data.Even im not able to suppress this message.As it indicating a msg no 884 which is not there message list in RSRT.
    Can you suggest me any other thing.
    Thanks
    Vinod

  • Adf Calendar multiple date range disabled.

    Hi,
    I have a requirement where I have few date ranges say 1st -5th march, 9th-11th march.. and while opening date calendar these date ranges should be disabled (blacked out ) . MinValue and maxValue attribute is only for single date range. I need for multiple date ranges

    No version number, no clear idea of what you mean by "adf Calendar"
    If you are talking about [url http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17491/tagdoc/af_inputDate.html]af:inputDate, look at the disabledDays property
    John

  • Calendar month dates in horizontal line

    Is there anyway to show calendar month dates in horizontal line?
    First line will have dates and then second line will have day i.e Sat, Sun, Mon.......
    1 2 3 4 5 6 7 8 9 ........31

    orion_123 wrote:
    Is there anyway to show calendar month dates in horizontal line?
    First line will have dates and then second line will have day i.e Sat, Sun, Mon.......
    1 2 3 4 5 6 7 8 9 ........31You can do all sorts of things if you put your mind to it... e.g.
    SQL> break on month skip 1
    SQL> set linesize 200
    SQL> set pagesize 2000
    SQL> column month format a20
    SQL> column week format a4
    SQL> with req as (select '&Required_Year_YYYY' as yr from dual)
      2      ,offset as (select case when to_char(trunc(to_date(yr,'YYYY'),'YYYY'),'IW') in ('52','53') then 1 else 0 end as offset from req)
      3  select lpad( Month, 20-(20-length(month))/2 ) month,
      4         '('||week||')' as week, "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"
      5  from (
      6    select to_char(dt,'fmMonth YYYY') month,
      7    case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
      8         when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
      9         when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
    10         else to_char(to_number(to_char(dt,'iw'))+offset) end as week,
    11    max(decode(to_char(dt,'d'),'1',lpad(to_char(dt,'fmdd'),2))) "Mo",
    12    max(decode(to_char(dt,'d'),'2',lpad(to_char(dt,'fmdd'),2))) "Tu",
    13    max(decode(to_char(dt,'d'),'3',lpad(to_char(dt,'fmdd'),2))) "We",
    14    max(decode(to_char(dt,'d'),'4',lpad(to_char(dt,'fmdd'),2))) "Th",
    15    max(decode(to_char(dt,'d'),'5',lpad(to_char(dt,'fmdd'),2))) "Fr",
    16    max(decode(to_char(dt,'d'),'6',lpad(to_char(dt,'fmdd'),2))) "Sa",
    17    max(decode(to_char(dt,'d'),'7',lpad(to_char(dt,'fmdd'),2))) "Su"
    18    from ( select trunc(to_date(req.yr,'YYYY'),'y')-1+rownum dt
    19           from all_objects, req
    20           where rownum <= add_months(trunc(to_date(req.yr,'YYYY'),'y'),12) - trunc(to_date(req.yr,'YYYY'),'y') )
    21        ,offset
    22    group by to_char(dt,'fmMonth YYYY'),     case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
    23                                                  when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
    24                                                  when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
    25                                                  else to_char(to_number(to_char(dt,'iw'))+offset) end
    26    ) x
    27  order by to_date( month, 'Month YYYY' ), to_number(x.week)
    28  /
    Enter value for required_year_yyyy: 2012
    old   1: with req as (select '&Required_Year_YYYY' as yr from dual)
    new   1: with req as (select '2012' as yr from dual)
    MONTH                WEEK Mo Tu We Th Fr Sa Su
        January 2012     (1)                     1
                         (2)   2  3  4  5  6  7  8
                         (3)   9 10 11 12 13 14 15
                         (4)  16 17 18 19 20 21 22
                         (5)  23 24 25 26 27 28 29
                         (6)  30 31
       February 2012     (6)         1  2  3  4  5
                         (7)   6  7  8  9 10 11 12
                         (8)  13 14 15 16 17 18 19
                         (9)  20 21 22 23 24 25 26
                         (10) 27 28 29
         March 2012      (10)           1  2  3  4
                         (11)  5  6  7  8  9 10 11
                         (12) 12 13 14 15 16 17 18
                         (13) 19 20 21 22 23 24 25
                         (14) 26 27 28 29 30 31
         April 2012      (14)                    1
                         (15)  2  3  4  5  6  7  8
                         (16)  9 10 11 12 13 14 15
                         (17) 16 17 18 19 20 21 22
                         (18) 23 24 25 26 27 28 29
                         (19) 30
          May 2012       (19)     1  2  3  4  5  6
                         (20)  7  8  9 10 11 12 13
                         (21) 14 15 16 17 18 19 20
                         (22) 21 22 23 24 25 26 27
                         (23) 28 29 30 31
         June 2012       (23)              1  2  3
                         (24)  4  5  6  7  8  9 10
                         (25) 11 12 13 14 15 16 17
                         (26) 18 19 20 21 22 23 24
                         (27) 25 26 27 28 29 30
         July 2012       (27)                    1
                         (28)  2  3  4  5  6  7  8
                         (29)  9 10 11 12 13 14 15
                         (30) 16 17 18 19 20 21 22
                         (31) 23 24 25 26 27 28 29
                         (32) 30 31
        August 2012      (32)        1  2  3  4  5
                         (33)  6  7  8  9 10 11 12
                         (34) 13 14 15 16 17 18 19
                         (35) 20 21 22 23 24 25 26
                         (36) 27 28 29 30 31
       September 2012    (36)                 1  2
                         (37)  3  4  5  6  7  8  9
                         (38) 10 11 12 13 14 15 16
                         (39) 17 18 19 20 21 22 23
                         (40) 24 25 26 27 28 29 30
        October 2012     (41)  1  2  3  4  5  6  7
                         (42)  8  9 10 11 12 13 14
                         (43) 15 16 17 18 19 20 21
                         (44) 22 23 24 25 26 27 28
                         (45) 29 30 31
       November 2012     (45)           1  2  3  4
                         (46)  5  6  7  8  9 10 11
                         (47) 12 13 14 15 16 17 18
                         (48) 19 20 21 22 23 24 25
                         (49) 26 27 28 29 30
       December 2012     (49)                 1  2
                         (50)  3  4  5  6  7  8  9
                         (51) 10 11 12 13 14 15 16
                         (52) 17 18 19 20 21 22 23
                         (53) 24 25 26 27 28 29 30
                         (54) 31
    64 rows selected.
    SQL>That's just an example, but yes, of course you can do it. Oracle provides excellent DATE functionality.

  • Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air

    Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air.  Date on Windows 8.1 is correct.  Thank you.

    Try doing  a reset on your phone. Sounds like your carrier's time set is not getting through to your device. If the reset doesn't do it, then go to Settings>General>Reset>Reset Network Settings. That should do it.

  • My Question On Calendar and Date

    Hi, I am making a query to a table: T_HR_CONTRACT,
    which stores the labor contract of a company.
    END_DATE is a field of table T_HR_CONTRACT. Its type is date.
    Now, I need to search the contract end in each month.
    select * from T_HR_CONTRACT where fEND_DATE >= theStartDayOfCurrenctMonth and fEND_DATE < theStartDayOfNextMonth;
    or
    select * from T_HR_CONTRACT where fEND_DATE >= theStartDayOfCurrenctMonth and fEND_DATE <= theLastDayOfCurrenctMonth;
    How can I utilize the java class Calendar or Date to get
    the first day of current month,
    the last day of current month,
    the first day of next month?
    I am new to Calendar and Date class. Please give me some help!

    Ok, I have solve the problem as following:
    //get the first day of this month, by using StringBuffer, we can enhance
    //the effiency
    StringBuffer today = new StringBuffer();
    Calendar rightNow = Calendar.getInstance();
    today.append(rightNow.get(rightNow.YEAR));
    today.append("-");
    today.append((rightNow.get(rightNow.MONTH) + 1));
    today.append("-01");
    String todayDate = today.toString();
    //get the first day of next month
    StringBuffer next = new StringBuffer();
    //if the month is December, then get the first day of next year!
    if(rightNow.get(rightNow.MONTH) == 11)
    next.append(rightNow.get(rightNow.YEAR) + 1);
    next.append("-01-01");
    else
    next.append(rightNow.get(rightNow.YEAR));
    next.append("-");
    next.append(rightNow.get(rightNow.MONTH) + 2);
    next.append("-01");
    String nextDate = next.toString();

  • How I can change calendar Hollydays date in my iphone5

    How I can change calendar Hollydays date in my iphone5

    Hello alejandro Valencia,
    Thanks for using Apple Support Communities.
    If you have recently changed your Apple ID, some services you use may need to be updated.  In summary of the steps in the article below, you need to sign out of your previous Apple ID, and then sign in with your new Apple ID.
    Apple ID: What to do after you change your Apple ID - Apple Support
    Take care,
    Alex H.

  • My question On Calendar or Data

    Hi, I am making a query to a table: T_HR_CONTRACT,
    which stores the labor contract of a company.
    END_DATE is a field of table T_HR_CONTRACT.
    Now, I need to search the contract end in each month.
    select * from T_HR_CONTRACT where fEND_DATE >= theStartDayOfCurrenctMonth and fEND_DATE < theStartDayOfNextMonth;
    or
    select * from T_HR_CONTRACT where fEND_DATE >= theStartDayOfCurrenctMonth and fEND_DATE <= theLastDayOfCurrenctMonth;
    How can I utilize the java class Calendar or Date to get
    the first day of current month,
    the last day of current month,
    the first day of next month?
    I am new to Calendar and Date class. Please give me some help!
    Thank you!

    GregorianCalendar c = new GregorianCalendar();
    // That gets a Calendar object containing the current date and time.
    c.set(Calendar.DAY_OF_MONTH, 1);
    // As you might guess that sets the Calendar's day to be the first of the month.
    c.set(Calendar.DAY_OF_MONTH, c.getActualMaximum(Calendar.DAY_OF_MONTH));
    // That sets the Calendar's day to be the first of the month.
    c.add(Calendar.DAY_OF_MONTH, 1);
    // That adds 1 to the day... what does that give you?You could have learned a lot of this by reading the examples given in the API documentation for Calendar and GregorianCalendar. Try it next time, you may find it faster than waiting for some random person to answer your question.

  • Retrieve specific range data from oracle table

    Hi, Dear friends,
    I want to retrieve all the data from oracle table and then save them to mysql table using JDBC ResultSet. The problem is that some oracle table is too big, if I retrieve all of them to memory at a once time using excuteQuery, the program will become no response out of memory limitation. So my question is if I can retrieve just specific range data once a time. I can¡¯t find this function through JDBC API. Also, I don¡¯t want to use the specific sql sentence, for example ¡°select ¡ from¡ where someid>¡ and someid<¡¡±, because there are many different tables, I want to transfer them automatically. So I can¡¯t construct such sql sentence in advance. Does anyone know if oracle JDBC driver provide such kind of function or does there any other way?
    Any suggestion will be greatly appreciated!
    Sammy

    Dear Justin,
    thank you so much for your prompt reply!
    as your suggestion, I do check the performance while my program is running, after the program become nearly no response, I found the memory usage is nearly 100%, while disk usage and process usage is pretty low. that's the reason why I guess maybe the memory limitation, but the strange thing is that no any error reported by JBuilder, it just nearly no response and don't transfer any data any more. my os is windows xp, the version of JBuilder is 7. my main memory is 768M. just as you said, the total 6,000 records in not very large, just no more than 400K. another strange thing is that why my program works well when there is little data records in the table.
    the big picture of my program is first I retrieve oracle table metadata, according to this information, I construct DDL sql words and then create the corresponding table in mysql database. this part works well. in order to save your time, I will not paste the code here. then there is a method to transfer oracle data to mysql table, whenever creating the mysql table, then I will call this method to transfer datat to it. the following is the code of this method, I am very sorry to take your time. please read it when you are available.
    thank you very much!!
    Sammy
    //transfer data from oracle to mysql!!!
    private static void transferData(Connection oracleConn, Connection mysqlConn, String oracleTableName, String oracleSchemaName) throws SQLException{
    Statement oracleStmt=oracleConn.createStatement();
    Statement mysqlStmt=mysqlConn.createStatement();
    // sending sql to oracle to retrieve data
    String thisTableName=oracleTableName;
    String oracleSQL="SELECT * FROM ".concat(thisTableName);
    ResultSet oracleRS = oracleStmt.executeQuery(oracleSQL);
    String sql="";
    if (oracleRS.next()) {
    ResultSetMetaData rsmd = oracleRS.getMetaData();
    int colCount = rsmd.getColumnCount();
    do {
    String sqlBodyPart="";
    String sqlValuePart="";
    System.out.println("the number of column is "+colCount);
    for (int i = 1; i <= colCount; i++) {
    String columnValue = oracleRS.getString(i);
    boolean b = oracleRS.wasNull();
    String columnName =rsmd.getColumnName(i);
    System.out.println("the value of column " + i + "is " + columnValue);
    //construc the sql body part and value part
    sqlBodyPart=sqlBodyPart.concat(" ").concat(columnName).concat(",");
    if(b){ //if the value of the column i is null
    sqlValuePart=sqlValuePart.concat(" null").concat(",");
    }else{
    sqlValuePart=sqlValuePart.concat(" '").concat(columnValue).concat("',");
    //get rid of the last comma in sqlBodyPart and sqlValuePart
    if(!sqlBodyPart.equalsIgnoreCase("")) sqlBodyPart=sqlBodyPart.substring(0,sqlBodyPart.length()-1);
    if(!sqlValuePart.equalsIgnoreCase("")) sqlValuePart=sqlValuePart.substring(0,sqlValuePart.length()-1);
    //construct the sql sentence!!!
    sql="INSERT INTO ".concat(thisTableName).concat(" (").concat(sqlBodyPart).concat(") ").concat(" VALUES(").concat(sqlValuePart).concat(")");
    System.out.println("the sql words for this column is");
    System.out.println(sql);
    System.out.println(" ");
    if(mysqlStmt!=null){
    int rows = mysqlStmt.executeUpdate(sql);
    } else{
    System.out.println("can't connect with mysql server");
    System.exit(1);
    while (oracleRS.next());
    } else {
    System.out.println("There are no data in the table...");
    }//end of method data transfer!
    //end of method data transfer!

  • Restrict Calendar Control Date

    Hi:
    I want restrict Calendar Control date.
    For Example: I have 2 Calendar control parameter(Startdate,Enddate). If i select Startdate(2014-04-24)Parameter, Todate Parameter user will not select less than Startdate value (Past date are Hide/Invisible/Not selectable) and Limit the
    date. How to restrict Enddate parametre value in SSRS 2008 R2.
    Thanks in Advance
    Paramesh G

    Hi,
    Currently, this cannot be achieved in Reporting Services. If I specific dates in the available values, the calendar control will change to a drop-down box control. You can only specify the default value for this parameter.
    Here is my workaround for this:
    1. Add a text box and type “The start day cannot be greater than the end day!” in the value.
    2. On the Visibility page, choose the option of Show or hide based on an expression. Click expression button and type:
     =IIF(Parameters!EndDate.Value<Parameters!StartDate.Value,FALSE,TRUE)
    3. And define the visibility of your report as well, using the following expression:
    =IIF(Parameters!StartDate.Value>Parameters!EndDate.Value,TRUE,FALSE)
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Calendar Using Date Navigator in Webdynpro ABAP

    Hi,
         My Requirement is in the calendar the dates from today to some specific date(Ex:-30 days from today).
    Should be enable in all other dates grade out. how can we achieve using date navigator.
    For example: Indian railway booking site, allows booking from today to 60 days, remaining dates are grade out, Can't be selected.
    similar validation need to be achieved through date navigator.
    Regards
    Narasimha

    Hi Narasimha,
    The requirement exactly like RAILWAYS ticket booking cannot be achieved by using DATE navigator as we don't have any provision to disable/to graded out the dates of our wish.
    You can achieve your requirement ( up to some extent) as below
    Create a date navigator ui element and bind the start date and end date to context attributes
    Create a node DATE_SEL ( 0...n ) and attribute "DATE" of type DATS
    Now, right click on DATE NAVIGATOR ui element and  choose "Add selection" option from menu to add the dates of selection. Bind the datasource and selected date to node "DATE_SEL" and attribute "DATE" respectively
    The selection node "DATE_SEL", you can populate the 60days/30days as per your requirement and it hightlights ( you can choose your choice of color ) the dates in the calender. So that user focuses on these dates for selection. if any other dates other than these selection, you can raise an error message to the user by using event "ONDAYSELECT"
    Hope this helps you.
    Regards,
    Rama

  • Grabbing an event from a specific calendar by date

    Is there a way to grab an event from a specific calendar by date?
    Basically, I receive an email with information I want to put in the event name (title?) - it is in a particular calendar, and a on a particular date. I grab that event, update the event title with the information i parsed from the email message (i've already got that part done).
    I've looked through many applescript examples, but they all seem to deal with creating an event, not updating one.

    It's quite easy if you know specific value of the event, the following change summary property of the event:
    tell application "iCal"
    set _event to first event of calendar "Home" whose summary contains "Test..."
    set summary of _event to "More Test..."
    reload calendars
    end tell
    However, things get complicated when you try to get repeated events, because repeat events don't really have true start date and end date. So it's really difficult to get a repeat event by its start date or end date. See this thread:
    http://discussions.apple.com/thread.jspa?threadID=440481&tstart=0

  • I can't add any new calendar or date in iCal (iPad, iOS5)

    I can't add any new calendar or date in iCal since running iOS5. The corresponding buttons doesn't appear on the interface. I have restore one time and it changes anything.
    Thanks for help.

    Assuming you activated iCloud, try going to Settings>iCloud and make sure Calendars and Contacts are set to ON.

Maybe you are looking for