Ansicht
Dokumentation

BADI_REEX_FUNC_LOC - Implement Enhancements (BAdI): Default Values for Functional Location

BADI_REEX_FUNC_LOC - Implement Enhancements (BAdI): Default Values for Functional Location

ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In supports enhancements to the standard functions of the Integration with Plant Maintenance (Automatic Creation of Functional Location).

The BAdI methods are called automatically when the functional location is created or changed (depending on the Customizing setting). If an implementation exists, the methods are always called in addition to standard system behavior.

The following methods exist:

  • GENERATE_LABEL
The generated name of the automatically created functional location can be changed here. CD_LABEL contains the name that was generated by RE-FX for the functional location.
  • ADAPT_DATA
This method is used to modify the data of the functional location that was generated by RE-FX. CS_FUNC_LOC contains the current data for the functional location.
  • UPDATE_CLASSIFICATION
This method is used to fill the classification of the functional location that was generated by RE-FX. CT_FL_CLASSIFICATION contains the current classification of the functional location (classes and characteristics).
  • CHECK_FOR_FL_GENERATION
This method is used for additional control when automatically creating a functional location from RE-FX. CD_FL_GENERATION can prevent the generation.
  • DISABLE_INHERITING
This method controls whether the functional location inherits the data from its higher-level functional location. CD_INHERITING controls the inheritance. Inheritance is generally allowed and can be suppressed using CD_INHERATING = ABAP_FALSE.

All methods have the import parameters IO_OBJECT and FLT_VAL.

  • IO_OBJECT contains the real estate object for which the functional location is to be created or changed.
  • FLT_VAL contains the object type of the real estate object

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

The implementation of the methods has to be independent of the interface and must not contain any COMMIT WORK or ROLLBACK WORK statements.For example, direct output of messages using the MESSAGE statement is therefore not allowed.

Additional Information: Notes for Developers and Overview of the Enhancement Methods in RE-FX

.






BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2915 Date: 20240524 Time: 002753     sap01-206 ( 47 ms )