Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

what is Live cache ?

Hello,

What is live cache? Please give the procedure to activate the same.

Is it the connection between R/3 and APO which transfers the data dynamically to r/3 to APO and APO TO r/3.

Please let me know my understanding is correct.

Former Member
Former Member replied

Hi ravindra deokule

liveCache is one of the database used in APO system.

APO system has 2 database APODB and liveCache.

Generally master data and some other data are stored in APODB.

And some part of transaction data (most of the part) are stored

in liveCache.

For APODB, you can use normal DB like Oracle, MSSQL, DB2, MAXDB.

For liveCache, their is no choice. (liveCache is one of the function

of MAXDB).

From new SCM release, you can use MAXDB for APODB and liveCache.

(But still there is 2 kinds of DB).

If you have DB knowlege, maybe you can get rough image of liveCache.

(Compared to normal DB, liveCache has more bigger datacache. So

all data can be stored in dataCache. <Off course this require

certain amount physical memory>).

Since most of the data are stored in dataCache (it is better to be

stored in datacache. Otherwise expensive disk access occur), APO

application can access data speedly.

(liveCache data is accessed by special routins that are called

from function module start with /sapapo/OM*)

liveCache is often called memory based database. But actually it also

has DB (disk). So same as other DB, DB(disk) has all data. And

its copy is stored in dataCache (memory). The difference between

other DB and liveCache is, it is recommended to store all the data

in dataCache in liveCache, and if most of the data is stored in

liveCache, this means data is on memory. Therefore liveCache is

called memory based database.

About the connection between R/3.

The data exchange between R/3 and APO is done by qRFC.

This interface is called CIF.

So if someone create data in APO, transaction data is stored in

liveCache. As well, this creation also create some even to create

qRFC data to R/3. So this created data is sent to R/3 and stored in

R/3 database. Then this data comes back with R/3 document number to APO

with qRFC format. Then when it arrive in APO, qRFC is executed

and within this function module, APODB and liveCache is accessed

via several function modules including /SAPAPO/OM*.

So if you use SCM system, you have to be careful to the consistency

between APO and R/3 (this consistency check can be done by delta report)

and APODB - liveCache. (Since some of the data are stored in APODB and

liveCache, and there is some relatation between APODB and liveCache)

I hope this explanation help you

Best Regards

keiji

3 View this answer in context
Not what you were looking for? View more on this topic or Ask a question