title: SAPUI5 Metadata is not refreshing after changes
body: <p>We got a problem with <code>SAPUI5</code> service maintenance. After making changes in service entities through <code>SEGW</code> transaction, the metadata that loaded in <code>GW</code> client stays in the state of before changes.</p>
  
  <p>For example, there was a field of a date changed into string, and <code>GW</code> throws errors of <code>invalid or no mapping to system data types found</code>. 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).</p>
  
  <p>We tried to refresh those caches:</p>
  
  <ul>
  <li>Index recalculate</li>
  <li>Smicm</li>
  <li>Global caches</li>
  </ul>
  
  <p>Via:</p>
  
  <ul>
  <li>/iwfnd/cache_cleanup</li>
  <li>/ui2/invalidate_global_caches</li>
  <li>/ui5/app_index_calculate</li>
  </ul>
  
  <p>We also reloaded the metadata and even deleted the entity and recreate it - all of it failed. </p>
  
  <p>In <code>/IWFND_GW_CLIENT</code> transaction the updated metadata is shown.</p>
  
  <p>Only recreating the entity with different name seems to solve it but it does not seems like a good way to maintain a service...</p>