Message type: E = Error
Message class:  DDLS - For DDL source handling 
Message number: 521
Message text: Problem for database & while creating join operator
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 DDLS521 typically indicates a problem related to the database when trying to create a join operator in a Data Dictionary or when working with database views. This error can arise due to various reasons, including issues with the underlying database structure, data types, or constraints. Causes of DDLS521 Error Incompatible Data Types: The fields you are trying to join may have incompatible data types. For example, trying to join a character field with a numeric field can lead to this error. Missing or Incorrect Foreign Key Relationships: If the tables involved in the join do not have the correct foreign key relationships defined, it can cause issues. Database Constraints: There may be constraints on the tables that prevent the join from being created. Database
Configuration Issues: Sometimes, the database itself may have configuration issues or may not support certain types of joins. Syntax Errors: There could be syntax errors in the SQL
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
DDLS520 In the object hierarchy, there is at least one pooling/cluster table
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
DDLS519 CAST for arithmetic operand & on DB & could not be generated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
DDLS522 Input parameters & could not be mapped onto database types
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
DDLS523 Output parameters & could not be mapped onto database types
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.