Message type: E = Error
Message class:  /IWBEP/CM_V4_MED -  
Message number: 359
Message text: Only entity type '&1' is allowed to use complex type '&2'
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 /IWBEP/CM_V4_MED359 indicates that there is a restriction on the use of complex types in your OData service. Specifically, it states that only a certain entity type (denoted as &1) is allowed to use the specified complex type (denoted as &2). This error typically arises in the context of OData services when there is a mismatch between the entity types and the complex types defined in your service metadata.
Cause: Incorrect Mapping: The complex type is being used in an entity type where it is not allowed. Each complex type can only be associated with specific entity types as defined in the OData service metadata. Service Definition Issues: The service definition may not correctly reflect the relationships between entity types and complex types. Model Configuration: There may be issues in the way the OData model is configured, leading to the complex type being incorrectly referenced.
Solution: Check Entity and Complex Type Definitions: Review the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/IWBEP/CM_V4_MED358 Operation advertising property only allowed in entity or complex type
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/CM_V4_MED357 Complex type '&1' must not contain complex collection
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/CM_V4_MED360 Entity type not found due to not unique provider info '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/CM_V4_MED361 Entity type not found for provider info '&1'
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.