Skip to Content
avatar image
Former Member

new formula added in recn contract

Hi Gurus,

We have a requirement to add an additional formula in the conditions tab of a RECN contract. The new formula created has an internal formula of BADI calculation.Can any one guide me where i need to add the code to do the necessary calculation and display the calculated values post simulation.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 10, 2017 at 03:41 PM

    Hi Sravya,


    the internal formula "BAdI Calculation" refers to BAdI BADI_RECD_CALC_RULE. (as described in the F1 documentation of the internal formula field). There is also a customizing item for the implementing the BAdI in this area (-> Implement Enhancements (BAdI) -> Calculation Formula for Conditions). Or you can use transaction SE18 to review the BAdI definition and the online documentation. It is necessary to create a custom BAdI implementation and add the coding according to your requirements for calculation. One of the example classes can be used as a template.


    Hope this helps.


    Best regards,


    Franz

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank Posch,

      I have created a z implementation in the badi and added my code in GET_VALUES method. It worked.