How to calculate Last year in BEx Report

Hi Experts
I have a requirement to create report in BEx --> report output will be Amount, Diff in percentage(Plan-Actual),Last year
My question how we calculate the Last year and actual minus plan difference in percentage

Hi,
Make use of % functions in query designer to get the desired result.Please search on forum lot of examples will be there.
Hope it helps.
Regards,
AL
Edited by: AL1112 on Mar 7, 2011 4:56 PM

Similar Messages

  • ABAP-HR MODULE(HOW TO CALCULATE AGE & YEARS OF SERVICE)

    HI,
    HOW TO CALCULATE AGE & YEARS OF SERVICE means for example
    I AM USING PNPCE LDB.
    (1) whose age is greater than 52.833 years with 7.833 years of service, with annual rate of pay $170,000 or more, or
    (2) age plus employment service is 65 or more, with annual rate of pay of $ 170,000 or more.
    Note that the $ 170,000 parameter would be a variable that could change annually when this report would be generated. In the past, age and service value were determined as of the run date. The determination date would also be a variable that would change when the report would be generated.
    Thanks&Regards
    Rahul.

    Hi Rahul,
    This is the 2nd warning !!! Please... use the correct or most appropriate forum.
    The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
    This thread will be moved from to .
    You're asking this question in two thread, so the duplicated thread will be deleted.
    Please have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • How to get last column used in report sorting?

    hi,
    how to get last column used in report sorting?
    simon

    How to identifiy which column was sorted having different reports on page?
    just use:
    'YOUR_STATIC_REGION_NAME' instead of p_static_id,
    :APP_ID for p_app_id,
    :APP_PAGE_ID for p_page_id
    :APP_USER_ID for p_app_user.
    and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
    good luck and thank you Juergen.Schuster
    Simon

  • How to copy last year GL Accounts to this year, with out creation

    HI
    Good evening
    How to copy last year all GL accounts to this year. same configarations.(Not manual creations
    urgently i want please
    Ashok kumar
    [email protected]

    HI
    I dont want copy of Chart of accounts i want copy  GL Accounts
    Thank you
    Ashok kumar
    [email protected]

  • How to Calculate last 12 months in webi?

    Hi,
    I am working on a webi report based on oracle. My report table does not have any month field in it. Hence, I created a derived table in the universe for 12 months. Now, in my report I need to calculate last 12 months data. The month and year value will be given by the user and from that date values will be displayed for previous 12 months on a chart.
    Any ideas how achieve this in webi?
    Regards,
    C Mira

    Hi,
    Generally you can get the user values using the UserResponse() function.
    Using this, you can do some basic transformation of the user values for month and year to create a "Year_month_user" variable - e.g. in the format YYYYMM or better yet - create a date variable!
    (using the ToDate() function)
    When this variable is created, you can create a similar variable "Year_month_unv" from the universe objects.
    Then apply a custom filter on your chart with the syntax
    =[Year_month_unv] Between([Year_month_user];RelativeDate([Year_month_user];-365))
    I hope this helps.
    Btw: my first forum post - Yes!
    Edited by: Simon Steiper on Jul 28, 2010 2:25 PM (added the RelativeDate to syntax)

  • How to calculate the data in bex

    Dear all,
                i have a service order no and it current active status  and it time stamp details in my query
    example
    sevice orer no  posting date name    current active status  active status date    part aging
    800000243      15.01.2009   shahina part despatched          A     17.01.2007  
    in my ods i have
    sevice orer no  posting date name    current active status  active status date    part aging
    800000243      15.01.2009   shahina part despatched          A    17.01.2007  
    800000243      15.01.2009   shahina part pending               x    16.01.2007  
    800000243      15.01.2009   shahina part for asp                 x    17.01.2007  
    i want to calulate the aging of part pending to part despatched
    17.01.2009   -   15-01.2009   = 2 days
    i want to display in my bex like this
    sevice orer no  posting date name    current active status  active status date    part aging
    800000243      15.01.2009   shahina part despatched          A     17.01.2007      2
    ( in bex report i want to display only active status )
    can any one help me please to solve this issue
    Regards
    shahina

    Hi vamsi talluri ,
      i working in crm reports ( service ) here i want to calulate the differance between the old status that is inactive status date to part despathed date
    sevice orer no  posting date name    current active status  active status date    part aging
    800000243      15.01.2009   shahina part despatched          A     17.01.2007  
    in my ods i have
    sevice orer no  posting date name    current active status  active status date    part aging
    800000243      15.01.2009   shahina part despatched          A    17.01.2007  
    800000243      15.01.2009   shahina part pending               x    16.01.2007  
    800000243      15.01.2009   shahina part for asp                 x    13.01.2007  
    i want to calulate the aging of part pending to part despatched
    17.01.2009   -   13-01.2009   = 4 days
    i want to display in my bex like this
    sevice orer no  posting date name    current active status  active status date    part aging
    800000243      15.01.2009   shahina part despatched          A     17.01.2007      4
    in bex i am dispaying only active satus but i want calculate diff bet active status which i am dispalying in the bex analyzer and old status whaer the data are available in sercice order ods
    please help me how to perform the calculation
    Regards,
    shahina..!
    ( in bex report i want to display only active status )
    can any one help me please to solve this issue
    Regards
    shahina..!
    Edited by: Shahina A on Jan 21, 2009 6:13 AM

  • How to Calculate Leap Year ago in OBIEE 11g

    Hi Gurus,
    I have one fact table and having one measure column. I have to calculate current year and Last year.
    Using Time series function (Todate,Ago) have calculated current year as well last year also.
    The problem is Current year is showing correct value only but Last year was showing wrong data.
    We found the problem is Leap year, last year FEB month is having 29 dates. Due to this we are getting wrong date.
    Kindly suggest me how to achieve this requirement.
    Thanks

    Hi Gurus,
    How to resolve Leap Year calculation in OBIEE 11g.
    The problems is Year Ago column.
    Please suggest me how to resolve this.
    Thanks

  • Last year sales volume report

    Hi BW Expert,
    I have sales report  the  current primary volume is the CKF dispalying and i have problem last year primary volume is not dispalying . i tried using offset -1(fiscal year period) the values are not diplaying .Can any one suggest how to dispaly the last year values.
    Regards
    sivaraju

    Hi,
    As you have mentioned in post, there is problem with pervious year sales volume report. Are you looking data for entire year, in that case you should offset for fiscal year -1.
    Also you are looking only for one period of pervious year, offset with -12 not with -1. If those restrictions are correct, check if you have fiscal year variant included in query. For offset to work proper you should have the fiscal year variant field in the query.
    only then offset will work fine.
    Hope this helps
    Regards
    Akhan

  • How to calculate totals in Blocked ALV Report

    Hi All,
    Can any body tell how to calculate totals & sub totals in
    Blocked ALV Report[Blocked List].
    Thanks in advance
    Thanks & Regards,
    Rayeezuddin.

    read this it might help
    Sums                                                       
    15. No_sumchoice(1) TYPE c : This parameter allows the choice for summing up
    Only by fieldcatalog.
    Value set: SPACE, 'X'
    'X' = fields which are to be summed, passed by the calling program (FIELDCAT-DO_SUM = 'X'). The user should not be able to change this value interactively.
    16. No_totalline(1) TYPE c : Removes the option of having totals after sub-totals.
    Value set: SPACE, 'X'
    'X' = no total record is to be output. Subtotals can still be calculated and output. The fields in the subtotals are flagged DO_SUM = 'X' in the field list.
    17. No_subchoice(1) TYPE c : Does not allow the user to interactively change the field chosen for subtotals.
    Value set: SPACE, 'X'
    'X' = value whose change triggers subtotals, provided by the calling program. The user should not be able to change this value interactively.
    18. No_subtotals(1) TYPE c : No subtotals possible          
    Value set: SPACE, 'X'
    'X' = no subtotals.
    19. Numc_sum(1)  TYPE c : Totals only possible for NUMC-Fields.
    20. No_unit_splitting TYPE c: No separate total lines by inh.units   
    21.totals_before_items TYPE c: Display totals before the items   
    22. Totals_only(1) TYPE c :  Show only totals      
    Value set: SPACE, 'X'
    'X' = only total records are output.
    23. Totals_text(60) TYPE c : Text for 1st col. in totals   
    Value set: SPACE, string (max.60)
    ' ' = The first column in the total record contains an appropriate number of '*'s to indicate the total by default. If the first column is wide enough, the string 'Total' is output after the asterisks.
    'String’ = The string passed is output after the total indicated by '*', if the column is wide enough.
    24. Subtotals_text(60) TYPE c : Texts for subtotals
    Value set: SPACE, string (max.60)
    ' ' = In the first column of subtotal records, the subtotal is indicated by an appropriate number of '*' by default. If the first column is not a subtotal criterion, the string 'Total' is output after the asterisks, if the column is wide enough.
    'String’ = the string passed is output after the subtotal indicated by '*', if the column is wide enough and the first column is not a subtotal criterion. If it is a subtotal criterion, its value is repeated after the total, if the column is wide enough.
    ELSE TELL ME I WILL PASTE COMPLETE HELP
    regards

  • How to list past data in Bex report

    Hi Expert,
    I have one question.
    business want to list past 24 month history and future value in the Bex report of  the BPS.
    the format as follow
    Cal. year / month               2010.06  2010.07 ........
    Budget Current
    Budget Current Value
    6 month moving avera
    Fcst for Release
    Demand Y-1
    Demand Y-2
    the Demand Y-1 stands for from 07 2009 to 06 2010
    the Deamnd Y-2 stands for from 06 2009 to 07 2008.
    for the above two key figure, I have set as restrict key figure and make a offset , but when I execute the report as calendar month from 06 2010 to 05 2011, the system can not list the past histy.
    do you have any good solution for this requirement?
    Thank you in advance!

    Hi,
    Use Cutromer Exit Variables and do it. see the hlpe on Exit code in below url
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • How to populate Indicators in BW BEx report

    Hi All
        My requirement is we have customised R/3 Report. in this report Status columns are showing Indicators like Green, Red, Yellow icons. How do we populate this data in BEx Report.
    I am planning to extract this data using Generic extraction but how can I display Indicators. Provide some ideas.
    Thanks
    Vani

    Exceptions can very easily be added to your report.
    Have a look at the following to understand how it can be done...
    http://help.sap.com/saphelp_nw70/helpdata/EN/1a/615f64816311d38b170000e8284689/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/21b4cd14cd06f4e10000000a422035/content.htm

  • How to Get last page number in report 10g

    I want to get last page number in report but Current page number found from srw.get_page_num(n)
    but i want to get last page number for conditional formating like this
    srw.get_page_num(current_page)=last_page
    pls help me how can get last page number;
    pls help;
    thanks in advanced;

    Hi,
    you can use the Property Print Object On for this.
    Regards
    Rainer

  • How to  show Blank values in Bex Report

    Hi friends ,
                       In my bex report one of the KF Column having zero's  and Blank values .
    Ex .   Mat     Price
              A         0
              B        
              C        15
                                    when i create a condition  Price > 0 
    Then the given Out put is    
                                            Mat     Price  
                                             C        15    
                                                                       but the required Out put is 
                                                                                                               Mat     Price
                                                                                                                B 
                                                                                                                C        15
    I.e  I have to Remove only zeros and i should show blank values. Could you pls give some Ideas on this .

    Hi friends thanks for response,
    but my requirement is
    Mat                 
    Price1
    Price2
    A
         0
    B
    12
    C
       15
    D
    0
    E
        8
    F
         0
    The Required  Out put should be
    Mat
    Price1
    Price2
    Price3 (1+2 )
    B
    12
    12
    C
    15
    15
    D
    0
    0
    E
    8
    8
    The user don't want see materials Price1 which  is Zero . So  I should remove materials A and F  in Price1 column .
    IF i apply condition on Price1 > 0  in the out put B and D also not displaying bcoz  blank values consider as Zero.
    Can you pls give some ideas how to full fill this Requirement

  • How to get last year records in P&L

    Hii gurus,
    I am creating Profit & Loss report.
    I need to show last year records.
    Please explain.....
    Thanks in advance......
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Sep 27, 2011 2:11 PM

    Hi,
    Better still if you want this to be easily changeable, i.e. not without a repository migration, put the search spec on the Applet in the Application - Personalization screen. In this way you can change the Search Spec in case of Business Requirement change without needing to go through a development cycle. Do not forget to do a Reload Personalization Rules after changing Search Spec to bring this in effect.
    If you have a standard requirement then do it preferably on the Applet so that you can use the BusComp at other locations also without having to deal with the search spec coming in uninvited.
    Thanks and Regards,
    Tanmay Jain.

  • How to calculate financial year

    Hi,
    How to calculate financial yearfrom 01.04.2008 to 31.03.2009.
    regards
    nani

    Hi,
    use the below FM's
    GM_GET_FISCAL_YEAR
    GET_CURRENT_YEAR
    CALL FUNCTION 'GET_CURRENT_YEAR'
    EXPORTING
    BUKRS = '1000' " Company Code
    DATE = SY-DATUM " Date to find fiscal year for
    IMPORTING
    CURRM = w_currm " Current Fiscal Month
    CURRY = w_curry " Current Fiscal Year
    PREVM = w_prevm " Previous Fiscal Month
    PREVY = w_prevy. " Previous Fiscal Year
    but this will help you for a particular company code ACE_CHECK_FISCAL_YEAR
    Thanks

Maybe you are looking for

  • To-do not showing in iCal

    Hi, Finally set up my Mail client and I can't get my to-do's to show up automatically in iCal. Not sure what i am doing wrong...i set a date and choose a calendar but nothing comes up. Any suggestions much appreciated! Thanks

  • Unwelcome caps on first word of each line in Pages 08

    I'm brand new to Pages, though I've used AppleWorks for years. I've searched exhaustively in "helps" for a/the way to disable the quirk of changing the first letter of each line of copy to a cap when typing. (We still 'type' here in the cornfields) I

  • Set up roaming profiles for mac and windows

    So I have a a few macs and some windows pcs. I am using windows server 2008 for the server and I was able to bind the macs to the server. I also did set up the romeing profiles on the server. The thing I am having a issue with is I will like it so wh

  • Any alternate transfer method in oracle

    Hello All, I have been adopted following approaches to transfer data in between oracle database servers: 1. Conventional exp/imp or Datapump 2. CTAS(Create table as) method using database link 3. TTS(Transportable Tablespace) method Conventional exp/

  • Erradic airport connection

    I have a 17in powerbook, and about 20-30min into using it, the internet signal just randomly disappears, it has never not worked after startup only sometime after it shuts down, at times connection will return, other times it wont. I have an ibook th