Cumulative balance - reset at Year

Hi All,
I'm moving data from one cube to another cube. While doing this, I have a requiremen to cumulate the amount key figure which has to be reset at Fiscal Year.
For example:
Source Cube:
C1   c2  Amount   Fiscal Period/Year
1     2    10            200801
2     3     20           200712
3     4     30           200802
4     4     20           200801
5     6      50           200701
Target Cube: How do I calculate the cumulative amount here?
C1   c2  Amount   Fiscal Period/Year     CumulativeAmount
1     2    10            200801                    10
2     3     20           200712                     20
3     4     30           200802                     40
4     4     20           200801                    60
5     6      50           200701                   70
I need this ASAP. Require inputs at the earliest.
Thanks in advance

Hi,
If you need to aggregate from one cube to another and cumulate values at fiscal years, and if c1 and c2 are not important, set the update type in update rules to no-update for these two, and the aggregation for key figure Cumulative amount to addition (only possible setting in cubes). The data will aggregate based on that setting during update from one cube to another.
This however can be solved with a report, which uses (implicitely) aggregates defined on fiscal year. Consider using the same cube with an aggregate.
Regards,
Arek

Similar Messages

  • Cumulative Balances in PCA Balance Sheet cube are not correct.

    Hi
    Could you please help me in sorting out this Issue.
    Cumulative Balances in PCA Balance Sheet cube are not correct.
    After doing a reconciliation my conclusions are:
    Opening balance for 2005 (fiscal period 009.2005) is not in BW
    Opening balance for 2006 (fiscal period 000.2006) is not in BW
    Opening balance for 2008 (fiscal period 000.2008) is not in BW
    Opening balance for 2009 (fiscal period 000.2009) is not in BW.
    With the exception of fiscal year 2007(opening balance is in BW u2013 000.2007) the cumulative balance resets itself at the start of each fiscal year. The attached spreadsheet has an example of the data in BW and screen dumps from R3.
    Please help me how to find Opening balance in BW for PCA
    Thanks
    Bharti

    you need to derive your begining balance based on the fiscal year in your selection. It will be minus 1 year and period 12 for that year.
    pts appreciated.

  • The cumulative balance displayed in FS10N does not match the sum of the det

    Hello,
    The cumulative balance displayed in FS10N does not match the sum of the details.  For example, we have a GL disbursement account that has a ***. Balance of 8 million.  The debit is 2 million and the credit is 10 million. But, when you drill down on the ***. Bal. for the current period, the sum of the details is 9 million.  According to our users, the 2 balances should equal.  I did a search in this forum and found 1 post stating they had the same issue and the answer was to run f.16. Has anyone experienced this and if so, how did you handle it?  I'm not sure how f.16 functions.  Do we have to run it for each consecutive year?  I'm not a FI specialist.  I'm responsible for data archiving and the users think it's related to archiving.  However, we have a test system that was resynced with production prior to when archiving was done and it shows that this issue is pre-existing.
    Thank you very much in advance,
    Lourdes

    Hello,
    There is a possibility that you have activate line item display for some of the accounts at a later stage. Meaning that earlier postings were not be shown for the earlier postings but only totals will be made available. Therefore, obviously there is bound to be difference between line item report and totals report.
    You need to identify which accounts are being changed with line item display at a later stage.
    In case if you forget to keep GL Line item display for an account, but the posting are already made the following steps you would required to get the line item display retrospectively.
    1. Note that you are NOT required to make the balance of that GL account to ZERO. Please do not confuse with Open Item Management.
    2. Put the check box line item display for the account in FS00. Make sure you are entering right company code.
    3. Block the account for posting in COA Segment and Company Code Segment in FS00
    4. Go to SA38 and run program RFSEPA01 (Give correct GL Account and Company Code)
    5. Now, remove the block you kept on the GL Account in FS00.
    This will reset the line item display retrospectively.
    Hope this will solve your problem.
    Regards,
    Ravi

  • Difference in closing balance of last year and opening balance of next year

    hi all,
    when i see the cumulative balances of bank g/l in T.code-FS10N for the last year and see the balance carried forward in this year , i have found a small amount of difference of Rs.300. I have checked the line item balances and it is showing the balances of last year only. Can anybody please tell me the reason of such difference . Is it a normal feature?
    Thanks-
    SAMRAT

    Hi,
    Please check the last year balance, if that is ok.
    Please carry forward the balance once again, then check.
    FAGLGVTR for new GL
    Note: There may be possibility that after doing the balance carry forward, user may done any back dated posting.
    Thanks and Regards
    Binoj M D

  • How to get Open Balance for the year and Total Ending Balance?

    For a given account, how to get Open Balance for the year (Cumulative Ending Balance) and Total Ending Balance (Cumulative Ending Balance)?
    Is there any function module available? or should I read from some tables? Please advice.

    Hello Paul,
    You could try calling one of the following BAPIs - see which one meets your requirement. They are documented well so shouldn't be a problem finding out the correct one for your requirements.
    BAPI_GL_GETGLACCBALANCE      
    BAPI_GL_GETGLACCCURRENTBALANCE
    BAPI_GL_ACC_GETBALANCE      
    BAPI_GL_ACC_GETCURRENTBALANCE
    BAPI_GL_ACC_GETPERIODBALANCES
    BAPI_COND_VAL_DECRE_BALANCES
    You might have to put in some of your own logic after the BAPI call to get what you want.
    Hope this helps,
    Cheers,
    Sougata.
    p.s. Also look at FM FAGL_GET_ACCOUNT_BALANCE
    Edited by: Sougata Chatterjee on May 7, 2008 11:47 AM

  • Difference between cumulative balance and line items total in FS10N

    hi,
    when I am executing FS10n, I observed that the cumulative balance amount is not equal to line items total .  This is due to some amounts in previous years are varying from the line ltem totals in those periods of previous years.
    This is not happening with QA server only Prdn server is facing this problem.  Can anybody provide me a way to solve this..!?
    Regards,
    AJo
    I have checked the master data for the GL and the check box for line item display is selected. It has not been changed for years.
    Edited by: Anil Jonnalagadda on Oct 22, 2008 10:57 AM

    Hi Anil,
    The reason for the differences that you are viewing can be various. As the differences are found in the cummulative balance then it means that the differences might have occurred in previous fiscal years. The first stetp is to find when these differences were originated: You can run report SAPF190 (in se38) for previous fiscal years, and company code in question- This report should show the differences with message "Errors" in the log. If differences are found then you have to creeate a message and send it to SAP for further analysis and corrections.(only SAP experts can do this kind of corrections - component FI-GL-GL-X)
    Also bear in mind that if you did archiving in previous fiscal years then this would not be an error:
    If you already did archiving and secondary index deletion on this accounts with SAPF048I. So this explains why line items balance and GL summary balance differ ! There is no programm error.
    See consulting note 81489 which describes this issue:
    The balance of an account results from the balance of the open items. In
    connection with an archiving that has been carried out, the line item
    display - used with cleared items - must not therefore be interpreted as
    a balance display. For the balance display, there are separate
    correspond to the display balance of the open items from the line item
    display.
    Having archived and deleted secondary indexes ( with SAPF048I )
    for an account you can not use line item drill down as a balance
    display any more for a line item managed account.
    ( as not all line items are existing any more in table BSIS ! )
    The transactions meant to display the binding balances are  FS10N,
    FK10N and FD10N.
    They also give you the line items details, but only of those line
    items not yet deleted ( by SAPF048I ).
    kind regards,
    Oscar Diaz

  • Difference in Cumulative balance amount of ERP and BW query report

    Hi all,
    We have a report to display the Cumulative balance amount based on G/L account.
    The issue we are facing here is, when we check a May month's cumulative balance in ERP side ( using Transaction code FAGLB03 by giving G/L account number, Company code and Year as 2010) we are getting 1000 EUR, and the May month's Balance is 300 EUR.
    When we run our Qury report in BW side for the same conditions( same G/L account, Key due date as 31.05.2010 and same Company code) we are getting the Cumulative Balance as only 900 EUR. we are missing some 100 EUR in our report for our Cumulative balance. But,When I check the Cube on which our Query report runs, I could get the May month's balance as 300 EUR.
    Kindly help me to rectify this issue.
    Thanks.
    Regards,
    Jayaprakash J

    Hi,
    Check is there any restrictions are there . the data must be displayes if the data is there in infocube.
    Regards
    sivaraju

  • Difference in Cumulative balance of ERP and BW

    Hi Experts,
    We have a report to display the Cumulative balance amount based on G/L account.
    The issue we are facing here is, when we check a May month's cumulative balance in ERP side ( using Transaction code FAGLB03 by giving G/L account number, Company code and Year as 2010) we are getting 1000 EUR, and the May month's Balance is 300 EUR.
    When we run our Query report in BW side for the same conditions( same G/L account, Key due date as 31.05.2010 and same Company code) we are getting the Cumulative Balance as only 900 EUR. we are missing some 100 EUR in our report for our Cumulative balance. But,When I check the Cube on which our Query report runs, I could get the May month's balance as 300 EUR.
    Kindly help me to rectify this issue.
    Thanks.
    Regards,
    Jayaprakash J

    The cumulative balance for the GL should be stored in the key figure 0BALANCE in BW
    What is the amount when you do a list cube on this KF ?
    If you don't have the same as in FI-GL, there are several possibilities :
    1) there's a mistake in the extraction flow (transformation)
    2) you didn't update the BW infocube with the latest data

  • Cumulative Balance Running Total

    Hello community,
    i am doing a business partner Account balance report, i have already successfully fetch my data in to crystal reports as well as the running total for the cumulative balance, my problem is i have a duplicated rows in debit side, now how will i say to crystal reports (in Formula expression) that the 1st line if duplicated will the only one to be evaluated. for more detail please see image below
    http://i264.photobucket.com/albums/ii184/abing430/CRDuplicatedRows.png
    http://i264.photobucket.com/albums/ii184/abing430/CRDuplicatedRows-1.png
    please help.
    best regards,
    Fidel

    hello sharonamt,
    thanks for the response.
    //Head
    Shared NumberVar OB := {Command.Open Balance}
    //Line
    shared numbervar OB;
    OB := OB + {BP_AccountBalance;1.Credit} - {BP_AccountBalance;1.Debit}
    //Footer
    Shared numbervar OB
    i have this ff. formula the header is put in the page header, the line is put ing Group Footer section and the footer is put in report footer section. my group is grouped by Ref field w/c is unique in this report.
    the duplicated rows is eliminated since i put my line formula in the group footer. but using the ff. formula's the report is ok, the results is fine on the first page only, because in the second page it will get the OB balance which is in the page header of the report., i dont needt to reset my running total.
    thanks.
    please help
    best regards.
    EDIT:
    i have manage to figure out my problem... i just use this formula and it works.
    whileprintingrecords;
    if pagenumber = 1 then Shared NumberVar OB := {OpeningBalance.Open Balance}
    else
    0
    since im having problem with reseting of the openingbalance, i had trap the page numvber and never reset the running total. this formula works for me as of now.
    Fidel
    Edited by: Avelino Fidel on Jan 24, 2011 2:46 PM

  • P&L Cumulative Balance

    Hi Experts,
    One of my user wants to see Cumulative balance for P&L accounts.His complaint is not showing P&L balances on cumulative basis as balance sheet balnces accounts appear to be updated cumulatively.
    Here I have my own explanation:Usaully Balance sheet accounts display cumulative basis and show year to date.
    and P&L accounts display only that particular period.Please clarify me.
    I have used "0Balance" Key Figure  for Balance sheet Accounts and "0Amount"  Key Figure for P&L accounts.This is the reason user doesn't get P&L accounts balances on Cumulative balance.
    Do I need to use 0Balance for P&L accounts instead of 0Amount to get show P&L Accounts on Cumulative balance.
    Please advise me what I need to do to get P&L accounts balances on Cumulative balance.
    Thanks,
    Suryam

    Hello Experts,
    Any replies for the above issue.Lookingf forward to hear from BW experts.
    Thanks,
    Suryam

  • Displaying Cumulative Balances in BA Balance Sheet Report Painter Reports

    Dear SAP Gurus,
    The system has Business Area Balance Sheet reports created in Report Painter. But in General Data Selection when I select period as a full fiscal year then the cumulative balances are shown. But if I wish to see the reports for a period or a quarter the opening balances for that period are not shown. And only the figures pertaining to that period are shown. Can someone tell me why this is happening like this? I wish to see the cumulative balances even for these periods. Please help me.

    Hi
    You can achieve through SELECTIONS. do like this suppose you have the line item called Inventory(this inventory will capture the data from two or three GL accounts say ex: 123,456,789).you can create the selection with the name inventory and use these GLaccounts in that.when you see the report it will show
    Invantory            $1000
    Share Capital     $2000
    Deposits            $3000
    when drill down it will shoe GL account wise also.
    Regards,
    chandra.

  • Actual Cumulative Balance

    Dear all,
    Is it possible through FS10N see the Cumulative Balance only from the beginning of the actual Fiscal Year?
    I've notice in fact that Cumulative Balance shows all the items even from privious FY.
    thanks in advance
    Alberto

    Hi,
    Then, it won't be 'cumulative'
    If you want to summarize the transactions only for this year, look at the balance column and summarize it. Alternatively, use another report (F.01, for example).
    Regards,
    Eli

  • YTD Cumulative Balance Calculation

    Hi All,
    I need to calculate YTD Cumulative Balance.
    User will provide fiscal year/period in run time.
    Cumulative balance should be calculated from fiscal year/period 0000 to user provided fiscal year / period.
    ex. if user entered value is march, 2010 then cumulative balance should be calculated as
    00 2010 + 01 2010 + 02 2010 + 03 2010.
    Please help me in acheiving this.
    Thanks,
    Sri Arun Prian

    Hi Sri,
    I hope this may be this is better version of code for your problem, esp. with Cust. Exits for months in YTD
    WHEN 'VAR_TEST_SOMETHING'.
        IF I_STEP = '2'.
          DATA : V_INPUT_PER TYPE /BI0/OIFISCPER.
          READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE WITH KEY VNAM = 'WHATEVER_TABLE'.
          IF SY-SUBRC = 0.
            V_INPUT_PER = LOC_VAR_RANGE-LOW.
            IF V_INPUT_PER+4(3) = '001' OR  V_INPUT_PER+4(3) = '002' OR   V_INPUT_PER+4(3) = '003'.
              CONCATENATE V_INPUT_PER(4) '001' INTO L_S_RANGE-LOW.
              L_S_RANGE-OPT = 'EQ'.
              L_S_RANGE-SIGN = 'I'.
              APPEND L_S_RANGE TO E_T_RANGE.
              CONCATENATE V_INPUT_PER(4) '002' INTO L_S_RANGE-LOW.
              L_S_RANGE-OPT = 'EQ'.
              L_S_RANGE-SIGN = 'I'.
              APPEND L_S_RANGE TO E_T_RANGE.
              CONCATENATE V_INPUT_PER(4) '003' INTO L_S_RANGE-LOW.
              L_S_RANGE-OPT = 'EQ'.
              L_S_RANGE-SIGN = 'I'.
              APPEND L_S_RANGE TO E_T_RANGE.
            ELSEIF V_INPUT_PER+4(3) = '004' OR
                   V_INPUT_PER+4(3) = '005' OR
                   V_INPUT_PER+4(3) = '006'.
             Similiarly for rest of the months....
            ENDIF.
          ENDIF.
        ENDIF.
    Just for reference.
    Thanks
    Arun Bala
    Edited by: Arun Bala G on Feb 26, 2010 6:46 AM

  • Cumulative balance tranfer problem

    Hi this is ram,
    I have problem with carry forwarding the balance from one year to another year regarding cumulative balance. it is taking only balance only for next year.
    Thanksin advance,
    ramanjaneyulu

    Hello,
    And another observation is if the balance carryforward has been done then all GLs would have the balance in that field, its not so. In addition I found that the balances displayed in the cumulative balance for the transactions which are entered in the current year with the posting date of previous year. Example, documents are entred in Jan 2011, with the posting date of Dec 2010. I dont understand is any correction needed and any notes relating to this.
    Regards
    Sunil

  • Cumulative Balance & P/L Reports

    I have to create two sets of reports on cumulative balance and P/L based on my general ledger cube. How would i do that. Which Key figures should i use for each of them. I need to have them with a month-to date, quater to date and year to date looks.
    Thanks,
    Neha

    Look at the reports 0FIGL_VC1_Q0001  / 0FIGL_C01_Q0050  from the content. Also if you use New GL, then look at the report 0FIGL_C10_Q0001.
    Report 0FIGL_VC1_Q0001 should give you balance sheet. Since you need to see monthly, quarterly and yearly view, try to put restrictions on the time characteristics in the query. Even if this report does not suit your needs, you can still the data in the cube 0FIGL_C10, as it has all the balances of GL accounts at a given point in time.
    Ravi Thothadri

Maybe you are looking for

  • Search Forum option missing from new forum interface

    I see that we now have a new forum interface. I was looking to search in the forum and there appears to be no search option to search messages in the forum. This option was there in the old forum software. Any ideas?

  • How to use 'right click' command of windows in mac firefox

    how do i use the windows 'right click commands in mac firefox == This happened == Every time Firefox opened == begining

  • Debugging BAM

    SOA Suite 11gR2... I have a process that uses BAM sensors and actions to update the BAM tables. The updates to the tables do not appear to be working... Is there a log, or any other way, I can find information on what BAM attempted to do to help debu

  • Dynamically Changing stylesheets and images of B2B application

    Hello All, We have a requirement to dynamically  change the stylesheets and images of B2B application based on Country  US or UK of the logged-in user. On looking into B2B source code, we identified  that stylesheets are defined in init-config.xml ,

  • Help! Sending out rogue emails

    Hi all, My mum has a BT Internet email account - and over last 6 months she has had a problem with her email account sending rogue emails to her address book (i.e. normally with a link in them to entice them to click on). When this originally happene