P & L report for current period,YTD and previous YTD

I am trying to create a P & L report with the columns for current period,YTD and previous YTD,  I have include the measures as the key of columns, which by using period or YTD we can retrieve the current period and YTD column, is there as easy way to get the previous YTD? although I can get it  by using evtim to het every month and calculate the previous YTD.

resolved, just need to bring both time and measures in the columns

Similar Messages

  • Current period load and previous period load

    Hi
    when I look into some cube, its loading the full load data  for Previous period as well as Current period.
    the next day we r deleting the both over laping request and loading the same current and previous load .
    could any one explain why this selection in infopackage in full loading.
    why dont't we load with last posting period / Fiscal year selection into infopackage selection for full load.
    Thanks
    Ram
    Message was edited by:
            ram

    Is the datasource is non delta enabled ?
    If yes , den Full load is done always using the Overlapping Request Deletion in the Infopackage or DTP in BI 7.0 - so as to make all data available .
    If ur willing  to change the dates in the Infopackage filter daily ( u can rite some routine though )  den u can do that but if u want to automate all this process u go with Overlapping feature.

  • YTD and Previous YTD in MDX query

    Hi All,
    I have two parameters Start Date and End Date. when i select the values of start date  as 5th jan 2014 and End Date as 13 th Jan 2014, i want to see the Count of Tickets from 5th Jan 2014 till 13th Jan 2014 as YTD Count of Tickets and Count
    of Tickets from 5th Jan 2013 till 13th Jan 2013 as PYTD Count of Tickets. The date range is user specific and is dynamic. I have used cube to create SSRS reports.
    Could anyone please tell me how i can pass the selected dates to the query and get YTD and PYTD values?
    Thanks
    Syed Faiz
    SFH

    Hello!!
    if you have user hierarchy in  date dimension that looks like : year-month-date than you could use following mdx query:
    with member measures.[count of tickets last year] as aggregate({parallelperiod([date].[Y-M-D].[year],1,[Date].[Y-M-D].[Date].&[20140104]):
    parallelperiod([Date].[Y-M-D].[year],1,[Date Submit].[Y-M-D].[Date].&[20140107])},measures.[count of tickets])
    select {measures.[count of tickets],measures.[count of tickets last year]} on 0,[your dimensions] on 1
    from yourcube
    where
    {[Date].[Y-M-D].[Date].&[20140104]:[Date].[Y-M-D].[Date].&[20140107]}
    y-m-d is the name of the hierarchy. This query returns results for dates between 01/04/2014 and 01/07/2014.
    In order for the query to work you must map date parameters to ssas date dimension members. You should use strtomember function. 
    These are usefull links:
    http://jsimonbi.wordpress.com/2011/03/22/using-a-date-parameter-in-ssrs-with-mdx/
    http://blogs.lessthandot.com/index.php/DataMgmt/DBProgramming/MSSQLServer/using-a-calendar-for-a-date-hierarchy-pa-2010/
    HTH
    Ivan Roguljić

  • 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

  • Sales report for current month and year a go month

    i could you please guide me builting report for current monthwise for current month and year a ago month
    report parameter month_year='06-2010'
    tables = sales and below are the table fields
    customer_id
    invoice_dt
    invoice_am
    thanks
    nhm

    Okay, Still you did not mention how you will pass value in report while generating.
    Anyway the query with UNION ALL will work. For Example.
    I am assuming that the parameter for date/month you will pass in range like 01-JUN-2010 to 30-JUN-2010
    SELECT customer_id, SUM(curr_value) curr_value, SUM(past_value) past_value
    FROM
    SELECT customer_id, NVL(SUM(invoice_amount),0) curr_value, 0 past_value
    FROM sales
    WHERE invoice_dt BETWEEN :P_FROM_DATE AND :P_TO_DATE  -- here P_FROM_DATE and P_TO_DATE will be the date range for current year as i showed above.
    AND  -- Any Condition goes here...
    GROUP BY customer_id
    UNION ALL
    SELECT customer_id, 0, NVL(SUM(invoice_amount),0)
    FROM sales
    WHERE invoice_dt BETWEEN ADD_MONTHS(:P_FROM_DATE,-12) AND ADD_MONTHS(:P_TO_DATE,-12) -- This add_months function for the previous year same month.
    AND -- Any condition goes here...
    GROUP BY customer_id
    GROUP BY customer_idNow using the above query you can design the tabular report as you showed the format.
    -Ammad
    Edited by: Ammad Ahmed on Jul 3, 2010 7:55 PM
    added GROUP BY

  • Stock report for a period (based on posting date)

    Hi Experts,
    We have a requirement as under:
    1) We want a report for a period say from 01.04.2011 to 30.09.2011 (closed period for both MM and FI postings). Report is being taken on a later date say 01.12.2011.
    2) The report should say the status of stock as of 30.09.2011 only even of being taken in the month of December
    3) I tried to take the desired report through MB5B for the period 30.09.2011 to 30.09.2011 (selection date fields) on 20th december, 2011 and noticed that if same report with the same selection criteria is taken at two different times, output data is not the same whereas MM and FI posting periods are already closed.
    Can anybody suggest alternative SAP standard report where output will remain the same if report with same selection criteria is taken at different intervals ELSE in case of change we should be able to see the documents posted in between if back dated entries have been posted after opening MM /FI period.
    thanks

    sure it speaks the same, but it mentions as well the reasons (1) and has much more information (2)  and a solution.(3)
    1)
    user starts transaction MB5B for a very large number of materials or for all materials in a plant
    During the runtime of transaction MB5B, goods movements are posted in parallel:
               - The results of transaction MB5B are incorrect.
               - Each run of transaction MB5B returns different results for the same combination of "material + plant".
    Example: Transaction MB5B should process 100 materials with 10,000 MM documents each. The system takes approximately 1 second to read the material master data  and it takes approximately 1 hour to read the MM and FI documents. A goods movement for a material to be processed is posted approximately 10 minutes after you start transaction MB5B. The stock for this material before this posting has already been determined. The new MM document is also read, however. The stock read before the posting is used as the basis for calculating the stocks for the start and end date.
    Even for an old and closed period, MB5B starts today and calculates backwards  any movement to finally get the stock for  the time your specified in your selection.
    2)
    The SAP standard release does not include a solution
    so you have to understand that there is no real alternative transaction in SAP
    3) and then they provide a large section with a workaround that can be developed by an experienced programmer within 3 to 5 days.
    So how shall anyone here be able to tell you an alternative report?
    if someone does, then it is an owndeveloped z-report which is not available in your sap system.
    if you know that people want lookup period closing stocks at any time in future, then either schedule MB52 at month end and store the list somewhere (and do not allow backposting)
    or have an Abaper create a stock report based on the history tables MARDH, MCHBH, MBEWH etc.
    And even here you may encounter an issue at some day, if you start archving special stocks or material masters, because then the stock figures from the historic tables are gone and you cannot rebuilt a reliable stock report .

  • MB5B Report for Date Wise Stock and Value

    Hi,
    I am Taking MB5B Report for Date Wise Stock and Value.
    But I have one doubt all stocks is coming or not in these report like Unrestrected Stock,Return Stock.Blocked stock,Transist stock,Restrected Stock,qty Inspection Stock.
    I have another Doubt in these report three Stock type indicaters are there like these.
    1.Storage Location / Batch Stock
    2.valuated Stock
    3.Special Stock.
    But i have one doubt what is defferent these
    1.Storage Location / Batch Stock
    2.valuated Stock

    Hi Prasad,
    Yes MB5B report consider the Unrestricted, Quality, Blocked, Transit stock and restricted stock. Not sure about Return Stock.
    If you select the Storage location/Batch stock radio button then the system will display all the possible stock from the storage location and the corresponding batch also.
    If you select Valuated stock radio button then system will show only the valuated stock not the Non-valuated stock. Because Non-valuated material type is available in SAP system will not show those stock suppose if you select the Valuated stock radio button.
    Regards
    Karthick

  • Archiving cost center line items for current period

    Hi,
    I was not able to archive & delete the cost center line items for current period.I was succesfull in deleting the past line items of the last periods.
    Raj

    Hi Rajesh,
    I think SAP help says that the period for which you are planning to delete or archive data may have to be locked.
    Check the following links:
    For Archiving
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e55ec462a11d189000000e8323d3a/frameset.htm

  • Current period time vs previous period time

    Hi All,
    I have to create a report which compare the sales period time..
    for example variable 0calmonth period 0108 - 0208
    product  |  current period  0108 / 0208  |  previous period 0107 / 0207   |  current - previous
    TV        |      1000                              |            500                            |   500
    Audio    |      100                               |             300                            |  -200
    its work great
    but when I add 0calmonth in column query
    product  |  current period  0108 - 0208  |  previous period 0107 - 0207   |  current - previous
    0107
    0207
    0108
    0208
    0107
    0207
    0108
    0208
    0107
    0207
    0108
    0208
    TV           |     0   |     0  |  800   |  200     |  300    |   200 |    0      |    0    |   -300 |   -200 |  800    |  200   |
    Audio    |     0   |     0  |  70   |     30     |  150    |   150 |    0      |    0    |   -150 |   -150 |  70      |    30   |
    This is not what i want.
    I want this.
    product  |  current period  0108 - 0208  |  previous period 0107 - 0207   |  current - previous
    0108
    0208
    0107
    0207
    0108-0107
    0208-0207
    TV        |   800                     |  200     |  300                           |   200   |   500           |  0              |
    Audio    |    70                     |     30     |  150                          |   150    |   -80           |   -120         |
    How do that?

    Hi,
    I think there is a way to do this, take normally first 4 fields, product | current period 0108 - 0208 | previous period 0107 - 0207 | current - previous
    Then remove 0CALMONTH from columns and after that create a RKF by new selection, using sales Keyfig. with 0CALMONTH resticted to the value 0108, and next take a new selection and restrict the same with 0208.
    Similarly restrict for remaining months also (0107  0207  0108-0107  0208-0207 ) so that it can be arranged in the order u want.
    Hope this helps.
    Rgs,
    I.R.K

  • Where is the download link for premiere elements 10 and previous versions?

    Where is the download link for premiere elements 10 and previous versions?
    Also the search program doesn't find previous version downloads.
    Chat is completely busy and won't let me in.
    And I am not paying $39 for what is an Adobe issue.
    FAIL!
    Anyone know where I might find it?

    A.T. Romano wrote:
    ProDesignTools offers these downloads for the Adobe tryouts of older Photoshop Elements and Premiere Elements versions
    What I've always found strange though is that the downloads themselves come from Adobe's servers. Just seems weird that Adobe themselves won't provide the links!
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Wrong period displayed for current period in HR Report Category

    Dear Friends,
    I have used HR report category (X_M00002) in my program that only shows two options (radiobutton) for period selection:
    1. Current Period
    2. Other Period
    Problem is that when I select current period and press enter key it takes 01.2006 (i.e. 01.04.2006 to 30.04.2006) instead of current period 01.2010.
    What could the possible error be?
    Regards,
    Amit

    Hi Amit
    The current period will not be set based on the current calendar month and year. The current period will be based on the current period for the payroll area which you have entered. You can check the current period of a given payroll area from the transaction PA03.
    Hope this answers your question.
    Regards
    Ranganath

  • BEx analyzer 7.0 Report for last 3 months and current month

    I need to create a report for a key figure (net value) and character (material), 0calday
    Output format:
    column1 : net value - previous year
    column2 : net value - current year
    column3 : net value - current quarter (separate columns for 3 months)
    column4 : net value - previous quarter (separate columns for 3 months)
    column5 : net value - current month
    column6 : net value - 1st of month to current date (separate columns for each day).
    Please help.
    Points will be assigned.
    Thanks
    Mary.

    Hi 
      U R infoprovider should have following time characterstics 
      0FISCAL YEAR, 0FISCAL MONTH/QTR 
    column1 : net value - previous year
      On the basis of user input data derive the year and offset it by - 1 (VYEAR-1)and make a RKF for that  .
    column2 : net value - current year
      On the basis of user input data derive the year(VYEAR) and 
       make a RKF for that  .
    column3 : net value - current quarter (separate columns for 3 months)
      If QTR is there then derive the QTR on the basis of         0calday/else if month is there then determine month range       like 1-3 = Q1  4-6  = Q2 and it will be done in user exit  
    column4 : net value - previous quarter (separate columns for 3 months)
      On the same way as above u can determine the same 
    column5 : net value - current month
      On the basis of 0calday determine CALMONTH and create a      RKF for this 
    column6 : net value - 1st of month to current date (separate columns for each day).
      Create a Exit variable type range on CALMONTH for this and 
       keep the range as 01-current month(which will be derivefrom     0calday) 
    Thanks,
    Debasish

  • How to create logical columns for current period and prior period

    Hello all.
    Is there any way in obiee to create a new logica column in BMM layer that says "CURRENT PERIOD" AND "PRIOR PERIOD" OR ONE SINGLE COLUMN THAT SAYS "PERIOD".
    In those columns what I need is if it a current period column it shoould have 03/01/2012-03/31/2012 (this month date range)
    and in prior period column I shouldhave 02/01/2012 -02/29/2012(which is previous month date range).These columns I will be using in my reports.
    Please help me if we can create any such columns with these conditions/requirements

    Hi,I have already created he dynamic variables.But I am not getting how to use those variables and create the new logical columns in bmm layer.
    this is what I am trying
    case when VALUEOF("Current Month begin date"."Current Month begin date") ='..' and VALUEOF("Current Month end date"."Current Month end date")
    ='..' then 'current period' end
    I don't really understand what I should write case when VALUEOF("Current Month begin date"."Current Month begin date") ='..'??

  • Report for Material at subcontract AND PO number

    We are preparing for Inventory verification at subcontractors.
    My boss believes it would be easier for the SC vendor if we could supply the PO number for which the material was shipped.
    I haven't found such a report.  Is there one?
    If you know the tables and links, I can write a ABAP query
    Thank you for any help that can be provided.
    Althea

    Hi,
    ME2O works fine if you want to track which subcontracting PO's are still open and what is the current stock at vendor.
    ME2ON is another version of the same basic ME2O report.
    Try also MBLB - Stocks at subcontractor.
    As far as PO to 541 link is concerned, I do not think it is possible to find it unless there is some specific business process being followed which is supported by custom code.
    The reason is that when you issue against 541, you are simply providing materials to vendor that the vendor needs.
    There might be multiple open SC POs for same material/batch and there is no point in tracking against a particluar PO. Its the same material/batch the vendor receives.
    When you post a PGR for a SC PO, then the stock from vendor premises is consumed by 543 and the track to your SC PO is maintained.
    I tried maintaining EBELN as required in OMJJ for 541 but still no MSEG-EBELN is populated. Maybe I am missing something.

  • How run the run the BI Publisher report for current/active/selected record

    Hi,
    I have one requirement to generate a BI Publisher report in Siebel, which will run on SR's List view. Report should fetch the active SR and its audit trial entities. I know this was achieved easily using Actuate (simply setting "current Recrod only" to true), but I need how to achieve this in BI publisher.
    This report we are creating is in Siebel-BI Publisher integrated environment, not connecting to database. Can body give share your valuble inputs.
    Thanks,
    Ravi

    In my experience with Siebel 8.1.1 and BI Publisher 10.1.3.4.0 when you generate a report from a Siebel View the report will show all data visible on the view. If you wish to have only a few particular records in the report you must query for them first in Siebel then generate the report again. There is useful article describing how to generate the report for the current record but it does require some config on the applet.
    [http://siebel-essentials.blogspot.com/2009/05/siebel-bi-publisher-integration.html]
    -Fred

Maybe you are looking for

  • Applications/documents not opening from Finder/Desktop

    iMac 17" 800. I returned home after 3 months away to find the iMac in a mess (it is used by my wife and daughter). I repaired preferences and then found the disk to be not repairable with Disk Utilities. I started as a Target Drive and repaired from

  • Customize interface without touching the source code

    My VP of of marketing is at it again. I have pasted in the exact email that he sent me. If anyone has ideas or suggestions or knows if Forms 9i has this built-in capability, please let me know. Thanks. Can you post this on metalink and see if someone

  • ITunes Extras for Lord of the Rings Extended Edition Bundle

    Hi. I am wondering if anyone knows about how to access the Extras that are supposed to be included with the Lord of the Rings Extended Edition Bundles. On the Store page for the bundle there is a section listing out Extras included but the movies don

  • No Action List Found

    I am trying to download Adobe and no matter what I do it says "no action list found". I have uninstalled the Adobe that I had and thought that might solve the problem. I have tried at least 12 times, I have followed as many of the suggestions as poss

  • Distribute data by reference data

    Hi, requirment as follow: 1actual sale data cube (reference data) 0plant 0article year/week acturalsalesdata D001     00010     2007/01     100.00 D002     00010     2007/01     200.00 D001     00010     2007/02     150.00 D002     00010     2007/02