Message type: E = Error
Message class:  HRPSGB_ME - Multiple Employment Errors & Warnings 
Message number: 151
Message text: Working Time Directive: Check Switch MUST be 'X' active or 'W' warning
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 HRPSGB_ME151 indicates an issue related to the Working Time Directive (WTD) configuration in the SAP Human Capital Management (HCM) module. This error typically arises when the system checks the configuration settings for the Working Time Directive and finds that the switch is not set correctly.
Cause: The error occurs when the configuration for the Working Time Directive switch is not set to either 'X' (active) or 'W' (warning). This switch is crucial for determining how the system should handle compliance with the Working Time Directive regulations. If the switch is not set correctly, the system cannot process the working time data as expected, leading to this error message.
Solution: To resolve this error, you need to check and update the configuration settings for the Working Time Directive switch in the SAP system. Here are the steps to do this: Access the Configuration: Go to the SAP Easy Access screen. Navigate to the following
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPSGB_ME150 ******************* Working Time Directive 150 - 160 ********************
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_ME100 Save amended data, before running check.
 The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Procedure for System Adminis...
HRPSGB_ME152 Working Time Directive: Limit MUST be entered
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_ME153 Working Time Directive: Emp Hrs &1 exceed limit &2 between &3 and &4
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.