Skip to Content
author's profile photo Former Member
Former Member

HCI OData metadata - unable to refresh

Hi Experts,

I seem to be missing something with HCI OData provisioning as I'm unable to view updated metadata for an OData service.

Current setup is HCI -> Cloud Connector -> ECC system. The custom OData service has been changed on the ECC system and all caches refreshed on it. I can see the updated metadata if I call the service from an on-premise Gateway or when I call it from a different HCP account where it has not been registered before. Once the service is registered however it seems to be impossible to refresh the metadata that was fetched the first time when retrieving it via URL https://gwaas-[account].hanatrial.ondemand.com/odata/sap/[service_name];v=1/$metadata.

I have tried the following:

  • Remove and register the service
  • Remove the destination, re-add and register the service
  • Create a new version of the service on the on-premise ECC system (e.g. V2...this was unexpected but even when registering and calling V2 the old metadata is displayed if V1 has already been registered on the HCI instance)

Is there any functionality to refresh/clear metadata for a service where the service has changed since registration e.g. similar to a /IWFND/CACHE_CLEANUP on an on-premise Gateway?

Kind regards,

Willem

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2015 at 10:13 AM

    Hi Experts,

    As an update to above - I'm able to pull in the new metadata via following process:

    • Create a new model on the ECC system (/IWBEP/REG_MODEL) using the same model provider class as the original updated model
    • Create a new service using the newly named model (/IWBEP_REG_SERVICE)
    • Import the new service in HCI

    In my mind this points clearly to a model cache on HCI causing the issue. Just creating a new service without creating a newly named model results in the same old metadata being pulled in. Renaming the old model and pulling it in works as the new model name is not cached (yet, on first call) and hence new model data is pulled in. In on-premise gateway one would refresh this with /IWFND/CACHE_CLEANUP. Is there a way to trigger this cache cleanup on HCI?

    Kind regards,


    Willem

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.