Connection problems after system copy

[]

Symptom
An error occurs when you call the liveCache. The error text of the database is tExcept 30708.
Other terms
30708
Reason and Prerequisites
You want to access the liveCache from the application server. However, the system name does not match the one specified in the liveCache. This may happen after a homogeneous system copy.
Solution
Background:
If two APO systems (for example the production system and the test system) access the same liveCache instance at the same time, this may cause irreparable data inconsistencies. As of LCA Release 6.0 (ABAP component LCAPPS_2006_700, used in SCM 5.1, for example), the liveCache therefore ensures that only one system at the time can access the liveCache. For this purpose, the system name (SY-SYSID) is saved in the liveCache when you first call the liveCache after its initialization. For further liveCache calls, the system checks whether the name of the called system matches the save system name. If this is not the case, this triggers short dump mentioned above.
Troubleshooting procedure:
If, in the framework of a homogenous system copy, you used backup and restore to copy liveCache data to the target system, you may have to reset the system name in the liveCache. Follow the instructions below in the section “Resetting the system name in liveCache” only if this is the case.
If this is not the case, check that the correct integration data for the liveCache is set in transaction LC10. Use the SLCA_GET_SYSNAME report to determine which system name is defined in the liveCache.
If by doing this you cannot make out any incorrect settings, contact SAP Support.
Resetting the system name in liveCache
Use Backup/Restore to make a homogenous system copy. This also copies the system name defined in the liveCache. If you want to access the liveCache from the new APO system (target system), you must reset first reset the system name in the liveCache.
Only execute the resetting if you are in the situation described above. Otherwise, the resetting may cause irreparable inconsistencies in the liveCache and you may have to carry out an initialization.
To reset the system name, execute the following command in the SQL Studio:
DROP TABLE APPSYSNAME
Alternatively, you can also delete the entry using the DBMCLI program. To do this, execute the following command:
dbmcli -d <LC Instanz> -n <LC Server> -u DBM,<Passwort> -uSQL sap<sid> ,<Passwort> sql_execute DROP TABLE APPSYSNAME
This deletes the old system name in the liveCache and saves the name of the new APO system when you next call the liveCache.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment