Calculating the difference for 2 values by  using an Interval variable year

Hi Gurus,
i created a report with one KF using a variable year intervall.
By selecting for e.g intervall [2003-2005] (the intervall is not fix) the report display KF 2003, KF 2004, KF2005.
Now i will like that the report shows dynamically:
KF 2003, KF 2004 = Value of 2004- Value of 2003, KF 2005 = Value of 2005- Value of 2004.
I have only Frontend Access.
Any idea how to do this?

Hello
I found a solution for your problem but this solution will work only if your third group contain the client number.
So I hope this will work for you.
- You have to go in your third group and create a summary column. This column will calculate the total of 'total lease' in source property and reset at 'client number'
- After, you create another summary colunm. This column will calculate the total of 'Lease Paid' in source property and reset at 'client number'
- You create a formula column and you write down this formula:
function CF_1Formula return Number is
temp_num number;
begin
temp_num := :cs_2(lease paid) - :cs_1 (total lease);
return(temp_num);
end;
And after, on your report, you create a text with this formula as source and you put it in the right group.
Hope this will help you
Karine

Similar Messages

  • Error while calculating the net present value

    Dear experts,
    Please help me in solving the following error.
    I am trying to do project vaibility analysis through pre investment analysis in appropriation request, interm I'm trying to calculate the IRR for the project.
    I have created the appropriation request and given all the data in that including the planed values for the project.
    In Variants tab of appropriation request, preinv. analysis sub tab, i have clicked the button Calculate preinvestment analysis figures , ( I hvae not mentioned any values in that screen, its picking the plan cost from the planed values of the appropriation request) there I'm getting an error saying
    Error while calculating the net present value
    If I open the message it is as follows:
    Error while calculating the net present value*
    *Message no. AO215*
    Diagnosis
    An error occurred during calculation of the net present value.
    The yield curve for determining the net present value is not completely maintained. Possible causes are:
    1. Evaluation type IM01 does not exist (table ATSYC).
    2. Yield curve types 9990 (bid) and 9991 (ask) have not been created (table JBD14) for the currency of the controlling area of the appropriation request.
    3. Reference interest rates have not been created for the yield curves (tables T056R and JBD15).
    4. Interest rates are not maintained for the complete planning time period for the reference interest rates.
    5. Under certain circumstances, the standard exchange rate types 'G' and 'B' may be inconsistent.
    Procedure
    Check your Customizing settings:
    1. SAP supplies the evaluation types.
    Remember, SAP supplies the evaluation types in client 000. You have to copy them into your working clients. If you do not have them in your system, you can create them in Customizing for the Treasury component (Treasury Management -> Market Risk Management -> Evaluations -> Define Default Settings). Create evaluation type IM01 with bid yield curve type 9990 and ask yield curve type 9991.
    2. In Customizing for appropriation requests (under Planning), create a bid yield curve type 9990 and an ask yield curve type for the currency of the controlling area of the appropriation request.
    3. Create at least one reference interest rate for each yield curve.
    4. Maintain the reference rates, starting at the minimum fron the point at which you you have planned costs or revenue.
    5. Check Customizing of the exchange rate types 'G' and 'B' in the IMG under Global Settings -> Currencies.
    I have checked all the procedures of the said customization and the values are similar to that of the error message, but still I'm unable to proceed further.
    I have goe through the note 160375, but did not succeed on this issue.
    Can any one help me out in solving the above error and also can any one explain me the process in SAP to calculate IRR?
    Is there any more customization missing or whats wrong going in that process?
    Please help me out...
    Thanks in advance..
    Regards,
    Praveen.

    Are you installing a Demo version of NetWeaver? If so please post your questions and search for answers here: SAP NetWeaver Application Server
    If this a real full blown system please contact the OSS, via the Marketplace (service.sap.com) or by OSS transaction in your SAP System.

  • What's the difference in Apple Mail using "On My Mac" folders vs Export Mailbox?

    What's the difference in Apple Mail using "On My Mac" folders vs Export Mailbox?

    One (On My Mac) is a set of folders, the other is a way to export a mailbox for archiving or transfer to another machine.
    What do you want to do, these are not even similar.

  • Display the 3rd hieghest value without using rowid

    HI All,
    Can any one help me how to display the 3rd hieghest valuer without using a ROWID..
    Thanks
    Basava

    Frank, using ROWNUM = 1 instead of DISTINCT could be a bit faster:
    SQL> SET LINESIZE 132
    SQL> EXPLAIN PLAN FOR
      2  WITH got_r_num AS (
      3                     SELECT  DISTINCT sal,
      4                                      DENSE_RANK() OVER(ORDER BY sal DESC NULLS LAST) AS r_num
      5                       FROM  scott.emp
      6                    )
      7  SELECT  sal
      8    FROM  got_r_num
      9    WHERE r_num = 3
    10  /
    Explained.
    SQL> @?\RDBMS\ADMIN\UTLXPLS
    PLAN_TABLE_OUTPUT
    Plan hash value: 436395657
    | Id  | Operation                 | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT          |      |     9 |   234 |     5  (40)| 00:00:01 |
    |*  1 |  VIEW                     |      |     9 |   234 |     5  (40)| 00:00:01 |
    |   2 |   HASH UNIQUE             |      |     9 |    36 |     5  (40)| 00:00:01 |
    |*  3 |    WINDOW SORT PUSHED RANK|      |     9 |    36 |     5  (40)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL     | EMP  |    14 |    56 |     3   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       1 - filter("R_NUM"=3)
       3 - filter(DENSE_RANK() OVER ( ORDER BY INTERNAL_FUNCTION("SAL") DESC
                  NULLS LAST)<=3)
    18 rows selected.
    SQL> EXPLAIN PLAN FOR
      2  WITH got_r_num AS (
      3                     SELECT  sal,
      4                             DENSE_RANK() OVER(ORDER BY sal DESC NULLS LAST) AS r_num
      5                       FROM  scott.emp
      6                    )
      7  SELECT  sal
      8    FROM  got_r_num
      9    WHERE r_num = 3
    10      AND ROWNUM = 1
    11  /
    Explained.
    SQL> @?\RDBMS\ADMIN\UTLXPLS
    PLAN_TABLE_OUTPUT
    Plan hash value: 21859616
    | Id  | Operation                 | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT          |      |     1 |    26 |     4  (25)| 00:00:01 |
    |*  1 |  COUNT STOPKEY            |      |       |       |            |          |
    |*  2 |   VIEW                    |      |    14 |   364 |     4  (25)| 00:00:01 |
    |*  3 |    WINDOW SORT PUSHED RANK|      |    14 |    56 |     4  (25)| 00:00:01 |
    |   4 |     TABLE ACCESS FULL     | EMP  |    14 |    56 |     3   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM=1)
       2 - filter("R_NUM"=3)
       3 - filter(DENSE_RANK() OVER ( ORDER BY INTERNAL_FUNCTION("SAL") DESC
                  NULLS LAST)<=3)
    19 rows selected.
    SQL> SY.

  • He "seller" resets the iPad for me to use, do I have to get it re-activated or purchase a contract/service plan if I ONLY ever plan to use the iPad for Wifi Only???

    Question to all the pros..I'm looking to purchase an iPad 4g second hand. Once the "seller" resets the iPad for me to use, do I have to get it re-activated or purchase a contract/service plan if I ONLY ever plan to use the iPad for Wifi Only???

    No you don't need a service plan to use wifi. Take special precautions to make sure the seller is the owner. Be sure all their information has been removed properly. If it were me I wouldn't give the person the money until the iPad is registered in my name. I've read too many horror stories of people buying iPads they'll never be able to use because someone else's ID was still on it.

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • Hi, I planned to purchase a laptop for me to use for graphic design ..could let me know which laptop would be the best for me to use ? Thank you!

    Hi, I planned to purchase a laptop for me to use for graphic design ..could let me know which laptop would be the best for me to use ? Thank you! Pro or Air

    Someday - and no one knows when that day will come - maybe all applications will be able to take advantage of the Retina display. But for the present, not many do: including all Adobe applications. There was a demo of Photoshop at the Apple World Wide Developers Conference of Photoshop running at native Retina resolutions but no one at Adobe in marketing is saying when, if or how the upgrade may be coming. It could be a week, it could be a year, it could be 2-3 years. No one knows. And only Apple app's (for the main part) are really utilizing the native Retina display.
    I've seen some demos of some applications (Apple's) that take advantage of the Retina display and they're awesome. But in actually working in the here-and-now I've heard quite a few gripes, particularly on the Photoshop forum, of menus looking pixelated and/or 'blurry' so I'm not quite ready to jump into the Retina display boat just now. Don't get me wrong - others have ad are very, very pleased with their selection. But until Retina displays are available on larger monitors, the maximum work area that you're going to be able to use is 15" - and that's simply not enough room for full-blown graphic design. Then there's the cost factor - for the $4,000+ you spend for a completely full-blown Retina kit, you can get a standard MacBook Pro, 16 GB of RAM, a fast SSD and even the Apple Thunderbolt Display for the same amount.
    The standard MacBook Pro isn't better than the Retina display: it's just different. And I think (and this is only my opinion - other graphic designers should feel free to jump in here) that it's the best computer that you can get for your specific purposes. And, towards that goal, I have to recommend a very good external monitor (there's nothing more annoying than having to use InDesign in a single-page mode rather than side-by-side because your monitor isn't big enough).
    Remember that this is only my opinion and that others might jump in with their own. But I was in the electronic pre-press business for more years than I care to admit and we always - always - worked with at least 19" monitors (and that's back when dinosaurs actually ruled the world).
    I hope that others will jump in with their comments. I'm going to follow this thread and see!
    Good luck,
    Clinton

  • How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    99jon wrote:
    Perhaps it’s a design feature to speed up the Organizer launch.
    I am sure it is.
    - The normal use of the Organizer is not the folder view, it's the thumbnail view with an organization based on categories and folder. That way you should forget completely where your pictures are stored. Anyway, the folder view in the Explorer is not a map of the location of the different bits of your file, it's only a logical representation. That's easy to see when you are doing a defragmentation.
    - The folder view is useful even for those using normally the thumbnail view, but that is only for rare cases when you must change the folder organization, for instance moving files to another drive. The folder view is here to prevent you from changing things from the explorer and outside of the Organizer.
    - The new folder list view, which you find 'funny' is there to help better organizing using tags. Its huge advantage is that such a view is created extremely quickly by extracting the last subfolder in the media table : it's the way the database sees the folders, based on its own content,  totally ignoring the complex folder organization of your disk with media files or any unrelated other kind of data. You should use it in many cases, the main purpose being assigning tags when you have assigned descriptive folder names. I had suggested such a solution to prevent the long standing bugs in the folder view of previous versions.
    So yes, the purpose is:
    - to speed up switching modes
    - to help folder organization fans to migrate to tags organization
    - to hopefully get rid of the old folder organization bugs

  • The surver for e-mail used as Apple-ID is going to shut down.  How do I change my Apple-ID to another server?

    The surver for e-mail used as Apple-ID is going to shut down.  How do I change my Apple-ID to another server/anothe e-mailadress?

    RISEABOVE wrote:
    HOW?
    Change your Apple ID - Apple Support

  • SQL Server Management Studio - Configuring the environment for first time use

    Hi
    I have recently switched my local 'My Documents' folder location to a network drive that I 'make available off line' to allow on-line/off-line work and synchronisation when I am working in and out of the office.
    When I load my SQL Server Management Studio 2005 I frequently get 'Microsoft SQL Server Management Studio is configuring the environment for first time use'.
    Management Studio  them loads and I can continue without problem.
    I am guessing it is trying to make reference to some settings file. Any ideas? I wonder if I can change/move these settings elsewhere to a local drive?
    Thanks

    Hi,
    There is bug report of this issue:
    http://connect.microsoft.com/SQLServer/feedback/details/126364/configuring-enviroment-for-the-first-time-every-time-in-ms-sql-server-management-express
    "SQL Server Management Studio Express saves the settings for the user in ...\Documents and Settings\<User Profile>\Local Settings\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    and in ...\Documents and Settings\<user profile>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    if any of these files are not available or unusable, SSMSE will generate new ones."
    Hope this helps.
    BR,
    JoukoK

  • Calculating the difference between 2 dates that ristrict 0CALDAY

    Hello.
    Is there an oppotunity to calculate the difference between 2 dates, that restrict the characteristic 0CALDAY.
    If i make the formula with
    1. type - replacement path
    2. interval use - difference
    than the difference could be calculated wrong(example 20070301 and 20070101 - result 201)
    Is there another way do solve the problem?
    Best regards,
    Andrey

    Hi,
    as you said, you need to create 2 formula variables.Both of them should have Replacement path as the preocessing type. And then use a formula to do the difference above 2 formula varibles.
    Now check these settings for both variables:
    <b>Replacement Path</b>
    Replace Variable with: <b>Key</b>
    For Intervals Use: <b>From Value</b>
    <b>Currencies and Units</b>
    Dimension ID: <b>Date</b>
    Then it should work
    Another link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/03/6ba03cc24efd1de10000000a114084/frameset.htm
    regards
    marc
    assign points if it helped

  • Tints and CYMK - Whats the difference for screen display and print

    Hi,
    What is the 'technical' difference between a tint and CYMK? For example, if i create a box with a fill of C:0 Y:0 M:0 K:40 is this the same as a black fill with 40% tint?
    Knowing that all screens and printers give different results, is the difference even noticeable? What about 'best practice' / 'industry standard'?
    Workflow/context- I create artwork (documents with combinations of images, graphics and text) in either Ai or ID which all go to PDF and I present them either on screen or through print (regular printer - none of my printed artwork use printing plates).
    Thanks for your advice in advance.

    A tint is just a lighter version of your swatch, so yes, 0,0,0,40 CMYK is exactly the same as using the [Black] swatch and setting the tint field in the panel down to 40% or creating a tint swatch with a 40% value.
    Not all colors are CMYK. On screen you use RGB and most desktop printers expect RGB data as well. On press you might use spot color inks if you have only one color and tints of that color to add, or you need some color that can't be easily produced in CMYK in a full-color job. You probably shold not be using spot color in your work since you don't go to press and printer simulations of many spot colors are quite bad. You'll find the really saturated colors tend to be out of range for most printers, too, if you use RGB, but if you can accept that your printed output may not match the screen (and unless everything in the workflow is calibrated, including ALL the monitors you might be working with and all the printers you might use for output, output on remote devices probably won't match what you see on your own monitor and printer), I would design for the screen if that's the primary presentation and let those out-of-gamut colors geet clipped in print.
    Printing tints is a little trickier than you might think. Dot gain (how ink spreads as it is absorbed into paper) tends to make tints seem a little darker in print.

  • How to calculate the difference between values in a custom PSObject?

    If I have a PSObject (created from an imported CSV) that has data like the following:
    date,Total size of files uploaded
    03-17-2014 09:08,1293334574547
    03-17-2014 09:10,1293335326912
    03-17-2014 09:13,1293336523562
    03-17-2014 09:14,1293337541156
    03-17-2014 09:16,1321031223511
    03-17-2014 09:16,1321032156844
    This CSV will have lines added to it, so the total number of lines will vary.
    Is there a way that two most recently added values and calculate the difference of the "Total size of files uploaded" values? 
    I have the columns properly cast as datetime and
    int64 already using this:
    $csv = Import-Csv $csvLocation |
    Where-Object { ![string]::IsNullOrWhiteSpace($_.datetime) } |
    Foreach-Object {
    $_.datetime = $_.datetime -as [datetime]
    $_."Total size of files uploaded" = $_."Total size of files uploaded" -as [int64]
    $_ }
     I tried searching thinking surely there must be someone else who has tried to do this" but I cannot find anything. I am just not sure how to approach this problem. Any help would be appreciated!

    Assuming all of your records are sequential with the last two being the most recent you could use this:
    $csv = Import-Csv $csvLocation |
    Where-Object { ![string]::IsNullOrWhiteSpace($_.datetime) } | select -last 2
    Foreach-Object {
    $_.datetime = $_.datetime -as [datetime]
    $_."Total size of files uploaded" = $_."Total size of files uploaded" -as [int64]
    $_ }
    $Difference = $csv[1]."Total size of files uploaded" - $csv[0]."Total size of files uploaded"
    This uses the index of the imported array and just the last two records.  Note that this will give a negative value if the total is less in the later record.  Hope this helps!
    You could also use 
    | sort datetime -ascending | select -last 2
    if they aren't already in order...

  • Whats the difference for Technology Consultant for Web AS and  SAP IT Excel

    Hi all,
    I would be going for SAP Web AS Certification.
    I found two similar certifications
    1) SAP IT Excellence Certification
    SAP IT Excellence Web AS Administrator for Oracle
    URL :
    https://websmp108.sap-ag.de/~sapidp/011000358700006422322006E
    2) SAP Consultant Certification
    Technology Consultant SAP NetWeaver ‘04 – SAP Web AS for ORACLE
    URL
    https://websmp108.sap-ag.de/~sapidp/011000358700000210952005E
    The course contents for both the certificatiosn are very similar. So I would like to know whats the difference between the two certifications and as an SAP basis administrator which one should I go for ?
    Thanks.
    Sandeep.

    Hello Sandeep,
    this forum is about software product certification and not consultant certification.
    Please post your question in the Forum: SAP Certified Professionals
    SAP Certification
    To start getting a SAP certified consultant please have a look at this page:
    http://www.sap.com/services/education/
    On this page look for "User Education" and "Certification Program" on the left navigation column.
    You first need to select your country location below and then get in contact with the responsible person within your country to apply for the education or certification program.
    Hope this information was useful for you.
    Have fun,
      Juergen

  • Facing problem while calculating the difference between the two dates?

    Hi
    I am using this code to calculate the difference between the two dates :
    import java.util.Calendar;
    import java.util.*;
    public class DateDifferentExample
    public static void main(String[] args)
    // Creates two calendars instances
    Calendar cal1 = Calendar.getInstance();
    Calendar cal2 = Calendar.getInstance();
    // Set the date for both of the calendar instance
    cal1.set(2006, 12, 30);
    cal2.set(2007, 05, 03);
    // Get the represented date in milliseconds
    long milis1 = cal1.getTimeInMillis(); // getting error here
    long milis2 = cal2.getTimeInMillis(); // getting error here
    // Calculate difference in milliseconds
    long diff = milis2 - milis1;
    // Calculate difference in seconds
    long diffSeconds = diff / 1000;
    // Calculate difference in minutes
    long diffMinutes = diff / (60 * 1000);
    // Calculate difference in hours
    long diffHours = diff / (60 * 60 * 1000);
    // Calculate difference in days
    long diffDays = diff / (24 * 60 * 60 * 1000);
    System.out.println("In milliseconds: " + diff + " milliseconds.");
    System.out.println("In seconds: " + diffSeconds + " seconds.");
    System.out.println("In minutes: " + diffMinutes + " minutes.");
    System.out.println("In hours: " + diffHours + " hours.");
    System.out.println("In days: " + diffDays + " days.");
    but i am getting this error :
    The method getTimeInMillis() from the type calendar is not visible
    Please suggest!!

    // Get the represented date in milliseconds
    long milis1 = cal1.getTime().getTime(); // getting error here
    long milis2 = cal2.getTime().getTime(); // getting error here Hope this works for you!!

Maybe you are looking for

  • Error in parked invoice document - Error in routine MRM-DRSEG_CR_CREATE

    Hi... I have parked a invoice document against a Service entry sheet. The invoice document has been parked but when going to MIR4 in change mode system is throwing an error message pop as Error in routine MRM-DRSEG_CR_CREATE. The SES which has been c

  • Installing Oracle 10g enterprise edition on Win XP professional

    Hello everybody, I have the LAN's ip address set to 192.168.0.5 during installation. In addition, I'm using WiFi to connect to the internet at the same time - is this going to cause a confusion on the host ip because I have LAN and WiFi turned on? I

  • What is directory where I can put in jar file without specify classpath ?

    hi, Is there any directory in weblogic similar to the directory of WEB-INF/lib/ where I can throw a jar file in without specify classpath explicitly. The reason I'm looking for such directory is : -- I do not want to specify classpath explicitly -- I

  • Page no in script

    Hi,   I created one window that is inserted in a page. After that i inserted page through insert->system symbols ->ttxsy. But page no is not displayed in my script. Regards Srinu

  • How to insert record inside the internal table in below code

    Hi all, My requirement is to find the sub-total and need to insert in between the internal table. You can see the output ....where I want the sub-total F2 when 1 & 2 combindely , 3 , 4& 5 combindely .Please check it and let me know is it possible whe