cancel
Showing results for 
Search instead for 
Did you mean: 

Caching of BAPI/RFC metadata

hartmut_koerner
Product and Topic Expert
Product and Topic Expert
0 Kudos

When calling an RFC from VC, the meta data seem to be cached somewhere. When I change the RFC interface, this is not reflected in VC. How can I delete this cache?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hartmut,

I too have experienced this issue many times and unfortunately the only way to clear this cache is to bounce the server. What you can also do is while developing a BAPI use a naming convention

FM_V1

FM_V2... And when finished publish the final version just to FM.

I know this isn't the answer you wanted, but I hope it helps nonetheless.

Cheers,

Scott

Answers (1)

Answers (1)

sufw
Active Participant
0 Kudos

Hi Hartmut,

If you are using EP6 or later, there is a way of clearing the PCD cache (which includes cached metadata from RFC, JDBC or web service connections).

If you navigate to System Administration > Support > Portal Content Directory > PCD Administration, you will see a screen which allows you to either remove specific objects from the cache, or to flush the entire PCD cache.

This is also mentioned in SAP Note 868887.

Regards,

Sascha

Former Member
0 Kudos

Can all be found in the WIKI:

https://wiki.sdn.sap.com/wiki/display/VC/Cachingdatasource

Please do not answer to one year old messages in the future...

Former Member
0 Kudos

Well the reply to this msg is a little late but not close to a year,

As per the note of Mario, one of the steps of clearing the cache is restarting the J2ee engine,

this is expensive in an production environment and also in an multiple user Development Environment,

I suppose the sys admin approach is better..

Thanks for the info