Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Service doesn't update after data model updating

Hello, dear experts!

I have a question.

I created OData Service and all is OK.

After that I have updated data model. MPC methods have been changed with my new updates. But I can't see new service metadata document, browser displays old version of it. And service works in the way like old version of data model is actual.

I don’t understand this behavior.

In the book “OData and SAP NetWeaver Gateway” I have read that it is not “waterfall” approach in Gateway, which means that we can make changes in all 3 service creation phases (data model definition, service implementation and service maintenance) in the order we want.

I tried regenerate runtime objects and reactivate service, clear browser cache, but it didn’t help.

I put external breakpoint into DEFINE method of the MPC class and send some requests to server, but debugger doesn’t open. It looks like some kind of server cache.

I think it is incorrect behavior. What would you recommend?

Thanks in advance,

Ihar

Former Member
replied

Yes, it is server cache.

Run below two Tcodes

/IWFND/CACHE_CLEANUP

/IWBEP/CACHE_CLEANUP

Thanks

Krishna

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question