Skip to Content
avatar image
Former Member

CDS View oData metadata does not get refreshed

Dear Colleagues,

I Created a CDS view and exposed it as oData. After that I activated the service via /IWFND/MAINT_SERVICE.

Issue:

If I change the CDS view by adding a new column, and then reactivated the view. I do not see the changes in the oData service.

Stuff I have tried:

1. Deleted the oData service and re-added it in the /IWFND/MAINT_SERVICE

2. Refreshed the oData caches (both IWFND & IWBEP)

3. Removed oData.publish property from the CDS view and then re-added it.

No matter what I try I am unable to get the new column property into the oData service.

Please let me know if anyone has any ideas on the same.

Kind regards,

Sagar

[PS: easy way to test -->

1. Create a CDS view and expose as oData.

2. Then activate the oData in /IWFND/MAINT_SERVICE

3. Now, go back to the CDS view and add a new column to your select and activate ]

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 29, 2017 at 12:11 PM

    Hi

    I am struct with the same issue. However it works if you create a new DDL with a different name. Let us know if you had found any solution for the same.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 16, 2017 at 05:41 AM

    Hi,

    Select the service in /IWFND/MAINT_SERVICE and go to Service Implementation and click on Cleanup Cache.

    Add comment
    10|10000 characters needed characters exceeded

  • May 02 at 06:19 PM

    Hi Sagar, did you find a solution other than copying the CDS View (DDL Definition) and exposing it with a differente name?

    Add comment
    10|10000 characters needed characters exceeded

    • I just ran into the same issue. I also tried all of the above. I noticed the annotation models were not updating as it had an old update time stamp. I just deleted the annotation model and activated the CDS again, which worked for me. You can access it from the "Display Service" screen. There is a button at the bottom of the screen labelled "Annotation Model".