Message type: E = Error
Message class:  HRPAYSA - Mesasge class for package PC24 
Message number: 065
Message text: Input occupational hazard absence type since you input the pay stop date
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message HRPAYSA065 indicates that there is an issue related to the input of an occupational hazard absence type in the context of payroll processing. This error typically arises when a pay stop date has been entered, but the system requires a specific absence type to be defined for occupational hazards.
Cause: Pay Stop Date: The error occurs because a pay stop date has been set, which indicates that payroll processing has been halted for the employee. This can happen for various reasons, such as termination, leave of absence, or other payroll-related issues. Missing Absence Type: The system expects an occupational hazard absence type to be specified when a pay stop date is present. If this absence type is not provided, the error will be triggered.
Solution: Input Occupational Hazard Absence Type: Navigate to the relevant infotype (usually Infotype 2001 for Absences) in the SAP system. Ensure that you input the correct occupational hazard
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPAYSA064 Occupatinal hazard absence type only valid when you input pay stop date
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA063 & is not suitable occupational hazards absence type
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA066 Input valid permanent disability degree (between 0% and 100%)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPAYSA067 EE has already registered in labor office: &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.