Ansicht
Dokumentation

REFX_REAJ_ADJ_RLRA - Implement Enhancements for Rent Adjustment Using Rep. List of Rents (BAdI)

REFX_REAJ_ADJ_RLRA - Implement Enhancements for Rent Adjustment Using Rep. List of Rents (BAdI)

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In supports enhancements to the standard functions of adjustment of conditions using the representative list of rents procedure.
For an overview of the possible enhancement methods, see this text.

Create a BAdI implementation and implement the methods you require for your enhancement. Then activate the BAdI implementation.

The following methods exist:

  • GET_BASE_RENT - gets the base rent
  • GET_COMPARATIVE_RENT - gets the comparative rent

These methods are called automatically during standard processing of the adjustment of conditions. If an implementation exists, the methods are always called in addition to standard system behavior. This does not mean that it is possible to replace the standard behavior of the basic actions.

The implementation of the methods has to be independent of the interface. It must not contain any COMMIT WORK or ROLLBACK WORK statements.

For example, direct output of messages using the MESSAGE statement is not allowed.

Method description

  • GET_BASE_RENT
    This method gets the base rent. The IO_CONTRACT parameter receives a value when the condition to be adjusted is a contract condition. Otherwise the IO_RENTAL_OBJECT parameter has a value. The IS_CONDITION parameter contains the values of the condition to be adjusted. The base rent is changed using the CD_BASE_RENT parameter. Returned messages (CT_MESSAGE parameter) are displayed in the same list with the messages from standard processing.
  • GET_COMPARATIVE_RENT
    This method gets the comparative rent. The IO_CONTRACT parameter receives a value when the condition to be adjusted is a contract condition. Otherwise the IO_RENTAL_OBJECT parameter has a value. The IS_CONDITION parameter contains the values of the condition to be adjusted. The comparative rent is changed using the CD_COMPARATIVE_RENT parameter. Returned messages (CT_MESSAGE parameter) are displayed in the same list with the messages from standard processing.

Notes for Developers






Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2539 Date: 20240523 Time: 221211     sap01-206 ( 53 ms )