Message type: E = Error
Message class:  HRPSGB_HER - HR PS GB Higher Education Messages (USS, HESA etc) 
Message number: 366
Message text: HESA Record Validation Check Person.REGBODY.2 failed
Person.REGBODY should only exist where there is a Contract.CLINICAL = 1,
2, 3, or 4 or there is a Contract with (any Activity.CCENTRE = 109 and
Contract.ACEMPFUN = 1, 2, or 3 and Contract.TERMS = 1 or 2).
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message HRPSGB_HER366 related to the HESA (Higher Education Statistics Agency) record validation typically indicates that there is an issue with the data being submitted for validation against the HESA requirements. The specific error Person.REGBODY.2 suggests that there is a problem with the registration body information for a person in the system.
Cause: The error can be caused by several factors, including: Missing or Incorrect Data: The registration body information for the individual may be missing or incorrectly entered in the system. Invalid Registration Body: The registration body code may not be valid or recognized by the HESA system. Data Format Issues: The data format for the registration body may not conform to the expected standards.
Configuration Issues: There may be issues with the configuration of the HESA reporting module in SAP.
Solution: To resolve the error, you can take the following steps: Check Data Entry: Review the individual’s record in the SAP system to ensure that
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPSGB_HER365 HESA Record Validation Check Person.REGBODY.1 failed
 The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Procedure for System Adminis...
HRPSGB_HER364 HESA Record Validation Check Person.PREVHEI.2 failed
What causes this issue?  Person.PREVHEI (Previous higher education institution) must not exist where Person.PREVEMP not equal to 01 or 21.System Respo...
HRPSGB_HER367 HESA Record Validation Check Person.REGBODY.3 failed
What causes this issue?  Where there is more than one occurrence of Person.REGBODY they must not be identical.System Response  The system issues an er...
HRPSGB_HER368 HESA Record Validation Check Person.REGBODY.4 failed
What causes this issue?  Person.REGBODY (must equal 01 or 02) where any Contract.CLINICAL = 1.(clinical academic doctors and dentists)System Response ...
Click on this link to search all SAP messages.