Skip to Content
author's profile photo Former Member
Former Member

BADi to add custom Amount Reference in Frequency term


We have a requirement whereby we will be entering the quarterly amount in the unit price in the condition while we would like the system to post this amount on monthly basis on pro-rated basis based on actual days.


Amount in Unit Price : EUR 15,000

Condition start/ end date: 19.04.2014 to 18.07.2014

Frequency: Monthly

Amount Reference: Here we need an option of quarterly

Expected Cash Flow:

19.04.2014 to 30.04.2014 = 15000 * 12 / 91

01.05.2014 to 31.05.2014 = 15000 * 31 / 91

01.06.2014 to 30.06.2014 = 15000 * 30 / 91

01.07.2014 to 18.07.2014 = 15000 * 18 / 91



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 19, 2014 at 10:06 AM

    Hi, Rakesh Sharma

    In your case, you can use "Type of Start of Frequency" on the 'Condition Tab > Frequency > FrequencyStart' item as below.

    You can choose from the following :

    - Start of the Condition

    - Start of the Calendar Year

    - User Selection(Custom)

    In your case, you must use "Start of the Calendar Year' and then Cash-flow amount will be calculated until every end of month. so, Cases of First and Last month will be calculated by number of days.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2014 at 12:38 PM

    Hi Rakesh,

    I could not find a Badi for the same. If you found something please inform.

    I would suggest the following alternative.

    1. Enter the per day rate as per the number of days of the contract in the unit price. As per the case mentioned by you the per day rate is 164.8352.

    2. Use the calculation method as 'Differing Measurements' for the condition and enter the following entries.

    M.Ty Amt UOM Des From To

    Z002 12 DAY Units 19.04.2014 30.04.2014

    Z002 31 DAY Units 01.05.2014 31.05.2014

    Z002 30 DAY Units 01.06.2014 30.06.2014

    Z002 18 DAY Units 01.07.2014 18.07.2014

    3. Use the frequency settings as the following.

    4. Following are the results for the same.

    Hope this helps.


    Hardik Sharma

    Add a comment
    10|10000 characters needed characters exceeded

    • Dear Sharma

      If you want to customize for your client requirement or your rule of Cash Flow Calculation Not using standard frequency interval(frequency start), you can try to define the "Calculation Formula".

      Go to RECACUST > Conditions and Flows > Calculation and Distribution Formulas > Calculation Formulas

      1. Defined your "Calculation Rule" such as "Z001"

      2. Apply the Enhancements BADI :

      - BADI_RECD_CALC_RULE (Implementation: Calculation Formula for Conditions)


      Best regards,

      Yeong Cheol, Jeong

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.