Message type: E = Error
Message class:  /SEHS/DG_HM -  
Message number: 012
Message text: Table &1: Number of data records without parent data record: &2
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_HM012 Table &1: Number of data records without parent data record: &2 typically indicates that there are data records in a specific table that do not have a corresponding parent record. This is often encountered in hierarchical data structures where child records are expected to be linked to a parent record.
Cause: Data Integrity Issues: The primary cause of this error is a lack of referential integrity in the data. This means that there are child records that reference a parent record that does not exist. Data Migration Issues: If data has been migrated from another system or if there have been recent changes to the data model, it is possible that some records were not properly linked. Manual Data Entry Errors: Users may have entered data incorrectly, leading to orphaned records. System Bugs or Inconsistencies: Occasionally, bugs in the system or inconsistencies in the database can lead to this issue.
Solution: Identify
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/SEHS/DG_HM011 Table &1: Number of physically deleted data items: &2
What causes this issue?  Number of physically deleted data records.System Response  The system issues an error message and will not allow you to conti...
/SEHS/DG_HM010 Table &1: Number of deletion indicators set: &2
What causes this issue?  The deletion indicator is set for a data record if the corresponding valid parent record also has the deletion indicator set....
/SEHS/DG_HM101 ---------- Table Conversion (in Framework of Redesign for 4.0C) ---------
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_HM201 ----------- Converting table (part of redesign for 2.5) ----------
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.