Ansicht
Dokumentation
PYIN_P2E_MSG_08 - BAdI: Filter Messages from UI
ROGBILLS - Synchronize billing plans PERFORM Short ReferenceThis documentation is copyright by SAP AG.
This Business Add-In is used in the HR Policy Management in India solution that belongs to (PA-PA-IN) component.
In this BAdI, you can custoimize the messages which appear on the UI screen, as per customer requirements.
You can use the following methods in the BAdI with the corresponding import and change parameters as per your requirements:
- VALIDATE_POLICY_MESSAGE
- You can use this method to change messages which needs to be displayed on policy creation screen.
- Importing Parameter
- IV_PERNR- This refers to employee number
- IV_POGUI - This refers to policy GUID
- IV_ENDDA - This refers to end date
- IV_BEGDA - This refers to begin date
Changing Parameter
- CT_MESSAGE - This contains the messages, if any.
- VALIDATE_REQUEST_MESSAGE
- You can use this method to change messages which needs to be displayed on request screen.
- Importing Parameter
- IV_PERNR- This refers to employee number
- IV_POGUI- This refers to policy GUID
- IV_REGUI- This refers to request GUID
- IV_ENDDA - This refers to end date
- IV_BEGDA - This refers to begin date
Changing Parameter
- CT_MESSAGE - This contains the messages, if any.
You should carry out this step only if both of the following points apply:
- The SAP standard processes do not suit your needs
- You are a competent ABAP/4 programmer
In the standard system, the Business Add-In is not activated.
After calling up the Customizing activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:
- From the tab index, choose Interface.
- Place the cursor on the method, and double-click to enter method processing.
-
Enter the coding for the implementation between the statements methodIF_AC_VALIDATE_MESSAGE~
and endmethod. - Save and implement your coding. Return to the Edit Implementation screen.
-
Save the entries on the Edit Implementationscreen.
Note: You can also change the implementation, and then activate it at a later time. In such a case, end the processing stage at this point. - Choose Activate
- The coding you stored in the method will be run when the application program is executed.
To display the sample code, choose Goto-> Sample Code -> Display
CPI1466 during Backup CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 3666 Date: 20240523 Time: 203300 sap01-206 ( 33 ms )