Ansicht
Dokumentation

HRPIQ00AGR_GR_CNG - BAdI: Appraisal Grade Change Flag setting

HRPIQ00AGR_GR_CNG - BAdI: Appraisal Grade Change Flag setting

BAL Application Log Documentation   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This business add-in (BAdI) is used in the Student Lifecycle Management (IS-HER-CM) component.

You can use this BAdI to implement the method SET_GRADECHANGE_FLAG.

You can use this method to implement the logic required to set the grade change flag.

You should perform this activity only if both of the following conditions are satisfied:

The SAP standard processes do not cover your requirements.

You have an in-depth knowledge of the ABAP programming language.

Business add-in implementations are code extensions and therefore apply across clients. If you have a multiclient system, you have to define how the customer enhancement is to be used within the implementation for each client using the system variable SY-MANDT.

Business add-ins without multiple usages can have several implementations. However, only one of these implementations may be active at any one time.

You must also make sure that instance creation for the implementing class (Properties tab page) is declared as public and not as private, protected, or abstract. Otherwise unwanted short dumps may occur during runtime.

General information and implementation instructions for business add-ins are found in the SAP library under Basis Components -> ABAP Workbench (BC DWB) -> Changes to the SAP Standard (BC) -> Business Add-Ins. You can also access this documentation from the initial BAdI builder screen via Help -> Application help.

You can use the method 'SET_GRADECHANGE_FLAG' to implement the logic required to set the grade change flag.

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.

The system displays the initial screen for creating Business Add-In implementations.

2. On this screen, enter a short description for you implementation in the Implementation Short Text field.

3. If you choose the Interface tab, you will notice that the system has filled in the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.

4. Save your entries and assign the Add-In to a package.

5. To edit a method, double-click its name.

6. Enter your implementation code between the method ~. and endmethod. statements.

7. Save and activate your code. Navigate back to the Change Implementation screen.

Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not carry out the following step:

8. Choose Activate.

When the application program is executed, the system carries out the code in the method you wrote.

4. Save your entries and assign the Add-In to a package.

5. To edit a method, double-click its name.

6. Enter your implementation code between the method ~. and endmethod. statements.

7. Save and activate your code. Navigate back to the Change Implementation screen.

Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not carry out the following step:

8. Choose Activate.

When the application program is executed, the system carries out the code in the method you wrote.






ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3985 Date: 20240523 Time: 185324     sap01-206 ( 60 ms )