Changing first day of week in Calendar help

Hi,
I want to change the first day of week from Monday to Sunday in Webdynpro ABAP screen's default calendar help. I implemented BADI CALENDAR_DEFINITION to change the first day of week, it worked for SAP GUI calendar help but not working for WebDynpro ABAP screen.
Thanks,
Alok

Hi,
Try using the data type TVDIR-GENDATE for date field. It will populate serach help Calendar and it should trigger the BADI from web dynpro also.
Refer SAP Help. It is pointing to the same BADI.
http://help.sap.com/saphelp_nwpi711/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/frameset.htm
Thanks,
Jyothi

Similar Messages

  • ESS: Change First Day of Week in Date Navigator

    G'day everyone,
    We are on NW2004S, i.e. ECC6 + EP7 + ESS 1.0. I'm having a hard time getting the Date Navigator, i.e. the value help for date fields in ESS, to use Monday rather than Sunday as first day of the week.
    I have managed to customise the Team Calendar (and the other calendars in ESS) to start on Monday rather than Sunday by changing the FirstDayOfWeek property of the calendar element using <Ctrl>-right-mouse-click in Portal Content administration, so that displays ok now.
    However, trying to do the same for the date navigator, i.e. doing a <Ctrl>-right-mouse-click just makes the date navigator disappear (actually it happens the moment I press the <Ctrl> key).
    Am I doing something wrong here? Is there any other way to customise the FirstDayOfWeek property of the Date Navigator of WebDynpro for JAVA iViews in EP7?
    Thanks a lot for your help and best regards!
    Andree

    On 2/13/2013 12:36 AM, thgeiger wrote:
    >
    > Hi,
    > after upgrading from GW8.02 to GW2012SP1 the first day of week in
    > WebAcc and CalPub is Sunday again. Under GW8.02 I had configured the
    > first day as Monday (in a configuration file) Unfortunately I don't
    > remember which file it was?
    > Any ideas?
    > Kind regards,
    > Thomas
    >
    >
    Here's an old post, don't have time to confirm still true
    'm been looking around and trying to find out about the function
    "firstDayOfWeek", but I now finally found out it is much easier than that.
    Solution:
    Find the CssResources_xx.properties file (where xx is the language you
    want to change for) in the
    tomcat\4\webapps\gw\WEB-INF\classes\com\novell\webaccess\templates\css
    directory.
    Look for Calendar.Week.startDay=1 and change that to 2 for Monday. Do
    this for all language properties files you need.
    Stop and start tomcat and voil*.
    Regards,
    Patrick

  • First Day of Week in Gnome Calendar

    One day I noticed that the first day of the week in my gnome calendar is was Monday instead of Sunday.  I have no idea what caused this change, but nothing I can do seems to be able to change it to Sunday.  This is the mini Calendar that pops up when you click on the clock on the panel.  any ideas?

    On 2/13/2013 12:36 AM, thgeiger wrote:
    >
    > Hi,
    > after upgrading from GW8.02 to GW2012SP1 the first day of week in
    > WebAcc and CalPub is Sunday again. Under GW8.02 I had configured the
    > first day as Monday (in a configuration file) Unfortunately I don't
    > remember which file it was?
    > Any ideas?
    > Kind regards,
    > Thomas
    >
    >
    Here's an old post, don't have time to confirm still true
    'm been looking around and trying to find out about the function
    "firstDayOfWeek", but I now finally found out it is much easier than that.
    Solution:
    Find the CssResources_xx.properties file (where xx is the language you
    want to change for) in the
    tomcat\4\webapps\gw\WEB-INF\classes\com\novell\webaccess\templates\css
    directory.
    Look for Calendar.Week.startDay=1 and change that to 2 for Monday. Do
    this for all language properties files you need.
    Stop and start tomcat and voil*.
    Regards,
    Patrick

  • Calendar.app not showing First Day of Week selected in iCal

    I have selected Monday as the first day of the week in iCal. After syncing, Calendar.app on my iPhone 4 does not show Monday as first day of week. My original iPhone 2G (3.1.3, jailbroken) does show the correct start day, Monday.)
    I do not need assistance with my iPhone 2G. I need a solution for my iPhone 4.
    How do I get my iPhone 4 to be in sync with my other calendars?

    That's a real pain. I'm in Australia and the regional settings have Monday as the first week, which throws me out because all my calendars and even settings in iCal have Sunday as the first day of the week (which is what it's supposed to be). To get what I want, I have to set my country as New Zealand, and this messes up my phone number formats (closest to Australia than any of the others that start the week correctly though). It should be an option in the settings!

  • CRM onDemand Calendar - Configure First Day of Week?

    Hi guys,
    by default, the calendar is showing Sunday as the first day of week in the CRM calenadr. is it possible to configure any settings to have monday as the first day?

    Mika, at this time it is not possible to configure the first day of the week.

  • I sent my First generation serial number for a recall, however nothing happened. No email, nothing. And when I tried it again, it said I had already sent that serial number. It's been days, a week even. Help?

    I sent my First generation serial number for a recall, however nothing happened. No email, nothing. And when I tried it again, it said I had already sent that serial number. It's been days, a week even. Help?
    Enough said.  I don't know if I already received an email however may've accidentally deleted it or something, but I still don't know what to do. I can't do anything anymore because iTunes is not accepting the serial number anymore.

    Just wait a few more days.  Apple has been hammered by the number of replacement requests, so they are a little low on supplies at the moment.
    B-rock

  • First day of week in Clock app - Alarm

    I changed the first day of week to Monday in Settings -> Mail, Contacts, Calendars -> Start Week On. However, it still shows Sunday as the first day in Clock -> Alarm -> Repeat -> Weekdays. How can I set Monday in the Clock app? Thanks.

    On 2/13/2013 12:36 AM, thgeiger wrote:
    >
    > Hi,
    > after upgrading from GW8.02 to GW2012SP1 the first day of week in
    > WebAcc and CalPub is Sunday again. Under GW8.02 I had configured the
    > first day as Monday (in a configuration file) Unfortunately I don't
    > remember which file it was?
    > Any ideas?
    > Kind regards,
    > Thomas
    >
    >
    Here's an old post, don't have time to confirm still true
    'm been looking around and trying to find out about the function
    "firstDayOfWeek", but I now finally found out it is much easier than that.
    Solution:
    Find the CssResources_xx.properties file (where xx is the language you
    want to change for) in the
    tomcat\4\webapps\gw\WEB-INF\classes\com\novell\webaccess\templates\css
    directory.
    Look for Calendar.Week.startDay=1 and change that to 2 for Monday. Do
    this for all language properties files you need.
    Stop and start tomcat and voil*.
    Regards,
    Patrick

  • First day of week in WebAccess and CalendarPublisher

    Hi,
    after upgrading from GW8.02 to GW2012SP1 the first day of week in WebAcc and CalPub is Sunday again. Under GW8.02 I had configured the first day as Monday (in a configuration file) Unfortunately I don't remember which file it was?
    Any ideas?
    Kind regards,
    Thomas

    On 2/13/2013 12:36 AM, thgeiger wrote:
    >
    > Hi,
    > after upgrading from GW8.02 to GW2012SP1 the first day of week in
    > WebAcc and CalPub is Sunday again. Under GW8.02 I had configured the
    > first day as Monday (in a configuration file) Unfortunately I don't
    > remember which file it was?
    > Any ideas?
    > Kind regards,
    > Thomas
    >
    >
    Here's an old post, don't have time to confirm still true
    'm been looking around and trying to find out about the function
    "firstDayOfWeek", but I now finally found out it is much easier than that.
    Solution:
    Find the CssResources_xx.properties file (where xx is the language you
    want to change for) in the
    tomcat\4\webapps\gw\WEB-INF\classes\com\novell\webaccess\templates\css
    directory.
    Look for Calendar.Week.startDay=1 and change that to 2 for Monday. Do
    this for all language properties files you need.
    Stop and start tomcat and voil*.
    Regards,
    Patrick

  • Date/locale problems; first day of week / browser language

    Hi,
    I've been trying to create an event calendar PL/SQL portlet. My problem is that it reacts to browser language or something, so it goes all screwy when viewed with browsers in another language.
    How can I force my portlet to be finnish and finnish ONLY. I DO NOT want it to change (first day of the week monday or sunday) depending on what browser the user is using. I have tried to use the third parameter to to_char(p_date, 'dd.mm.yyyy','NLS_DATE_LANGUAGE = Finnish') in all places but it has no effect. Database locale is correct ( I think, I'm not the admin) but still it happens. Chrome, Firefox, IE show different stuff depending on the browser language.
    I'll admit it is not the most elegant coding ever (if it were I would have taken this into account and dealt with it!) but is there any way to just force my dates and date variabes to be finnish, period.
    Edited by: Baguette on Mar 9, 2010 10:37 AM

    Got it.
    For public sessions, Portal will indeed investigate the browser language. Pending on the browser language, Portal can display in specific languages. Only when users login and set a language explicitly, will we maintain the language setting, unless the user switches browsers again.
    The Portal DAD settings will indeed overwrite your system wide setting of NLS_TERRITORY. The dads.conf will have something like AMERICAN_AMERICA.UTF8. If you want to overrule this in your portlet, you need to find a way of overruling the NLS_TERRITORY in the session. This can be done with dbms_session.set_nls('nls_territory','FINLAND');
    e.g. for my previous example :
    declare
    date1 varchar2(2000);
    date2 varchar2(2000);
    date3 varchar2(2000);
    begin
    select to_char(sysdate,'Dy DD-Mon-YYYY') today into date1 from dual ;
    select to_char(sysdate+ (1-to_char(sysdate,'D')),'Dy DD-Mon-YYYY') into date2 from dual ;
    select to_char(sysdate+ (7-to_char(sysdate,'D')),'Dy DD-Mon-YYYY') into date3 from dual ;
    htp.p('Territory set to AMERICAN');
    htp.hr;
    htp.p('Today : '||date1);
    htp.br;
    htp.p('First day of the week : '||date2);
    htp.br;
    htp.p('Last day of the week : '||date3);
    htp.br;
    htp.p('Territory set to FINLAND');
    htp.hr ;
    dbms_session.set_nls('nls_territory','FINLAND');
    select to_char(sysdate,'Dy DD-Mon-YYYY') today into date1 from dual ;
    select to_char(sysdate+ (1-to_char(sysdate,'D')),'Dy DD-Mon-YYYY') into date2 from dual ;
    select to_char(sysdate+ (7-to_char(sysdate,'D')),'Dy DD-Mon-YYYY') into date3 from dual ;
    htp.hr;
    htp.p('Today : '||date1);
    htp.br;
    htp.p('First day of the week : '||date2);
    htp.br;
    htp.p('Last day of the week : '||date3);
    end;
    Thanks,
    EJ

  • SelectInputDate set first day of week

    Hi all! I was trying to change the first day of week showed in the calendar (Ex. set the first day the Monday) but i dont find any results :(
    Someone know how to change it?
    Many thanks.
    Jose.

    Hi Jose, <br>
    <br>
    Unfortunately, this is not possible in JDeveloper 10.1.3<br>
    See "<a href="http://blogs.oracle.com/Didier/2007/02/26#a218"> Setting the First Day of the Week to Monday in the SelectInputDate component</a>" for more details. <br>
    <br>
    Regards, <br>
    <br>
    Didier.<br>
    <br>

  • First Day of Week in Data Entry Profile

    Does anyone know if there is a standard SAP RFC i can use in my Web Dynpro application to get the First Day of Week entry in a user's Data Entry Profile?
    Thanks,
    -Kevin

    Hello Kevin,
    Function Module returns the System Date from that SAP System(R/3). I have checked this BAPI with '200743 - current week' GET_WEEK_INFO_BASED_ON_DATE, it returns proper data like Start Date and End Date.
    I Assume, you are using this in your Java WD. You can write your own function for this. This will return the day of the week.
    Calendar xmas = new GregorianCalendar(2007, Calendar.SEPTEMBER, 23);
    int dayOfWeek = xmas.get(Calendar.DAY_OF_WEEK);
    wdComponentAPI.getMessageManager().reportSuccess("Day : "+dayOfWeek);
    Note : - week starts with 0 . 0 - Monday 6 -Saturday.
    Regards,
    Sridhar

  • Deriving first day of week ww in year yyyy

    I need to be able to display the first day of a particular week in addition to the 'week-of-year' and year; for example:
    select to_char("ServiceDate",'yyyy-ww') as "Year/Week", sum("Points") as "Points"
    from my_table
    group by to_char("ServiceDate",'yyyy-ww')
    order by to_char("ServiceDate",'yyyy-ww')will give me the following:
    Year/Week     Points
    2008-33            1                     
    2008-35            1                     
    2008-42            4                     
    2008-43            2                     
    2009-01            1                     
    ...and so forth. What I would like to add to the dataset is the actual day that is the first day of the week for that Week/Year. For example, the first row would look like this:
    Year/Week     1st day of week     Points
    2008-33          08-AUG-2008*         1*Or whatever the first day of week 33 of year 2008 is (assuming 'first day of week' is a Sunday, for my purposes).
    My brain is on 'dim' right now; any and all assistance is greatly appreciated.
    Thanks in advance,
    Carl

    select  to_char(trunc("ServiceDate",'ww'),'yyyy-ww') as "Year/Week",
            to_char(trunc("ServiceDate",'ww'),'DD-MON-YYYY') "Week Start Date",
            sum("Points") as "Points"
    from my_table
    group by trunc("ServiceDate",'ww')
    order by trunc("ServiceDate",'ww')
    /SY.

  • Function Modules to get First day of week, month, Year

    Can anyone name the Function Modules for getting First day of week, month ,year.

    to get first day of week use this function;   WEEK_GET_FIRST_DAY
          CALL FUNCTION 'WEEK_GET_FIRST_DAY'
               EXPORTING
                    WEEK         = '201107'
               IMPORTING
                    DATE         = l_date
               EXCEPTIONS
                    WEEK_INVALID = 1
                    OTHERS       = 2.
    with DATE_COMPUTE_DAY function you can get date number in week.
    CALL FUNCTION 'DATE_COMPUTE_DAY'
           EXPORTING
                DATE = workdate
           IMPORTING
                DAY  = day_of_week_num
           EXCEPTIONS
                OTHERS  = 8.
      CASE day_of_week_num.
        WHEN 1.
          hold_day_of_week = 'Monday'.
        WHEN 2.
          hold_day_of_week = 'Tuesday'.
        WHEN 3.
          hold_day_of_week = 'Wednesday'.
        WHEN 4.
          hold_day_of_week = 'Thursday'.
        WHEN 5.
          hold_day_of_week = 'Friday'.
        WHEN 6.
          hold_day_of_week = 'Saturday'.
        WHEN 7.
          hold_day_of_week = 'Sunday'.
        WHEN OTHERS.
          hold_day_of_week = 'invalid'.
      ENDCASE.

  • Change first day of the week in Calendar?

    When I updated my iPhone to 3.0, my default Calendar app switched the first day of the week (in month view mode) from Sunday to Monday. Any idea how I can change this back?
    -Gerald

    What application does your iPhone calendar sync with on your computer? I have had all three versions of the iPhone and can't remember any of them showing Monday as the first day of the week in "Month" view. Of course that doesn't mean anything... can you post a picture showing Monday as the first day of the week?
    Message was edited by: dmiannay

  • Date field input help - changing first day of the week

    Hi,
    I need to change the starting day of the week  in a date field value help. I also need to change the days name in this calender.
    Thanks in Advance,
    Dekel.

    I found how to change the first day of the week, through BAdi calendar_definition.
    Can anyone help me locate the day names? (I checked - FM day_names_get dosen't get the names of the UI search help).
    Thanks,
    Dekel.
    Edited by: dekel31 on May 29, 2011 1:17 PM

Maybe you are looking for