Message type: E = Error
Message class:  HRPBSUSPA01 - US Federal Messages (validation tool) 
Message number: 012
Message text: & is an interface. Only global classes are allowed.
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 HRPBSUSPA01012 typically indicates that there is an issue with the use of classes in the context of an interface. This error arises when a non-global class is being used in a situation where only global classes are permitted.
Cause: Non-Global Class Usage: The error occurs when a class that is defined as local (i.e., not global) is being referenced in an interface or in a context where only global classes are allowed. Incorrect Class Definition: The class might not be defined correctly in the ABAP Dictionary, or it might be defined in a package that is not accessible in the current context. Scope Issues: The scope of the class might not be appropriate for the interface being implemented or used.
Solution: Change Class Definition: Ensure that the class being used is defined as a global class. You can do this by: Going to the ABAP Workbench (SE80). Finding the class in question. Checking its
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
HRPBSUSPA01011 The access table cannot be empty
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPBSUSPA01010 The field name cannot be empty
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPBSUSPA01013 & is not a method of class &.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
HRPBSUSPA01014 & is not an appropriate method of class &. See the long text.
What causes this issue?  The method &v1& is not a public, static method of class &v2& with only importing parameters and exactly one r...
Click on this link to search all SAP messages.