LC-10 - Live cache
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
Raj
Hi
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
Similar Messages
-
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. -
Live Cache Failed (DBM error)
Hi,
I am getting following error while starting live cache(LC10)
"Error DBMCLI_COMMAND_EXECUTE_ERROR when starting liveCache LC1 on server system"
Server: system
Users: SAPUSER
Logical Command: DBMRFC
Parameter: exec_lcinit restart
Name and Server : LC1 - system
DBMRFC Function : DBM_EXECUTE
Command : exec_lcinit restart
Error : DBM Error
Return Code : -24964
Error Message : ERR_EXECUTE: error in program execution#
0,sap\lcinit LC1 restart -uDBM , -uDBA , -uSQL ,
liveCache LC1 (restart)
The liveCache state is OFFLINE
DBMServer 7.6.00 Build 029-123-130-265
starting LC1 into ONLINE
ERROR : restart not possible [please check knldiag!!]
ERROR : liveCache LC1 not started (see "d:\sapdb\data\wrk\LC1\lcinit.log")
In Transaction DB59 i tried connection test "Connect. test with "native SQL" ( LCA ) unsuccesful"
how to restart Live Cache again? what will be the problem?
regards
ThennarasuHello,
what's wrong with the hint you already got?
> ERROR : restart not possible [please check knldiag!!]
Check the knldiag and then we might be able to do something about this issue.
regards,
Lars -
Unable to delete Order does not exist in live cache but in table POSMAPN
Hi Experts,
We are facing an issue where purchase order is not available in live cache (which means no GUID) but exists in database table POSMAPN. We have tried to delete it using standard SAP inconsistent order deletion program and also using BAPI BAPI_POSRVAPS_DELMULTI but not able to delete it.
Can anybody suggest a method by which we can get rid of this order from the system.
Thanks a lot.
Best Regards,
ChandanHi Chandan,
Apologize me for taking your question in a wrong perspective. If you want to delete the same then you need to Re-CIF the order from ECC so that it would come and sit in Live Cache. Once done, try using the BAPI.
If you are not successful with the above approach try running the consistency report /SAPAPO/SDRQCR21 in APO system
so that it first corrects the inconsistency between ECC and APO (Live Cache + DB tables) and then use the BAPI to delete the PO.
Not sure if you have tried this way. If this does not solve your purpose you need to check SAP Notes.
Thanks,
Babu Kilari -
What is the significance of Live Cache in demand planning ?
Hi all,
Can anyone explain me significance of live cache in the demand planning. What are the issues will turn up for live cache if it is not properly maintained?
Thanks
PoojaHi Pooja,
SAP has come up with Live cache concept for storage and most important, quick and efficient processing of transactional data. Its a layer between data base and GUI and even the search methods and storage space has been optimized due to its structure. In DP it is used for storage of time series data whereas in SNP it can store both time series and order series data.
Regarding your second query, it is recommended to have Live cache consistency on a periodic basis for synchrinising data between LC and database tables. You can face many issues due to LC inconsistency as incorrect time series generation, Transactional data discrepancy, COM routine errors during background processing etc.
Let me know if it helps
Regards
Gaurav -
BAPI to get the Quantity from orders in live cache.
Hi Folks,
Can any body provide me the BAPI to get the quantity value for the orders saved in the Live Cache. I tried using the BAPI
BAPI_SLSRVAPS_GETLIST2 ... but its not fetching any records for me. what else i need to provide it as input.
Thanks in advance.
Thanks & Regards,
RamanaCheck this thread.
Delete In-Transits.
In-Transit is not a particular order. Any Goods Movement from one location to another location will be considered as In-Transit.
Let's say Plant A is sending Product P1 to DC B against a Purchase Order.
In that case in plant A the stock will be reduced by the quauntity of goods being shipped.
At DC B, the Purchase Order will become In-Transit Stock.
Thanks,
Somnath -
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 -
How can I retrieve data from live cache?This is in Demand Planning : SCM APO.
Please suggest ways.
Thanks & Regards,
SavithaHi,
some time ago I worked on SAP APO.
To read live cache, you first have to open a SIM session.
You can do this as shown in this function module:
FUNCTION ZS_SIMSESSION_GET.
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(IV_SIMID) TYPE /SAPAPO/VRSIOID
*" EXPORTING
*" REFERENCE(EV_SIMSESSION) TYPE /SAPAPO/OM_SIMSESSION
CONSTANTS:
lc_simsession_new TYPE c LENGTH 1 VALUE 'N'.
DATA:
lt_rc TYPE /sapapo/om_lc_rc_tab,
lv_simsession LIKE ev_simsession.
IF NOT ev_simsession IS INITIAL.
EXIT.
ENDIF.
*--> create Simsession
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_22 = lv_simsession.
*--> create transactional simulation
CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
EXPORTING
iv_simversion = iv_simid
iv_simsession = lv_simsession
iv_simsession_method = lc_simsession_new
iv_perform_commit = space
IMPORTING
et_rc = lt_rc
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
multi_tasim_registration = 4.
IF sy-subrc > 0.
CLEAR ev_simsession.
* error can be found in lt_rc
ENDIF.
* return simsession
ev_simsession = lv_simsession.
ENDFUNCTION.
Then you can access the live cache.
In this case we read an order (if I rememver correctly, it's a plan order):
DATA:
lv_vrsioid TYPE /sapapo/vrsioid,
lv_simsession TYPE /sapapo/om_simsession.
* Get vrsioid
CALL FUNCTION '/SAPAPO/DM_VRSIOEX_GET_VRSIOID'
EXPORTING
i_vrsioex_fld = '000' "By default
IMPORTING
e_vrsioid_fld = lv_vrsioid
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'ZS_SIMSESSION_GET'
EXPORTING
iv_simid = iv_vrsioid
IMPORTING
ev_simsession = lv_simsession.
CALL FUNCTION '/SAPAPO/RRP_LC_ORDER_GET_DATA'
EXPORTING
iv_order = iv_orderid
iv_simversion = iv_vrsioid
IMPORTING
et_outputs = lt_outputs
et_inputs = lt_inputs.
If you change something in your simsession, you have to merge it back afterwards, so that your changes become effective.
You can do this like that:
* Merge simulation version (to commit order changes)
CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
EXPORTING
iv_simversion = lv_vrsioid
iv_simsession = lv_simsession
iv_simsession_method = 'M'
EXCEPTIONS
lc_connect_failed = 1
lc_com_error = 2
lc_appl_error = 3
multi_tasim_registration = 4
target_deleted_saveas_failed = 5
OTHERS = 6.
I hope this helps... -
Hi,
Can some1 explain me how the SNP data is stored in the live cache.
I know it's by series of order. But tell me is there any mapping involved in it?
Thanks,
Siva.Order series data is used by both SNP and PPDS.
While I do not know the exact way data is stored in liveCache the following helps me to explain and understand.
Each record in liveCache for Order Series data is stored as
Location Product combination-ATP Category-Quantity-Time Stamp.
Unlike Timeseries data CVC is replaced by a location product combination only, keyfigure is replaced by ATP Category (each kind of Order elements has its own ATP Category) and Time Bucket is replaced by actual Time Stamp (in UTC ddmmyyyyhhmmss format).
The mapping is essentially with ATP Category which maps to corresponding MRP elements in ECC or R/3.
In the SNP Planning Area for each keyfigure the Category Group defines the grouping of ATP Categories for which orderseries data will be displayed in that particular keyfigure.
Hope this helps.
Thanks,
Somnath -
How to see Live cache order number in planning book of APO ?
I am trying to see the Live cache order number in Planning book by entering getio as T-code while in planning book.
By this I am not able to see the LC details. Can anyone help me out on the same?
Edited by: Wilian Segatto on May 16, 2010 2:52 PMDear Rahul!
Are you using correctly the transaction GT_IO? As per your first reply you are using GETIO.
Try GT_IO!
Will -
Hi,
I've just completed an SCM 2007 Installation alongwith the live cache.
However, when I try to login to the LC using the dbmcli command (user control/superdba & the pwds. set during installation), it gives the foll. error:
-24950,ERR_USRFAIL: User Authorization failed.
Also, I'm not able to use LC10-->Live Cache Monitoring
Pls help, since it's extremely urgent.
Thanks a lot,
Saba.Hello Saba,
-> For SAP liveCache documentation in English see the SAP note 767598.
-> In general, the error could be due the wrong password of the dbm user.
For example, I created the database instance NLK with the control user and
control password. If I will try to connect to the database with wrong password
I will get this error ::
dbmcli -d NLK -u control,test
Error! Connection failed to node (local) for database NLK:
-24950,ERR_USRFAIL: User authorization failed
-> You are running SCM 2007 < SCM 5.1 > system, therefore you are SAP customer.
Please create the SAP ticket concerning this issue => we could logon via OSS and check the status of your system.
Please set 'high' priority of the ticket, if it's extremely urgent.
If it's the DEMO or PROD system you could escalate the message to 'VH'.
Thank you and best regards, Natalia Khlopina -
In which table is the Live cache data stored?
Hi experts,
I am new APO .Can anyone let me know in which database table will the Live cache data be stored?
Thanks in advance
regards
Ashwin.Hello Ashwin,
the idea of the liveCache is to haev data permanently and quickly available without having to read/write from/to database. Therefore, the liveCache is <b>NOT</b> a physical database, it is a program in C++ that <i>simulates</i> a database and holds the data in the memory.
However, it does need so called liveCache-anchors which are saved on the database, and which are similar to pointers.
However, you can extract data from liveCache using BADIs or by creating a datasource on a planning area (for DP and SNP), manipulation can also be done only by BADIs or sophisticated programming (which basically uses RFCs).
I hope this answers your question.
Regards,
Klaus -
Some concern about Live cache Homogeneous System copy
Hi All,
I need to do the Homogeneous system copy SCM 5.0 / Live cache 7.6.00 on AIX. Following are the Source and target System SID for Live cache. Moreover I had check the respective SAP note 457425 and 877203 but still having some concern.
Source System
Live cache SID = SCD
Live cache user ID = SAPSCD
Live Database instant software owner = scdadm
Live cache Data Size = 8 GB ( 4 Data volume / 2 GB each / auto extend off)
Target System
Live cache SID = SCT
Live cache user ID = SAPSCT
Live Database instant software owner = sctadm
Live cache Data Size = 4 GB ( 2 Data volume / 2 GB each / auto extend off)
For same I having following concern.
1. Since there is difference between source system and target system size / data volume number what action I need to take on target system. Do I need to add two more data volume into the target system?
2. After complication of database restore on target the system do I need to change the Live cache user ID (i.e. SAPSCD to SAPSCT)?
or
It is just fine to change the log on data in Integration tab in LC10.
Please let me know some more information on same.
Thanks,
HarshalHello Harshal,
"1. Since there is difference between source system and target system size / data volume number what action I need to take on target system. Do I need to add two more data volume into the target system?"
Please pay attention to the SAP note :: 457425 Homogenous liveCache copy using backup/restore
Please update the thread withy additional information ::
What is the version of the source liveCache? What is the version of the target liveCache?
How much data do you have in the source liveCache?
And you need to have the size data area of the target liveCache to be able to restore the databackup created in the source liveCache.
So by the size of the data volumes in the source liveCache, it's not clear how much data you have.
"2. After complication of database restore on target the system do I need to change the Live cache user ID (i.e. SAPSCD to SAPSCT)?"
Please review the SAP note 877203.
You could rename the user SAPSCD to SAPSCT using the SAP note 877203 steps
OR
You could have the user SAPSCD in the target liveCache as Standard liveCache user &
After you run the homogenous liveCache copy using backup/restore procedure you need
to change the LCA/LDA/LEA connection with user SAPSCD on target system and
set the user SAPSCD to the user containers ( please see the SAP note 616555 for more details )
Before to restart the liveCache in LC10.
PS: Please pay attention about the value of the liveCache parameter _UNICODE.
What are the values of this parameter in the source & target liveCache?
Thank you and best regards, Natalia Khlopina -
Data written to Live cache but not visible in SNP Planning Book
Hello All,
We have an issue this morning, Customer service cordinator placed a Purchase Order in SNP (VMI). Order was sent to ECC and a sales order was created. This morning when we check the sales order, it shows 4574 cases but in TLB Pur chase order, it only some 2000 something. I went to OM16 and checked the sales order and it had the entire 4574 cases written in the live cache. Any help on how to get the entire quantity to be seen is appreciated. Thank you.
Regards,
Rohit.Hi Ada,
Thanks for the reply. The issue got resolved by itself.
Regards,
Rohit. -
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
Maybe you are looking for
-
i am an IT manager for a bank. we have several company owned iphones. WE have also implemented a mobile device management system to manage our iphones. We setup acompany based itunes account, trying to share itunes on bank owned devices. This way
-
Hi Gurus, While doing goods issue of operatings supplies material type we are getting an as follows Create account 403000 for 18.04.2008 as a cost element in controlling area Although G/L account and cost element are already created Message no is KI2
-
DEar All, I would like to retrieve the last record only as I have around 30,000 recs in one of my master table. Do consider order by caluse (for ex. tem1,itm2,itm3 asc). I just want to see the last record only not all the records. I would much apprec
-
Windows 7 Multiple image on single HDD
I have 15 new lenovo laptop with same configuration and I need two set of images , one is with Win7 Enterprises with office 2010 and Win7 Entr with office 2013, since I have same configuration I captured two different images using windows Backup util
-
Hi, I'm trying to import an avi file to CS3 but in the audio zone there is no info, and on export there is no sound. My avi files is converted from a mpeg file (because I can't import a mpeg into my CS3) using different compression algorithms, but it