BI Query - Date Selction- week starts Tuesday

Gurus,
We have EP, BI ABAP and JAVA systems on Nw7. All end user executes queries trough EP.
There are few BI queries where users need to enter date for execution of query.
For execution of such query user is entering date using F4 (search).
Select values for Calendar day (COMICAL 0003)--> Opens calendar and it is fine. Issue is week of this calendar starts with Tuesday.
This behavior varies with workstations. Over few work station calendar week starts on Monday which is required.
However over few workstations week starts on Tuesday.
Any guess which property of work station needs to be tuned to have week starting from Monday.
ps: I have checked Data and time setting of work stations and they are same.
Thanks !!
ARD

Any luck over this vage issue....

Similar Messages

  • 0CALWEEK to be displayed in date format with start of week date

    Hello everyone,
    I have a requirement wherein I want to display 0CALWEEK info object in the cube in date format with start of week date in the Bex query report. For example if 0CALWEEK is 23.2005 then in Bex report it should display as 06.06.2005. Anyone got any ideas if we can achieve this without adding any additional info object in cube itself ?
    many thanks,
    Neeraj

    Hi Neeraj,
    There are multiple ways to achieve this.
    1. Virtual characteristics. This approach still requires having a placeholder of 0DATE type in the query, but you don't have to populate it in your load. This could slow down you query as well.
    2. Depending of the frontend you using you can run Excel macro (BEx) or Table exit (Web).
    Please let me now if you need more details.
    Regards,
    Gersh

  • FM to find week start and end date on the basis of a given date

    Hi Everyone,
    I have a requirement in which I require the week start and end date  of any given date.
    For eg: The given date is Wednesday 24.03.2010, I need a function module to calculate the week start date ie. Monday 22.03.2010 and week end date ie. Sunday 28.03.2010 on the basis of that date.
    Any input to this query would be helpful.
    Thanks,
    Nimisha Agarwal
    Edited by: Nimisha Agarwal on Jul 7, 2010 7:47 AM

    HI nimisha,
    many posts r there for this .
    Kindly check  before posting
    anyways this FM will serve u  r purpose.
    GET_WEEK_INFO_BASED_ON_DATE

  • How to get week starting with sunday date

    Hi
    I have a date column "start_date", i need to create a report for all the weeks starting from sunday , for eg:
    i need to get week dates as :
    mm/dd/yy - 01/23/11 , 01/16/11 , 01/09/11 and so on...
    Please help
    Thanks...

    Hi,
    To find the last Sunday before or equal to start_date:
    SELECT     TRUNC ( start_date + 1
               , 'IW'
               ) - 1          AS week_start_date
    ...You can use an expression like this in a GROUP BY clause, also.
    This does not depend on you NLS settings. ISO weeks always start on Monday. Your week starts 1 day earlier, so that's why the expression above has the +1 and -1.
    (Depending on you NLS settings,
    SELECT     TRUNC ( start_date
               , 'D'
               )          AS week_start_date
    ...might do the same thing, but I still rocommend using 'IW'; a few extra keystrokes isn;t much to pay for a guarantee that it will always work.)
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data.

  • Select Expert Record. Last 6 months and week start date on Monday

    Hello,
    i am trying to use the select expert record to grab the last 6 months worth of data. I require the week start day to be a monday and end on a sunday.
    Can someone please provide some advice the best way to do this
    kind regards
    david

    Hello Abhilash,
    Once again thanks for your reply.
    Yes this is correct, when it goes back 6 months i need it to skip the days prior and begin on a monday as we are reporting on a mon-sunday basis.
    I have tried your formula Date field >= dateadd('m',-6,currentdate) and it seems to grab 6 months of data, but the group weeks are not grouping from Monday to Sunday...
    kind regards
    david
    Edited by: davitali on Dec 2, 2011 9:35 AM

  • How can i get 2nd week starting date and ending date in a month?

    please help me to query this.
    thanks in advance

    Hi,
    I assume the second week start the next monday after the 1st of the current month. End of week is the next sunday.
    If a week start monday, the second week of december start the 5th and ending the 11th :
      1  select 8-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D')+1 first_day2w,
      2         15-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D') last_day2w
      3* from dual
    SQL> /
    FIRST_DAY2W LAST_DAY2W
              5         11If we take august, the second week start the 8th to end the 14th
      1  select 8-to_char(to_date('01082005','DDMMYYYY'),'D')+1 first_day2w,
      2         15-to_char(to_date('01082005','DDMMYYYY'),'D') last_day2w
      3* from dual
    SQL> /
    FIRST_DAY2W LAST_DAY2W
              8         14HTH,
    Nicolas.
    Note that my nls_territory = FRANCE.
    if you're in America, first day of week is sunday, and last is saturday :
      1* alter session set NLS_TERRITORY='AMERICA'
    SQL> /
    Session altered.
    SQL> ed
    Wrote file afiedt.buf
      1  select 8-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D')+1 first_day2w,
      2         15-to_char(to_date('01'||to_char(sysdate,'MMYYYY'),'DDMMYYYY'),'D') last_day2w
      3* from dual
    SQL> /
    FIRST_DAY2W LAST_DAY2W
              4         10
    SQL> Message was edited by:
    N. Gasparotto

  • Week Start Date from Week Number

    How would I display the Week Start Date and Week Number for a range of dates.
    required output:
    weekno weekstartdate qty
    11 8/03/04 50
    12 15/3/04 100
    13 22/3/04 75 etc

    Do you have a start and end date and need it expanded to weeks ?
    Let's say you have a table that include both the start and end dates
    select to_char(ddate,'WW'), ddate
          from (select start_dt + rownum - 1 ddate
                  from user_objects,
                       (select min( START_DATE ) as start_dt,
                               max( END_DATE ) as end_dt
                          from MY_TABLE
                          WHERE .... )
                  where start_dt + rownum <= end_dt ) a
      where to_char(ddate,'D') = '1'
    /Of course, one of the problems with WEEK is interpretation. Week one does not start until the First Sunday of the year. Which may or may not be what you want

  • Data Driven Subscriptions Error - the query processor could not start the necessary thread resources for parallel query execution

    Hi,
    We are getting the following error when certain data driven subscriptions are fired off: "the query processor could not start the necessary thread resources for parallel query execution".  I've read other posts that have the same error, and
    the solution usually involves adjusting MaxDOP to limit the number of queries that are fired off in parallel.  
    Unfortunately, we cannot change this setting on our server for performance reasons (outside of data driven subscriptions, it negatively impacts our ETL processing times).  We tried putting query hints like "OPTION (MAXDOP 2);" in the reports
    that are causing the error, but it did not resolve the problem.
    Are there any settings within Reporting Services that can be adjusted to limit the number of subscriptions that get fired off in parallel?
    Any help is appreciated - thanks!

    Yes, that is correct.  It's a painful problem, because you don't know which specific subscription failed. For example, we have a data driven subscription that sends out about 800 emails. Lately, we've been having a handful of them fail. You don't know
    which ones out of the 800 failed though, even from the RS log files - all it tells you is that "the
    query processor could not start the necessary thread resources for parallel query execution".
    Thanks, I'll try changing <MaxQueueThreads> and will let you know if it works.
    On a side note: I've noticed that it is only reports with cascading parameters (ex. where parameter 2 is dependent on the selection from parameter 1) that get this error message...

  • Start Date of Week from Week Number

    Hi
    i need to get the start date of the week based on the week number e.g the start date of week
    1 in 2008 would be 01 Jan and start date for week 2 would be 06 Jan and week 3 would be 13 Jan etc
    Any advice would be great
    Thanks
    David

    Checkout the java.util.Calendar API and its get/set/add methods.
    An alternative is the great Joda Time API at sourceforge.

  • How to get the week start date from ISO week number

    Hi,
    I have a table with the following stucture
    Year    error    Week1     week2   week3 ......week53
    2012       error1     2           4         2             1
    2012       error2    3          0        1                 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
    Any suggestions please?
    Thanks,
    Sun

    Hi, Sun,
    To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
    To see when week 22 of the current year started:
    SELECT  TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
    FROM    dual
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • Query to get Weekly Report

    Hello,
    I wrote a query to get weekly report, which should start from Sunday to Saturday a typical week. for example the week is 04/03/2011 to 04/09/2011 i run the query on or Job on say on anyday of the week of 04/10/2011, 04.11.2011 etc.. here is my query, but this seems to work from the sysdate to - 7 days which doesn't get the sunday to sat requirement.. can someone please help..
    select uid, psn, TO_char(date_in,'mm/dd/yyyy')
    FROM TEST
    WHERE uid like '%ST%'
    and date_in > trunc(SYSDATE) -7
    ORDER BY date_in ASC;
    Thank you.

    789287 wrote:
    Centiful,
    Thank youvery much for your help. it works now. This should work any day of this week i run will get previous week's data right? 'IW' means ISO calenadar?Yes IW in the TRUNC function means truncate the date passed to the first day of the ISO Week (Monday).
    I made this as a procedure and created a job to run on a weekly basis. once the Job runs and gets the data into text file onto the server, i have to mail the text file to the management automatically through a dbms_scheduler. How can i send an email automatically through a Scheduler? could anyone give me an example please?Instead of creating the text file you could return the data and send it directly in a mail using UTL_MAIL
    Another alternative would be to use DBMS_SCHEDULER to invoke an external executable that could send the mail for you.

  • ORDER way week start from MONDAY [Mon...Sun]

    Display the last name, hire date, and day of week on which the employee hire.
    Order the result by the day of week starting with Monday.
    (eg. Monday,Tuesday……Saturday,Sunday)
    I have tried this using following statement…..But is this right way!? Any other command availabe for same.
    SELECT last_name, hire_date, TO_CHAR(hire_date,'Day')
    FROM employees
    ORDER BY TO_CHAR(hire_date -1,'d') ;
    [FROM  ORACLE University Introduction to Oracle9i: SQL Vol 1, Chapter 3, Q.10, PAGE NO 3-64]

    i think i will also works
    decode(to_char(hiredate,'d'),1,null,to_char(hiredate,'d'))This is very nls-dependant:
    begin
      for cTerr in (select value from v$nls_valid_values where parameter = 'TERRITORY') loop
        begin
          dbms_session.set_nls('nls_territory', ''''||cTerr.value||'''');
          if to_char(to_date(7,'j'), 'd') not in (2) then -- Monday
            dbms_output.put_line(cTerr.value || '=' || to_char(to_date(7,'j'), 'd'));
          end if;
        exception
          when others then
            dbms_output.put_line(cTerr.value || '=?');
        end;
      end loop;
    end;
    /Look for example at BANGLADESH

  • Query to return week no. 1 for 01-04-1999.

    Dear Oracle users,
    I want suggestions for the query, which returns week no. 1 for
    starting Fiscal Year( 1-04-1999 ) and week no. 52 for the last
    day of the Fiscal Year. ( 31-03-2000 ). Oracle has format mask
    "WW" in Date Format Model, but it returns week no. 1 for
    starting calender year ( 1-01-1999 ).
    Thanks
    Nishit
    null

    Nishit Turakhia (guest) wrote:
    : Dear Oracle users,
    : I want suggestions for the query, which returns week no. 1 for
    : starting Fiscal Year( 1-04-1999 ) and week no. 52 for the last
    : day of the Fiscal Year. ( 31-03-2000 ). Oracle has format mask
    : "WW" in Date Format Model, but it returns week no. 1 for
    : starting calender year ( 1-01-1999 ).
    : Thanks
    : Nishit
    =================================================
    Hi Nishit,
    If you require only this logic in the particular
    program then use decode function ,in oracle financial apps
    you can set up your fiscal year any date.
    Bye
    Debasis
    null

  • Why does ical print out starting tuesday?

    Why does ical print out staring the week on tuesday?
    Maybe the week starts one day later for the Yosemite dev team, but certainly not in my neck of the woods.
    The actual print out also looks nothing like the new matt and  'flat' graphic style of Yosemite.
    I suggest you start on monday next week and sort these issues out.
    Sunny

    For many people that is the correct option. If you think it should be different, tell Apple, as they aren't listening here.

  • Rollover 18 weeks starting from week number of current month

    Hi,
    I have a requirement as described below.
    Table Name Time:
    Columns: Fiscal Year, Fiscal Month and Fiscal Week
    above table has join with sales table and it contain sales data on week basis. so least granularity of data at week level.
    we have a report with columns fiscal year, actual sales and forcast sales. our requirement is to filter the data with following criteria.
    Current Month Filter
    Jan fiscal week between 1-18 of current year
    Feb fiscal week between 5-23 of current year
    March fiscal week between 9-27 of current year
    November fiscal week between week 44 of current year and week 10 of next year
    December
    so with above requirement we need to filter data with rollover 18 weeks starting from week number of current month
    I tried with timestampadd(sql_tsi_week, interval, week) but it's not working as I expacting. Please provide the code/logic to get it done.
    Appreciate your help.
    Thanks
    Jay.

    Jay wrote:
    I need to get rollover 18 week data at anypoint of time starting with week number of 1st of every month to 18 weeks. read my question again and you will be able to understand.You're kind of missing the point to be honest. It's very hard to answer specific questions without the required information. To answer a question like this we need a minimum of:
    1. Oracle version
    2. Sample data (CREATE TABLE / INSERT statements)
    3. Expected output
    4. Explanation of business rules.
    Alternatively, you can read the link in my original response.
    Please provide the required information and someone can help.

Maybe you are looking for

  • Problem with Role import in GRC 10.0

    Dear GRC Gurus, I want to import roles from backend to GRC 10.0 system. for this I am using NWBC. In NWBC --> Access Management --> Mass Role Maintenance --> Role Import --> in this age below OPtions are selected: Role Selection --> Technical Role Im

  • GX660R-Blu Ray Player Problem

    I wonder if someone can help......but please bear in mind that I have the technical capacity of a glass of water. I recently bought an MSI GX660XR with the following configuration: CPU: Intel Core i5-460M Graphics - ATI Radeon HD5870 / 1GB DDR5 RAM -

  • ISE 1.1.1 - Error Code 12521 EAP-TLS failed SSL/TLS handshake after a client alert

    Hello, Has anyone come across this error code before?  I have looked in the 1.1.1 troubleshooting section and there is nothing there. When I click on the link for the description off the error in ISE I get the following error: I setup 7925 phones for

  • Pantone Library Updating

    Since Pantone has started changing color values and adding new swatch books to expand their products (and add additional revenue streams), I’m finding that it’s rather difficult to update our libraries in Adobe Creative Suite applications. This all s

  • Measure a particular Layer Properties (width & height) through coding

    Hi,      I am working on the Apparel Model images. Everyday we work with different models. Once done with the shooting process, we  make the required correction on it so obviously we come across height issues at the retouch (Photoshop CS5) end. The f