cancel
Showing results for 
Search instead for 
Did you mean: 

Updating liveCache Data using Function Module or ABAP program.

Former Member
0 Kudos

Is it possible to update APO Live Cache using Function Module or ABAP Program.

Will the aggregation/disaggreagation remain the same if data is modified using Function Module or ABAP Program.

Regards,

Vikas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Natalia,

Thanks for the reply.

I have assumed that Data in APO, Planning Area is same as the live Cache.

( The aggregation/disaggregation of key figures happen in Planning Area).

My main concern is about updating data in Planning Area.

If I use the procedures mentioned by you, can I modify the data in Planning Area.

Regards,

Vikas

former_member229109
Active Contributor
0 Kudos

ello Vikas,

-> Please click at

http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm

& read about 'SAP liveCache'.

As you know objects stored in liveCache in the class containers can be accessed

and manipulated only via LCA routines which are methods of LCA objects.

The registration of the LCA routines is done automatically when

the liveCache is started by the LC10, check the lcinit.log file.

The shared procedures in the LiveCache are written in C++ and shipped

to the customers as binary shared libraries(LCA-Routines) < LCA build >

together with the LiveCache. The original C++ source code of the

libraries is not generally available to the customers.

The LCA routines could be called via "/SAPAPO/OM*" ABAP functions.

-> For SAP liveCache documentation in English:

http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm

< -> Database Administration in CCMS: SAP liveCache -> liveCache Assistant ->

liveCache: Monitoring -> Problem Analysis-> DB Procedures >

In transaction LC10 for the LCA connection choose liveCache:Monitoring

then go to Problem Analysis -> DB Procedures=>

The system displays an overview of all database procedures loaded into

liveCache, their input and output parameters, and other details.

-> Tr. /n/SAPAPO/OM16 ( in further releases /n/sapapo/om19 ) is provided by

SAP to get information about data stored in the LiveCache. If you would

like to get your own views, you should write a special report in ABAP using

"/SAPAPO/OM"-development class functionality.

-> There are standard function modules in ABAP available to extract/change data from/in liveCache.

-> In addition to the given information => find more information at:

SCM 4.0 -> http://help.sap.com/saphelp_scm40/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm

SCM 4.1 ->

http://help.sap.com/saphelp_scm41/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm

SCM 5.0 ->

http://help.sap.com/saphelp_scm50/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm

You can go to the Advanced Planner and Optimizer documentation from the above links < Supply Network Planning Run -> Aggregated Planning -> SNP Disaggregation Or SNP aggregation . >.

***

If you still have open questions on the posted topic =>

Could you please give more information on your application scenario.

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

Hi Natila

I need some help for SAP APO ABAP stand Point, my requirement is currently there is on Infocube = 'XYZ' in APO, we are running a JOB , in that there 7 step to get copy data from Infocube (XYZ) and copied into the Demand Planing Book, now some time what happen, its not copied the accurate data from infocube(XYZ) to PLanning Book(ABC).

Now i have to write a code somewhere to check whether all the data from Infocube (XYZ) get copied into Planning book (ABC) or not,

If its not copied the accurate data into planning , need to abend or stop the job at same moment.

Now i am not able to get any suitable Badi or Exit, even i found this APO write a data in binary form into Planning book, now its difficult to me to compare though ?

Could you pls suggest me something ? or any anybody has been exprinced before then pls share how to do it ?

Thanks in Advance

Regrads

Rajesh Sha