Ansicht
Dokumentation

JBA_SFGDT - BAdI: Modify Risk Object

JBA_SFGDT - BAdI: Modify Risk Object

Addresses (Business Address Services)   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This classic Business Add-In (BAdI) is used in the Treasury and Risk Management (FIN-FSCM-TRM) component. You can use the BAdI to manipulate the risk object (SFGDT) after the corresponding transaction data has been read and before the actual evaluation starts. Using your own BAdI implementation, you can influence how the data is evaluated.

Caution: Note that this BAdI enables you to make extensive changes to your data. Make sure that you test your implementation thoroughly to ensure that the data still provides the required information after manipulation.

You already have experience with this program.

You can create your own BAdI implementation for the method IF_EX_JBA_SFGDT~MODIFY_TRANSACTIONDATA.

Two sample implementations are available as protected methods in class CL_EXM_IM_JBA_SFGDT. Both are not intended for actual use as part of a production system. These implementations are delivered simply as samples to help users better understand manipulation of the SFGDT object.

You can copy and adjust the code of one of the following two sample implementations to the code of your BAdI implementation to suit your requirements:

  1. Protected method LOANS_PREPAYMENT_SCENARIO (class CL_EXM_IM_JBA_SFGDT)
Comment: The first sample implementation (see protected method LOANS_PREPAYMENT_SCENARIO) is an example of modifying specific cash flow information related to loans prepayment.
  1. Protected method FX_DEALS_EVAL_USING_SWAP_RATES (class CL_EXM_IM_JBA_SFGDT)
Comment: This second sample implementation (see protected method FX_DEALS_EVAL_USING_SWAP_RATES) is an example of valuating FX transactions using swap points as described in SAP Note 940562.

With the second method, you also need to copy the code of the called methods ADD_MESSAGE, CONVERT_AMOUNT, PROT_ERROR, and PROT_ERRORS_FROM_TAB (class CL_EXM_IM_JBA_SFGDT).






Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2984 Date: 20240523 Time: 172509     sap01-206 ( 49 ms )