Message type: E = Error
Message class:  /SEHS/DG_DGA -  
Message number: 138
Message text: Data record not available
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_DGA138 Data record not available typically indicates that a specific data record that the system is trying to access or manipulate is not found in the database. This can occur in various contexts, such as when working with data in the SAP Environment, Health, and Safety (EHS) module or other related applications. Causes: Missing Data Record: The most common cause is that the data record you are trying to access has been deleted or never existed. Incorrect Selection Criteria: The selection criteria used to retrieve the data may be incorrect, leading to no matching records. Authorization Issues: The user may not have the necessary authorizations to view or access the data record. Data Synchronization Issues: If the data is being pulled from multiple sources, there may be synchronization issues leading to missing records.
Configuration Issues: There may be configuration settings in the SAP system that are preventing the data from being accessed. Solutions: Check
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SEHS/DG_DGA137 The data records found are not valid at the time of selection
What causes this issue?  Data records were found in the database for the selection criteria. However, no data record exists that is valid for the key ...
/SEHS/DG_DGA136 No data records found for the selection criteria
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_DGA139 Data record &1 &2 &3 cannot be saved
What causes this issue?  The system could not copy all the data records selected. Possible causes: You wanted to create a new data record that already...
/SEHS/DG_DGA140 Choose a data record from the table by double-clicking
What causes this issue?  You want to go to the detail views for the <ZK>Packing requirement</> tab page. The cursor was not positioned on ...
Click on this link to search all SAP messages.