Message type: E = Error
Message class:  /SEHS/DG_DG -  
Message number: 304
Message text: *Date restrictions
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 /SEHS/DG_DG304 typically relates to date restrictions in the context of SAP's Environment, Health, and Safety (EHS) module. This error can occur when there are issues with the date settings in the system, such as when the date entered is outside of the allowed range or when there are conflicts with existing data.
Cause: Invalid Date Range: The date you are trying to enter may fall outside the permissible range defined in the system settings.
Configuration Issues: There may be configuration settings in the EHS module that restrict certain date entries. Data Conflicts: Existing records may have date constraints that conflict with the new entry you are trying to make. User Authorizations: The user may not have the necessary authorizations to enter or modify data for the specified date.
Solution: Check Date Entry: Ensure that the date you are entering is valid and falls within the acceptable range. Verify the format and the logical
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SEHS/DG_DG303 *Object type does not support changes & object does not exist.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SEHS/DG_DG302 Object type for change master record does not support changes
What causes this issue?  In the change master record, the object type is configured so that objects of this type cannot be changed. Either these chang...
/SEHS/DG_DG305 *Object management record cannot be generated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SEHS/DG_DG306 *No change to object for change number
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.