OData Metadata Viewer
ODataNewPaste your OData $metadata XML and visualize all EntityTypes, NavigationProperties, and Associations in a clean, searchable interface. Supports OData v2 and v4.
Fetch from: https://host/sap/opu/odata/sap/SERVICE_NAME/$metadata
Advertisement
Frequently Asked Questions
Where do I get the OData $metadata XML?
Append /$metadata to your OData service root URL. For example: https://host/sap/opu/odata/sap/MY_SERVICE/$metadata. You can also find it in SAP Gateway (transaction /IWFND/MAINT_SERVICE) or in Postman after making a request to the service root.
What is the difference between EntityType and EntitySet?
EntityType defines the structure (fields and their types), like a class definition. EntitySet is a named collection of EntityType instances, like a database table. The $metadata lists both, and OData requests target EntitySets (e.g., /SalesOrderSet).
What are NavigationProperties?
NavigationProperties define relationships between EntityTypes, similar to JOIN relationships in SQL. They allow you to navigate from one entity to related entities using $expand or navigation segments in the URL.
Advertisement