cancel
Showing results for 
Search instead for 
Did you mean: 

Changed CDS annotations not refreshed in RAP Service Binding and Definition

former_member13323
Participant

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.

Liesbeth
Explorer

We have the same issue on S/4HANA 2021 initial stack. After adding additional annotations in a CDS, the result is not refreshed when using the preview button from the RAP service binding (UI V2).

Unfortunately, the only solution is to delete the service binding and recreate it.

View Entire Topic
AlwinPut
Active Participant
0 Kudos

Use transaction /IWFND/CACHE_CLEANUP

Steps

  • Start transaction /IWFND/CACHE_CLEANUP.
    (Or start transaction /IWFND/MAINT_SERVICE -> Menu: Goto -> Cleanup of Model Cache)
  • Fill Model Identifier. Use the search help.
    If the name of the service binding is:  ZI_SENSORINGOBJECT_V2_O2
    then the Model Identifier is for example: ZI_SENSORINGOBJECT_V2_O2_0001_BE
  • Keep "All Models" and "All Proxy Models" checked.
  • Execute