Message type: E = Error
Message class:  HRPSGB_HER - HR PS GB Higher Education Messages (USS, HESA etc) 
Message number: 007
Message text: Employee Omitted (not the most recent Primary at &1)
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_HER007, which states "Employee Omitted (not the most recent Primary at &1)," typically occurs in the context of HR (Human Resources) processes, particularly when dealing with employee records and their primary assignments.
Cause: This error usually arises when the system is trying to process an employee record that is not the most recent primary assignment for that employee. In SAP HR, employees can have multiple assignments, but only one can be designated as the primary assignment at any given time. If the system encounters an assignment that is not the most recent primary, it will trigger this error.
Solution: To resolve this error, you can take the following steps: Check Employee Records: Go to the employee's master data in the SAP system (transaction code PA20 or PA30). Verify the employee's assignments and identify which one is marked as the primary assignment. Update Primary Assignment: If the assignment you are trying to process is not
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPSGB_HER006 Employee Omitted (not in an active USS Scheme between &1 and &2)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_HER005 Employee Omitted (not active between &1 and &2)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_HER008 No Institution Code exists (Table T5GPBS_ALL for Molga '08' Group 'USSI')
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPSGB_HER009 Return Year is a MANDATORY field
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.