Calculation of interest amount with two variables formula

Hello everyone,
Iu2019m facing a problem with the way that TRM calculate the interest amount for money market transaction when I have a formula with two variable, e.g. reference interest rate u201CXu201D multiplied by 0,98.
Some contracts explicitly say that to obtain the u201Cdaily interest rateu201D of the contract firstly the u201Cdaily interest rateu201D of the reference interest rate must be calculated and then apply a index or factor (e.g. 0,98). In the other hand some contracts says that it should be done the other way around. Iu2019ve noticed that TRM calculate the interest amount using the first way.
Is there any way to set which the way the interest amount should be calculates?
Has anyone faced similar problem?
The examples below illustrate the difference in the two ways to calculate interest amount.
Considering the following money market transaction:
1. Borrowing structure:
1.1. amount: USD 1.000.000,00
1.2. flow type: 1105 u201CBorrowing/Increaseu201D
2. Term (only one day to simplify the example)
2.1. Start date: 30.01.2011
2.2. End data:   31.01.2011
3. Interest structure:
3.1. Interest form: VARIABLE ( formula = Z1 * 0,98), where u201CZ1u201D is a reference interest rate
3.2. condition type: 1200 u201CNominal interestu201D
3.3. Interest calculation method: ActW/252
Considering that Z1u2019s annual interest rate in 30.01.2011 is 11,66%, TRM would perform the following calculation:
1. Contract annual interest rate (%) = Z1*0,98 = 11,66 *0,98 = 11,42680000%
2. Convert from u201CContract annual interest rate (%)u201D  to number = 1,11426800
3. u201CContract daily interest rateu201D = 1,11426800 ^(1/252) = 1,00042945
4. Convert from u201Cnumberu201D to Day interest rate (%)  = 0,04294481%
5. Interest amount = u201CContract daily interest rateu201D * Borrowed amount = 0,04294481% * 10.000.000,00 = 4.294,48
In the other hand, some contracts say that the interest rate should be calculated in the following way:
1. Annual interest rate (%) = 11,66  = 11,66000000%
2. Convert from u201CAnnual interest rate (%)u201D  to number = 1,11660000
3. Daily interest rate = 1,11660000 ^(1/252) = 1,00043775
4. Convert from u201Cnumberu201D to Daily interest rate (%)  = 0,04377480%
5. Calculate u201CContract daily interest rateu201D = 0,04377480% * 0,98 = 0,04289930%
5. Interest amount = u201CContract daily interest rate (%)u201D  * Borrowed amount = 0,04289930% * 10.000.000,00 = 4.289,93
With this simple scenario  we end up with a USD 4,55 difference for a single day, but for big contracts of hundred millions and for several years the difference is quite  huge.
Thanks in advance ..
Giuliano

Hi,
with Product Category 550 you can have both scenarios:
for the 1st case you can use a formular (e.g. EONIA * 0,98)
=> interest for 1 day: 462,70 EUR
for the 2nd case you can use the field Variable Interest Rate (EONIA) + field Payment Rate (98)
=> interest for 1 day: 453,44 EUR
Is this, what you are looking for?
Regards,
Lorenz

Similar Messages

  • How can I blur a image with two variables : degree and radius?

    how can I blur a image with two variables : degree and radius?
    a lot of thanks !

    What are the values of these variables supposed to represent?

  • Calculating a Leap Year with a FOX Formula

    Hi to everybody.
    Is it posible to calculate a leap year using BPS in BW 3.5 with a FOX formula?
    The code i need to write is something like this:
    if ((year % 4 == 0) AND ((year % 100 != 0) OR (year % 400 == 0)) then
      it is a leap year;
    else
      it isn´t a leap year;
    endif;
    The problem i have is that my variable year is an standard type 0CALYEAR and I cannot do i.e.
    Year MOD 4, and save this value to an integer because 0CALYEAR and INTEGER are different types of variables.
    Any idea?
    Thanks in advance!
    Edited by: Ivan Lopez on Jan 15, 2008 5:24 PM
    Edited by: Ivan Lopez on Jan 15, 2008 5:24 PM

    Hi,
    Eventhough variable is on the characteristic 0CALYEAR, you can assign the variable value to an integer in FOX.
    Declare a local variable of type integer.
    DATA YEAR TYPE I.
    YEAR = VARV(variable).
    Now you can do MOD operations on YEAR.
    Regards,
    Bindu

  • Need to view all records with two variables in recordset

    Hi - My recordset has two variables used to sort products by popularity and type.  But I want a "View all" link that shows all records, in ascending order, regardless of popularity or type.  At the moment the .php page is set up to receive either the popularity (varPopular) variable or the product type variable (varGrouping).  If neither variable is provided, no products appear on screen.  How do I set up the recordset to allow for all records to be displayed?  Thanks for your help!
    [CODE]
    $varPopular_Recordset1 = "n";
    if (isset($_GET[popular])) {
      $varPopular_Recordset1 = $_GET[popular];
    $varGrouping_Recordset1 = "1";
    if (isset($_GET[grouping])) {
      $varGrouping_Recordset1 = $_GET[grouping];
    mysql_select_db($database_connGiavan, $connGiavan);
    $query_Recordset1 = sprintf("SELECT crystal_colors.cystalid, crystal_colors.displayname, crystal_colors.imagename, crystal_colors.popular, crystal_colors.`grouping` FROM crystal_colors WHERE crystal_colors.popular=%s OR crystal_colors.grouping=%s", GetSQLValueString($varPopular_Recordset1, "text"),GetSQLValueString($varGrouping_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $connGiavan) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $varGrouping_Recordset1 = "$_GET[grouping]";
    if (isset($_GET[grouping])) {
      $varGrouping_Recordset1 = $_GET[grouping];
    $varPopular_Recordset1 = "$_GET[popular]";
    if (isset($_GET[popular])) {
      $varPopular_Recordset1 = $_GET[popular];
    mysql_select_db($database_connGiavan, $connGiavan);
    $query_Recordset1 = sprintf("SELECT crystal_colors.cystalid, crystal_colors.displayname, crystal_colors.imagename, crystal_colors.popular, crystal_colors.`grouping` FROM crystal_colors WHERE crystal_colors.popular=%s OR crystal_colors.grouping=%s", GetSQLValueString($varPopular_Recordset1, "text"),GetSQLValueString($varGrouping_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $connGiavan) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    [Moved to Dreamweaver Application Development forum by moderator]

    To start with, you should be aware of the fact that you have the same recordset code twice in your page.
    You'll find an article that explains how to build a SQL query to do what you want here: http://cookbooks.adobe.com/post_Create_search_query_with_optional_fields-16245.html.

  • Convert amount with four decimal places to amount with two decimal places

    Hi,
    for specific reasons we have set the prices to four decimal places. However, in an invoice the staff needs to see all prices with two decimal places. Therefore I have created new user-defined fields which should show the rounded values However, I have not yet found the right formatted search that outputs the value with two decimal places including currency symbol.
    The statement 
    SELECT $[$38.20.NUMBER]
    outputs the value with two decimal places which is fine, but it does not contain the currency.
    The statement
    SELECT $[$38.20.0]
    outputs both value and currency, but the value still has four decimal places as the original price.
    And the statement
    SELECT CAST($[$38.20.NUMBER] AS VARCHAR(20)) + $[$38.20.CURRENCY]
    outputs a value with even six decimal places.
    Did anyone already have the same problem???
    Or does anyone have any idea???
    Thanks and regards
    Corinna

    Hi again,
    the value should be displayed in a user-defined field of the screen.
    The result of the query
    SELECT $[$38.20.NUMBER]
    has already two decimal places, so that I do not need a round here. But the currency is missing.
    When I add the round function to the query
    SELECT $[$38.20.0]
    it does unfortunatly result in an error.
    Any ideas????
    Thanks so much in advance!

  • Query with 2 variables

    I have a query with two variables (Employee and Date). The query is working fine if both of the variables are check and values assigned. But if only one variable is checked and a value assigned then the query will return 0 results. Is it possible that the query cannot work with only one variable out of the 2? Do I need a workaround or am i doing something wrong?
    Here is the query:
    SELECT T0.DocNum, T0.DocDate, T0.DocDueDate, T0.CardCode, T0.CardName, T0.Address, T0.DocTotal, T0.U_Employee, T1.firstName,T1.lastName,  T0.Comments FROM OVPM T0 LEFT JOIN OHEM T1 ON T0.U_EMPLOYEE = T1.FIRSTNAME' 'T1.LASTNAME WHERE T0.DocType = 'A' AND T0.U_EMPLOYEE = [%0] AND T0.DocDate =[%1].
    Thank you so much for your help,
    Irina Stanca

    AFAIK, at least with 'complex queries' unchecked parameter gets
    some default/blank value. Therefore, you should allow default values in your
    WHERE clause.
    You want: WHERE T0.COL = @VAR
    You write: WHERE (T0.COL = @VAR OR [logical test for @VAR is a default value])
    Snippets like this may help you in finding out that default value:
    -- snip --
    /SELECT FROM [dbo].[OHEM] T9/
    declare @VAR_EMPL as char(20)
    /* WHERE */
    set @VAR_EMPL = /* T9.lastName */ '[%0]'
    /SELECT FROM [dbo].[OVPM] T8/
    declare @VAR_DATE as char(20)
    /* WHERE */
    set @VAR_DATE = /* T8.DocDate */ '[%1]'
    SELECT '@VAR_EMPL: ' + '|' + @VAR_EMPL + '|' +  '@VAR_DATE: ' + @VAR_DATE + ' DATEDIFF: ' + cast(DATEDIFF(day, CAST('1900-01-01' as datetime), CAST(@VAR_DATE as datetime)) as varchar)
    [/code]
    -- snip --
    Yes, it looks like the default value for dates is '1900-01-01'.
    Therefore, you may want to code this way
    .. WHERE (DocDate = @VAR_DATE OR DATEDIFF(day, CAST('1900-01-01' as datetime), CAST(@VAR_DATE as datetime)) > 0)
    I also noticed a date-related issue that may cause problems in complex queries
    if you work with dates from last century AND if your date format in B1 is YY instead of CCYY:
    you enter 1907 and B1 interprets it as 2007.
    HTH
    Juha

  • /102 u2013 401K wagetype calculated double amount  when two hourly rates used

    Dear Experts,
    I have got an issue. Employee has been paid (us payroll) with two different hourly rates within a pay period in IT0008
    i.e. For example: 01-sept-2011 to 14-sept-2011 is a payroll period in that 1-sept-2011 to 8-sept-2011 one entry created in IT0008 and another entry created from 09-Sept-2011 to 31-Dec-9999.
    Now when the payroll ran for the employee in that pay period, /102 u2013 401K wage base amount calculated double amount in the RT. In all other payroll periods it is working fine.
    Could you please tell me the reason why /102 wage type calculating double amount when two hourly rates mentioned in a pay period. Also please suggest the solution to fix this issue.
    Thanks in advance
    Regards,
    Sreenivas.

    Hi,
    For few Union Deduction wts, following are the relevant PCRs found. Processing Class 76 is blank for Union deduction wts.
    PCR - ZA00
    Recurring payments/deductions and supple
        VWTCL 76   Processing class
            VAKEYPAYTY Payroll Type
                GCY ZCLM   With exact w.types
              A
              B
          1
            VAKEYPAYTY Payroll Type
              A
                GCY U111   With exact w.types
              B
    PCR - ZCLM
          WGTYP?     Query wage type
              GCY U111   With exact w.types
      6606
        NUM= ANZHL Set
        ADDWT *    OT   Output table
      6608
        GCY ZUNN   With exact w.types
      6609
        NUM=1.0    Set
        ADDWT *    OT   Output table
    PCR - ZUNN
        AMT=& REGR Set
        NUM=& REGR Set
        DIVID ANR  Division amt/no/rate
        NUM=2.5    Set
        MULTI RNA  Multipl.amt/no/rate
        ROUNDG 100 Round AMT to next
        ADDWT&ZUNI VAR  Variable table
        VAKEYZEINH Time unit in v.key
            VWTCL 47   Processing class
                VWTCL 10   Processing class
                    OPIND      Operation indicator
                    ELIMI A    Elim.time period ID
                    WPBPC      for all WPBP
                  0
                    OPIND      Operation indicator
                    ADDWT *    OT   Output table
    Regards,
    Sreenivas

  • Formula node with global variable

    Hi,
    I am tring to use formula node with global variables as an input and output,
    but this is where I see the SW hangs forever.
    By the way I am a novice to the labview.
    Can some give me hint why this is happening?
    Thank you in advance,
    Do
    Solved!
    Go to Solution.
    Attachments:
    formula_node_wGlobalInputOutput.JPG ‏281 KB

    Well, the first case of the two loops has a direct LabVIEW translation like this:
    However, just because that's the direct translation doesn't mean that's what you should be doing. In the formula node it seems as if you were copying elements from one array to another. Element-wise operation on arrays via loops can be quite inefficient in LabVIEW. Often one can operate in place with arrays, and an operation that would require two loops in a language like C would actually require no loops in LabVIEW. In fact, with the above example, even if you were to use loops, arrays can auto-index for-loops so you don't even need to wire the constants to the N terminals to tell the loop(s) how many times to run.
    Can you describe what you're trying to accomplish? There's likely to be a more natural way to do it in LabVIEW that would require no loops. Have you gone through the tutorials? You can also look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

  • Calculation of Interest on Security Deposits Maintained with Vendors

    Hi Friends,
    We have some problem on Line Item Interest calculation.
    We want to calculate Interest on Security Deposits(Spl GL) given to Vendors.
    There is no Interest on Normal Items.
    When we run Interest (f.47) it not calculating on cleared items eventhough we select interest for all items.
    Example:
    We paid Deposit on 01.01.2007 an amount of $10000
    We recieved back total amount of Deposit($10000) on 15.02.2007
    and when we run interest run (f.47) its not calculating any interest.
    But we want to calculate interest for the period  the deposit outstanding i.e. from 01.01.2007 to 14.02.2007.
    Can any one help us in this regards,
    Thanks in Advance,
    Purnachandra RM
    null

    Hi
    You may like to check the config from the below angles :
    1) interest payment is produced if the credit interest (because of interest calculated on items paid before the due date) is greater than the debit interest.
    2) Calculate interest on items paid before due date
    Indicator which means that credit interest is calculated for items paid prior to their due date, provided that the item paid was not subject to a cash discount. Interest is calculated using credit interest rates.
    Note
    The system calculates credit interest only on those clearing transactions where all payments were made before the due date. If you do not select this option for those transactions then the items are ignored.
    This option has no effect in the case of clearing transactions where payments are made both before and after the due date. For transactions such as these, interest is always calculated on the basis of debit interest.
    For partial payments and down payment offsetting items that are made before the due date of the invoice, interest is calculated from the document date if this indicator is set. If it is not set, interest is calculated from the due date of the invoice.
    3) Calculate Interest as of Due Date for Net Payment
    Indicator which means that interest is calculated as of the due date for net payment; otherwise, you pay interest as of the settlement period lower limit (if the due date for net payment is before it) or as of the date of the last (according to the master record) interest caluclation (if the corresponding parameter is set).
    Regards
    S

  • How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?, How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?

    How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?, How do I create a graph with two different y-axis variables with the same x-axis (therefor having two curves)?

    Hi Libby,
    Select all three columns of data. All three must be 'regular' columns, not Header columns, and the X values must be in the leftmost column.
    Click the Charts button and choose the Scatter chart.
    The resulting chart will initially show only the first and second columns of data, and the selection will have been reduced to show this.
    Click the gear icon at the top left of the selection and choose Share X Values.
    You should see a result similar to this:
    Notes:
    The values on my sample table contain a random element, so they have changed from thhe first image to the second.
    The chart is as created by Numbers, with two edits:
    Data points have been connected with curves, using the Chart nspector.
    The curves were selected and their stroke increased to 2pts, using the stroke formating button in the format bar.
    Regards,
    Barry

  • Interest calculation on overdue amount payable to vendors

    hi gurus
    i have a doubt on interest calculation on overdue amount payable to vendors,can you tell me interest calculation procedure.

    hope below link are useful"
    http://www.sap-basis-abap.com/sapfj001.htm
    http://help.sap.com/bestpractices/BBLibrary/Documentation/J03_AR_BPP_05_EN_SG.doc
    pls assign points as way to say thanks

  • Can anyone explain with senairio for formula variables with replacement  pa

    can anyone explain with senairio for formula variables with replacement  path?

    See the below link
    An Example for Replacement path
    http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
    Document Count using Replacement path
    I've explained the steps in this thread.
    Query formula-Counter???
    Example for Replacement Path: Characteristic Variable.
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
    Variable Replacement Example
    http://help.sap.com/saphelp_nw04/helpdata/en/af/809528939d5b4fbff7e16a5bdc0d85/content.htm
    Formula Variable.
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/5f9ac61a205a459d0e7ef313d10321/content.htm
    Regs
    Gopi
    Assign points if it helps

  • Pls tell me the exact formula for calculation of Safty Stock with quality example

    Pls tell me the exact formula for calculation of Safty Stock with quality example

    Hi Devendra,
    safety stock is a quantity of stock which should be planned to be in inventory to protect against fluctuations in demand or supply. Therefore it is considered in planning.
    The Product Planning Details screen is mainly a planning screen, giving an overview on the planning situation for a product in a planning area. The projected stock reflects the planning behavior, displaying the shortages relevant for the planning run.
    As the safety stock has to be always in stock, the projected stock takes it into account as an immediate demand. That is why it reduces the projected stock, for example, if the stock on-hand is 0, then the initial planning situation for the product with a safety stock shows a negative projected stock.
    For more information please check the help document “Material Planning Settings “ under section safety stock which explain with pictorial rep.
    hope it help you.
    Regards,
    Suresh

  • Need Help With Combining Two Variables For A Redirect

    Hello-
    <br />
    <br />In a different part of my site (built with ADDT) I have this script that creates a variable by combining two session variables, and then the new variable is submitted into a mysqul database table using a hidden form field:
    <br />
    <br />
    <form>
    <input type="hidden" name="exerreference" id="exerreference" value="<?php echo $_SESSION['kt_login_user']; ?><?php echo $_SESSION['kt_exer_reference']; ?> <br />" />
    <br />
    <br />There is also this part of the script in the header script:
    <br />
    <br />$ins_exer1-&gt;addColumn("exerreference", "STRING_TYPE", "POST", "exerreference");
    <br />
    <br />What I am trying to do now on another page is combine a session variable "kt_login_user" with a piece of dynamic text "AA" so that I can compare it to the field "exerreference" that was inserted into the database using the above script. If the two variables match, the idea is to have a redirect to another page.
    <br />
    <br />So in a hypothetical example, if the value of the session variable "kt_login_user " is "bestperson," and static text is "AA" then I need to create the variable bestpersonAA (because this is how the variables exist in the exerreference recordset). This variable bestpersonAA then needs to be compared to the recordset value exerreference and if they match, the page redirects to ../previous/portalpre.php. If the two variables do not match, then there is no redirect.
    <br />
    <br />Here is what I have so far:
    <br />
    <br />if (isset($_SESSION['kt_login_user']))
    <br />{
    <br />if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    <br />{
    <br /> header ("Location: ../previous/portalpre.php");
    <br />}
    <br />}
    <br />
    <br />The script doesn't work yet - it's redirecting regardless of if the two varibles match. Any ideas on the correct syntax to get this working correctly?
    <br />
    <br />Thanks
    <br />Dale</form>

    Hi Dale,
    if ($_SESSION['kt_login_user'.'AA'] = $row_Recordsetexer1['exerreference'])
    for checking whether two variables match, you´ll need the == comparison operator:
    if ($_SESSION['kt_login_user'.'AA'] == $row_Recordsetexer1['exerreference'])
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Fgv with two types of variables

    it goes something like this
    i want the FGV to have a cluster of two 1D arrays of double (that will be the FGV variable). and the data that i'm "adding" is a double number/constant (whatever), this will be the added variable.
    the main idea is that i want to be able to select to which one of the two i'm adding the additional number and i think it's pretty easy to accomplish with case structure and a simple boolean control (reference), that is what i've done.
    the problem is that if i don't connect anything to the shift register of the FGV labview doesn't recognize it as the FGV variable i've described and if i do, it's an additional input which i don't want to use later.
    in theory, i can make my additional variable to also be a cluster with two 1D arrays of type double within, however, since my input consists of only one number, i'm not sure how to accomplish it.
    thanks in advance.
    it would be good to know if something like this is even possible. (first option)
    Solved!
    Go to Solution.

    I'm not sure what you are looking for.  Something like this?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Two Array FGV.png ‏15 KB

Maybe you are looking for

  • TXT Files in Design View

    I use a lot of TXT files as INCLUDE files in various pages. When I used Dreamweaver 4 I had no problem editing a TXT file just like any HTML file and using DesignView. When I get going with Dreamweaver MX2004 I figured out how to do it. But I had to

  • Oracle Files Customization?

    Can Oracle Files be customized with the Oracle Content Management SDK? Specifically I need Oracle Files to work with Oracle Label Security. I also want to drive searching according to document classification level and user classification, show docume

  • Interface through XI or P2P - How to decide?

    We are in the process of implementing XI for a client. The client currently has about 600 point to point interfaces connecting more than 200 applications to SAP (and to each other). We are in the process of routing these point-to-point interfaces thr

  • CSS problem in WPC

    Hi community,    I am implimenting styles in my WPC pages through XSL. I am using the following code in XSL: <span style="font-family:arial;color:#0267fe;font-size:16px"/> xml data </span> The resultant text has the specified color, but the font stle

  • Cannot share Calendars - 400 error

    When I try to share a calendar I get this message: The request for account "iCloud" failed. The server responded with "400" to operation CalDAVUpdateShareesQueuableOperation. Any ideas on this?