To get current Fiscal Week

Hello Guru's ,
I have a infoobject (Fiscal Week) which is developed in the back end. In report i would like to get the "Fiscal Week that justed ended" based on the "Fiscal Week" infoobject.
Example: Fiscal Week 1,2,3,4,5,6....53 is stored in the cube. Suppose i am in Fiscal Week 3 and it has not completed yet then the report should display me fiscal week 2 values. The report will be executed on monday morning so it should give me the fiscal week before that.  If there is code to be written in the customer exit please provide me with the Code.
thank You in advance

HI,
   you no need to write any code... Just create a keyfigure with the char.. restriction.
Char Restriction -
> (Current fiscal week - 1). This can be done via offset variable.
Regards,
Meiy

Similar Messages

  • Function module to get last fiscal week

    Hi Gurus,
    Can anybody give me the function module to go back to few fiscal weeks.
    For example ,
    if the current fiscal week is 2008030,
    I need to get the value 2008024.
    This can be done with ABAP code. But I am looking for function module.
    Thanks,
    Rajani.
    Points will be assigned.

    Hi Rajani,
    Please try this:
    REPORT Z_CAL_WEEK .
    DATA: Z_DATE TYPE SY-DATUM.
    DATA: Z_WEEK TYPE SCAL-WEEK.
    Z_DATE = SY-DATUM
    Z_DATE = Z_DATE - 42. "CORRESPONDING DATE 6 WEEKS in the past
    CALL FUNCTION 'DATE_GET_WEEK'
      EXPORTING
        DATE = Z_DATE
      IMPORTING
        WEEK = Z_WEEK.
          EXCEPTIONS
         DATE_INVALID       = 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.
    WRITE :Z_WEEK.
    Regards
    Joe

  • How to get current fiscal year.

    Hi Experts,
    I am working on Asset Management.I need to get current fiscal year.
    I have to enter fiscal year on selections screen which i have to validate that it should not be greater than current fiscal year.
    For above i have used following code snippet but i have hard coded variant as 'MK'.
    To get variant i was using function '/IBS/RB_FI_GET_FISCAL_YEAR_VAR'  but in my selection screen we have to enter multiple company codes. if i will keep this function inside loop then it may give multiple variants.
    How to resolve this ?
    DATA : l_year(4) type c,
           l_date TYPE sy-datum.
    CALL FUNCTION '/IBS/RB_FI_GET_FISCAL_YEAR_VAR'
      EXPORTING
        i_company_code               =
      IMPORTING
        E_FISCAL_YEAR_VARIANT        =
      EXCEPTIONS
        COMPANY_CODE_NOT_FOUND       = 1
        OTHERS                       = 2.
      l_date = sy-datum - 700.
      l_date = l_date + 1.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'GM_GET_FISCAL_YEAR'
         EXPORTING
           I_DATE                           = l_date
           i_fyv                            = 'MK'
         IMPORTING
           E_FY                             = l_year
         EXCEPTIONS
           FISCAL_YEAR_DOES_NOT_EXIST       = 1
           NOT_DEFINED_FOR_DATE             = 2
           OTHERS                           = 3.
        IF sy-subrc EQ 0.
          IF s_gjahr-low GT l_year.
            PRINT Error Message "Entered fiscal year should not be greater than current fiscal year".
          ENDIF.
        ENDIF.

    make it simpler by using - DATE_TO_PERIOD_CONVERT
    CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
      EXPORTING
        I_DATE               = SY-DATUM
        I_PERIV              = L_VARI    "Fiscal year Variant - refer to tab T009B
    IMPORTING
       E_BUPER              = L_BUPER " Fiscal Period
       E_GJAHR              = L_GJAHR  " Fiscal year
    EXCEPTIONS
       INPUT_FALSE          = 1
       T009_NOTFOUND        = 2
       T009B_NOTFOUND       = 3
       OTHERS               = 4
    Hope this will solve ur problem.

  • How to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input

    Hi all,
    I need your help how to write customer exit in my BI query to get (current fiscal quarter) and (current fiscal quarter - 1 ) without user input.
    in my query info object is 0CALQUARTER and variable is ZFIS_QTR.
    in 0CALQUARTER fiscal quarter stored in 201301,201302,201303,201304 and 201401 format, for current fiscal quarter 201401 and (current fiscal quarter - 1 ) would be 201304.
    please replay ASAP to deliver the report to client.
    thanks in advance.
    -- Rakesh Nagpure

    I am Getting the same error for both the codes that i have written...
    Do i Need to write sth else in the code...
    Code:
    WHEN 'ZVLIVELEASES'.
      IF I_STEP = 2.
            L_DATE = SY-DATUM.
            SELECT * FROM "DSO_ACTIVE_TABLE"
                INTO TABLE ITAB_LL where "EXPIRY_DATE" > L_DATE.
            LOOP AT ITAB_LL INTO WA_LL.
            CLEAR l_s_range.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = WA_LL-"EXPIRY_DATE".
           APPEND L_S_RANGE TO E_T_RANGE.
            ENDLOOP.
       ENDIF.
    Error: Error for variable in customer enhancement ZLIVELEASES

  • How to get current fiscal year/quarter/month/week

    Post Author: [email protected]
    CA Forum: Semantic Layer and Data Connectivity
    Hi friends,
    I have to calculate
    1. current year/quarter/month/week.
    2.Previous year/quarter/month/week.
    please tell the process to achieve the above scenerio's.
    the structure of the fiscal_cal is as  follows.
    Name                                      Null?    Type
    TODAY                                     NOT NULL DATE
    FISCAL_DAY                                         NUMBER(8)
    FISCAL_WEEK                                        NUMBER(6)
    FISCAL_MONTH                                       NUMBER(6)
    FISCAL_QTR                                         CHAR(18)
    FISCAL_YEAR                                        NUMBER(4)
    FISCAL_MONTH_WORK_DAYS                             NUMBER(2)
    sample week data is as follows
    FISCAL_WEEK
         200752
         200753
         209901
    Thanks.

    based on ur target database DBMS you can find a built-in functions be used in the universe designer to get the requirment you talked about, like in oracle
    to_char(mydate,'yyyy') it will return the year in the yyyy format.
    and the same way for the other things you want
    to_char(mydate,'q') return the quarter.
    w return the week of the month
    ww return the week of the year
    mm return the month
    ,, to get the last year
    you can use also a builtin functions
    like add_months(mydate,-12) that return the same date for the last year, and you can do the same operations as before.
    its all related to the DBMS.
    good luck

  • Reg:- Fiscal Weeks

    Hi all,
    We have built a simple report on EBS Statistics using following columns: Organisation Name, Fiscal Week, Baseline Data, Organisation Code.
    we have calculated fiscal week using this formula CONCAT('FW ', CAST(WEEK_OF_YEAR("Dim - EBS Statistics"."Run Date") AS char)).
    The column fiscal week goes on updating in the report for ex ( current fiscal week is 49, after completion of this week fiscal week 50 gets auotmatically updated). The report is expanding exponentially every week
    So in the report right now we are showing data from FW 15 to FW 49.
    Now we have got a requirement to restrict the fiscal weeks :-i.e. Add a default filter to pick always the last 12 weeks
    May I know how to achieve this.

    796797 wrote:
    Hi ,
    Thanks for your kind reply. But in the report we are looking for fiscal weeks not on the date. The query which you have provided will give us dates.
    we have calculated fiscal week using this formula CONCAT('FW ', CAST(WEEK_OF_YEAR("Dim - EBS Statistics"."Run Date") AS char)).
    The column fiscal week goes on updating in the report for ex ( current fiscal week is 49, after completion of this week fiscal week 50 gets auotmatically updated). The report is expanding exponentially every week
    So in the report right now we are showing data from FW 15 to FW 49.
    Now we have got a requirement to restrict the fiscal weeks :-i.e. Add a default filter to pick always the last 12 weeks
    May I know how to achieve this.Try this:
    On your report, add a filter that says this:
    WEEK_OF_YEAR("Dim - EBS Statistics"."Run Date") >= WEEK_OF_YEAR(MAX("Dim - EBS Statistics"."Run Date")) -12

  • Current calendar week(0cweek)

    Dear BW friends,
    I installed Current calender week(0cweek) from Business content. I edited the variable with checking  Ready for input.
    The variable selection screen is coming but it not coming with current week( for eg: 20.2006).
    As it is very urgent please suggest me is there any way to get current cal.week other than writing User Exit.
    Thanks,
    SB

    HI Readdy,
    as it is Sap Exit variables,you dont need to check ready for input..it shluld return Current Week...Pl check it out once again..
    i replied to u r mail.
    thanks

  • How to get total number of days in current Fiscal period/year

    Hi,
    I need to get total number of days in current Fiscal period/year (current month) and assign it to an infoobject. I need a routine for this. Is there any function module to get this.If possible pls paste the ABAP code also for this task. Thanks in advance

    here is the FM:
    LAST_DAY_IN_PERIOD_GET
    KJ!!!

  • Fm to get current + next 3 fiscal months name

    hi all,
    In my alv report , i need to populate the stock of current fiscal month plus stock for succeeding 3 months.Using fm 'GET_CURRENT_YEAR' i am getting current month details with input sydatum and company code.
    But how to get next 3 fiscal months?Is there any fm to do the same?

    Hi,
    try this:
    DATA: PERIOD LIKE T009B-POPER,
          YEAR   LIKE T009B-BDATJ,
          DATE   LIKE SY-DATUM.
    DATE = SY-DATUM.
    CALL FUNCTION 'DETERMINE_PERIOD'
      EXPORTING
        DATE                = date
        VERSION             = 'K4'
      IMPORTING
        PERIOD              = PERIOD
        YEAR                = YEAR
      EXCEPTIONS
        PERIOD_IN_NOT_VALID = 1
        PERIOD_NOT_ASSIGNED = 2
        VERSION_UNDEFINED   = 3
        OTHERS              = 4.
    write: / date, period, year.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          MONTHS  = 1
          OLDDATE = DATe
        IMPORTING
          NEWDATE = date.
    CALL FUNCTION 'DETERMINE_PERIOD'
      EXPORTING
        DATE                = date
        VERSION             = 'K4'
      IMPORTING
        PERIOD              = PERIOD
        YEAR                = YEAR
      EXCEPTIONS
        PERIOD_IN_NOT_VALID = 1
        PERIOD_NOT_ASSIGNED = 2
        VERSION_UNDEFINED   = 3
        OTHERS              = 4.
    write: / date, period, year.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          MONTHS  = 1
          OLDDATE = DATe
        IMPORTING
          NEWDATE = date.
    CALL FUNCTION 'DETERMINE_PERIOD'
      EXPORTING
        DATE                = date
        VERSION             = 'K4'
      IMPORTING
        PERIOD              = PERIOD
        YEAR                = YEAR
      EXCEPTIONS
        PERIOD_IN_NOT_VALID = 1
        PERIOD_NOT_ASSIGNED = 2
        VERSION_UNDEFINED   = 3
        OTHERS              = 4.
    write: / date, period, year.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          MONTHS  = 1
          OLDDATE = DATe
        IMPORTING
          NEWDATE = date.
    CALL FUNCTION 'DETERMINE_PERIOD'
      EXPORTING
        DATE                = date
        VERSION             = 'K4'
      IMPORTING
        PERIOD              = PERIOD
        YEAR                = YEAR
      EXCEPTIONS
        PERIOD_IN_NOT_VALID = 1
        PERIOD_NOT_ASSIGNED = 2
        VERSION_UNDEFINED   = 3
        OTHERS              = 4.
    write: / date, period, year.
    Regards, Dieter

  • W_DAY_D is not getting Loaded with Enterprise WEEK or FISCAL week informati

    HI Experts,
    We have OBI Application 7.9.6.1 (FIN,SCM,PSA analytics application).
    We are using Oracle EBS 12.0.6 as the source system.
    we are using the Enteprise Calendar in EBS to load the W_DAY_D,but the W_DAY_D is not getting Loaded with Enterprise WEEK or FISCAL week informations,
    does any one have an answer to this question,how to load theEnterprise WEEK or FISCAL week information in the W_DAY_D table??
    We have raised an SR with Oracle Support & got the reply that this is a product BUG & they have internaly raised an Enhancement Request.
    God knows when this will be fixed??
    Can any one provide me with a work around ?/
    Thanks

    Hello:
    Please look at these W_MCAL_PERIOD_D, and W_MCAL_DAY_D Tables for Fiscal information. For more information you can look at the RPD BMM Layer Dim - Date Fiscal Calendar.
    With Regards,
    Mohan

  • How to get last 35th fiscal year periof form current fiscal year period

    Hi,
    I want last 35th moths fiscal yesr periof from current fiscal yesr periog.
    E.g. current month FISPER - 2010011 so required FISPER is 2010011 - 35 = 2007009.
    Please help if any one know about it.
    Marks will be provided.

    Hi,
    Drag Fiscal year/period characteristic in the query and restrict it .
    In the variables , you will find SAP delivered variable which willl give you current fiscal year/period.
    Create range on the using this variable and give offset of -35.
    For eg.
    the name of the variable is 0PF_CP,  then create range in the following way.
    Lower range will be 0PF_CP - 35
    and higher limit will be 0PF_CP.
    So the range would be 0PF_CP-35 : 0PF_CP.
    This will give you the last 35 fiscal year/period.
    - Jaimin

  • Get current event in iCal

    I'm trying to create a script that would run as a trigger to set my away message in Adium to currentEventName - eventLocation
    Theoretically, my code works, and it does... sometimes. I figure there is some bug in it I'm just missing. Any help would be appreciated. Note that this has to work for for repeated items. I have cut the date off at the minute since the date and time has to be exact - unless of course you know of a way to fix this. Thanks. Below is the code.
    set myEvent to "Unknown Event"
    --gets the current date minus the time
    set curDate to (weekday of (current date)) & ", " & month of (current date) & ¬
    " " & day of (current date) & ", " & year of (current date) as string
    set curTime to round ((time of (current date)) / 60) rounding down
    set curHour to round (curTime / 60) rounding down
    set curMin to curTime mod 60
    --fixes the 0 problem
    if curMin < 10 then
    set curMin to "0" & curMin as string
    end if
    if curHour > 12 then
    set today to curDate & " " & curHour - 12 & ":" & curMin & ":00 PM" as string
    else
    set today to curDate & " " & curHour & ":" & curMin & ":00 AM" as string
    end if
    --today should now be the correct time without the seconds
    set today to date today
    tell application "iCal"
    repeat with i from 1 to count of every calendar
    if myEvent is "Unknown Event" or myEvent is {} then
    set myEvent to (summary of every event of calendar i whose start date is today)
    set myPlace to (location of every event of calendar i whose start date is today)
    end if
    end repeat
    end tell
    if myEvent is {} then
    set myEvent to "Unknown Event"
    --display dialog "No event on " & today
    end if
    if myPlace is {} then set myPlace to "Unknown location"
    set myAway to myEvent & " - " & myPlace as string
    tell application "Adium"
    set my status type to away
    set my status message to myAway
    end tell
    PowerMac G5 DP 2.0Ghz   Mac OS X (10.4.6)   1.5GB RAM, 160GB SATA HD, 160GB ATA HD (enclosure)

    Apparently, it works even faster if executed from iCal (as opposed to running with the events tab closed).
    There were a couple of minor bug fixes, but I've tested it on a fake repeated event, and will see if it really works tomorrow.
    Known bugs:
    does not work for daily
    does not work for monthly (ie, things on the third sunday)
    For now though, this is fine as almost all my things are custom weekly events.
    Here's the code:
    --Get current time, current time without seconds, and day abbreviation
    set current_date to (current date)
    set today to current_date - (seconds of current_date)
    set now to (time of (current date)) - (seconds of (current date))
    log now
    log today
    set thisYear to year of (current date) as number
    set thisMonth to month of (current date) as number
    set thisDay to day of (current date) as number
    set thisDate to characters 1 thru 2 of (weekday of (current date) as string) as string
    log thisDate
    --Init vars
    set freq to ""
    set interval to ""
    set endDate to ""
    set myEvent to ""
    set myPlace to ""
    set setBool to false
    tell application "iCal"
    repeat with i from 1 to count of calendars
    if setBool is true then exit repeat
    repeat with j from 1 to count of events of calendar i
    set rec to recurrence of event j of calendar i as string
    set curDays to my getDays(rec, j, i)
    if thisDate is in curDays then --Check if the event ocurrs today
    set endDate to my getEnd(rec, j, i)
    --If the end date is equal or greater to the current date (minus seconds)
    if item 3 of endDate ≥ thisYear and (item 2 of endDate > thisMonth or (item 2 of endDate = thisMonth and item 1 of endDate ≥ thisDay)) then
    set eventStartTime to (start date of event j of calendar i)
    set eventStartTime to (time of eventStartTime) - (seconds of eventStartTime)
    if eventStartTime is now then
    set myEvent to summary of event j of calendar i
    set myPlace to location of event j of calendar i
    set setBool to true
    exit repeat
    end if
    end if
    end if
    end repeat
    end repeat
    end tell
    try
    if myEvent is "" then set myEvent to "Unknown Event"
    on error
    set myEvent to "Unknown Event"
    end try
    try
    if myPlace is "" then set myPlace to "Unknown Location"
    on error
    set myPlace to "Unknown Location"
    end try
    set myAway to myEvent & " - " & myPlace as string
    if myAway is "Unknown Event - Unknown Location" then set myAway to "Out. Call the cell."
    tell application "Adium"
    set my status type to away
    set my status message to myAway
    end tell
    --display dialog myAway
    (* Parse Recurrence *)
    on getFreq(str)
    try
    return word 3 of str
    on error
    return ""
    end try
    end getFreq
    --Not used right now, but I feel it should be...
    on getInterval(str)
    try
    return word 6 of str
    on error
    return ""
    end try
    end getInterval
    on getStartDay(eventNum, calNum)
    tell application "iCal"
    set startDay to items 1 thru 2 of (start date of event eventNum of calendar calNum as string) as string
    end tell
    return startDay
    end getStartDay
    on getEnd(str, eventNum, calNum)
    try
    set endDate to items 1 thru 8 of word 9 of str as string
    set endYear to items 1 thru 4 of endDate as string
    set endMonth to items 5 thru 6 of endDate as string
    set endDay to items 7 thru 8 of endDate as string
    set endYear to endYear as number
    set endMonth to endMonth as number
    set endDay to endDay as number
    log {endDay, endMonth, endYear}
    on error --It isn't a recurring event
    tell application "iCal"
    set endDate to end date of event eventNum of calendar calNum
    set endYear to year of endDate as number
    set endMonth to (month of endDate) as number
    set endDay to (day of endDate) as number
    log {endDay, endMonth, endYear}
    end tell
    end try
    return {endDay, endMonth, endYear}
    end getEnd
    on getDays(str, eventNum, calNum)
    set dayList to {"MO", "TU", "WE", "TH", "FR", "SA", "SU"}
    set recDays to {getStartDay(eventNum, calNum) of me}
    log recDays
    try
    repeat with i from 12 to length of str
    if word i of str is in dayList then
    set recDays to recDays & word i of str
    else
    exit repeat
    end if
    end repeat
    return recDays
    on error
    return recDays
    end try
    end getDays

  • Error in Timebucket while using Fiscal Week

    We have a requirement to run deployment to create deployment
    orders weekly. Hence we copied 9ANSNP94 and want to change the timebucket.
    The weeks definition over here is not the same as SAP Std.
    E.g
    Start Date
    End Date
    Week Number
    1-Jan-13
    6-Jan-13
    Week 1
    7-Jan-13
    13-Jan-13
    Week 2
    14-Jan-13
    20-Jan-13
    Week 3
    21-Jan-13
    27-Jan-13
    Week 4
    28-Jan-13
    31-Jan-13
    Week 5A
    1-Feb-13
    3-Feb-13
    Week 5B
    4-Feb-13
    10-Feb-13
    Week 6
    11-Feb-13
    17-Feb-13
    Week 7
    18-Feb-13
    24-Feb-13
    Week 8
    25-Feb-13
    28-Feb-13
    Week 9A
    1-Mar-13
    3-Mar-13
    Week 9B
    Hence we have defined Fiscal year variant
    upto 62 periods
    But get error in timebucket –
    Can you please help to resolve the issue
    Regards
    Nishigandha
    Start Date
    End Date
    Week Number
    1-Jan-13
    6-Jan-13
    Week 1
    7-Jan-13
    13-Jan-13
    Week 2
    14-Jan-13
    20-Jan-13
    Week 3
    21-Jan-13
    27-Jan-13
    Week 4
    28-Jan-13
    31-Jan-13
    Week 5A
    1-Feb-13
    3-Feb-13
    Week 5B
    4-Feb-13
    10-Feb-13
    Week 6
    11-Feb-13
    17-Feb-13
    Week 7
    18-Feb-13
    24-Feb-13
    Week 8
    25-Feb-13
    28-Feb-13
    Week 9A
    1-Mar-13
    3-Mar-13
    Week 9B

    Thanks ada
    It worked really well. Now I can see the fiscal weeks in planning book.
    But the period is displayed as P13.2014, I want this to be viewed as per the period Text.
    I have defined the text in the fiscal year varaint configuration
    Do I need to use the user Exit - APODM006 or is there any std way?
    Start Date
    End Date
    Period
    Week Number
    1-Jan-14
    5-Jan-14
    1
    Week 1
    6-Jan-14
    12-Jan-14
    2
    Week 2
    13-Jan-14
    19-Jan-14
    3
    Week 3
    20-Jan-14
    26-Jan-14
    4
    Week 4
    27-Jan-14
    31-Jan-14
    5
    Week 5
    1-Feb-14
    2-Feb-14
    6
    Week 6
    3-Feb-14
    9-Feb-14
    7
    Week 7
    10-Feb-14
    16-Feb-14
    8
    Week 8
    17-Feb-14
    23-Feb-14
    9
    Week 9
    24-Feb-14
    28-Feb-14
    10
    Week 10A
    1-Mar-14
    2-Mar-14
    11
    Week 10B
    3-Mar-14
    9-Mar-14
    12
    Week 11
    10-Mar-14
    16-Mar-14
    13
    Week 12
    17-Mar-14
    23-Mar-14
    14
    Week 13
    24-Mar-14
    30-Mar-14
    15
    Week 14
    31-Mar-14
    31-Mar-14
    16
    Week 15A
    1-Apr-14
    6-Apr-14
    17
    Week 15B

  • Problem with Fiscal weeks

    Hi,
    I have to write a query which should fetch data for the last 6 fiscal weeks from the data from which it is run.
    eg
    SELECT TO_CHAR(SYSDATE,'YYYYIW')-6 FROM DUAL
    The above query would give me the last 6th fiscal week from the current date, but this query fails when the date lies in the first 6 fiscal weeks, it would return something like 200595 which should be 200546. The problem is that the number of the fiscal weeks for a year are not fixed. it might be 52, 53 or 54 also.
    Is there any function existing in oracle that would handle the above problem? if not can ayone help me to find a workaround for that.
    Thanks in advance
    Ramesh

    Is it a problem with week starting end of year and ending at the begining of the following year ?
    If yes, you maybe need to work with WW instead of IW, and try something like :
    SQL> exec :dt:='02062006'
    PL/SQL procedure successfully completed.
    SQL> ed
    Wrote file afiedt.buf
      1  select to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') "WEEK",
      2         case when to_char(to_date(:dt,'DDMMYYYY'),'WW') -6 > 0
      3              then to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') -6
      4              else to_char(last_day(trunc(to_date(:dt,'DDMMYYYY'),'YYYY')-1),'YYYYWW')
      5                   + (to_char(to_date(:dt,'DDMMYYYY'),'WW') -6) end WEEK_MIN_6
      6* from dual
    SQL> /
    WEEK   WEEK_MIN_6
    200622     200616
    SQL> exec :dt:='05012005'
    PL/SQL procedure successfully completed.
    SQL> select to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') "WEEK",
      2         case when to_char(to_date(:dt,'DDMMYYYY'),'WW') -6 > 0
      3              then to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') -6
      4              else to_char(last_day(trunc(to_date(:dt,'DDMMYYYY'),'YYYY')-1),'YYYYWW')
      5                   + (to_char(to_date(:dt,'DDMMYYYY'),'WW') -6) end WEEK_MIN_6
      6  from dual
      7  /
    WEEK   WEEK_MIN_6
    200501     200448
    SQL> Nicolas.

  • Where can I get current info on SysAdmin Certification(s) for Mac OSX SL and Lion?

    Where can I get current info on SysAdmin Certification(s) for Mac OSX SL and Lion? The Apple website for this is "under construction" for weeks now...
    Thanks,
    [email protected]

    Certification test for OS X 10.7 Lion are not available yet. I assume they will be nearly identical to the test of 10.5 and 10.6. Hopefully, the reason the certification website has been down for a while is that they are updating it with the new information. Though I really wouldn't expect any 10.7 certification test to be available for 2-4 months. Peachpit Press didn't publish their training material for 10.6 until October even though 10.6 was released in August.
    As far as the 10.6 Certifications:
    Certified Support Professional, 10.6 requires the 9L0-403 exam.
    Certified Technical Coordinator, 10.6 requires the 9L0-403 as well as the 9L0-510 (Server Essentials) exams.
    The information for the Certified System Administrator, 10.6 is "hidden" on the integral7 website but according to this Wikipedia entry, you need to pass the 9L0-510 Server Essentials exam as well as these three:
    Directory Services
    Deployment
    Security and Mobility

Maybe you are looking for