Message type: E = Error
Message class:  /SEHS/DG_DGA -  
Message number: 301
Message text: Data record &1, &2, &3 not saved (locked)
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_DGA301 Data record &1, &2, &3 not saved (locked) typically indicates that the data record you are trying to save is currently locked by another user or process. This can happen in various scenarios, such as when multiple users are trying to access or modify the same data simultaneously.
Cause: Record Locking: The record you are trying to save is locked by another user or transaction. SAP uses a locking mechanism to prevent data inconsistencies when multiple users attempt to modify the same data. Long-running Transactions: If a transaction takes too long to complete, it may hold locks longer than expected, causing other users to encounter this error. Background Jobs: Sometimes, background jobs may lock records while they are being processed. User Session Issues: If a user session is terminated unexpectedly, it may leave locks on records.
Solution: Check Lock Entries: Use transaction code SM12 to check for lock entries. You can see
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SEHS/DG_DGA300 Data record &1, &2 not saved (locked)
What causes this issue?  You attempted to send data records from a source system to a target system (distribution). However, these data records are be...
/SEHS/DG_DGA299 ----------------------  Distribution/Updating  --------------------------
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_DGA302 Data record &1, &2 not saved (change number was not generated)
What causes this issue?  You have sent a dangerous goods master record from a source system to a target system (distribution). Since you attempted to ...
/SEHS/DG_DGA303 Data record with product &1 and regulation &2 was saved
What causes this issue?  You attempted to send a data record from a source system to a target system. This action was successful. If the data record i...
Click on this link to search all SAP messages.