Skip to Content
0

CDS View oData metadata does not get refreshed

Jun 22, 2017 at 08:22 PM

120

avatar image
Former Member

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 ]

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

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

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 16, 2017 at 05:41 AM
0

Hi,

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


2.png (25.3 kB)
Share
10 |10000 characters needed characters left characters exceeded
Abraham Mendez May 02 at 06:19 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Maybe as Amol mentioned did you try cleaning the metadata cache or may be delete the generated artifacts( DPC_EXT, MPC_EXT, etc) and re-generate the same.

PS: I feel its not a proper way but still it may fix your issue.

0