Ansicht
Dokumentation

PY_NPO_WIGSI_004 - BAdI: Customer Specific Computation for WIGSI LWOP Periods

PY_NPO_WIGSI_004 - BAdI: Customer Specific Computation for WIGSI LWOP Periods

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

BAdI: Customer specific computation for WIGSI LWOP periods

This Business Add-In is used in the Increment Processing (PY-NPO) component.

This Add-In enables you to compute the number of days, months and years that form the total LWOP period for an employee. The BAdI compares the LWOP period with the duration that you have mentioned in the BAdI. Depending on the implementation, the system will postpone the next increment date by the specified period in the BAdI. You use the method GET_WIGSI_LWOPin this BAdI to do the same.

The BadI has the following parameters:

  • Import parameters:
  • Start Date and End Date of the period

  • Export parameters:
  • NO_DAY - Indicates the number of days that are 100% unpaid, as saved in the Absences (2001) infotype record

  • NO_MONTH - Indicates the number of months that are 100% unpaid, as saved in the Absences (2001) infotype record

  • NO_YEAR - Indicates the number of years that are 100% unpaid, as saved in the Absences (2001) infotype record

You should only carry out this step 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 IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Place the cursor on the method, and double-click to enter method processing.
  3. Enter the coding for the implementation between the statements methodif_ex_hr_in_cco_processing ~ and endmethod.
  4. Save and implement your coding. Return to the Edit Implementation screen.
  5. Save the entries on the Edit Implementation screen.
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.
  1. 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.






Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 3180 Date: 20240523 Time: 194053     sap01-206 ( 43 ms )