Home > Java, Web Dynpro > Web Dynpro – Refresh the RFC Metadata Cache

Web Dynpro – Refresh the RFC Metadata Cache

September 12th, 2009 Leave a comment Go to comments

When developing web dynpro applications, we need to create two RFC destinations. One is used to retrieve RFM metadata and another one is used for retrieving transaction data. We can configure the JCo destination using web dynpro content administrator.

You can access the web dynpro tools using below URL patten: https://<your company domain>/webdynpro/welcome/Welcome.jsp

jco-dest

The meta-data of remote function modules are always stable in production environment. But during development, we always need to change the function interface. As the metadata of function module is cached in the Web dynpro side. Program cannot get the correct result. We need to refresh the meta-data cache in order to get the correct result.

Step 1. Go to web dynpro console. Choose ‘Invalidation of ARFC Metadata Cache’.

Step 2. Select the JCo destinations that you want to clear the cache.

Step 3. Click button ‘Get Dictionaries for selected JCo destination’ and then choose the dictionaries, click button ‘Invalidate Selected Dictionary Cache’.

Tips: If you choose ‘Don’t Cache !’ checkbox for JCo destination. The function module metadata will not be cached. The may cause serious performance issue in production environment but we can use it in dev.

clear-cache

  1. No comments yet.
  1. No trackbacks yet.