Ansicht
Dokumentation
PYIN_P2E_ELG_04 - BAdI: Change Count Eligibility Method
General Data in Customer Master RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis 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.
This Add-In enables you to define customer specific logic to calculate the total number of employees that are eligible for a particular policy.
In the standard SAP solution, system calculates the number of eligible employees for a particular policy based on the Current Date.
You can use the following methods in the BAdI with the corresponding import and change parameters as per your requirements:
- COUNT_ELIGIBILITY
- You can use this method to change count eligibility method.
- Importing Parameter
- IV_DATE - This refers to the date
- IS_POLICY - This contains policy details such as, policy GUID, policy version, policy name, policy ID, policy validity and so on.
- IT_POL_ATTRI - This contains the policy validation criteria that are defined in Validation step.
Changing parameter
- CV_COUNT - This contains the total number of eligible employees for a policy.
- CT_MESSAGES - This contains the list of messages.
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_COUNT_ELIGIBILITY~
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
General Data in Customer Master rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 3142 Date: 20240523 Time: 220944 sap01-206 ( 36 ms )