Doubt Live cache concept
Hi Guru's
1. Coluld any one tell the use of livecache in livecache server.
2.why it required only for APO sever and why won't we use it in BW server.
Thanks,
Pavan
you can get all the required info on help.sap.com just serch for livecache. and also more information available under SAP liveCache technology
Similar Messages
-
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 -
Migration and Live Cache Doubts
Hello,
I need to migrate Windows 2003 Server 32-bit/MAXDB 7.6.0.035 for Windows 2008 Server 64-bit/MAXDB 7.6.0.035 and have doubts:
1 - What is the best way to accomplish this migration? Via Sapinst? If there is another way, how?
2 - In a note "1409895 - Windows 2008: TCP / IP communication MaxDB / liveCache is slow," reports to
upgrade to a new version of SAP MaxDB / liveCache. If I upgrade to MAXDB7606_14-20001288.SAR (MaxDB 7.6.06.14
Server Package) already solved?
I'm confused about this because in the Live Cache "My Company's Application Components" SAP-SCM "-SAP
SCM 5.0 Component-by-Entry SAP liveCache the last SAP MaxDB / liveCache 7.6.03.12 Security Patch
is MLCSEC7603_12-10003432.SAR, but the version of MaxDB is 7.6.0.035
Sorry my questions but don´t know very about MAXDB.
thank´s for any helpHello Emerson Eduardo do Espirito Santo,
1. It will be best for customer to create the SAP message and get the expert SAP support.
2. Please check and answer on the questions to get clear on your project first:
What is the version of your system which is planning to be migrated?
SAP ECC 6.0 or SCM 5.0 ?
What MAXDB software do you have on the Windows Server 2003 32-Bit?
Post output of the command:
sdbregview u2013l
3. u201CI don´t know if I need the Live Cache.u201D
->Why you was writing about the liveCache?
->Could you ask the customer what versions of the systems they have in the landscape?
->If you login to the SAP ECC 6.0, top menu: system->status
What is the database of the system?
4. Please see the SAP notes 1014782 and 960769, if the customer have SAP ECC6.0/MAXDB 7.6 on Windows Server 2003 32-Bit and want to migrate SAP ECC6.0/MAXDB 7.6 on Windows 2008 Server 64-bit version.
Customer can use backup and recovery to perform a homogeneous system copy of a MaxDB database instance, SAP Note
129352. For more information about the procedure, please, see the installation documentation about the homogeneous system copy.
5. Please give customer the reference to the SAP note:
1020175 FAQ: MaxDB installation, upgrade or applying a patch
in case of question on how to apply the MaxDB kernel patch.
Regards, Natalia Khlopina -
Hi Experts,
Can any one explain what is live-cache and eash access in supply chain management and what is customization in SCM?
Cheers,
Aanand.In Supply Chain Management, large volumes of data must be permanently available and changeable. For this reason, an addition has been made to the SAP DB OLTP relational database system to enable actual data structures and data flows (such as networks and relationships) to be mapped more easily and effectively. The product is called liveCache. The liveCache is object-oriented, and in contrast to SAP DB OLTP, stores its data in the main memory of the database system.
The SAP liveCache technology significantly increases the speed of the algorithmically complex, data- and runtime-intensive functions of various SAP applications, especially within SAP Supply Chain Management.
It combines the advantages of main memory-based data retention with a complete operating concept, including backup & recovery. The application functions are provided by database procedures (liveCache Applications) having an extremely fast access to all application data which can completely cached in main-memory and are organized in relational but mainly object oriented manner.
The SAP liveCache technology can be characterized by a hybrid main-memory database with intensive usage of database procedure.
For more information, please access the following links:
SAP liveCache technology
http://maxdb.sap.com/doc/7_7/f3/3edeb38ab14f9798d2a800b2c439c9/content.htm
Have a nice day!
Will
SCM Moderator -
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 -
Doubts in GeoRaster Concept.
Hi everybody,
I have few doubts in GeoRaster concepts.
I did mosaicing of multiple Georasater objects using "sdo_geor.getRasterSubset()" and able to display image properly. But while doing this I come across few people suggestions. They said that mosaicing multiple rows together in a GeoRaster table is not going produce meaningful results because the interpolation methods wont have access to the data in the adjacent cells at the seams because cell needed exist in a different row (i.e. where two rows of GeoRaster either abut or overlap).
I assume Oracle takes care of all this. Please suggest wheather my assumption is true or the statement given is true?
Regards,
Baskar
Edited by: user_baski on May 16, 2010 10:49 PMHi Jeffrey,
Requirements:-
I have to do mosaicing of 'n' number of Georaster objects. For eg, if table has 4 rows of GeoRaster object, then i have to create single image by mosaicing all the Georaster object based on the Envelope provided. (Note: I have to do this with Queries without using GeoRaster API)
Workflow:-
1. Get the connection and table details.
2. Retrieve necessary information from the db like SRID, MAXPYRAMID, SPATIALRESOLUTION, EXTENT etc. For getting extent, I used SDO_AGGR_MBR function.
3. With the help of "MDSYS.SDO_FILTER" and bouding box values, I create arraylist which contains raster id's retrieved from raster data table which covers the bouding box value provided in the filter command.
4. Then I passed bounding box value into "sdo_geor.getCellCoordinate" function and I retrieved row and column number of Georaster image and created a number array which contains starting and ending row/column numbers.
5. Then I had written a PL/SQL with "sdo_geor.getRasterSubset" function which takes the number array and raster id as input parameters, which inturn returns BLOB object.
6. I am executing step 5 in a loop with all the raster id's that I got at step 3. For eg, arraylist size is 4, then I will have four BLOB object.
7. Finally, I creating new image from the BLOB objects after some scaling and cropping based on the individual GeneralEnvelope of each raster id object.
I had followed all the above steps and successfully created mosaic image.However, few people suggested that mosaicing in this way does not produce meaningful results because the interpolation methods wont have access to the data in the adjacent cells at the seams because cell needed exist in a different row. I assume Oracle will take care of these things. Moreover, they suggested to keep single row in GeoRaster table instead of muliple rows of Georaster object and suggested to use "SDO_GEOR.updateRaster" function to update a part of the raster object and the pyramids are rebuild automatically.
So Please suggest which is the better way to do mosaicing. Wheather my assumption is correct or not? -
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 -
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 -
Dear all,
Please help me regarding this i am very much confused.....
I had couple of doubts in dataguard concepts.
1)When archive log is transferred from primary to standby ,
a.Whether DBWR will be in active state or not in standby server.To write the contents in the archived redo log files which came from the primary to the datafiles of the standby server.
b.I am using online redo logs in the standby server not standby redo logs , whether online redologs in the standby server will have any effect in shipping of redologs from the primary database,
c. In my standby database online redo logs state is changing between CLEARING AND CLEARING CURRENT.How standby server redologs will change it state,
Regards,
Vamsi.Hi again,
They are not used in a physical standby database. They exist in order to be used in a case of opening the standby database read-write (failover/snapshot standby). Here what documentation says:
Online redo logs
Every instance of an Oracle primary database and logical standby database has an associated online redo log to protect the database in case of an instance failure. Physical standby databases do not have an associated online redo log, because physical standby databases are never opened for read/write I/O; changes are not made to the database and redo data is not generated.
Create an Online Redo Log on the Standby Database
Although this step is optional, Oracle recommends that an online redo log be created when a standby database is created. By following this best practice, a standby database will be ready to quickly transition to the primary database role.
... -
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
Maybe you are looking for
-
Hi, I'm new on the forum. I decided to try this since Adobe phone support has been abysmal. I purchased Adobe Creative Cloud, installed and registered it on Feb. 25 2013. Since then my computer crashed and I lost the programs and the link to download
-
Not showing error in dual while using it as arithmetic expression
Hi, I have a requirement to throw error if two consecutive numbers or two consecutive operators are given. For this I would like to use dual table. It is throwing error if two numbers are given, but not throwing error if it has two operators. Error t
-
My firefox loads in another language than English
I am in the USA, but firefox and some other pages also load in Spanish, i want them in English.
-
Need help regd SCRIPT PROTECT and ENDPROTECT
hi, Actually 3 elements are written in between CALL FUNCTION 'CONTROL_FORM' EXPORTING Command = 'PROTECT' and CALL FUNCTION 'CONTROL_FORM' EXPORTING Command = 'ENDPROTECT' I am getting the data for which the page is not enough.In this case it is prin
-
Tiger upgrade HP printer issue
My son loaded new Tiger software on his G4 Powerbook laptop. Disc Apple store bought. Same one I used on my G4, no prblems with my printer. Since then his printer, HP Photosmart, just runs blank pages when he tries to print. He reloaded printer drive