cancel
Showing results for 
Search instead for 
Did you mean: 

What is Cache refreshing in XI ? Why and when we will do that ?

Former Member
0 Kudos

Hi Experts

What is Cache refreshing in XI ? Why we need to do this ? when and all we

need to do that ?

T.Code: sxi_cache when we will use this ?

I have no idea on this and any one give more details on this pl....

Adv..thanx and points to all

Kiran LVS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kiran,

the XI cache gets usually refreshed by itself. So in most cases you don't need to worry about it. The cache is used to let the system perform smoother. Imagine it had to read all the interface information each time an idoc is sent.

Sometimes the cache is not properly updated. You can see in SXI_CACHE all your Interfaces, communication channels, Idocs etc. If for some reason you have a difference between your Integration Builder and your Cache (after you made sure you activated your changes in the Integration Builder) you can try a cache refresh to get your systems up to date.

Of course there are few exceptions but generally you don't have to worry about it.

If your questions is not answered please let me know.

Regards

Cornelius

Former Member
0 Kudos

Hi All

Can you pl..expalin me like what are the situations i need to refresh the cache?

based on what i will knowing <u>cache refreshed or not</u> ?

Give me some examples when and all i need to <b>refresh</b> and <b>check</b> the cache?

thanks and regards

Kiran LVS

Former Member
0 Kudos

Hi,

In some cases when you change an object that was created before and activate the changes are not reflected. XI uses the older version of the object during execution.The newer version of the object is not reflected. Then you have to do a cache refresh to reflect the modified changes.

Regards,

Sudheer.

Shabarish_Nair
Active Contributor
0 Kudos

there can be multiple situations when u might have to enforce a cache refresh.

Suppose you did a recent change to a mapping and activated the same. but when your scenario is run u seem to see the old mapping being called etc. in tht case, a manual cache refresh is done.

same as in case of ID objects, your communication channel, recv. det. etc

Former Member
0 Kudos

Hi ,

Refer to this document also if you have service market place Id ...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a7930...

Sekhar

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Kiran,

Cache refreshing means getting the newly created component in the cache. Usually cache get refreshed automatically by SAP system and user do no thave to refresh it but in some cases the newly created component does not get dispalyed in cache. In that case this cache should be refreshed and it will pull out the new component in it.

Regards,

Subhasha Ranjan

Former Member
0 Kudos

Hi All

Thanks a lot and i got very good information about cache

Points awarded

Regards

Kiran LVS

Former Member
0 Kudos

Hi Kiran,

Refreshing the cache means, back end connections are made during the next request and the cache is validated for any new or any deleted items. Before contacting the back ends, expired items are removed from the cache.

Please let me know if you have any further queries.

Thanks and Regards,

Sekhar

Shabarish_Nair
Active Contributor
0 Kudos

The cache refreshing is a task in XI to get the latest copy of the objects created or changed into the cache of the XI server. usually it is done automatically.

sxi_cache - this tcode is used to manually refresh the cache and also to view the status of the objeccts in the cache. (/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off)

Former Member
0 Kudos

Hi ,

There are 2 types of caches.....

CPA cache - is your Collaboration profile agreement cache, ie to mean it will contains the cache copy of all objects created during configuration time (ID).CPA (Collaboration profile agreement )Cache-mainly for J2EE engine/Adapter engine.

About Cache Monitoring-

http://help.sap.com/saphelp_nw2004s/helpdata/en/92/2fd93f130f9115e10000000a155106/content.htm

Runtime cache - it will contain cache copies of all the objects in XI (IR/ID)

and active version of all your objects during runtime.

Check this.......

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47...

Sekhar