Monthlwise Income Statement with Previous Year Comparison

Hi
Good day to all.
The requirement is to create a Monthwise Income Statement for the Current Year with the Previous Year Comparative figures (and Average for Previous Year and Current Year thrown in).
We have designed this report using Report Painter using the Library 8A2 based on GLPCT Table.
We have been able to get the Monthwise figures for the current year.
Could somebody elaborate on how to achieve the following:
1. How to get the Previous Year Figures in the same report.
2. How to get the Average for the Current Period depending upon the Periods upto/for which the user chooses to run the Report? For example, the user must be enabled to run report for a range of Periods (for example Period 5 to Period 8) and the Report should average the totals using a denominator of 4).
Any help in this regard will be highly appreciated.
Regards
Harinath

I am Thankful to SDN,
but i have solved my problem on my own.
I ill be back if i have any problem in future.
Bye

Similar Messages

  • Compare month sales with previous year same month sales

    hi all.
    we need to compare given month of this year with same month of last year. we need to compare sales quantity and value.
    the query is on 0RT_C40 multiprovider. We have tried all options using 0Calmon, calday, fiscal year... but whenever we specify offset, we are not getting data. there is valid data for previous year.
    plz let us know what else to do? check with 0RT_C40.
    thanks in advance.
    regards: gaurave

    Gaurave,
    Are you selecting the time period in a selection in columns or rows, or are you selecting the time period in the Filter or Free Characteristic area.
    When you make the initial selection of say Period 11.2007 in the Free Characteristic area, and then within a selection but on an offset to derive 11.2006, the fact that you have made your selection of 11.2007 in the Free Char area will restrict the entire query results to this time period.
    Both your picks on time should be in selections in the Columns or the Rows.
    Regards
    Gill

  • Finacial statement report Comparison with Previous year in report painter

    Hi Experts,
    I am new to report Painter.I developed financial statement report in report painter with following data:
    Table: FAGLFLEXT
    Rows:GL Account Hierarchy(defined Manually)
    General data selection: Ledger
    Column 1: CCode,record type,version,period,fiscalyear
    Column 2: Ccode,record type,version,period,fiscalyear
    I tried various variables for fiscal year in both columns but in general data selection two fiscal year fields appeared and in output  it is showing values according to only one fiscal year field in general data selection hence it is displaying values only in first columns and empty values in second column.
    I hardcoded fiscal year values in both columns but still fiscal year field is appearing in general data selection and value input to that fiscal year results in displaying values in first column and empty values in second column in output.Please let me know where i went wrong.
    Thanks&Regards,
    narasimha.

    Hi Narasimha,
    Can you please post your solution.
    Thanks,
    Srini

  • Current year period comparison with previous year

    Hello Experts,
    i need to compare qty of
    period 01 2006 with period 01 2005-->for this period
    period 01,02 2006 with period 01,02 2005-->for next period
    period 01,02,03 2006 with period 01,02,03 2005 -->
    after that...etc...
    Note:
    -i am having time char fiscal year/period
    -now we are in period 02
    -to get this year period i am using the variable,
    "Cumulated to Last fiscal Year/Period" to restrict. so, this will give period 01 of this year.
    - is there any standard variable to get last years period
    - else, how to achieve this?
    Thank you very much.
    -Vam.

    Hi,
    u can try with the Variable: Cumulated up to Current Fiscal Year Period  0FYTCFP.
    i have not tried.its just an idea.
    from sap help:This variable denotes an interval from period 1 of the current fiscal year to the current fiscal year period.
    First the fiscal year variant, which serves as the input parameter for determining the current fiscal year, is defined.
    http://help.sap.com/saphelp_nw04s/helpdata/en/99/ae22419e2ab167e10000000a155106/frameset.htm
    or
    Variable: Cumulated up to Last Fiscal Year Period
    Technical name: 0FYTLFP
    Use
    This variable denotes an interval from period 1 of the current fiscal year to the period before the current fiscal year period.
    First the fiscal year variant, which serves as the input parameter for determining the current fiscal year, is defined.
    cretae 2 restricted keyfigures like this:
    RKF1:
    Quantity
    0FISCPER restricted by 0FYTCFP / 0FYTLFP
    RKF2:
    Quantity
    0FISCPER restricted by 0FYTCFP/0FYTLFP with offset '-1'.
    and use respective text variables to view Fiscal year/period value accordingly in RKFs.
    hope this helps.
    regards
    Message was edited by: c c
    Message was edited by: c c

  • How we create Variable for Previous year for COPA reports

    Hi Guruss,
    I am making a COPA report for Current year comparison with previous year from KE31. For 1st column I have created the Variable for current year (which works perfectly) now in 2nd column i need the actual data pertaining to previous. So can any one please guide me how to create the variable for previous year.
    Thanks

    Thanks Jagannadha,
    I have create the variable for current year on KE3E. but i am confuse how i create the variable for previous year on KE3E.
    Waiting for reply.

  • How to define the Previous Year Up to Date in BI 7?

    Dear Expert,
    I have got a BI 7 report requirement which needs to restricted a key figure with Previous Year Up to date.
    I have found a time variable as Current Year Up to Date but not able to find the one for Previous Year Up to Date.
    Is it possible that I can use it as below to restrict the Key Figure:
      ZMP_CTYD (Current Year To Date) -1   (current year to date with the off set set to -1)?
    If this is not a right way, could you let me know what is the correct way to restrict the Key Figure for Previous Year Up to Date?
    Further information about the requirement:
    I need to get the difference between current year up to date and previous year up to date for a key figure.
    For example, to get the difference between the  amout related to the preiod between Jan 1, 2008 and May 22, 2008 and the amount related to the period between Jan 1, 2007 and May 22, 2007.
    Thank you very much!
    Arthur

    Hi,
    YTD and CTD are different. One is all the way till year end and the other one is through current period. One way of doing this is to define your restricted KF definition. You can use the existing Variable that you already have and insert / restrict posting period from 'time dimension"  1 - 16, in most cases there are 16 period, or 1 to "latest period" depending on what you have. The key here is your " POSTING PERIOD" restriction
    Hope this helps
    assign points if helpful

  • Reporting with Time Variance (previous year vs current year)

    Good day all.
    I would like to ask for advice and help in terms of best way to make this report work:
    Let's say I need to show the % variance between the Total Operating Costs per Gross sqft over different times periods (Previous year to Current Year). The trick is that data must be compared to the same data in the previous year, i.e. if we are in June of current fiscal year, the comparison must be between Oct-June of current fiscal year to Oct-June of previous fiscal year, not the full previous year. The report formula itself would be:
    ([TCO Exp/GSF PY] - [TCO Exp/GSF CY]) / [TCO Exp/GSF PY] * 100
    My guess, I could define a static variable Current Year which developers would have to be changed every year. And then create logical columns: TCO Exp PY (where year=Current Year-1)...while writing this, I realized I'm wrong and there must be a more efficient way to do this. UPD: I've also thought about time-series function AGO, but I'm currently testing it, and I'm not happy with its performance...
    Thank you in advance...
    Message was edited by:
    wildmight

    Hi Wildmight,
    The current value will be the value you will select from the table like you normally would do. These would be values per month if I am correct. Next to the column with the current value, you create an additional column with the AGO function in it.
    Now you will have the current value and next to it the value of the required period ago. You won't need any static variables.
    Let me give you an example for the last three months.
    Period CY PY
    jan-08 50 30
    dec-07 40 20
    nov-07 45 25
    In this case the value 20 corresponds to the period dec-06.
    I hope I made myself clear.
    Good Luck,
    Daan Bakboord

  • How to populate the data or details of only the present year and the previous year with respect to the given RATNG?

    Hi All,
    I have created a form with 5 blocks (namely ENQACMHDR, ENQACMDTL, ENQACEHDR, ENQACEDTL, ENQACSPEC), where i have 8 push buttons (namely ENTER_QUERY, EXEC_QUERY, CLEAR, FIRST, NEXT, PREVIOUS, LAST & EXIT).
    This form is created just for viewing purpose only. So after I execute, all the blocks have been blocked against insert & update.
    I query on 2 fields that is 'ENQNO' and 'RATNG' (Both the fields belong to the block ENQACMDTL).
    When I click on 'EXEC_QUERY' directly, all the data of all the years populates.
    But the user wanted the data to be populated from only the present year and the previous year.
    So , on 'WHERE Clause' of the property_palette of 'ENQACMDTL' block , I put in the following condition:
    SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR( ADD_MONTHS(SYSDATE,-12) , 'YYYY') OR SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR(SYSDATE, 'YYYY')
    PROPERTY PALETTE (ENQACMDTL block)
    WHERE Clause
    SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR( ADD_MONTHS(SYSDATE,-12) , 'YYYY') OR SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR(SYSDATE, 'YYYY')
    Now the data of only the present year and the previous year is being populated. Its ok with the field of 'ENQNO'.
    The problem is when i query on field 'RATNG' . 'RATNG' is a Text_item with Number of Items displayed=5. (5 rows)
    The following are 2 columns of a Table (Name=ENQACMDTL) in Database.
    ENQNO
    RATNG
    2013900054
    500KC2
    2013900047
    800KC4
    2013520018
    750KC6
    2012900037
    1000KC2
    2012520109
    500KC2
    2012140019
    750KC6
    2011540036
    500KC2
    2011100030
    1000KC2
    2006100007
    90KD8
    2006750014
    750KC6
    2006900072
    500KC2
    The first 4 numbers of 'ENQNO' denotes the year. There are more than a lakhs of records.
    So when i query on the field 'RATNG',
    Example:For RATNG=500KC2;
    I click on ENTER_QUERY, On the field of 'RATNG' , i put in the value 500KC2 and click on  EXEC_QUERY; Details with respect to 500KC2 is displayed as well as all the other unwanted RATNG like 750KC6, 1000KC2 (which belongs to the ENQNO of the present year and the previous year) also gets displayed.
    I want details of only RATNG (500KC2) to be displayed, but only of the present year and the previous year, that is 2013900054, 2012520109 (ENQNO).
    Other than 500KC2 RATNG, no other RATNG must be displayed.
    The RATNG=500KC2 is also present for ENQNO=2011540036 , 2006900072. But I dont want these to be displayed.
    I want only the data or details of the present year and the previous year to be displayed or populated with respect to the given RATNG.
    Can You Help me or tell me what do i do for this?
    Hope I'm clear with my question!!
    If my question is not clear, let me know plz.
    Thank You.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    Oracle forms 6i.

    On key-exeqry you have to program.  Delete all other trigger codings for checking your condition.
    It dint work on key-exeqry.
    I tried key-exeqry on form trigger, block (enqacmdtl) and also on field(:enqacmdtl.enqno) , but none of them worked.
    It did not display the message.
    I have a 'PUSH-BUTTON:EXEC_QUERY.
    For EXEC_QUERY, Trigger : WHEN_BUTTON_PRESSED;
    I added the following code:
    if to_number(substr(:enqacmdtl.enqno,1,4))<to_number(to_char(add_months(sysdate,-12),'YYYY')) then
         message('The Rating is not present for the present year and the previous year');message(' ',no_acknowledge);
         raise form_trigger_failure;
    else
         execute_query;
    end if;
    It is working fine and the message is being displayed.
    But again I have a new problem and that is;
    On the field :enqacmdtl.enqno, when i enter the '2013%' and press 'EXEC_QUERY', it works fine.
    but when i enter '2006%' and press 'EXEC_QUERY', it shows the following error
    FRM-50016: Legal characters are 0-9 - +E. It does not display the message also.
    but when i enter the complete number, '2006580002', then it works fine , that is it displays the message (The Rating is not present for the present year and the previous year).
    The problem is because of '%', only when i put in the restricted data (which does not satisfy where condition).
    How do i solve this?
    Thank You Priyasagi.

  • Date Picker with Previous and Next Year Options

    Hi All,
    I am implementing a date picker in my application which is tied to an attribute of type PA0001-BEGDA. Date Picker as such works fine but navigating to previous year and Next year options are not available. User has to go month by month to different years if they have to navigate.
    Is this the normal behavior of the Date Picker or am I missing something else to get the previous and Next year icons in the Date Picker.
    Thanks,
    Nagarajan.

    hmm..I tried using the select options and it did give the same date picker with the previous and Next navigation icons...The only problem with the select options is that its a single field which has the range and can accept multiple values too...
    I tried to figure out how the date picker that we use in the custom application and the one in Select Options differ but no luck...Does this ring any bell?
    Thanks,
    Nagarajan.

  • Problem with the text from previous year in current year appraisal (PPR)

    Hi Gurus,
    I have some problem with the text from the PPR of the previous year in the PPR current year.
    The text from the previous year have not the same displaying in the tab "previous year" of  the current year PPR.
    EXAMPLE :
    this is write in the PPR of year 2009 in Individual Targets without Incentives (tab My S-imple) :
    -Aufrechterhaltung der MA motivation, in dieser Zeit der Neuorientierung.
    -G1 Unterstüzung
    -Fachübergreifende Teamarbeit ausbauen
    Gefährdungsbeurteilung weiter führen
    -tragen von PSA einfordern
    -VI Opt.(Intervalle)
    -Azubi und Praktikanten AUsbildung unterstüzen
    and this is what I have in the PPR of 2010 in Individual Targets without Incentives (tab Previous Year's Targets):
    -Aufrechterhaltung der MA motivation, in dieser Zeit der-Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    there is the error, all the end of the text isn't displayed and the begin of the text is repeated.
    I think that this issue is created at the creation of the PPR.
    If someone have a idea he is welcom.
    thanks and regards

    Hi,
    Please follow the note:425601,
    Go to Tcode: OBA5 change the error messge into warning message. carry out the settlement and roll abck the warning message into the error message after sucessfull settlement.
    Reward points if found useful.
    Thanks!

  • How to calculate the previous year YTD balance in profit & loss statement

    Dear all,
    I would like to seek for advice on how to calculate the previous year YTD (Year to date) balance in profit & loss statement
    For example, if I enter May 2009, the YTD value should be a sum up of value from Jan to May.
    I have tried the current year YTD could be set in column selection dimension "financial period"
    FACT PER( Code = YearFirst(@Per):@Per )  Order By PER.Code Descending
    Then, I tried the previous year YTD in another column using
    FACT PER( Code = YearFirst(@Per-12):@Per-12 )  Order By PER.Code Descending
    But it failed -> Abnormally display three column, while the financial period I enter 200903 in parameter @Per
    Would anyone kindly help me on that?
    Regards,
    Simon Chiu

    Dear Jim,
    Thanks for your reply.
    However, the problems still cannot be solved.
    My expected output is 1 column listing the YTD value from previous year.
    I have tried two times using both the Code = YTD(@Per-12) and Code = YearFirst(@Per)-12:@Per respectively. However, the Excel display various column.
    I am using Financial Period 200903. In the last three column, it display the data in Financial Period 200901, 200902 and 200903 respectively.
    For the current year, the YTD is correct and show 1 column listing the sum of account in the Financial Period 200901, 200902 and 200903
    Would you kindly advice the code setting and how to set? Also, how I can access the syntax builder?
    Regards,
    Simon Chiu

  • Previous Years revenue along with current year

    Hi,
    We have a universe on top of BEX query. I am trying to query it for a particular year and the result should have the queried year revenue and revenue of previous years available.
    For example: if I am querying for 2010 the report should have 2010 revenue and 2009/2008/2007/...... revenues.
    Any work around to do this?
    Thanks,
    Vishal

    I do not think that a merging at report layer will be feasible because of current MDX restrictions that only allow numerical operations in user defined universe filters. This means that date and string operations are not possible and therefore it is not possible to force the retrieval of the values from the previous year (resp. the user input) since you have to perform operations on date objects (year = user input -1).
    My opinion is that you have to create a BEx query that will be able to retrieve both years (actiual and previous) at once.
    Regards,
    Stratos

  • Current Year and Previous Year (derived) data comparison

    Scenario:
    Dimension Table for Date:
    -Current Year
    -Previous Year
    -and other date related fields
    Fact Table:
    -Sales (contains current year sales depending on the filter set)
    *Filter on Year
    Would anyone know how will I create a measure for Previous Year Sales?
    So that whenever my report shows the current year (for example: 2009) data of my sales, I can also have a column that would also display the previous year data and it will automatically know that it would display the previous year data of the Current year displayed in my report.
    Also, how to derive the percentage change of this 2 columns.
    Year: 2009
    Branch --- Current Year Sales (Sales from Fact table) 2009 --- Previous Year Sales 2008???
    I want to add the Current Year Sales And Percentage Change of Sales in the Business Model/Mapping Section. so that it would be available in the presentation layer of Oracle Answers.
    Thanks.
    Edited by: user12074468 on Oct 16, 2009 4:38 PM

    Use column filters. Click on the fx button on your Sales column. Click on the Filter button. Now go to the Time.Year column you have and click on it. When the filter window comes up, click on Advanced and convert the filter to SQL. Now insert the Current Year column so that you have Time.Year = "Current Year" Click "OK."
    Get another Sales column and put it in your workspace. Follow the above procedure except this time use th Previous Year column.
    Now you have two Fact columns, one that filters for the Current Year and one that filters for your Previous Year.
    Now for your variance, click on one more column and place it in your workspace. Click on the fx button. This time click on the "Column" button. You will see a list of your columns. From this, create the (Current Year)-(Previous Year)/(Previous Year)*100.00. In the Data Format tab, change the format to percentage.
    You also have the option of creating the above calculations in the BMM layer too.

  • Capturing "Actual Amounts" from previous years

    Hi Experts,
    We had earlier developed a report to produce a list of projects which can be changed from status TECO to CLSD. If the project cannot be closed then the corresponding reason for failure should be displayed.
    Now the problem is that there were some direct costs which were booked under certain WBS elements. These elements were created in the previous year & haven't been settled in that year. Our present program isn't able to capture & display these costs in the current year. We have based our logic up on a join of table COBK with tables COEP, PROJ & PRPS. We are referring to the SAP standard TCODE s_alr_87013533 which is able to find the unsettled dollars (Actual amount) even from previous years. Anyone please help advise as to how we can even capture the actual amounts from previous years.
    Regards,
    Uday
    Our inner join statement is as shown below:
    SELECT coep~objnr coep~wogbtr coep~megbtr coep~wrttp coep~kstar
             coep~owaer coep~vrgng coep~sgtxt coep~ebeln coep~ebelp
             coep~objnr_n1 coep~belnr coep~gjahr coep~perio
             cobk~blart cobk~refbn cobk~refbk cobk~refgj
        INTO CORRESPONDING FIELDS OF TABLE tb_actual
        FROM coep INNER JOIN cobk ON cobk~kokrs = coep~kokrs AND
                                     cobk~belnr = coep~belnr
                  INNER JOIN prps ON coep~objnr = prps~objnr
                  INNER JOIN proj ON proj~pspnr = prps~psphi
        WHERE proj~pspnr  = wa_proj-pspnr   "project definition
          AND prps~pspnr  = wa_prps-pspnr   "WBS element
      AND prps~belkz =  c_x             "Account assignment
      AND coep~wogbtr <> 0              "amount
      AND coep~lednr = c_00             "Ledger (needed to hit index)
      AND coep~wrttp IN (c_04, c_11)    "actual value type - real & stat
      AND coep~beknz IN r_beknz.        "D/C Ind <> Settlement

    based on the data provided -
    I-001688               
    Cost line                       7143.28          71710000
    Cost line                     42874.74          73120000
    Cost line                     22752.77          73120000
    TOTAL COST     72770.79          
    Settlement line     65627.51          81650000
    Settlement line     7143.28          81650000
    TOTAL SETL     72770.79          
    you should be able to set CLSD to this project as there is no unsettled value in the project
    CJI3 report confirms that there is no outstanding settlement and hence project can be set to CLSD. This report shows all the line items against project
    The report S_ALR_87013533 shows the actual cost incurred in the project, but not settlement. This does not mean that the project is unsettled.
    see another report (project cost element report) - that might help you S_ALR_87013542

  • Customizing setting 'Recalculate depreciation for previous years'

    Dear Experts,
    I have requirement where for tax depreciation areas we want the system to recalculate the depreciation for previous years. For e.g.
    Asset acquired on 7/1/06 with value 10000
    Useful life: 5 years
    Take over date in asset accounting: 9/30/2008
    With the above example, I want the system to show me depreciaiton values for the years 2006 and 2007 also in transaction AW01N (Asset Explorer), apart from 2008.
    In FI-AA customizing, I have enabled the relevant depreciation areas for recalculation in the node 'Recalculate Depreciation for Previous Years' (Transaction OAYF).
    However, when I create the legacy asset and maintain the takeover values, the system just shows me depreciation for 2008 and onwards.
    Is there something I am missing? Please advice. I have searched the SAP help and SAP notes, but did not find anything.
    Regards,
    Vishal.

    This is not possible.  When you takeover an asset using AS91, it is creating an ANLC entry for that year only.  2008 in your case.  Regardless of when the asset was originally acquired, SAP will only let you report on it back to 2008.
    This concept is no different than any other FI/CO legacy conversion.  If the customer is going live on Jan 1st 2008 but they want to do monthly comparison reporting in SAP (Jan 07 and Jan 08), then they need to convert 2007 data.  If they want 2006, they need to load that too.  Etc.
    For FI-AA, if the customer wants to view data back to 2006 you would have to change the takeover date to that year and adjust the data as well (accumulated depreciation).
    -nathan

Maybe you are looking for

  • How do I download You Tube Videos to my iPhone 4

    Fellow iPhonies, I just purchased my first "smart " phone (iPhone4) and while I have mastered most of the functions, there are still a few that I am having problems with.  I would be most grateful if anyone could help me with the following: 1.) Copyi

  • Image Processor script won't close windows

    I'm testing a client's favorite method for converting folders of, say, 1000 images from RAW to large JPEG. He now uses Photoshop in CS3: He opens File Menu > Scripts > Image Processor, designates a huge folder of RAW files, sets the right parameters,

  • Where is the map of the whole world showing ALL my geotagged photos in the new Photos app?

    After "upgrading" from iPhoto to Photos, I cannot call up the world map to locate where I took pictures. Is this feature gone? It used to be if you clicked on "places" in the iPhoto sidebar you got this map. All the photos in one's library were repre

  • Namespace being changed at runtime?

    I have a BPEL process that assigns an input value to a string variable, lets say V1. Next, I assign the V1to my Invoke_variable1 variable. I am using the invoke to call a web service, looking something like this: <Invoke_variable1><part xmlns:xsi="ht

  • Correcting white balance: RawShooter seems better than CS2 ACR?

    (Photoshop CS2, Windows) I sometimes use "RawShooter Essentials 2006" to process raw photos taken with a Canon s70. The pictures are from diving trips, and the water is usually very green. I set WB by clicking a neutral spot in the image. For example