How to calculate penalty interest on customer

hi sap guru's
how to calculate penalty interest on customer. what type of settings for  required to calculate . pls tell me.

Hi Shiva
You have options like Balance interest calculation or item level interest calculation.  You can configure the setting as per your requirement and you can charge interest on default customers.
Thanks
Ashok
Assign points for useful answer

Similar Messages

  • How can I calculate the interest percentage dynamically?

    Hi All,
    Please look at these tables (Customer and Rates), having some sample data. I've created a function for returning the interest percentage for a particular customer based upon his/her investment start date and end date. I'm getting the desired result but I'm wondering if I need calculate the composite interest here...then how can I do that? Suppose a customer has invested some amount for 45 days, then I need to calculate the interest for initial 30 days as 5% and additional 15 days as 6% and I need to give the final amount. In this case how can I pull this task off? Please give me some ideas and correct me if I'm wrong. I just want to know how can we do this interest calculation by an Oracle program?
    Regards
    BS2012
    Customer Table
    CUSTOMER_ID     AMOUNT     START_DATE     END_DATE
    1000             40000     15-JAN-13     15-FEB-13
    1001             34000     15-DEC-12     15-FEB-13
    1002             35678     15-NOV-12     15-FEB-13
    Rates Table
    RATE_PCT     LOW_TENURE     HIGH_TENURE
    5                    0     30
    6                    0     60
    7                    0     90
    CREATE OR REPLACE FUNCTION
    F_INTEREST_PCT (V_CUSTOMER_ID IN CUSTOMER.CUSTOMER_ID%TYPE)
      RETURN NUMBER AS V_RATE_PCT NUMBER;
      BEGIN
        SELECT A.RATE_PCT INTO V_RATE_PCT
        FROM RATES A, CUSTOMER B WHERE (B.END_DATE - B.START_DATE) BETWEEN A.LOW_TENURE AND A.HIGH_TENURE
                                   AND B.CUSTOMER_ID = V_CUSTOMER_ID;
        RETURN V_RATE_PCT;
      EXCEPTION
        WHEN NO_DATA_FOUND THEN
        ROLLBACK;
        DBMS_OUTPUT.PUT_LINE(SQLERRM);
        WHEN OTHERS THEN
        ROLLBACK;
        DBMS_OUTPUT.PUT_LINE(SQLERRM); 
      END F_INTEREST_PCT;

    BS2012 wrote:
    Hi All,
    Please look at these tables (Customer and Rates), having some sample data. I've created a function for returning the interest percentage for a particular customer based upon his/her investment start date and end date. I'm getting the desired result but I'm wondering if I need calculate the composite interest here...then how can I do that? Suppose a customer has invested some amount for 45 days, then I need to calculate the interest for initial 30 days as 5% and additional 15 days as 6% and I need to give the final amount. In this case how can I pull this task off? Please give me some ideas and correct me if I'm wrong. I just want to know how can we do this interest calculation by an Oracle program?
    Regards
    BS2012
    Customer Table
    CUSTOMER_ID     AMOUNT     START_DATE     END_DATE
    1000             40000     15-JAN-13     15-FEB-13
    1001             34000     15-DEC-12     15-FEB-13
    1002             35678     15-NOV-12     15-FEB-13
    Rates Table
    RATE_PCT     LOW_TENURE     HIGH_TENURE
    5                    0     30
    6                    0     60
    7                    0     90
    CREATE OR REPLACE FUNCTION
    F_INTEREST_PCT (V_CUSTOMER_ID IN CUSTOMER.CUSTOMER_ID%TYPE)
    RETURN NUMBER AS V_RATE_PCT NUMBER;
    BEGIN
    SELECT A.RATE_PCT INTO V_RATE_PCT
    FROM RATES A, CUSTOMER B WHERE (B.END_DATE - B.START_DATE) BETWEEN A.LOW_TENURE AND A.HIGH_TENURE
    AND B.CUSTOMER_ID = V_CUSTOMER_ID;
    RETURN V_RATE_PCT;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    ROLLBACK;
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    WHEN OTHERS THEN
    ROLLBACK;
    DBMS_OUTPUT.PUT_LINE(SQLERRM); 
    END F_INTEREST_PCT;
    You will need to work out a formula or process to get the results you want, then write the code to do what you devise. When I have to do something hard it helps to write out what I want to do in psuedocode that I alter translate to real code. Let's say I want to do a factorial (1 * 2 * 3 * 4 ...) could be something like
    get limit value
    set factorial to 1
    foreach loop value from 1 to limit
      multiply factorial by loop index
      v_factorial_n := 1; --set factorial to 1
      for i in 1..p_limit_n loop --p_limit_n defined elsewhere
        v_factorial_n := v_factorial_n * i;
      end loop; --loop to compute factorial
    . . .

  • How sap calculate the arrears interest?

    Hi All,
    I am doing the configuration about arreas interest.
    My configuration:
    Interest Type:Item interest calculation
    Calendar type:30/360
    Time-based Terms:
        Credit interest: arrears interest calc
        Premium:0
    Reference Interest Rate Values:1.0
    I make some tests.
    overdue day: 1 day
    overdue_amount |interest|increased_interest
    1000           | 0.834  |            
    2000           | 0.917  | 0.083
    3000           | 1.001  | 0.084
    4000           | 1.084  | 0.083
    Could you help me to find how sap calculate the arrears interest?
    Many Thanks!
    Message was edited by:
            Chen Zhonghua

    Hi
    First u have to define interest calculation types ( i.e. Item interest calculation typeP)
    u have define GL accounts Interest Recevied account
    then u have to define prepare interest areas calculations in that u have to define interest indiacator .
    then
    u have to define refeence interest rates
    define time based terms
    enter interest values
    then u have to define AR calculation of interest on arrears  in that u have to define business transactions
    then u have to assign interest indicator to customer master
    then execute the Interest calculation F.24
    Regards
    Suresh

  • How to calculate Opening balance for a customer?

    Hi Experts,
    How to calculate Opening balance for a customer? I am trying to develop a report where in i have to get opening AR balance,current sales,adjustments etc of a customer. Please let me know how can i do this. I have some tables with me KNC1, BSAD, BSID.
    Thanks in Advance.
    Sharat Chandra.

    Say for example ..
    Get the opening bal for Customer 'K' in CCode 'C1' in 2008 ..
    First get all items from BSEG ..
    Select * from BSEG where KUNNR eq 'K'
                                     and BUKRS eq 'C1'
                                     and GJAHR eq '2008' .
    Sum all the DMBTR values (This is the total value).
    Second get the cleared items form BSAD for the above entries;
    Select * from BSAD for all entries in BSEG where KUNNR and BUKRS and XBLNR eq BSEG-XBLNR.
    Sum all DMBTR values ( this is cleared value).
    Third substract the cleared value from total to get Open value.
    This is a overview .. you should go to the tables and look for fields and etc.. and then define the logic meeeting your requirements .... this is a genric undersatnding ....
    Thanks,
    Aditya. V

  • How to calculate Excise on Customs Duty?

    Dear All,
    My client wants to calculate excise on the customs duty for the imported goods for which they can take CENVAT credit. So, the calculation should be on the following components:
    (Price*Quantity)Customs DutyPacking
    Currently, the customs duty is entered in Landed Costs and Packing is entered in "Freight" where we cannot use CENVAT Codes.
    How can we do this in SAP b1?
    Bharath S

    Hi!
    Use Assessable Value (INR) Field in PO/GPRO/Invoice RowLevel to give the BaseValue of CENVAT. Also, you need to Change your CENVAT Formula accordingly. Search the forum with Key word Assessable

  • How to calculate Interest?

    We have a unique requirement. We invest in a product which pays a particular rate of interest up to certain balance and a different interest rate beyond that balance.
    For example If our Investment is upto 10Million, the bank pays 0.1%. Any investment above 10Million the bank pays only 0.075%.
    How can we calculate this interest using a Interest rate instrument or any other Money market Product?
    So on a particular day if our investment balance was 15M then the interest earned will be (10M *0.1/100/365) + (5M * 0.075/100/365). How can we configure this in the system?
    Kalyan.

    Hi Kalyan,
    according to my own knowledge, this is not a standard functionality of SAP Treasury module.  If you use the Interest rate instrument (the Product category - 550 ), then the 3 following variants of interest rates are available:
    --- as fixed interest (like 2%);
    --- as variable interest (like LIBOR 6 mo USD, EURIBOR 6 mo, etc.);
    --- as an amount (like 100 USD).
    so,  in your case I see the 2 following work-arounds to handle those requirements:
    --- scenario A. According to your provided formula, you can split total amount of 15 mio into 2 deals: 1st - 10 mio, paying 0.1% and 2nd - 5 mio, paying 0.075%;
    --- scenario B. Another solution might be calculating interest amount of of the system and input it just as an amount (3rd option of interest entry).
    Rgds,
    Renatas

  • How to calculate interest and tds

    friends,
    we have one asset where it is provided by our business partner. every month we have to pay interest based on the mail received from business partner. my query is how to post this interest in the system, how to calculate the tds on this,
    regards,

    Hi Subramaniyan,
       1. You need to configure interest calculation all the steps.
    http://www.sap-basis-abap.com/sapfj001.htm
    or
    OB46 - Interest Settlement Calculation Type
    Int Calc. Type
    P - calculate interest based on line items.
    S - calculate interest based on account balances.
    Secornd, make it avaliable to the interest run program.
    OB82 - Interest Terms
    Third, determine the interest rate that will be used by the calculation.
    OBAC - Define Reference Interest Rates
    OB83 - Enter the Reference Interest Rates Value
    Fourth, assign the interest indicator to the reference interest rate.
    OB81 - Define Time Dependent Terms
    Finally, determine the how and to which accounts the interest program will post.
    OBV1 - Prepare Interest on Arrears Calculation F.26    A/R: Balance Interest Calculation
       2. Create Recurring Entries.  fbd1
    http://help.sap.com/saphelp_46c/helpdata/EN/6e/1218df9f0411d189b80000e829fbbd/content.htm
      3.  Process Batch Input   sm35
    Regards,
    Srinivas Muthyala

  • What is Customer order Fill rate process and how we calculate that .

    Hi All,
    Please provide me idea of Customer order Fill rate process and how we calculate that .
    Thanks

    Quote
    Originally posted by WarLord
    I like this HD tool. i use it everyday now. the tempture readings are great Hd temp cpu temp and even the system temp nice added feature to the monitoring. And this is an alternative to enabling the SMART in the bios? Thats the way im understanding it. is that right Maesus ?Because i have disabled in bios. She went threw alot of trouble here. thank you  
    Well from my observation, whether SMART is disabled or enabled in the BIOS, SMART is always working within the HDD itself.
    Basically SMART is acting like a blackbox, monitoring and tabulating HDD condition from time to time and its attributes only fully revealable by the manufacturers. SpeedFan's SMART status only displays partial information that is displayable. Some attributes are hidden, ~OR~ the attributes' locations are different from one HDD to another brand, such that some values don't correspond to the attribute meaning at all.
    It is very doubtful to claim that enabling SMART in the BIOS will hog down the performance. Just like a transport bus (yeah real bus that fetch passenger :P ), with or without the black box installed can't help it if the driver wants to speeding. :P

  • Help..! ..how to calculate the average interest rate in discoverer?

    help..!
    I want to calculate average interest rate in discoverer, question describes below:
    1. the data have 4 columns, 1 account number, 2 balance, 3.interest rate, 4. product type 1, product type 2
    2.average interest rate =
    sum (product type1 account bal * rate / sum(product bal)).
    a*sum(product bal) is sum every records column 2 according the type of product
    b*every record need to calculate using balance to divide sum(product bal) for calculate the rate of the sum(product bal) of type of product
    c* sum(b*) is what my answer rate.
    3.
    I need to display average interest rate in discoverer, and each product have a one average rate according user drill-up or drill-down product dimension.
    *product dimension have two level
    please tell me how to let every record divide by group sum(product bal)
    or tell me how to solve this problem.
    thanks!
    david

    Hi David
    Try using the AVG analytic function.
    Best wishes
    Michael

  • Interest calculation type-Z-Penalty Interest Calculation

    Hi all !!
    I would like to know  about the Interest calculation type-Z-Penalty Interest Calculation, if  it is necesary to do some aditional customizing , and which are the differences between Item Interest Calculation and Penalty Interest Calculation.
    Best regards and thanks all

    Thanks Chandra,
    Could you give us some links where we can find more info of how to configure/run this specific issue of calculate interest on interest and other aspects of penalty interest calculation.
    The other point if it is possible or there is a way to depending on open items for a same vendor have a different interest indicator, I mean something like a field at the financial document in order to choose between different type of interest indicators.
    Best regards and thanks

  • Penalty Interest calculation procedure

    Dear Friends,
    Could you please send me if you have customization procedure for customer penalty interest calculation.
    My email id is: [email protected]
    Thanks in advance for your help.
    Regards,
    Dwarak.

    This configuration allows you to charge interest on overdue customer accounts. Interest can be calculated by using the line items or overall account balances. SAP keep tracks of the date of the last interest run and stores it in the customer master record. 
    First create an Interest Indicator. 
    OB46 - Interest Settlement Calculation Type 
    Int Calc. Type 
    P - calculate interest based on line items. 
    S - calculate interest based on account balances.
    Secornd, make it avaliable to the interest run program. 
    OB82 - Interest Terms 
    Third, determine the interest rate that will be used by the calculation. 
    OBAC - Define Reference Interest Rates 
    OB83 - Enter the Reference Interest Rates Value 
    Fourth, assign the interest indicator to the reference interest rate. 
    OB81 - Define Time Dependent Terms 
    Finally, determine the how and to which accounts the interest program will post. 
    OBV1 - Prepare Interest on Arrears Calculation

  • How to calculate TDS on Inetrest Calculated by System

    Hi All,
    Please guide me that how system calculate TDS on Interest calculated by T-Code FINT & FINTAP.
    Thanks!
    Regards,
    Vivek Srivastava

    HI Ram,
    Yes I have  maintained TDS Code and type for Vendor and Customer.
    Now our requiremet is that when we run T-Code FINT or FINTAP system should calculate TDS on Interest also.
    Thanks!
    Regards,
    Vivek

  • HOW TO CALCULATE OPENNING BALANCE

    HI Experts..
    How to calculate Opening balance for previous period using variables in Reports using debit and credit.
    Example:
    Opening balance is the balance for an account for the previous period. In other words, if the user is running a report for Period 1, 2006, the opening balance is actually the ending balance from Period 12, 2005 (December 31st, 2005).
    I am Using 0FIAR_O03 ODS ..
    Very Urgent Issue..
    If Possible Stp by Step..
    Cheers
    Purushottam
    09891683828
    [email protected]

    Hi Saloni,
    to get the debit and credit you would be using a variable 0I_FPER(Fiscal year / period), which is a user entry interval variable.
    now to get the opening balance you will have to create a customer exit valiable and the low value of 0I_FPER will have to popuplated by writied the code for the customer exit valiable. you will have to restrict the key figure DEB_CRE_LC for this customer exit variable with the operand as less than(< Fiscal Year /Period from 0I_FPER)).
    If the above was useful please assign reward points.
    Regards
    Venkata Devaraj

  • Interest on Customer

    hai,
    i am doing the configuration of Interest on Customer through IMG-AR/AP-Business Transaction-Interest Calculation-Interest Cal Global Settings. In Define Time based terms i have selected my int indicatore and i want to assign sequence key 01 & 02. Here what i am suppose to select. Because interest will be credit to company and debit should be customer. And also In interest posting what should i select either AR-calculation on Interes on Arears or AR-Balance interest calculation? Can any one guide me on this.
    govind.

    Hi ,
    As per my knowledge If you are going calculate int on customer you have to select 01 or create your own(item int indicator).
    And second one for posting you have to select A/R: Calculation of Interest on Arrears.
    Plz correct me if i am wrong

  • How to calculate YTD and Last year YTD on Date in Bex

    Hi,
    I have a requirement in which I need to show the report as following format.
    I need to show    Year>monthday as Hierarchy. user will drill down on Month to Date.
                 Del Qty              Ord Qty              Del  Qty LY              Del Qty YTD                  Del Qty  L YTD
    Year
    > Drill Down to Months
            Jan
            Feb
            Mar
              ---> 1.03.2010
              ---> 2.03.2010
              ---> 3.03.2010
            Dec
    I have Calday, Calmonth, Calyear all three objects.
    Now my question is how I can achive this? On which i need to create hierarchy?
    and how to calculate the YTD at day level.
    Note:- in the selection calyear is mandatory. User wants to display as per year.   So What infoobject I need to take in selection?
    and the way to calculate YTD on Day (in the case also ,where user doesn't give the date in selection)
    Plz reply asap its uregent !!!
    Thanks in advance,
    Amit

    Hi,
    As per my understanding I think YTD means JAN to current date result. I means say if user enter 062005 then result in YTD should be from 012005 to 062005.
    And to do this you need to write a customer exit variable where LOW field of internal table you will put JAN year and HIGH will contain month year entered by user.
    Hope this will help you.
    Suneel

Maybe you are looking for