on 2021 Jul 13 1:35 AM
Hi guys,
I'm using a RAP generated Odata service in my template generated Fiori Elements app in VS Code. However each time I change the UI annotations (Using backend instead of local annotations), it's not reflected in the FE app. I've tried:
1. A metadata cache cleanup in /IWFND/SUTIL_GW_CLIENT
2. Running /UI5/UPD_ODATA_METADATA_CACHE and /UI5/DEL_ODATA_METADATA_CACHE
to no avail.
Things that worked:
1. Auto-exposure of CDS (Non-RAP)
2. Deleting both the Service Definition & Binding, and recreating them again.
Any ideas? andre.fischer ?
Thanks.
Request clarification before answering.
I have found that the issues we experienced, were caused by the fact that we had published our service binding via the "Publish" button in ATC. This causes the service to be published locally and we could use the "Preview" button to test our application. However, when we changed the annotations afterwards, they were not reflected in de app.
To solve the issue, we no longer use the "Publish" button of the service binding, but we use transaction /IWFND/MAINT_SERVICE to register the service. Now, it works as expected.
In VS Code it also works most of the time, but sometimes I do have to reload the metadata to see the latest annotation changes in the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this issue already resolved? Any quick fixes for 2021?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am facing the issue with SAP_BASIS 756, SP 3, too. I created a ticket and keep you posted...
Check in manifest.json while creating the FE app from VS Code.
Remove the localURI in the datasource for the service, metadata and annotation. This will force the app to load the metadata and annotations from the updated backend service and not refer to the local files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use transaction /IWFND/CACHE_CLEANUP
Steps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue here - when change CDS annotations the related *VAN annotation model doesn't reflect the change => frontend doesn't get the changes either
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Having the exact same issue here. It requires rebuild of Service definition & biding, which takes time and not very smooth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.