Query for month start and end date

Hi,
I want to pick every month Start date and End Date. could anybody suggest what is the query for this.
I need output
Start Date End Date
01/01/2011 31/01/2011
01/02/2011 28/02/2011
01/03/2011 31/03/2011
01/04/2011 30/04/2011
01/05/2011 .......

Hi,
SQL> select sysdate from dual;
SYSDATE
24-FEB-11
SQL> select last_day(sysdate) from dual;
LAST_DAY(
28-FEB-11
SQL> select last_day(sysdate),last_day(add_months(sysdate,-1))+1 from dual;
LAST_DAY( LAST_DAY(
28-FEB-11 01-FEB-11
SQL> select last_day(sysdate),last_day(add_months(sysdate,-2))+1 from dual;
LAST_DAY( LAST_DAY(
28-FEB-11 01-JAN-11Try to refer to Oracle documentation and try to experiments the functions, you will get results on your hand.
- Pavan Kumar N
Edited by: Pavan Kumar on Feb 24, 2011 12:51 PM
Edited by: Pavan Kumar on Feb 24, 2011 12:52 PM

Similar Messages

  • SAP CRM Tables and Fields for Contract start and End dates

    Hi Experts,
    Please Provide me SAP CRM Tables and Field names for the below.
    SAP CRM Contracts start date and End date
    SAP CRM Conditions(PROO, K007 etc....) records start and End Date.
    Thanks and Regards,
    Teja

    correction
    10 Replies Latest reply: 24 May, 2013 8:38 AM by nishant Vasudev  
    Tweet
    SAP CRM Tables and Fields for Contract start and End dates
    This question has been Answered.
    Teja Dhar 12 Oct, 2009 8:03 PM  
    Currently Being Moderated
    Hi Experts,
    Please Provide me SAP CRM Tables and Field names for the below.
    SAP CRM Contracts start date and End date
    SAP CRM Conditions(PROO, K007 etc....) records start and End Date.
    Thanks and Regards,
    Teja
    Correct Answer by Sreekantha Gorla  on Oct 22, 2009 8:22 PM
    Hi,
    dates will be stores in the table 'SCAPPTSEG'.
    I double checked it. This table stores all the date types of one order transactions...
    The relationship is as follows..
    CRMD_ORDERADM_H- guid = crmd_link-guid_hi
    crmd_link-guid_set = SCAPPTSEG-APPL_GUID.
    Thanks and regards,
    Sreekanth
    <:footer>See the answer in context
    6281 Views
    Topics: Customer Relationship Management
    Reply
    Average User Rating
    0
    (0 ratings)
    My Rating:
      Rating Saved!
    Comment on your rating
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Robert Jesionowski 14 Oct, 2009 2:23 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi, 
    you should try with FM: CRM_DATES_READ_SINGLE_OB or CRM_DATES_READ_DB.
    There is something in table SCAPPT and SCGENAPPT.
    Regards, R
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Teja Dhar 22 Oct, 2009 5:30 PM (in response to Robert Jesionowski)  
    Currently Being Moderated
        Hi Robert, 
    I am not able to find contract start date and End dates in the tables SCAPPT and SCGENAPPT.
    Can you suggest some relevant tables.
    Best Regards,
    Teja
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Sreekantha Gorla 22 Oct, 2009 2:35 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi, 
    Table SCAPPTSEG stores the contract start and end dates.
    Thanks,
    Sreekanth
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Teja Dhar 22 Oct, 2009 5:32 PM (in response to Sreekantha Gorla)  
    Currently Being Moderated
        Hi Sreekanth, 
    I am not able to find contract start date and End dates in the table SCAPPTSEG.This is for appointments.
    Can you suggest some relevant tables.
    Best Regards,
    Teja
    Report Abuse
    Like (0)
    Reply
    Correct AnswerRe: SAP CRM Tables and Fields for Contract start and End dates
    Sreekantha Gorla 22 Oct, 2009 8:22 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi, 
    dates will be stores in the table 'SCAPPTSEG'.
    I double checked it. This table stores all the date types of one order transactions...
    The relationship is as follows..
    CRMD_ORDERADM_H- guid = crmd_link-guid_hi
    crmd_link-guid_set = SCAPPTSEG-APPL_GUID.
    Thanks and regards,
    Sreekanth
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Wim Olieman 23 Oct, 2009 9:12 AM (in response to Sreekantha Gorla)  
    Currently Being Moderated
        Hi, 
    I can tell you where the pricing records are saved, replicated from ECC.
    The data from ECC table Axxx (e.g. A304) is replicated to CRM table
    CNCCRMPRSAPxxx (e.g. CNCCRMPRSAP304).
    Here you can find fields TIMESTAMP_TO and TIMESTAMP_FROM.
    About the dates: what Sreekantha Gorla stated, about table 'SCAPPTSEG' is correct.
    What might help is to execute program "CRM_ORDER_READ". Here you can find
    the relevant entries also.
    regards,
    Wim
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    Teja Dhar 23 Oct, 2009 4:59 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi Experts, 
    Thanks a lot for your support.My problem got resolved.
    Best Regards,
    Teja
    Report Abuse
    Like (0)
    Reply
      Re: SAP CRM Tables and Fields for Contract start and End dates
    rajesh gadamsetty 27 Nov, 2009 12:29 PM (in response to Teja Dhar)  
    Currently Being Moderated
        Hi Teja 
    Please let me know how you got the dates. i got the same requirement
    Report Abuse
    Like (0)
    Reply
    Correction on above mail.
    Hi Sanjay,
    Can you please help me to find the contract st art date and end date fetching from the table as below
    ITEM DATES:
    Select guid_set from table CRMD_LINK where guid_hi              =  CRMD_ORDER_I-GUID AND
                                                                              OBJTYPE_HI     =  '06'
                                                                              OBJTYPE_SET  =  '30'.
    Select * from SCAPPTSEG where APPL_GUID = guid_set.
    as from the table scapptseg has some unusal fields which fields to select to get the start date and end date and on what condition and isuppose we need to convert als the same
    pls suggest further on same
    regards
    Arora

  • Report for Validity Start and End Date in PO

    Dear All
    Is there any report where I can get PO validity start and end date which user input in addtional data header tab of PO?
    Regards
    Satish Kumar

    Hi,
    Yes, It is available standard report using T-code ME2N - Purchasing Document (PO) Per Document Number, enter the T-code and provide the following input data's are as follows.
    Scope of List                 :  ALV ( for Ms-Excel format report)
    Plant                               :   __________ to __________ (if required)
    Document Date              : ____________ to ___________ (if Required)
    Execute the report shown by default in excel format and if required PO validity start and end data, you have to select Change Layout button and open new window options screen right side field option as Validity Per.Start, Validity Period End, Commutative number field data's are selected and click <--- arrow button and then click bottom tick marked button. Now, the report shown your requirement.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

  • 0Person to 0employee loading, how to handle start and end date

    Hi
    I need help on some basic understanding of time dependent master data object.
    In my scenario i am loading 0employee and 0Person from R/3. I need to update 0employee from 0person.
    0employee
    BEGDA            ENDDA             PERNR        Position....................So many fields
    10.10.2001     10.10.2004        8000123    Associate
    11.10.2004     10.10.2008        8000123    Consultant
    11.10.2008     31.12.9999        8000123    Senior Consultant
    0Person
    BEGDA            ENDDA             PERNR         City....................So many fields
    10.10.2001     10.10.2003        8000123      Singapore
    11.10.2003     10.10.2007        8000123      Tokyo
    11.10.2007     31.12.9999        8000123      Newyork
    As the begining and end date are different i can't simply read City from 0person into 0employee. If i go for checking the city for the start and end date in 0employee, i will get multiple records ( If try to get city for 0employee's first record, i will get 2 city Singapore and Tokyo).
    Please help me out how to handle this ...... i think i am missing somelink somewhere
    Thanks
    Tripple k

    Hi Srini
    Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
    Thanks
    Tripple k

  • FM to get start and end date when given month

    Hi all,
       can anybody help me if there a FM to get start and end date when given month like 01 for jan.
    Thanks in advance
    Sahitya

    Hi,
    Check this Function Module
    HR_JP_MONTH_BEGIN_END_DATE
    here if you r giving the month u wil get the start date and the end date.
    Hope this helps you.
    Thanks & regards,
    Y.R.Prem Kumar

  • How to change both start and end dates for an business event (or any object

    Hi all.
    We are in the case to change the validity dates for several business events in training management.
    The special point is that both, start and end date, have to be changed.
    In example, business event 00000001 is valid from 2010.01.01 to 2010.01.31 and shoud be "moved" from 2010.05.01 to 2010.05.31.
    So if i run RHBEGDA0 report to change start date first, it doesn't work propperly because new start date is bigger than old enddate.
    Next thing we thought is to change end date first, using RHGRENZ1, and then change the start date, with the report RHBEGDA0. Problem with this solution is that a business event duration shoud be calculated taking care of free days (weekends and day ofs).
    Is there any better solution for this?
    Thanks in advance for your help.
    Best regards.

    Hi,
    I gueass the best solution is to use PV1A t-code.
    You can write an LSMW for this t-code if the number of business events to be maintained is huge.
    Regards,
    Dilek

  • Effective start and end dates for a compensation workbench plan

    Hi all,
    We are having a requirement where we want to get the data respective to current plan for reporting purposes. What i have noticed is there is no such thing as effective_start_date and effective_end_date directly in all the cwb tables.
    The different dates we are looking at to capture the data are
    enrt_perd_start_dt and enrt_perd_end_dt
    upd_strt_dt and upd_end_dt
    within_yr_strt_dt and within_yr_end_dt
    But we have same plan with different enrollment period and start dates. We are planning to use max(data_freeze_date or lf_evt_occrd_dt) to get
    the records.
    select max(nvl(bcpdx.data_freeze_date, bcpdx.lf_evt_ocrd_dt))
    from ben_cwb_pl_dsgn bcpdx
    where bcpdx.pl_id = p_pl_id)
    Catch with this is, We have 62 business groups off which only 50 might run the plan next year and ohters might not. in that case it will also return data for all the BG's including the 12 BG's where plan has not been run for that year.
    Any suggestions or help will greatly be appreciated.
    Thanks
    Hari

    Hi Ankush,
    I am also of the same opinion. Start and end dates can probably be enforced by a policy condition in AM but would lead to proliferation of policies as we would end up creating policies per role entitlement duration for a user.
    Any thoughts on whether the sunrise/sunset concept of Identity Manager can be used for this requirement.
    Thanks,
    Srinivas

  • Effective start and end dates for roles/group assignment

    Hi,
    Does Access Manager (in legacy or realm) mode support effective start date/end date on a role/group assignment on a user?
    Thanks,
    Srinivas

    Hi Ankush,
    I am also of the same opinion. Start and end dates can probably be enforced by a policy condition in AM but would lead to proliferation of policies as we would end up creating policies per role entitlement duration for a user.
    Any thoughts on whether the sunrise/sunset concept of Identity Manager can be used for this requirement.
    Thanks,
    Srinivas

  • Start and End dates for users in Enterprise portal

    Hi Expert,
    I have to maintain start and end dates for around 200 users in 4 different Java systems. When I export the file of users it does not capture the validity fields. Is there a way/script to automate this? Otherwise I will have to do it manually.

    Hello
    Please check below URL for User Import Format:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/abdd83c3333205e10000000a42189c/content.htm?frameset=/en/48/a96f43db653206e10000000a42189c/frameset.htm&current_toc=/en/43/05e450d1cd6e95e10000000a11466f/plain.htm&node_id=2802&show_children=true#jump2822
    Regards,
    Tapan Goyal

  • Reduce Working Days by Emp Start and End Dates

    I'm banging my head trying to get this working. The set-up:
    DimResources table with various employee information including a Start and End Date.
    A Calendar table with FullDate, Year, Quarter....WorkingDays (1 for working and 0 for non-working) and WorkingDayNumber (working days increased by 1, weekends are not).
    Page View report with page view filters for Business, Role, Month, Week, Year.
    In the calculation the denominator is total working days for the period * 8. Works great. Further reduced by any submitted time off. Again, so far so good. The part I'm having trouble with is trying to further reduce total working days by
    the number of days the person wasn't available in a month, defined by the person's start or end date.
    The calculated field works great when only 1 person is selected. As soon as more than 1 person is selected or the slicer is cleared, an error is thrown.
    Any ideas on what is wrong or better ways to accomplish what's needed?
    TotalWorkingDays2CF=CALCULATE
     SUM(Calendar[WorkingDays]),
                    FILTER(Calendar,Calendar[WorkingDays]=1),
                    Calendar, DATESBETWEEN(Calendar[FullDate],SUM(DimResources[Start Date]),SUM(DimResources[End Date]))
    Error:
    <detail>
      <ErrorCode>rsErrorExecutingCommand</ErrorCode>
      <Message>Query couldn't run for dataset 'Tablix41DataSet'.</Message>
      <ProductName>Power View</ProductName>
      <ProductVersion>11.0.2150.3</ProductVersion>
      <MoreInfo>MdxScript(Model) (10, 27) Calculation error in measure 'Calendar'[TotalWorkingDays2CF]: An invalid numeric representation of a date value was encountered.</MoreInfo>
    </detail>
    Dennis DeRobertis

    ok, but this is not a running total but just a sub-total/grand-total
    so what you can do is the following:
    create two measures - first calculate the workdays per ressourcen and second use SUMX() to get the sub-/grand-total if multiple employees are selected (e.g. subgroups, groups,division, etc)
    WorkdaysRessource:=CALCULATE(
    COUNTROWS('Date'),
    FILTER('Date',
    'Date'[Date] >= CALCULATE(MIN('DimResources'[Start Date]))
    && 'Date'[Date] <= CALCULATE(MIN('DimResources'[End Date])))
    Workdays:=CALCULATE:=SUMX(
    'DimResources',
    [WorkdaysRessource]
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Calculate Start and End date in Connect By -- When Hirerchy Changes

    /* Formatted on 5/20/2013 9:53:00 AM (QP5 v5.115.810.9015) */
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Hello , Can some one Please help me or Guide me in calculating Start and End dates for the below logic
    I want to calculate the Manager Hirerchy for the given Agent.
    Then Below Query is working fine and its giving me the desired results
    But when there is a change in the Manager Hirerchy or Manager gets Promoted
    Then i need to calculate the start date and end date.
    CREATE TABLE PERSON_DTL
      SID                 VARCHAR2(10 BYTE),
      EMP_MGRS_ID         VARCHAR2(10 BYTE),
      START_EFFECTIVE_DT  DATE,
      END_EFFECTIVE_DT    DATE
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M100', 'M107', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M101', 'M102', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('A100', 'M100', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M100', 'M101', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M107', 'M102', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M102', 'M103', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M103', 'M104', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('A101', 'M105', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M105', 'M106', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
                 TRIM (
                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
                                     || ','
                                     || b.emp_mgrs_id
                    PATH,
                 START_EFFECTIVE_DT Start_dt,
                 END_EFFECTIVE_DT End_dt
          FROM   PERSON_DTL b
         WHERE   CONNECT_BY_ISLEAF = 1
    START WITH   sid IN ('A101', 'A100')
    CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
    This is the results that i am getting now.
    AGENT_SID    PATH                       START_DT    END_DT
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    12/31/9999
    A100    A100,M100,M107,M102,M103,M104    1/1/2010    12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999
    Results Required
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    5/18/2013
    A100    A100,M100,M107,M102,M103,M104    5/20/2013   12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999

    May be this..
    SQL> select agent_sid,max(path) path,max(start_dt) start_dt,
      2         min(end_dt) end_dt
      3  from
      4  (
      5    select agent_sid,path,start_dt,end_dt,
      6           sum(flg) over(order by rn) sm
      7    from
      8    (
      9      select agent_sid,
    10             path,
    11             start_dt,
    12             end_dt,rn,
    13             case when path like lag(path) over(order by rn)||'%' then 0 else 1 end flg
    14      from
    15      (
    16        SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
    17                 TRIM (
    18                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
    19                                     || ','
    20                                     || b.emp_mgrs_id
    21                 )
    22                  PATH,
    23                 START_EFFECTIVE_DT Start_dt,
    24                 END_EFFECTIVE_DT End_dt,rownum rn
    25        FROM   PERSON_DTL b
    26        START WITH   sid IN ('A101', 'A100')
    27        CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
    28      )
    29    )
    30  )
    31  group by agent_sid,sm
    32  order by agent_sid;
    AGENT_SID  PATH                                     START_DT  END_DT
    A100       A100,M100,M101,M102,M103,M104            01-JAN-10 18-MAY-13
    A100       A100,M100,M107,M102,M103,M104            20-MAY-13 31-DEC-99
    A101       A101,M105,M106                           01-JAN-10 31-DEC-99Edited by: jeneesh on May 20, 2013 7:54 PM
    Not thoroughly tested.And not sure whether an easy way exists..

  • Hyperion Planning dynamic forms based on start and end date across years

    Hi All,
    I have a requirement where i need to be able to view a form showing periods across years that are dynamically built depending on the start and end dates. If i have a start date of 01/11/2009 and an end date of 31/7/2013 i want to be able to view a form that shows all of the periods (Jan,Feb etc) in a form that is driven by these dates, in addition it will need to show the actual scenario up to the current month and the forecast from the current month to the end date. So basically if a user inputs the start and end dates the form will display the relevant periods driven by these dates.
    Any tips very much appreciated!

    Hello,
    This is difficult to realize, but you can get quite far with a workaround. The first question is, where do you want to input your selection of time periods? Assuming you have a webform with the complete timeline in months and years and you type in the start period and end period.
    Webforms have the option to suppress rows and columns.
    This can be extended with option of empty cells or not empty cells.
    You will need to apply your creativity on this.
    Put every month-year combination in a column and add the suppression.
    Calculate the timeline between start period and end period with a dummy member, so data exists for these and columns will show.
    Maybe you will need to copy the required timeline into a separate version for this, to avoid having periods which were outside the selection and still have data.
    I hope these hints help a bit in this challenge.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

  • Getting the start  and end dates of the week

    Hi,
    I was stuck with a problem in getting the start date and end date of the week,i know the month ,week and year also,with these three values how can i get the start and end dates of a week.please help me
    Thanks

    There is no simple way. It has to be a math calculation.
    There are several ways you can get the dates. First you have to know what day is January 1st and what day is december 31st for a particular year. Second you have to check whether the given year is a leap year or not. Based on the abvove information you should be able to find out what day is a particular date.
    Hope this helps to get you started.
    - Venkat Dhurjati.

  • Period start and end dates

    Hello Experts,
    Can some tell me where we enter the start and end dates of a posting period in a fiscal year which is a year dependent and a non-calendar year?
    For ex: Jan 2008, I have to mention the start and end dates of the fiscal period January, because ours is not a calendar year and so the jan 1st and Jan 31st do not correspond with the January's posting period dates.
    Regards,
    Sriram

    Hi Sriram,
    As Vj suggested, go to transaction OB29.  Then select the fiscal year variant and upon selection the variant, click on "Period".  This will open up dialog box asking for the fiscal year for which you want to configure.  Enter the fiscal year and hit enter.  This will open up the calendar table to enter the period entry which has 4 columns: Month, Day, Period and Year Shift.
    Make sure you are entering the correct Year Shift.  Logic for the Year Shift is as follows.
    +1 if the fiscal year is later than the calendar year
    -1 if the fiscal year is before the calendar year.
    0 if the fiscal year is same as the calendar year.
    One example of year shift:
    Say, if you are configuring the fiscal year 2007 (April 2007 to March 2008), then January 2008 is your 10th period.  Here you hare to enter -1 in Year Shift Column only for January to March (10-12 period) as your fiscal year 2007 is less than the calendar year 2008.
    Hope this helps.
    Pls. award points if this is useful.
    With Regards,
    Chirag

  • Define the start and end dates of an assigned academic period in fee calc.

    Define the start and end dates of an assigned academic period
    Message no. HRPIQ00ACCOUNTING132
    Diagnosis
    The academic calendar assigned to the top organizational unit does not contain a start or end date for the academic period (academic year and session) assigned to fee calculation period Z000.
    System Response
    The system will skip fee calculation period Z000 and continue processing with the next fee calculation period.
    Procedure
    1. Check which academic calendar is assigned to the top organizational unit.
    2. Check which academic period is assigned to fee calculation period Z000. You check this setting in Customizing for Campus Management in the IMG activity Assign Academic Years and Sessions to Fee Calculation Periods.
    3. In this academic calendar, create the start and end dates of the relevant academic period using standard time limit 0100 (standard duration of academic period) or a corresponding user-defined time limit.
    For more information, see
    Define Top Organizational Unit
    Define Mandatory Time Limits for Academic Calendar
    please give me the needful information to solve this problem.
    Regards
    Arun Rai

    Arun,
    Have you looked in the Student Accounting Cookbook  
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=studentaccountingcookbook   on page 13? 
    Page 1-18 will help you setup the Oranizational unit, the academic calendar and the modules.
    Bev beck

Maybe you are looking for