Previous Fiscal Data

My customer wants to migrate his previous year AR , AP Numbers into FY 2009. So in terms of entering data for the previous fiscal he only wants to enter Sales and Purchase transactions per BP.
Will he be required to enter all tranasctions (cant import.. all manual system at present) and close the fiscal year in SBO and move on to 2009 ?
Or, can be utilise the BP Opening Balances to show such AR/AP numbers bought forward to 2009.
Please suggest the possible ways to achieve this ?

You will need to enter manually any open documents so these can have transactions posted to them.
You can bring the prior period GL balances on a month by month basis or in totals if you want to be able to run financial reports that compare to prior periods.
For the BP, it depends what your customer wants to see and how they want to use the data. It would not be usual in an implementation to bring through closed documents as there would be a lot of reconciliation implications.
It might be better to get a better understanding of his requirements and find a different solution for him, which will depend on the volume of data.

Similar Messages

  • FM to get previous fiscal month/year and calendar month/year for a date.

    Hi All,
    I am having a requirement to extract some data based on either the previous fiscal month/year or the previous calendar month/year. There is no company code input to find the fiscal/calendar month/year.
    At selection screen, user can select either fiscal or calendar selection.
    Based on the selection, the data will be extracted.
    For the system date, we need to calculate previous fiscal month/year or previous calendar month/year and populate the calculated data back to the selection-screen.
    Can you one of you please suggest an FM to find previous fiscal month/year and previous calendar month/year.
    Thanks in Advance,
    Regards
    Gowthami

    Hi Gowthami,
    You can use following function module to calculate previous / next day or month or year.
       call function '/SAPHT/DRM_CALC_DATE'
          exporting
            date      = sy-datum
            days      =
            months    =
            sign      = '-'
            years     =
          importing
            calc_date = .
    Here, you can give '-' to sign, if you want previous day / month / year.
    Here, you can give '+' to sign, if you want next day / month / year.
    And depending upon your requirement, you can pass suitable value to days / month / year.
    e.g. To calcualte last month,
       call function '/SAPHT/DRM_CALC_DATE'
          exporting
            date      = sy-datum
            days      =
            months    = 1
            sign      = '-'
            years     =
          importing
            calc_date = wv_prev_month.
    so it will give '23-01-2008' . Then convert it in the required format as per your requirement using string function concatenate.
    Hope this help you.
    Regards,
    Anil

  • Date parameters for the previous fiscal quarter?

    Hello Folks,
    I have this requirement of selecting the dates for the previous fiscal quarter. usually a fiscal quarter is January 2011 - March 2011. But in my case the fiscal year should be December 2010 to February 2011 and if i check in june 2011 it should return Mar 2011 till May 2011 and so forth. So how can i acheive to be able to select these dates i.e 12/1/2010 till 02/28/2011 in the where clause for the current date?
    create table test_A (id int, col varchar(50),change_date date);
    insert into test_A values(1, 'A',to_date('20101201 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(2, 'A1',to_date('20110122 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(3, 'A1',to_date('20110202 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(5, 'A1',to_date('20110306 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(6, 'A1',to_date('20110305 000000', 'YYYYMMDD HH24MISS'));
    insert into test_A values(7, 'A1',to_date('20110307 000000', 'YYYYMMDD HH24MISS'));
    select * from test_A
    1     1     A     12/1/2010
    2     2     A1     1/22/2011
    3     3     A1     2/2/2011
    4     5     A1     3/6/2011
    5     6     A1     3/5/2011
    6     7     A1     3/7/2011
    I only want to see the following
    1     1     A     12/1/2010
    2     2     A1     1/22/2011
    3     3     A1     2/2/2011

    select  *
      from  test_A
      where change_date >= add_months(trunc(sysdate,'Q'),-1)
        and change_date <  add_months(trunc(sysdate,'Q'),2)
            ID COL                                                CHANGE_DATE
             1 A                                                  20101201 000000
             2 A1                                                 20110122 000000
             3 A1                                                 20110202 000000
    3 rows selected.
    SQL> SY.

  • Previous fiscal year data

    My customer wants to set up previous years data in such a way that he could look up last years sales and purchase data as well. But it may not be transactional numbers, it just can be total sales and purchase posted against each BP.
    In such a scenario , waht is the best route to take ?
    Please advise accordingly.

    My customer wants to migrate his previous year AR , AP Numbers into FY 2009. So in terms of entering data for the previous fiscal he only wants to enter Sales and Purchase transactions per BP.
    Will he be required to enter all tranasctions (cant import.. all manual system at present) and close the fiscal year in SBO and move on to 2009 ?
    Or, can be utilise the BP Opening Balances to show such AR/AP numbers bought forward to 2009.
    Please suggest the possible ways to achieve this ?

  • Deriving previous Fiscal Period based on current date

    Hi All,
    I have a requirement wherein I need to derive the previous fiscal period based on the current date. Is there any standard FM to get the same? If not can you let me know if there is any other way of deriving it?
    Thanks
    Sundar

    Hi Srinivas, thanks for your reply. What you have suggested will work fine if I am looking for current fiscal period. I want previous fiscal period. How do I get that?
    Thanks
    Sundar

  • BW data load for previous fiscal year depending upon sy-datum

    Hello All,
    In SAP BW, while loading data using date, I have requirement to load the datat for previous fiscal year.
    Fiscal year run from Oct to Sept.
    I have given example of Nov 2012. Becuase I am going to add this info-package in process chain which will run Nov of every year for full data load.
    For Ex: I am loading data in calander year/month Nov 2012. Its previous fiscal year is 2011.
    So for fiscal year 2011, my dates for data load would be : 10/1/2010 to 9/30/2011.
    So my code or functional module should retun me 10/1/2010 to 9/30/2011 this value.
    Kindly give your inputs for the same.
    Thank You.

    Hello All,
    I have wriiten below code and it has solved my problem:
    REPORT  ZTEST_PK.
    data:
    month_last type n length 2,
    year_last type n length 4,
    year type n length 4,
    month_first type n length 2,
    month type n length 2,
    year_first type n length 4,
    day_in type sy-datum,
    day_out type sy-datum,
    v_date type n length 6,
    select_period_low(8) type c,
    select_period_high(8) type c.
    year = sy-datum(4).
    month = sy-datum+4(2).
    concatenate year month into v_date.
    Data: fisyr type n length 4,
    fiscper type n length 3.
    *Fiscal years run from Oct to Sep
    *For Ex: Nov2012 load of the previous FY itu2019s FY 2011, the dates would be Oct 10 (10/1/2010) to Sep 11 (9/30/2011).
    CALL FUNCTION 'Z_XCONVERT_CALMONTH_TO_FISCAL'
      EXPORTING
        IV_CALMONTH       = v_date
    IMPORTING
       EV_FISCYEAR       = fisyr
       EV_FISCPER3       = fiscper.
    year_last = fisyr - 1.
    year_first = year_last - 1.
    month_first = '10'.
    month_last = '09'.
    concatenate year_first month_first '01' into select_period_low.
    concatenate year_last month_last '01' into day_in.
    *calcualte last day of  a given month
    CALL FUNCTION 'SN_LAST_DAY_OF_MONTH'
      EXPORTING
        DAY_IN             = day_in
      IMPORTING
        END_OF_MONTH       = day_out.
    concatenate day_out(4) day_out4(2) day_out6(2) into select_period_high.
    write:/ select_period_low.
    write:/ select_period_high.

  • Creating a Fiscal Date formula

    I have created a Crystal Report and wrote a formula that allowed me to match my database entries to my fiscal months.  However, my subsequent year to date formula based off my month to date formula will only bring in current month data.  It won't bring in previous month data.  Is there an easy method within Crystal Reports to set the MonthtoDate function to a fiscal month?  Or a formula that will use the MonthtoDate function based on a fiscal month rather than a calendar month?

    Ian,
    Formula below selects the cost to use for the current month costs.  It works well.
    if ({@Cur_Mon})= "January" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "February" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "March" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "April" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "May" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "June" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "July" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "August" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "September" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "October" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "November" then {COST.TOTAL}
    else if ({@Cur_Mon}) = "December" then {COST.TOTAL}
    Formula below creates "Cur_Mon".  Selects the dates that the costs were incurred correctly into the fiscal month.
    if {@Fiscal_Month}in DateTime(2011, 01, 01, 0,0,0) to DateTime(2011, 01, 29, 0, 0, 0)
    then "January"
    else if {@Fiscal_Month} in DateTime(2011, 01, 30, 0, 0, 0) to DateTime(2011, 03, 05, 0, 0, 0)
    then "February"
    else if {@Fiscal_Month} in DateTime(2011, 03, 06, 0, 0, 0) to DateTime(2011, 04, 02, 0, 0, 0)
    then "March"
    else if {@Fiscal_Month} in DateTime(2011, 04, 03, 0, 0, 0) to DateTime(2011, 04, 30, 0, 0, 0)
    then "April"
    else if {@Fiscal_Month} in DateTime(2011, 05, 01, 0, 0, 0) to DateTime(2011, 06, 04, 0, 0, 0)
    then "May"
    else if {@Fiscal_Month} in DateTime(2011, 06, 05, 0, 0, 0) to DateTime(2011, 07, 02, 0, 0, 0)
    then "June"
    else if {@Fiscal_Month} in DateTime(2011, 07, 03, 0, 0, 0) to DateTime(2011, 07, 30, 0, 0, 0)
    then "July"
    else if {@Fiscal_Month} in DateTime(2011, 07, 31, 0, 0, 0) to DateTime(2011, 09, 03, 0, 0, 0)
    then "August"
    else if {@Fiscal_Month} in DateTime(2011, 09, 04, 0, 0, 0) to DateTime(2011, 10, 01, 0, 0, 0)
    then "September"
    else if {@Fiscal_Month} in DateTime(2011, 10, 02, 0, 0, 0) to DateTime(2011, 10, 29, 0, 0, 0)
    then "October"
    else if {@Fiscal_Month} in DateTime(2011, 10, 30, 0, 0, 0) to DateTime(2011, 12, 03, 0, 0, 0)
    then "November"
    else if {@Fiscal_Month} in DateTime(2011, 12, 04, 0, 0, 0) to DateTime(2011, 12, 31, 0, 0, 0)
    then "December"
    else "Frog-guts"
    Fiscal_Month actually compares two date fields in the database and uses the one which is not empty.
    The formula below is my "Year to Date" formula.  I've tried several different ways to write it, but it just mimmicks my current month formula.
    In the end is just is a simpler way to write my first formula above.  How can I make my year to date formula add all the costs that have occured to date?
    if ({@Cur_Mon}in ["January", "February","March","April","May","June","July","August","September",
    "August","October","November","December"]) then {COST.TOTAL}

  • Carrying forward the parked documents of previous fiscal year

    Hi Experts,
    My requirement is to carry-forward the parked documents of the previous fiscal year to the new fiscal year automatically with a background job that should run at the end of each fiscal year.
    This job should check all the documents that are still parked and must carry them to the next fiscal year. As per standard SAP, the document should be manually posted with posting date of the new fiscal year. Then the system will create a new Document in the new fiscal year, deleting the old document. I need to automate this process.
    For posting a document we use a Customized Workflow (Z copy of FIPP).
    My question is, how can I go about this requirement? What all needs to be done if I want to trigger the workflow in the background on a particular day?
    Thanks!

    Sheryl,
    If you really want to "remove/cancel" the parked documents, then your solution is to delete them as Prashant previously suggested.  Transaction FBV0 allows you to post or delete a parked document.  Deleting the parked documents does not remove the entire document from the system.  It will remove any line item information, but it will leave the header information.  With the header information, you will still have record of the document numbers for audit purposes.  The status on the header will show "parked document which was deleted".  Deletion is the standard SAP solution to "remove/cancel" parked documents - the only alternative to deleting a parked document is to post it.
    Park a document on your test system then delete it so you can see the results.  You will still be able to pull up the header information in FB03.
    I am not aware of any standard SAP reports for listing parked documents that were deleted.  However, if you require such a report, you could create a simple SQ01 query against table BKPF.  You would want to include the Document status field (BSTAT) in the query selection criteria so you can select documents with a status of 'Z' - parked document which was deleted.
    Regards,
    Shannon

  • How to calulate previous fiscal year from current year and periods as input

    hi all,
    i have a report where i have 2 select options as year and period.
    my period can be a range  like( Ex: 1 to 6).
    i like to know previous fiscal year from the following inputs.
    Tel me a suitable conversion routine to calculate
    depending on periods and fiscal year.
    regards
    sivaram.

    Hi
    U need to check the lower period, if it's 1 the previous fyscal year will be the year before:
    IF PERIOD = '1'.
      PREV_YEAR = YEAR - 1.
    ENDIF.
    U can also use the fm FI_PERIOD_DETERMINE, in this case you need a date, u can get it from lower current period:
    Get the first day of the period
    BUDAT(4)   = YEAR.
    BUDAT+4(2) = PERIDO_LOW.
    BUDAT+6(2) = '01'.
    Now get the last day of the previous month:
    BUDAT = BUDAT - 1.
    Use this date to get its period by fm FI_PERIOD_DETERMINE
    Max

  • Previous fiscper data is not populating in FIAP Query

    Hi All,
    I am designing a query in FIAP, i copied the standard query which is built on 0FIAP_C02, my requirement is as follows.....
    User enters the Fiscal  Year Period (  ex 01.2010) and the query result should show values of  Credit posting value , debit posting value and balance for Current  fiscal year period  and previous fiscal year period values respectively...
    i tried with variable offset to get the result i.e Fiscal yrperiod-12 , but this is not working.......i tried with selections and restricted keyfigures but it doesnt work for me.
    Plz suggest me any alternate solutions.
    Thanks,
    Yunus

    if you use fiscal period - 12 then it will show for last 12 months rather than last year data..use fiscal year - 1 rather than period...

  • FM to get the previous fiscal month

    Hi All,
    is ther any function module to calculate the previous fiscal month from the sy-datum.
    Tnhanks in Advanc
    Moderator message: date calculation questions = FAQ, please search before posting.
    locked by: Thomas Zloch on Sep 29, 2010 2:28 PM

    Hi,
    Use the FM: RP_CALC_DATE_IN_INTERVAL
    DATA:date1 TYPE sy-datum.
    START-OF-SELECTION.
      CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
        EXPORTING
          date      = sy-datum
          days      = '00'
          months    = '04'
          signum    = '-'
          years     = '00'
        IMPORTING
          calc_date = date1.
      WRITE date1.

  • Variable for budget from starting to previous fiscal year?

    Hi experts,
    The requirement i got in my report to calculate Budget upto previous fiscal year.
    For ex: If my project starts on Nov 2004 , then i want to calculate for the year Nov 2004 to Mar 2008.
    I tried for variable Cumulate to last fiscal yeard

    Hi,
    Here I'm giving the code to get Months based on System date, so you change this code to as per your requirement.And if any use input variable is there then you need to use ....
    LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZVARAIBLE'.
    ENDLOOP.
    Note: So by using this variables you need to restrict your Keyfigures with offset values.
    * First Month Of Current Fiscal year comment*
        WHEN 'FMYEAR'.
          CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                 EXPORTING
                   i_date               = sy-datum
    *         I_MONMIT             = 00
                   i_periv              = 'V3'
                IMPORTING
                  e_buper              =  zbuper
                  e_gjahr              =  zbdatj.
          CLEAR: l_s_range.
          l_s_range-low+4(2) = '04'.
          l_s_range-low+0(4) = zbdatj.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    * Last Month of Current Fiscal year*
        WHEN 'LMYEAR'.
          CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                 EXPORTING
                   i_date               = sy-datum
    *         I_MONMIT             = 00
                   i_periv              = 'V3'
                IMPORTING
                  e_buper              =  zbuper
                  e_gjahr              =  zbdatj.
          CLEAR: l_s_range.
          l_s_range-low+4(2) = '03'.
          l_s_range-low+0(4) = zbdatj + 1.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    Thanks
    Reddy

  • Capturing previous year data

    Hi ,
    I've the data something like this :
    Fiscal Year     Fiscal Period     Metric     Inventory
    2001             January             Auto            3160561.67
    2001             February        Auto            2962785.92
    2001             March             Auto       3451301.7
    2002             May                     Auto       3319819.79
    2002            June                     Auto             3972317.49
    2002            July                     Auto             3743610.69
    2002            August             Auto             3772486.83
    I've a combo for fiscal  year and based upon the year selection its data is displayed in a Pie chart
    and when I select a particular fiscal year its previous year data and selected year data should be displayed in a pie chart.
    How to capture previous year data?
    Thanks
    Ram

    Ram,
    I will share the sample xlf file, you can contact me through my profile.
    -Anil

  • Trying to fetch previous month data

    hi ...
    i have to develope a report in which cutomer on selecting month from the prompt , i have to show transactions for that selected month,transactions for previous month and growth %.
    for fetching previous month data i am using the below formula in column
    FILTER(etxnmistopbr.tot_txns USING (etxnmistopb(TIMESTAMPADD(SQL_TSI_MONTH, -1,etxnmistopbr.month_year)))
    but it doesnt fetch any result.
    i have tried
    FILTER(etxnmistopbr.tot_txns USING (etxnmistopbr.month_year= TIMESTAMPADD(SQL_TSI_MONTH,-1,timestamp '@{current_year}{2012}-@{current_month}{07}-31 00:00:00')))
    where current_year and current_month are presentation variable
    but it throws error as "
    HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 2012-8-31 00:00:00 does not match the specified format. (HY000) "
    can anyone please help how to retrieve previous month data and current month data
    Edited by: 8826 on Sep 27, 2012 4:31 AM

    I would recommend using Time Series Functions, specifically the Ago function in the RPD. This is precisely what they have been designed for and is a very powerful feature of OBIEE. This removes the need for complex formulae embedded within result columns (which you will have to replicate each time you create a new analysis).
    The syntax of the Ago function is as simple as:-
    AGO(Measure, Time Dimension Level, Number of Periods Ago) e.g.
    AGO(Core."Fact - Project Cost".Cost, Core."Date - Fiscal Calendar"."Fiscal Period", 1)
    Please mark if helpful/answered.
    Andy.

  • Current fiscal year and previous fiscal year restriction in Query  Customer

    Hi ,
    My requirment is disply current year qtrs and previous year qtrs in the report . User will not enter year , date , month or qtr . system should calucualte and disply curremt year qtrs and previous year qtrs .
    I have created ZFISCYEAR reference of a 0FISYEAR year . now I would like to write customer exit for Current fiscal year and previous fiscal year to display current year qtrs and previous year qtrs.
    Could you please provide customer exit code if you have or recomend if you know any other options.
    Appriciate you help
    Thanks

    hi try this
    take into account that I don't know th periv you use could be K4 or one defined by you so I have commented it.
    The coding here is for the current fiscal period for the previous year just to another l_year varibale and populate with offset for instance l_year = l_year - 1.
    so for current year
    WHEN 'CURRPERIOD'.
        current_date = sy-datum.
        CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            i_date  = current_date
        '    i_periv = ''
          IMPORTING
         '   e_buper = l_period.
            e_gjahr = l_year.
        l_s_range-low = l_year.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    for previous period
    WHEN 'PREVPERIOD'.
        current_date = sy-datum.
        CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
          EXPORTING
            i_date  = current_date
        '    i_periv = ''
          IMPORTING
         '   e_buper = l_period.
            e_gjahr = l_year.
        l_year = l_year - 1.
        l_s_range-low = l_year.
        l_s_range-sign = 'I'.
        l_s_range-opt = 'EQ'.
        APPEND l_s_range TO e_t_range.
    bye
    Boujema

Maybe you are looking for

  • How do i know what app store account was used to install an app on my macbook pro?

    Hi All, For about a year i have been bugged by the app store that i a couple of apps that are not up to date. I have tried to find the account that the app was installed with. I have found three accounts on my name, i logged in with all of them but n

  • How do i turn off secure browsing

    how do i turn off secure browsing in firefox 7? some sites give me an error and wont show the full content because its on.

  • Installing Mac OS X Leopard on non-Apple hardware

    Is it legal? I'd like to play a little with Mac OS X for the first time and don't want to buy expensive Apple Macbook. I could buy legal Mac OS X for my laptop and need to know is it possible to be ok with that?

  • [SBO2007] Filling a matrix's column

    Hello all, I need to programmatically update the "To Release" column on the "Pick and Pack Manager" form. My problem is that however I do it, this operation is very slow. It takes minutes if the form has about a hundred rows. Here's a minimal working

  • ALSB Business Service Call through corporate proxy

    I would like to define an ALSB Business Service to make a http web service call to a business partner over the public internet. No problem normally we would just specify the appropriate URI in the Business Service. This time, however, we need to go t