Skip to Content
1
Oct 10, 2020 at 12:38 PM

OData V4 Service Catalog

377 Views

Hi Andre Fischer,

for OData V2 based services on a AS ABAP I can use this Endpoint to read all Services Starting with API:

/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/ServiceCollection/?$format=json&$filter=startswith(TechnicalServiceName, 'API')

or do a count:

/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/ServiceCollection/$count?$filter=startswith(TechnicalServiceName, 'API')

For OData V4 I found something similar with:

/sap/opu/odata4/iwbep/all/default/iwfnd/catalog/0002/ServiceGroups

but this Service has only the EntitySet ServiceGroups and no navigation attributes. So how can I read all the published OData V4 Services via a Service? I know that I can get a list of the services in Transaction /iwfnd/v4_admin via SAP GUI. But I want an API like it is available for OData V2.

Best regards
Gregor