We got a problem with SAPUI5
service maintenance. After making changes in service entities through SEGW
transaction, the metadata that loaded in GW
client stays in the state of before changes.
For example, there was a field of a date changed into string, and GW
throws errors of invalid or no mapping to system data types found
. The cause is an attempt to put string-date value like '16.05.2019' into date type (the metadata of the entities is not refreshing somehow).
We tried to refresh those caches:
- Index recalculate
- Smicm
- Global caches
Via:
- /iwfnd/cache_cleanup
- /ui2/invalidate_global_caches
- /ui5/app_index_calculate
We also reloaded the metadata and even deleted the entity and recreate it - all of it failed.
In /IWFND_GW_CLIENT
transaction the updated metadata is shown.
Only recreating the entity with different name seems to solve it but it does not seems like a good way to maintain a service...