Is Live Cache System refresh required with APO refresh
Hi APO Experts:
I have a question concerning the refresh of an APO QAS system. \
If I have an APO system refreshed from a production APO system, is it required that I refresh the Live Cache as well?
We have just refreshed our APO QAS system from production and I was thinking it could be easier to just reinstall a new database for Live cache in QAS then refreshing it from production Live Cache......
Please share your words of wisdom. Thanks! - Will S.
Hi Will,
I think LiveCach refresh with production is not required. But you need to down the LC and then start it.
LiveCach is a temporary storage area and it will refresh with database.
I suggest please post this in BASIS forum.
Regards,
Kishore Reddy.
Similar Messages
-
Live cache COM routine ended with own error code 38
Hi Experts,
the process chain got failed and it is showing the error as error 38.when we are doing the analysis the error itself coming in the extractin level and it is showing as errors in the source system and not more than that. Please gimme some solution how to solve it.Hello,
This is the object not found error for /SAPAPO/OM_PEGAREA
These error codes are generated if you try to access or manipulate an
object that cannot be found in the live cache (any more).
Normally this means that there is no object with the key (GUID) provided
by the ABAP.
Please execute the transaction /SAPAPO/OM17 inorder to resolve the
inconsistencies regarding missing pegkeys.
Best Regards
Barry -
Log Queue Overflows in SCM+Live Cache system
Hello Friends,
Log Queue Overflows showing RED alert in SCM Live cache, Please help me How to solve this issue.
Regards,
BalaramUser Basis wrote:
Dears,
>
> In my system some problems are occurring with log queues.
> The following message is presented in my system:
> Log queue overflows: 70641, configured log queue pages: 2000 for each of 4 log queues
>
Ok, so what is the problem with that?
You use the liveCache quite heavily (e.g. make lots of commits/changes) and the storage where you put your log-volume to is not quick enough to save the data.
Either you fix the storage speed or you accept that your users might have to wait a bit longer for their application to save the data.
User Basis wrote:
> I think it is occurring because we are managing the Log with "Log automatic overwrite". This configuration is being used because we don´t have a lot of disk space to manage it as well.
> Al jey.
These two things have no connection.
A log queue overflow simply means, that sessions have to wait until the log queue is saved to disk before they can put new entries to the log queue.
The log mode overwrite means: you don't care about data security and the ability to recover the liveCache from a backup.
It's a setting used for throw-away database instances where it doesn't matter to loose data.
It means that the database simply overwrites log entries that have not been backed up, when the log area gets filled.
regards,
Lars -
helo sap masters
could u plz help me out ..
1. Why should we maintain LIVE Cache separately despite of having in APO tool.???
2. Why should we have BW in APO too in spite of having BW tool seperately ??Hi Dallyanusha,
1) Livecache is a special inbuild device in APO which does
speedy operations especially during optimisation and retrives
data quickly from database. For effective functioning of
planning activities, livecache in APO is must.
2) BW in APO serves and stores information on business
master data and transactional data objects and can be
extracted to create various queries and reports. This is
more useful during demand planning
Regards
R. Senthil Mareeswaran. -
How to install Live cache in SCM 5 for APO
Hi gurus...
i have recently installed scm 5 on windows 2003 server with sp1 ,oracle 10g as database..
i have entered trans lc10 and saved it.
now when i click on livecache monitoring it's showing errors like this
LiveCache :display error log
Name and server :MMS-skynet
DBMRFC Function :DBM_Connect
Error : DMB error
Return Code : -4
Error Message :database instance not found...
any help will be grateful to me as i am struggling to find a solution for this problem
thanks
srikanthHi srikkanth,
Please use the following link to check whether the installation is done as per the standards.
http://help.sap.com/saphelp_scm70/helpdata/EN/48/10a673486b3d1be10000000a42189d/frameset.htm
I hope this will solve your query.
Please confirm
Regards
R. Senthil Mareeswaran. -
Hi Gurus,
I am working on APO datasource in SNP,
How do the live cache filled up? I have built a cube top of a custom datasource (9AZSNP), everything works fine and i want to know what is behind the live cache, is it directly a user entry planning version template or any underlying tables.
Please advise.
Thanks. GowdaHi,
The datasource will use only planning version template, and data will trabsfer from Planning area to BW. Regarding Liveche you talk to APO guys,,, it will store data and it is dynamic..
Check
Feeding Cube from Live Cache
Re: Livecache for SCM/APO
Re: what is the use of Livecache,why can't we go with relation databases...
Thanks
Reddy
Edited by: Surendra Reddy on Mar 7, 2009 5:39 AM -
Hi
Please let me know the FM/BAPI which will get me the MRP data from Live cache.
My requirement is to get the date and quantity for each element, MRP elements to be used are VC,VE,LF based on the plant and material
Thanks in advance
AmitHello Sebastian,
FM '/SAPAPO/OM_PEG_CAT_GET_ORDERS' seems to cover my requirements and I'm happy I found out about it here. Unfortunately I have some problems testing with SE37:
Specifying only PEGID together with needed categories was not successful. Searching for calling programs of this FM I found FM '/SAPAPO/ATP_DISP_LC_SINGLE' which additionally sets parameter IS_GEN_PARAMS-SIMVERSION to '000' and receives the correct values.
Now I have the problem that with setting the same input values I still receive exception 'LC_APPL_ERROR' and don't know why. Since I'm new to APO it could be some basic setting, still I'm wondering why this could be. Hopefully you can provide some helpful information, otherwise I think I'm lost
Thanks in advance,
eddy -
Hi Guys,
IF i stopped live cache in LC-10 , what happen to the system , specially to the dynamic data's in live cache , how will it impact APO system and R/3 system
if i want to bring back to original status of live cache what i have to do
Right now i stopped and started again live cache, then i went to apo system and opened product view of particular product system says live cache not available
but the live cache i started again
Please give some feed back on this issue
Thanks
RajHi
Thanks for kind guidelines
here is my exact problem, currently two system APO and R/3 is running smoothly with CIF
Accidentally i stopped LiveCache and started again
but when i go to apo Product view , i entered the product and location to view those existing planned order and sales order
But the system says that LiveCache not available
Please explain what is the reason for it , i need to activate all the integration models in R/3 again
please some one help me in this regard
Thanks in advance
Raj -
Why we need live cache along with RDB in APO
Hello Expert,
I recently entered to APO module so want to know about live cache and why we really need comparing to RDB and what RDB cannot do that live cache can do?SRS,
Functionalities are pretty much the same. LiveCache is a relational Database, built on MaxDB.
Advantage of LC is that most of the data is stored in memory rather than on disk storage. Data access and retrieval is substantially faster from memory than from disk storage.
Best Regards,
DB49 -
Data movement from R/3 DB to APO DB and to Live cache
Dear APO Experts,
I have few questions on live cache and how it works, I understand that Live cache is memory resident database. below are my questions.
1) What sought of data move from R/3 DB to APO DB and then to Live cache DB
2) When data moves from APO DB to Live cache, till how much duration that data stays in live cache
3) And how does data gets pulled in to live cache from APO DB
4) Why do we require live cache logs while data never gets commited to hard disk
5) Do we ever add a datafile to Live cache DB
any info that you provide on this will be really helpfull to me
Thanks,
ChetanHello Chetan,
As you know, itu2019s MAXDB/liveCache forum.
What is the version of your system?
The is documentation available at:
SAP liveCache technology
< Please review document u201CWhat is SAP liveCache technology?u201D >
Sap documents at service.sap.com/scm -> Technology:
u201CliveCache overviewu201D and u201CIntegration overviewu201D
For SAP liveCache documentation also see the SAP note 767598.
Go to SAP link Best Practices for Solution Management: mySAP SCM at SAP liveCache technology ...
And Review the document u201CManage APO Core Interface in SAP APO (3.x) / mySAP SCM (4.x/ 5.0)u201D
1. As you saw in the reference documents the data transferred from the connected R/3 system to APO.
And the transactional data could be uploaded to the liveCache, if you downloaded them
to the APO database cluster tables first. This procedure steps are running during the
system upgrade < for example, from SCM 5.0 to SCM 7.0 ) u2013 report /SAPAPO/OM_LC_UPGRADE_70 steps. Or you want to migrate the
liveCache to another operating system or convert your system to Unicode,
and therefore you want to back up the liveCache data first so that you
can reload it into the liveCache afterwards - SAP Note No. 632357.
2. Could you collaborate more on this sentence. Could you give examples?
3. u201CAnd how does data gets pulled in to live cache from APO DBu201D
The data are not pulled from the APO DB to liveCache.
When you changed the APO data on the system the LCA procedures have been called from ABAP. The objects stored in the class containers in liveCache can be accessed and manipulated only via LCA routines. The registration of the LCA routines is done automatically when the liveCache is started by the LC10. The LCA procedures in the LiveCache are written in C++
and shipped to the customers as binary LCA libraries(LCA build) together with the LiveCache.
< See more details in SAP Note No. 824489 or 1278897 as of SCM 7.0 >
4. See the SAP notes:
869267 FAQ: SAP MaxDB LOG area
1377148 FAQ: SAP MaxDB backup/recovery
5. You could run the quicksizer & estimate how much data you are planning to have in liveCache.
Also the amount of data could be increased by the creation of the new data in APO by users
Or another reason u2026
In general you will add the datavolume to solve or prevent the DB_FULL issue,
See u201C17. What do I do if the data area is full? u201C in SAP note 846890.
Thank you and best regards, Natalia Khlopina -
BW reporting from APO live cache
It has been 4 years since I have worked on a BW/APO project. Back then, I know that in APO you could backup live cache and then use the backup as the datasource for reporting in BW. Is this still the same or can you go directly against live cache now.
Thanks,
DeanHi Somnath,
Can you pl. give me the reference where running reports from internal APO-BW directly is recommended by SAP?
We have a similar situation with our client. It is possible to do reporting from APO cubes directly, but we are not sure since I found this in once of the SAP presentations
SAP recommends for customer to prepare separate systems for APO and BW.
Reasons
The APO system will be tuned for optimal APO functionality performance such as calculating forecasts in demand planning or deriving ATP values
The BW system will be tuned for optimal query performance in order to return results in a timely fashion. -
Installing Live Cache Server on SCM 4.1 system
Hi All,
I have installed an SCM 4.1 Abap + Java System and Live cache client was installed during SCM 4.1 installation.
I would like to install Live cache server and i have problems with it.
I have downloaded the following installation guide
SAP liveCache 7.5.0 For SAP SCM Server 4.1
Document Version 1.02 u2013 April 8th, 2005
Guide tells us to use installation master CD for installating Live cache Server but note 708118 tells us to use the CD 51031447
04 Nov 05 Windows AMD64: Start Installation from liveCache CD
Start the installation of the liveCache server or client from the liveCache
CD (number 51031447) and not from the installation master CD (number
51031443)
Upon checking the cd 51031447 i see SDBINST.exe and upon clicking it i get the following screen
Installation of SAP LiveCache Software
existing profiles
0: APO Livecache
1: Runtime for SAP AS
2: DB Analyzer
3: JDBC
4: Server
5: Loader
6: ODBC
7: All
8: None
Please enter profile id :
I select profile 0 and it comes back with another user input option
Im searching for a document which gives me the procedure for installing Live cache using SBDINST.exe
Regards,
Ershad Ahmed.Hi All,
I went ahead with Option 0 and it asked me for Kernel file and i provided the files.
I checked logs in /sapdb/wrk directory and i see that Installation of SAP livecache finished successfully.
From LC10 i gave database connection name (LCA) and clicked on live cache monitoring and it comes back with an error
Name and Server : LCA - XXXXXXX (XXXXX = Server Name)
DBMRFC Function: DBM_EXECUTE
Command: dbm_version
Error: DBM Error
Return Code : -4
Errror Message: database instance not found.
Application Server: XXXXXX ( Windows NT )
1. Connect. test with "dbmcli db_state"
Error! Connection failed to node XXXXXXX for database LCA: database instance not found
External program terminated with exit code 2
2. Connect. test with command mode "dbmrfc db_state"
Name and Server : LCA - XXXXXXX
DBMRFC Function : DBM_EXECUTE
Command : db_state
Error : DBM Error
Return Code : -4
Error Message : database instance not found
3. Connect. test with session mode "dbmrfc db_state"
Name and Server : LCA - XXXXXXXX
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -4
Error Message : database instance not found
4. Connect. test with "native SQL" ( LCA )
For detailed information, see the developer trace for work process: 1
From the OS level i gave command dbmcli db_enum and i get OK as reply.
Can someone please let me know how to resolve this issue.
Regards,
Ershad Ahmed. -
Hi guru's,
i just wanted to know what live cache means? How do we mention live cache? If an APO person says that "data is stored in live cache " what does it mean? How do we extract data from live cache?
I will be very thankfull to you all if i get this answers.
Thanks a Lot
Regards,
RajaHello Raja,
For SAP liveCache documentation in English:
http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
( please see the liveCache terms 'Data Cache' & 'OMS Data' )
As you know objects in liveCache stored in the class containers can be
accessed and manipulated only via LCA ( liveCache Applications ) routines
( Database Procedures ) which are methods of LCA ( COM ) 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 ( dynamic linked )procedures in the LiveCache are written in C++
and shipped to the customers as binary shared libraries ( dynamic linked )
(COM-Routines or LCA-Routines) together with the LiveCache. The original
C++ source code of the libraries is not generally available to the customers.
You can get the complete list of the stored procedures using SQL Studio
(shipped with the LiveCache):
just connect to the LiveCache as Standard livecache user ( SAPR3 or SAP<LC-SID>
By default ) with the password 'SAP'( default ).
You can read the Config-Files ./sapdb/<LC name>/db/sap/xxx.lst
or check the information in the lcinit.log file.
Names of all registered procedures, which have been called from ABAP, you can find
executing 'lc10' transaction on your SAPAPO system:
LiveCache Monitoring ->Problem Analysis -> Database Procedures .
If you need to see the interfaces of the procedures, you may use 'se80'
transaction and navigate in the Development class '/SAPAPO/OM'.
The transaction /n/SAPAPO/OM16 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.
'/SAPAPO/OM16' itself calls a bunch of OM- functions to read
data from the LiveCache, e.g.:
/SAPAPO/OM_RESOURCE_GET_ALL
/SAPAPO/OM_ORDER_GET_ALL
/SAPAPO/OM_SETUPMATRIX_GET_DAT
/SAPAPO/OM_STOCK_GET_BY_UID
You can get more information about liveCache and LCA object at the following links:
Service.sap.com/scm ( -> mySAP SCM Technology )
Service.sap.com/liveCache
Thank you and best regards, Natalia Khlopina
Message was edited by: Natalia Khlopina -
Error during Live Cache Server Installation on SCM 4.1 system
Hi All,
I have an SCM 4.1 ABAP system running on MSSQL2005 and Win2003 server.I would like to install Live Cache Server on the same Server.Livecache client was installed as part of SCM 4.1 installation.
I have installed MAXDB software and now when im trying to install Live Cache Server Instance i get the below error
Im performing the installation with user root and it is an Administrator.
WARNING 2011-12-09 11:01:25
Execution of the command "change 'user' '/install'" finished with return code 1. Output: Install mode does not apply to a Terminal server configured for remote administration.
Installation start: Friday, 09 December 2011, 11:01:23; installation directory: G:\SCM_4.1_Media\Media_Live_Cache\New_Media\51031447_2\CD_SAP_SCM_4.1_liveCache_64bit\SAPINST\NT\AMD64; product to be installed: SAP SCM 4.1> Additional Services> Install a liveCache Server instance
Transaction begin ********************************************************
WARNING 2011-12-09 11:02:33
Error 3 (The system cannot find the path specified.
) in execution of a 'CreateProcess' function, line (265), with parameter (G:\SCM_4.1_Media\Media_Live_Cache\New_Media\51031447_2\CD_SAP_SCM_4.1_liveCache_64bit\NT\AMD64\SDBUPD.EXE -l).
Transaction end **********************************************************
WARNING 2011-12-09 11:02:34
The step Fill_sapdb_db_instance_context with step key LIVECACHESERVER|ind|ind|ind|ind|ind|0|LC_SERVER_INSTALL|ind|ind|ind|ind|ind|0|Fill_sapdb_db_instance_context was executed with status ERROR.
Has anyone seen this error before ? Any pointers would be helpful.
Regards,
Ershad Ahmed.Subprocess starts at 20111209154957
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX db_enum
Execute Session Command : exit
> Subprocess stops at 20111209154957
OK
> Subprocess starts at 20111209155027
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX db_enum
Execute Session Command : exit
> Subprocess stops at 20111209155027
OK
> Subprocess starts at 20111209155221
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX db_enum
Execute Session Command : exit
> Subprocess stops at 20111209155221
OK
> Subprocess starts at 20111209155323
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX inst_enum
Execute Session Command : exit
> Subprocess stops at 20111209155324
OK
7.5.00.31 f:\sapdb\liv\db
7.6.06.10 f\sapdb\sdb\7606
7.6.06.10 C:\Program Files\sdb\7606
> Subprocess starts at 20111209155324
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX inst_enum
Execute Session Command : exit
> Subprocess stops at 20111209155324
OK
7.5.00.31 f:\sapdb\liv\db
7.6.06.10 f\sapdb\sdb\7606
7.6.06.10 C:\Program Files\sdb\7606
> Subprocess starts at 20111209161349
Execute Command : C:\Program Files\sdb\programs\pgm\dbmcli.exe -n XXXXXXXXX inst_enum
Execute Session Command : exit
> Subprocess stops at 20111209161349
OK
7.5.00.31 f:\sapdb\liv\db
7.6.06.10 f\sapdb\sdb\7606
7.6.06.10 C:\Program Files\sdb\7606
Regards,
Ershad Ahmed. -
DBM Error return code -11 in LC10 Administration in SCM System Live Cache
Hello,
We have installed SCM 4.1 on Solaris on one box and LC 7.5 on another solaris box.
For kernel upgrade, we shut down Live Cache using LC10>administration on SCM server. After kernel patch, other patches for ABAP stack, we upgraded LC to SP11 build 35.
Since then, we get following error in LC10.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name and Server : LCA - gva1073
DBMRFC Function : DBM_EXECUTE
Command : dbm_version
Error : DBM Error
Return Code : -11
Error Message : tp error: Terminating. [nlsui0.c 1934] pid
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Also, in DB59, when we try to check connection, we get following error -
General Connection Data
Connection Name....: LCA
Database Name......: LCA
Database Server....: gva1073
tp Profiles........: no_longer_used
DBM User...........: CONTROL
Test Scope
1. Execute an external operating system command (DBMCLI)
2. Determine status using TCP/IP connection SAPDB_DBM (DBMRFC
command mode)
3. Determine status using TCP/IP connection SAPDB_DBM_DAEMON (DBMRFC
session mode)
4. Test the SQL connection (Native SQL at CON_NAME)
Application Server: gva1075_SCD_03 (
SunOS )
1. Connect. test with "dbmcli db_state"
Successful
2. Connect. test with command mode "dbmrfc db_state"
Unsuccessful
dbm_system_error
Name and Server : LCA - gva1073
DBMRFC Function : DBM_EXECUTE
Command : db_state
Error : DBM Error
Return Code : -11
Error Message : tp error: Terminating. [nlsui0.c 1934] pid
3. Connect. test with session mode "dbmrfc db_state"
Unsuccessful
dbm_system_error
Name and Server : LCA - gva1073
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -11
Error Message : tp error: Terminating. [nlsui0.c 1934] pid
4. Connect. test with "native SQL" ( LCA )
Successful
++++++++++++++++++++++++++++++++++++++++++++++++++++
Can anybody please help?
Thanks and regards,
VaibhavHello Vaibhav,
while using transaction LC10, the error 11 "tp error: Terminating. [nlsui0.c ...]" occurs. The user authorization with tp fails and the application server cannot connect to the liveCache.
I assumed, that it's due to a library version mismatch, tp cannot use the liveCahe UNICODE libraries.
Please check, that the tp call at the command line works properly. And a dbmcli call in the transaction SM49 with the tp options
(dbmcli ::
-d <LC-SID> -n <LC-servername> -tpp <profile> -tpi <system-SID>
-tpc <connection - LCA/LDA> dbm_version)
works also properly.
I recommend you to update the liveCache client software on the Application server.
If you've got access to OSS/Service Market Place, then please take a look at note
649814 how to update the liveCache client software on the application server.
< Please also review the SAP notes 847736 & 831108 >
Before the liveCache client version will be upgraded on the application
server you can use the workaround by switching off the central authorization for the liveCache LCA/LDA connections:
In transaction LC10, choose Integration and deactivate the option Central authorization, then save.
If you are the official SAP customer, I recommend you to create the ticket to SAP on 'BC-DB-LVC' queue.
Thank you and best regards, Natalia Khlopina
Maybe you are looking for
-
Non editable field in POP_GET_VALUES
Hello, I am using the POP_GET_VALUES function to request two values from the user. I have to ask for a provider and a price. The provider field works fine (mach code included), but the price field appears in grey (non editable) and then the user cann
-
Security Update 2014-002 Black boxes and screen sticking
Today after installing the security update 2014-002 on mavericks i am getting black boxes or black backgrounds when shifting screens. In Safari when i am scrolling down it is behaving the same way displaying text and pictures stuck wile moving. Is th
-
EDSCannotAccessSession error when enabling email
I'm using 10.5 server for Email, iChat, Calendar, and AFP on an Intel XServe. Everything has been going smoothly for a few months but in the last month when I've tried to enable email to any users in Workgroup manager I get the following error which
-
How to get automatic message output
Hi, How to get automatic message output while creating po cause i have done all setting in the config but still it does not work what else i have to do. And 1 more thing how we can maintain condition record for Printoutput & External send for one out
-
Need to run program multiple times
I need to be able to run my compiled java file five times all in the same cmd while only using one .java file... I got it to fully work when i only do it once, but how do i make it repeat everything five times?