Message type: E = Error
Message class:  /IWFND/CM_MGW -  
Message number: 538
Message text: The entity type '&1' is not defined in the metadata
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 /IWFND/CM_MGW538 indicates that the entity type specified in the request is not defined in the metadata of the OData service. This typically occurs when the OData service is not properly configured or when there is a mismatch between the request and the service's metadata.
Cause: Entity Type Not Defined: The entity type referenced in the OData request does not exist in the service's metadata. Service Not Activated: The OData service may not be activated in the SAP Gateway. Incorrect URL: The URL used to access the OData service may be incorrect, leading to a request for a non-existent entity. Changes Not Reflected: If there have been recent changes to the data model (like adding or modifying entity types), the service might need to be reactivated or the metadata refreshed. Authorization Issues: The user may not have the necessary authorizations to access the entity type.
Solution: Check Metadata: Use the OData service's metadata URL (usually
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/IWFND/CM_MGW537 eTag handling not supported for http method '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWFND/CM_MGW536 Function import eTag handling not supported for http method '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWFND/CM_MGW_EDP000 -- Common Section --
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWFND/CM_MGW_EDP001 Processing of request failed. Contact your system administrator.
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.