Posts

Showing posts with the label BADI

BAdI for Interest Rate Calculation in Treasury Management

Image
SAP Treasury Management How to change the Interest Rate in Tx FINT ? To achieved this we need to implement  BAdI ZFI_INT_CUS01 using the method Int_Change_Items. Let's say the requirement specified to change the Interest Rates based on the document type. If BLART equal to 'MD', interest rate would be '10'. If it's 'DA', interest rate would be '6'. We will be dealing with the following transaction, implementation and interface. 1) SE19 - BAdI 2) FI_INT_CUS01 - Definition 3) Method - IF_EX_FI_INT_CUS01~INT_CHANGE_ITEMS 4) Interface - INT_CHANGE_ITEMS Here is the code snippet to change the interest rate. */------------------------------------------------------------------------ method IF_EX_FI_INT_CUS01~INT_CHANGE_ITEMS . */------------------------------------------------------------------------ *break-point. Data: wa_Items Type intit_extf. Loop at ct_items into wa_Items.      if wa_Items-blart eq 'MD'.         wa_I