Ansicht
Dokumentation

HRPAYDE_EAU_040 - BAdI: Deter. Med. Cert. Req.: Day as of which a medical cert must be prov.

HRPAYDE_EAU_040 - BAdI: Deter. Med. Cert. Req.: Day as of which a medical cert must be prov.

Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Determine medical certificate requirement: day as of which a medical certificate must be provided

An employer may also request that certain employees provide a medical certificate earlier. For example, you can specify that a medical certificate should be provided as of the first day of incapacity to work instead of the fourth day.

If you have mapped various customer-specific medical certificate requirements (for example, using a customer-specific infotype or infotype Date Types (0041)), you can use Business Add-In (BAdI) HRPAYDE_EAU_B_ATTESTPFLCHT to determine these for creating eAU requests.

In addition, you can use interface method IF_HRPAYDE_EAU_ATTESTPFLICHT~GET_ATTESTPFLICHT_AB_TAG to set returning parameter RV_RESULTof type HRPAYDE_EAU_ATTESTPFLICHT_AB (day as of which a medical certificate must be provided). The medical certificate requirement must be at least 1 day. Otherwise the notification creation would be terminated with an error message.

The settings can be made based on the organizational assignment (import parameter IS_P0001) or also for individual employees, for example, based on a customer-defined date type (infotype 0041). The relevant data can be read using the interface to read infotype records (import parameter IO_READ_INFOTYPE). You can find the personnel number in field IS_P0001-PERNR.

The complete interface of the method is as follows:

Import parameter Type Meaning
IV_AWART AWART Absence or Attendance Type
IV_ KEY_DATE HRPAYDE_STICHTAG Key Date
IS_P0001 P0001 Record Infotype 0001
IO_READ_INFOTYPE IF_HRPA_READ_INFOTYPE Read infotype records

IF_HRPA_READ_INFOTYPE

You have made the settings for the relevant absences (Customizing activity Maintain Relevant Absences).

IF_HRPA_READ_INFOTYPE

In the standard SAP system, the medical certificate requirement is determined using fallback class CL_HRPAYDE_EAU_FB_ATTESTPFLCHT. Interface method IF_HRPAYDE_EAU_ATTESTPFLICHT~GET_ATTESTPFLICHT_AB_TAG determines the medical certificate requirement based on the absence type from Customizing view Relevant Absences (V_T77PAYDE_EAU_0). A medical certificate requirement as of the first day is stored for absence Sickness With Medical Certificate (absence type 0200).

IF_HRPA_READ_INFOTYPE

Create your own individual implementation if required. Your own class should be inherited from fallback class CL_HRPAYDE_EAU_FB_ATTESTPFLCHT in order to be able to use the standard coding available. In your redefinition of method IF_HRPAYDE_EAU_ATTESTPFLICHT~GET_ATTESTPFLICHT_AB_TAG you can first of all call the superclass and then implement it according to your requirements.

IF_HRPA_READ_INFOTYPE

In addition to various individual medical certificate requirements, you can also use this BAdI to store different medical certificate requirements for certain employee groups, personnel (sub)areas, etc.






General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4258 Date: 20240523 Time: 214937     sap01-206 ( 76 ms )