Live Cache config prob!!!!!!
Dear All,
I have just installed IDES of SCM 5.0 and scheduled and released the default jobs from sm36. But from sm37 I can see that the jobs are getting cancelled .
1)" Connection to LiveCache Failed " .
2)" LiveCache Lock Server not Accessible " .
I have installed ABAP + JAVA and logged in client 001.
Please advice ........
Regards,
Souren
Hi Natalia,
Thanks for the reply.
Ours is win2k3 32 bit system where we have installed :
(1) Oracle 10.2 &
(2) SCM 5.0 server (Central System Installation).
During Installation, SAPinst asked for Live cache related details (eg, Live Cache ID - we have given LC1, Control user's Pwd etc) along with the installation DVD for the same - where we have given the DVD 51032259_11 (NW 2004s SR2 liveCache 7.6.0 Windows Server on IA32 32bit).
The installation completed successfully. Our SCM system id is SR3.
**Does this mean that Live Cache Server got installed ??
After the above installation, we have referred the "Installation - SAP liveCache Technology on Win - NW 7.0 SR2" and tried to do the post installation steps (Assuming that Live cache got installed )
We created the RFC user with all the authorizations as described in the SAP note for the same.
During the post installation step :
dbmcli d <SID> -u <controluser>,<password> db_offline,
we got the following error:
ERROR! Connection failed to node <LOCAL> for database <SID>:
Database instance not found.
We tried with both SR3 & LC1 as SID but the result is same.
Further, we tried the next post installation step using LC10.
After Integrating LCA,LDA & LEA, when we tried to "monitor" the Live Cache (by clicking the Live Cache: Monitoring button), we got the following error:
DBMRFC Function : DBM_CONNECT
Error :DBM Error
Return Code : -4
Error Message database instance not found
How should we proceed now??
Thanks & Regards,
Souren
Similar Messages
-
ST22 timeout for all LC related transactions LIVE cache start stop working from LC10
Hi Team
we are a getting a ST22 timeout for all LC related transactions LIVE cache start stop working from LC10
LC version 7.9
OS AIX
SAP SCM 7
SDBVERIFY giving the following error
Checking package Redist Python
Checking package Loader
Checking package ODBC
Checking package Messages
Checking package JDBC
Checking package DB Analyzer
ERR: Failed
ERR: Checking installation "Legacy" failed
ERR: Group of directory /sapdb/data/config/install changed [0 =>
sdbregview -l is showing good.
any idea what might went wrong.
trying to use sdbverify -repair_permissions , but not sure about the exact syntax to use.
and it is not related to timeout parameter, we tested with different timeout values, but still the same error.
thanks
Kishore ChHello Kishore,
you could check the sizing of the liveCache data.
* Report /SAPAPO/TS_LCM_REORG_SNP has checks of the SNP planning areas for superfluous objects.
* Delete old/temporary APO data.
* /SAPAPO/TS_LCM_REORG report checked TS superfluous objects.
If you didn't create the planning versions, copy of planning versions & data load to liveCache, then create the SAP message to check your system on the question of the dataarea usage.
If you have the long running APO transactions => performance of the SCM system has to be checked.
If you have the bottleneck in liveCache & could not solve the case by yourself => create the SAP message to BC-DB-LVC and get SAP support.
Best regards, Natalia Khlopina -
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 -
Specifying coherence-cache-config.xml for multiple clusters
Hi,
I am running two cache clusters (Cluster A and B that hold different cache types). we have a web application that needs to communicate with both the clusters. we have two coherence-cache-config-g.xml files, one for each cluster.
where do we specify the two coherence-cache-config.xml for each of these clusters in our coherence.jar that we deploy on the web app server.
pls provide some inputs...
thanks in advance,
- G.Hi G,
You can define a path to the cache configuration descriptor in your operation configuration override file (tangosol-coherence=override.xml) or specify it in the system property "tangosol.coherence.cacheconfig".
Please see this Wiki page for details:
http://wiki.tangosol.com/display/COH32UG/configurable-cache-factory-config
Regards,
Gene -
Compacting the cache-config.xml for multiple cache-store
Hi,
I have a cache-config.xml that has various ReadWriteBackingMaps with different CacheLoader implementations. I was wondering of the best way to compact this xml using the scheme-ref tag, as all I really need is schemes, with different cache stores. e.g. I have an InstrumentCacheStore and a CurrencyCacheStore .. which invoke different CacheLoaders. they are both distributed caches.
I thought the below would work, but it dosen't.. :( when loading a currency, the InstrumentCacheStore gets invoked.
is there a way to compact this XML? Else, for 6 different cache loaders that I have, do I have to specify the whole distributed-scheme again and again?
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>instrument-*</cache-name>
<scheme-name>distributed-instrument-scheme</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>currency-*</cache-name>
<scheme-name>distributed-currency-scheme</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>distributed-instrument-scheme</scheme-name>
<scheme-ref>distributed-scheme</scheme-ref>
</distributed-scheme>
<distributed-scheme>
<scheme-name>distributed-currency-scheme</scheme-name>
<scheme-ref>distributed-scheme</scheme-ref>
<!-- THIS DOES NOT OVERRIDE THE DEFAULT distributed-scheme? -->
<cachestore-scheme>
<class-scheme>
<class-name>coherence.cachestore.CurrencyCacheStore</class-name>
</class-scheme>
</cachestore-scheme>
</distributed-scheme>
<distributed-scheme>
<scheme-name>distributed-scheme</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
<scheme-ref>LocalSizeLimited</scheme-ref>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>coherence.cachestore.InstrumentCacheStore</class-name>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
</serializer>
<partition-count>5557</partition-count>
<backup-count>1</backup-count>
<thread-count>10</thread-count>
<autostart>true</autostart>
</distributed-scheme>
<local-scheme>
<scheme-name>LocalSizeLimited</scheme-name>
<high-units>500000000</high-units>
<low-units>10000</low-units>
<unit-calculator>BINARY</unit-calculator>
</local-scheme>
</caching-schemes>
</cache-config>
--------------------------------------------------------------------------------------------------------------There are two possible ways to sort this out
1. The cache configuration for the distributed-currency-scheme shown in the original post is wrong and does not correctly override the cache store, it should look like this:.
<distributed-scheme>
<scheme-name>distributed-currency-scheme</scheme-name>
<scheme-ref>distributed-scheme</scheme-ref>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
<scheme-ref>LocalSizeLimited</scheme-ref>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>coherence.examples.CurrencyCacheStore</class-name>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>
</distributed-scheme> 2. You can use a single scheme and parameterise it like this:
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>instrument-*</cache-name>
<scheme-name>distributed-scheme</scheme-name>
<init-params>
<init-param>
<param-name>cache-store-class-name</param-name>
<param-value>coherence.examples.InstrumentCacheStore</param-value>
</init-param>
</init-params>
</cache-mapping>
<cache-mapping>
<cache-name>currency-*</cache-name>
<scheme-name>distributed-scheme</scheme-name>
<init-params>
<init-param>
<param-name>cache-store-class-name</param-name>
<param-value>coherence.examples.CurrencyCacheStore</param-value>
</init-param>
</init-params>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>distributed-scheme</scheme-name>
<service-name>DistributedCache</service-name>
<backing-map-scheme>
<read-write-backing-map-scheme>
<internal-cache-scheme>
<local-scheme>
<scheme-ref>LocalSizeLimited</scheme-ref>
</local-scheme>
</internal-cache-scheme>
<cachestore-scheme>
<class-scheme>
<class-name>{cache-store-class-name}</class-name>
</class-scheme>
</cachestore-scheme>
</read-write-backing-map-scheme>
</backing-map-scheme>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
</serializer>
<partition-count>5557</partition-count>
<backup-count>1</backup-count>
<thread-count>10</thread-count>
<autostart>true</autostart>
</distributed-scheme>
<local-scheme>
<scheme-name>LocalSizeLimited</scheme-name>
<high-units>500000000</high-units>
<low-units>10000</low-units>
<unit-calculator>BINARY</unit-calculator>
</local-scheme>
</caching-schemes>
</cache-config>Parameter names from the init-params part of each cache mapping can be used inside curly brackets in the cache scheme part.
Hope that helps,
JK -
How to specify index for cache in coherence-cache-config.xml
Hi All,
We want to apply indexing on cache data.
Suppose i have a EMPLOYEE object in coherence cache.
and i want to use employeeID for indexing purpose.
Can anybody help me to achieve this at Congregational level i.e. using xml file (coherence-cache-config.xml) .
Edited by: 981644 on Jan 16, 2013 1:51 AMHi,
I've posted some [url http://coherence.oracle.com/download/attachments/14647422/add-index-namespace.jar]code and the [url http://coherence.oracle.com/download/attachments/14647422/add-index-namespace-src.jar]source. It depends on coherence common version 2.3.0.39174 however I believe it will work with 2.0.0.23649 also. Coherence common library can be downloaded from [url http://coherence.oracle.com/display/INC10/coherence-common]here
Note: This is purely an example on how to achieve index creation via a cache configuration file and is not a part of the product thus is not covered by product support.
Here is an example cache configuration that uses the namespace:
<cache-config xmlns:service="class://com.oracle.coherence.environment.extensible.ServiceOperations">
<caching-scheme-mapping>
<service:index-add cache-name="dist-indexes">
<extractor>
<class-name>ReflectionExtractor</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>getName</param-value>
</init-param>
</init-params>
</extractor>
</service:index-add>
<!-- Simplified POF Config -->
<service:index-add cache-name="dist-indexes" pof-enabled="true">
<pof-index>8,16,32</pof-index>
</service:index-add>
<!-- This should not be counted based on system-property override -->
<service:index-add cache-name="dist-indexes" pof-enabled="true" enabled="{tangosol.index.add}">
<pof-index>8,16,31</pof-index>
</service:index-add>
<!-- Explicit POF Config -->
<service:index-add cache-name="dist-indexes">
<extractor>
<class-name>PofExtractor</class-name>
<init-params>
<init-param>
<param-type>{class}</param-type>
<param-value>null</param-value>
</init-param>
<init-param>
<param-type>{object}</param-type>
<param-value>
<class-name>com.tangosol.io.pof.reflect.SimplePofPath</class-name>
<init-params>
<init-param>
<param-type>{int[]}</param-type>
<param-value>1,2,4</param-value>
</init-param>
</init-params>
</param-value>
</init-param>
</init-params>
</extractor>
</service:index-add>
</caching-scheme-mapping>
</cache-config>Thanks,
Harvey -
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 -
How to override cache config in application target server ?
Hi,
I have a coherence cluster and multiple application clusters in my WLS. I am trying to override cache config as I wan to creating write behind and read through caches specific to my application cluster. Please provide a guideline on how to add additional coherence jars in server class path & overriding cache config.
As I am a beginner, detailed explanation would be helpful.
Thanks
MariaHi,
You should deploy Coherence jars as shared library and reference them in your applications. Re the coherence configuration, you can package them in EAR/WAR classes folder. A bigger question is how will you a single Coherence cluster holding data for multiple applications and that is possible by keeping a combined single configuration file for all applications on the Coherence cluster and seperate configurations on applications (though not recommended).
HTH
Cheers,
NJ -
Not overriding the coherence-cache-config.xml but showing the error...
Hi,
I have created a file called tangosol-coherence-override.xml file in the specified path which is " C:\Program Files\Oracle\Coherence for .NET"
and the coherence.jar file is located in path which is "C:\Program Files\Oracle\Coherence for .NET\lib"
but it is not overriding the xml file.. with the default file...
C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java>"C:\Progra
m Files\Java\jdk1.6.0_11\bin\java" -server -showversion -Xms128m -Xmx128m -Dtang
osol.coherence.ttl=0 -Dtangosol.coherence.cacheconfig=contact-cache-config.xml -
cp "config;lib\custom-types.jar;C:\Program Files\Oracle\Coherence for .NET\lib\c
oherence.jar" com.tangosol.net.DefaultCacheServer
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
2011-06-20 15:06:57.607/2.366 Oracle Coherence 3.7.0.0 <Info> (thread=main, memb
er=n/a): Loaded operational configuration from "jar:file:/C:/Program%20Files/Ora
cle/Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence.xml"
2011-06-20 15:06:57.989/2.748 Oracle Coherence 3.7.0.0 <Info> (thread=main, memb
er=n/a): Loaded operational overrides from "jar:file:/C:/Program%20Files/Oracle/
Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2011-06-20 15:06:58.049/2.808 Oracle Coherence 3.7.0.0 <D5> (thread=main, member
=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not
specified
2011-06-20 15:06:58.062/2.821 Oracle Coherence 3.7.0.0 <D5> (thread=main, member
=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.7.0.0 Build 23397
Grid Edition: Development mode
Thanks in AdvanceThe CLASSPATH is not the same as the PATH. It is similar but a classpath is a set of directories or jar files that Java uses to look for executable code and resources.
Assuming you are using the example start-cache-server.cmd file that comes with the .Net examples to start your server you can put the tangosol-coherence-override.xml file into the C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java\config directory as this is on the classpath when using that script.
JK -
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...
Maybe you are looking for
-
I've purchased a tv show and it won't let me watch it.
Will try to purchase it again, and says I've already purchased it. Won't show up on my "purchased" section. I then tried to purchase a movie, and it worked! Not sure why this one tv episode won't. I've tried turning Apple TV off and on. I also wa
-
Why call between WebClient agents fails?
Hi, I have just recently installed the mySAP CRM 4.0 IC WebClient (CRM40 SP00). I have been testing the installation with CCS (Contact Center Simulator) and for a basic CCS supported tests (Inbound Phone call, Outbound Phone call, Chat) everything se
-
Podcast not automatically downloading for subscribers.
Subscribers to our podcast have reported that the new episodes do not automatically download for them. I have no idea why. In the iTunes store the podcast seems to be working properly. All episodes are there and the most recent one can be played or d
-
How do I get CC to open these files correctly? Is the client saving them incorrectly? My work around has now become a pain & I need to know why Illustrator CC tells me most/all embedded images are missing in files received by clients. Illustrator 5.1
-
Loading an image from CameraRoll - how long should it take ?
Hi All I'm loading an image from the CameraRoll using this method http://www.flashandmath.com/mobile/cameraroll/ Now on my iPad2 the image loads pretty instantaneously However on my iPhone4 it takes approx 8 seconds for the image to load. ( The time