Message type: E = Error
Message class:  GLO_FIN_TAX_MGMT - Message Class of China Tax Invoice Management 
Message number: 502
Message text: VAT Invoice code, number is mandatory
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 GLO_FIN_TAX_MGMT502 indicates that a VAT invoice code and number are mandatory for the transaction you are trying to process. This error typically arises in the context of financial transactions involving VAT (Value Added Tax) where specific documentation is required to comply with tax regulations.
Cause: Missing VAT Invoice Code/Number: The most common cause of this error is that the VAT invoice code or number has not been entered in the relevant fields of the transaction.
Configuration Issues: There may be configuration settings in the SAP system that require these fields to be filled out for certain transaction types. Data Entry Errors: Users may inadvertently skip these fields or enter incorrect data formats.
Solution: Enter VAT Invoice Code and Number: Ensure that you fill in the VAT invoice code and number in the appropriate fields before saving or processing the transaction. Check Configuration Settings: If you are consistently encountering this error, it may be
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
GLO_FIN_TAX_MGMT501 Service process mode &1 is not supported.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
GLO_FIN_TAX_MGMT500 ***** Message for Invoice Service API *****
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
GLO_FIN_TAX_MGMT503 VAT Invoice &1 &2 does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
GLO_FIN_TAX_MGMT504 Error happened in VAT Invoice Service.
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.