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

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

  • 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

  • Time Sheet - Data Entry Profile(T-Code CAT2)

    Hi All,
    I have 4 data entry profiles in the system and will like to delete 2 of them as they are no longer required. If somebody had booked time (in past) by using the profile which I want to delete, will it have any kind of impact. Please advice whetehr it is safe to delete the profiles.
    Regards
    Tapan

    Hi Tapan,
    Not that I am aware of either - just checking a where used on the data  element didn't reveal anything either.
    Please bear in mind the following before deleting the profile however - What the profile is used for is to define whether data can be entered for just individual employees or groups of employees, what deata can be maintained, whether the timeframe is weekly or monthly and whether the data is subject to approval. All things tho consider when deleting any - to make sure the business needs can still be met and also there can be specific auths to certain time profiles to allow only certain employees to enter certain data etc.
    Hope this helps,
    Kind regards,
    Danny

  • Multilple Data entry profiles in ESS for CATS

    hi,
    We are implementing CATS and configured the data entry profiles in IMG. Can u tell me if multiple data entry profiles can be chosen by employees through ESS webdynpro applcaition. I need this as the screen layouts for an employee logging time to different projects are different. Is choosing data entry profile provided in ESS ?
    Apprecaite your help
    Regards
    PN

    Hi Bala /Krish,
    Thanks for the replies. i understand that based on the employee groups, sub groups a data enry profile would be assigned to an employee..
    Lets take up this scenario
    1) Employee 1 is assigned to Per Area 1 (HR) and lets say data entry profile 1 on monday
    2) He is asked to work for a diffrent Per area 2 ( project systems ) for 1 day and then after that day he is assigned back to profile 1 again.
    3) On wednesday he comes bak , he is already assigned to data entry profile 1, where he books his time for Per Area 1 (HR). Now how does he book his time for the one day where he was assigned to Per Area 2 ( PS)
    any ideas ? I know this wud be a custom enhancement,
    wanted to know
    1) if BAPI and Web dynpro ESS record working time code will need to be modified ?
    2) What wud be effort and time estinate for such a requirement ?
    3) is it possible ?
    Appreciate your inputs,  i guess i am going on asking questions
    Regards
    PN

  • Data Entry Profile for Time Sheet Entry on Internet / Intranet

    hello gurus,
    i am trying to configure Time sheet entry on portal via internet / intranet. I did come across articles on it but am confused as to how to create Date Entry Profile as it seems to be the first step in configuring the time sheet.
    Also mt OT calculation shud be based on the hrs input in the time sheet. How can this be achieved
    Any inputs on this pls??
    rgds,

    At a very high level you will need to:
    1. Create the Data Entry Profiles.  These are the templates that employees see when they go into their timesheet, and there are lots of options depending on what other modules and/or further processing is required for the time entries.
    SAP Customizing Implementation Guide > Cross-Application Components > Time Sheet > Specific Settings for CATS regular > CATS regular > Record Working Time > Set Up Data Entry Profiles
    2. Define the field selection. i.e. the columns that will be visible in the timesheet, and which ones are required/read only
    SAP Customizing Implementation Guide > Cross-Application Components > Time Sheet > Specific Settings for CATS regular > CATS regular > Record Working Time > Define Field Selection
    3. If you are using manager approvals, you will then need to set up the approval views.  The default ones may be sufficient for your requirements or they may need tweaking slightly
    SAP Customizing Implementation Guide > Cross-Application Components > Time Sheet > Specific Settings for CATS regular > CATS regular > Approve Working Time
    4. In order to valuate the entries you will then need to set up a Time Evaluation schema; this will analyse the time entries and convert them into wage and/or time types which can then be processed by Payroll for payment.  There are standard schema which can be used as a basis, but you will need to tailor them to meet your requirements.
    SAP Customizing Implementation Guide > Time Management > Time Evaluation
    For all of these sections it is worth reading the SAP help material either in the IMG itself or in the online SAP library
    e.g. http://help.sap.com/saphelp_erp60/helpdata/en/64/400b2b470211d189720000e8322d00/frameset.htm for CATS,
    http://help.sap.com/saphelp_erp60/helpdata/en/8a/9868bc46c411d189470000e829fbbd/frameset.htm for Time Evaluation

  • 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.

  • 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!

  • 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

  • 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

  • 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.

  • Problem with data entry profile ESS ?

    Hey All,
    My problem is i have a data entry profile "ESS".
    In CAT2 transaction i see the ESS data entry profile as follows (suppose)
    <b>A1  A2   A3   Mon Tue Wed .... Sat Sun  A4</b>
    I assigned CVR parameter to this profile
    Now in ESS i see the data entry section as
    <b>A1  A2   A3   A4   Mon Tue Wed ......Sat Sun</b>
    The order of the fields is getting sorted.
    Is it anything to do with the settings you referred earlier?
    Sriram

    Hello all,
    can anyone help me on this , iam being stuck on this for a quite a long time
    Regards
    sriram

  • 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>

Maybe you are looking for

  • Stale data error while opening a multiple OAF page .

    Dear Friends , I have a OAF page developed and deployed in server , its basically a search page , it also has several links to go to create page and update page . when the user opens the multiple page using different tabs in the browser like for exam

  • Can I use a browser other than Safari with iMac?

    I have to use some applications that do not support Safari.  How can I use an alternate browser?

  • Firefox stuttering randomly

    When I'm randomly scrolling through websites or using tab groups, I can see some stuttering. At start up it's really small and passable, but it gets progressively worse until the window randomly turns black and crashes. I've also noticed that around

  • Analyzer 7.0 issue with dates

    Hi experts, We have an upgraded BI to version 7.0 with a latin language and date format DD/MM/YYYY instead of MM/DD/YYYY. Most users still use the 3.X versions of Analyzer, Query designer... This version works fine. But Analyzer 7.0 has a date issue.

  • Production order settlement status table

    Hi All,        How shoud i know the production order is settled or not ? Some status i given here SETC Settlement rule created VCAL Variances calculated, REL released,CNF conformed ,in a month  10 order created some are conformed some are relesed son