APO Shared LiveCache
Hi
Can anyone from the forum help me to understand the below points.
1.if a test instance of LiveCache can be shared with multiple APO systems and what would be involved to set it up?
2.would it make sense to share APO systems (i.e., connect a single APO and LiveCache to multiple ERP systems).
Appreicate for quick response.
Regards
DPS
Hi Devi,
Do you have a specific business case for point no 2? I have newer seen such a implementation. It should be possible though by maintaining appropriate distribution definitions.
regards,
Chirag
Similar Messages
-
APO and LiveCache Optimization
Hi All,
Can anyone share some points to optimize APO and liveCache, like best practices, system configurations to improve the performance of our system?
We would appreciate your response and inputs.
Regards,
Philip LledoHi Philip,
There are definitely few things that you can check in your system -
Make sure for every long job execution step you have enough buffer left in your storage space. Monitor storage quality and determine how often it should be executed. Also avoid any locks for long time in SM12.
You may consider using external parallel processing profile (divide one big job into several jobs) for the job, which takes long run time. Find optimal package size by increasing value like 150, 200…you can do some experiment to find a better combination for your parallel processing profile. Like, Increase the number of parallel processing. i.e. 15, 20…and try to find optimal block size by reducing value like 250, 125, 60.. in your QA system. Also consider applying Note 1359613 - SNP Optimizer: Parallel processing is slow.
Check the current spool list in your job logs. See if you really need the entire spool or you can reduce the volume of the spool file or stop creating spool file as applicable.
Make sure your Load balancing for RFC is set properly in your APO System, analyze the current situation by taking help from your Basis team.
Check the RFC recourse utilization in every server path/instance. There should not be any scenario, where one instance is used almost in full, while there are many free work processes on other instances. The reason for this is that there is no load balancing defined in your APO system. There is a SAP note 593058 for more details to set the load balancing within the server group.
You can do some experiment in your optimizer profile (if you are using SNP/Deployment optimizer for planning) in QA system- In your optimizer profile, try to reduce the value of ‘Maximum Runtime’ and checked. You should consider the quality of result of the optimizer run here. Then decide if this is an option at all.
Also you may consider to reduce the horizon for your optimizer run, if applicable. May be you don’t need to run the optimizer for full planning horizon, if you are not really publishing for full horizon. Also consider to reduce your no of buckets in the planning horizon if possible, Like you don’t need to have all the daily bucket in the horizon, may be first month in daily bucket. You can determine planning horizon in the variant.
Remove any inconsistencies in LC every day after executing the report and make sure to resolve all the inconsistencies before executing major planning job. Also Monitor post processing record regularly and process them accordingly.
By checking/doing all the above, you should get some pointers.
Thanks,
Satyajit
Message was edited by: Satyajit Patra -
Adobe Forms with APO DP Livecache
We have a requirement where in we need to develop Custom UI to show APO DP data in Real-Time. This means, the custom UI should read data directly from Livecache and we plan to use Adobe forms for this. My question is, can adobe forms read & write data from Livecache? If yes, how would this be achieved. If any one can help with a realevant pointer, it would be a great help.
Thanks & Regards,
Ganesh PaiHi Ganesh,
There is no SAP provided standard functionality available to directly convert livecache data to adope form. You can transfer the results of DP realtime data into excel sheet and then convert to Adobe forms.
But you need to customise integration of Adobe form with livecache data as per your requirement.
You can also make use the below link for preparation of your data extraction.
http://help.sap.com/saphelp_scm70/helpdata/EN/3e/99ad39e4692453e10000000a114084/frameset.htm
Regards
R. Senthil Mareeswaran. -
Update from ATP timeseries indicator different values in APO DB & Livecache
Hello experts,
Our Basis team has ran the Livecache and DB consistency check (OM17) transaction and all the inconsistencies has been removed,but we are encounturing an error "The update from ATP time series indicator has different values in APO DB and Livecache " in 000 version. I have checked the version managemet for 000 and under ATP tab the option Update from ATP time series is unchecked. Can you please let me know the reason for this error and what else i.e. the configuration settings i have to check to wipe out this error.
Quick help is appreciated.
Thanks.
Dhanunjay.Hello Kaushik,
Thanks for your reply.
The indicator update update from ATP time series is only set during the creation of active version for product availability check time series update, but we are not using any ATP time series.
How ever it's unchecked for active version 000, but when i checked for the entries in the table /SAPAPO/APO01 there the ATP time series activation indicator is set. Iam confused about the differences, i guess this might be causing the error,if so i have to alter the table or delete the version and recreate. Can you please guide me which would be the better option.
Thanks.
Dhanunjay . -
SCM , APO and Livecache administration
Hi SAP Guru's
Can any one guide me what is role and responsibilities of SCM and APO and Live cache administration as part of Basis.
I will be great help if any one can guide me in SCM and APO and LIVE cache administration.
Waiting for Reply
FarooquiHi Farooqui
Since this Forum handling more application related topic, it is better to post your question in different Forum "MaxDB/liveCache ".
Above MaxDB/liveCache is handling more basis and liveCache related topic.
As a general information, SAP provides following documens that describe task and check point related to SCM system and liveCache. So I recommend you to check following 3 documents.
URL : http://service.sap.com/solutionmanagerbp
Number
44 System Monitoring for SAP APO (3.x) / mySAP SCM (4.x/5.0)
34 Monitoring and Administration for SCM / APO
42 Checklist for Recovery of SAP APO liveCache >= 7.4
Also there are some documents that describe liveCache behavior, so for better understanding,
I also recommend you to check following 2 documents. (The information is bit old. but it might be helpful to understand liveCache).
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/66f7351f-0801-0010-96b4-f91d424b9d08
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/72cdbe90-0201-0010-6986-eae36eb6c819best regards
Keiji Mishima -
Problems with liveCache in APO
Hi experts,
I have an issue with regards to liveCache in APO and I hope someone can help me.
Whenever I try to create a Planning Version within a Model (via transaction /SAPAPO/MVM) the following
error message is provided: "General error in model / version management planning".
Through some research I found a document that makes the following recommendation: "Sometimes when you work in a multi-client system, you maybe encounter the following error message: "General error in model/planning version management". This error is due to the fact that in LiveCache the planning version already exists but it cannot be found on database. As a remedy, you have to remove this inconsistency by using the transaction /SAPAPO/OM17. For detailed information, please refer to SAP Note 519014."
Then, as recommended, I tried to execute the transaction /SAPAPO/OM17. But when I tried to execute this transaction another error message was released: "Connection to liveCache failed. Message no. /SAPAPO/OM000".
Moreover, the result of the transaction /SAPAPO/OM13 ( Analyze liveCache and LCA Objects ) shows the following errors and warnings:
Item
Check
Connection to LCA
with errors
liveCache Stat. from LCA - ???
with errors
liveCache Initialization - 001
with errors
Old simulation versions
with warnings
/sapapo/om_reorg_daily - 001
with errors
/sapapo/om_delete_old_simsess
with errors
/sapapo/om_lcaalerts
with errors
Number of LC Sessions - 0
with errors
Thanks in advance for help.
Greetings,
Francisco Fonseca.Hi sai balakavi,
initially, thanks for the fast help.
As suggested, the issue was escalated to the BASIS team and the procedure chosen was as follows:
Shutdown SAP APO and liveCache (ECC + SE6) services
Shutdown DB Oracle (ORCL + ECC + APO + SE6) services
Logs verification
Restart server
Restart SAP APO and liveCache (ECC) services
Restart DB Oracle (ORCL + ECC + APO + SE6) services
However, the previous problems still persist. So, in order to get more information about the problem, I exported a full report (at the end of this message) on the result of the transaction /SAPAPO/OM13 ( Analyze liveCache and LCA Objects ).
Is there any other action to be taken in addition to shutdown and restart of liveCache services?
Thanks in advance for help.
Greetings,
Francisco Fonseca.
EXPORTED REPORT
Versions
Current ABAP SP : LCAPPS 2005_700: patch 0003
Import Date of SP : 28.09.2006
Import Time of SP : 17:14:18
Runtime Environment Vers.:
liveCache Connection : titanidas-LCA
Module ReleaBuildPatch OpSys Change DLL Date Size D
Number of LCA Routines : 0
dbsdbslib : (Cannot determine) Patch
SQLDBC Release :
Times
Application Server : 16.10.2008 06:00:16
liveCache Server :
LCA Object :
Checks
liveCache Connection LCA : X OK
liveCache Connection LDA : X OK
liveCache Connection LEA : X OK
Connection to LCA : ERROR
liveCache Status from LCA: ??? ERROR
liveCache Initialization : 001 ERROR
Number of Active Traces : 0 OK
Number of Active Checks : 0 OK
No. of Old Trans. Sim. : 0 Warning
Initialize Follow-Up : ERROR
/sapapo/om_reorg_daily Scheduled Daily: 001 ERROR
/sapapo/om_delete_old_simsess scheduled regularly: ERROR
/sapapo/om_lcaalerts Scheduled Daily: ERROR
Number of Work Processes : 13 ERROR
Number of LC Sessions : 0 ERROR
RFC Connections : OK
Clients with Errors : OK
MAXLOCKS : 0 Warning
OMS_HEAP_LIMIT : 0 Warning
OMS_HEAP_THRESHOLD : 0 Warning
OMS_VERS_THRESHOLD : 0 Warning
REQUEST_TIMEOUT : 0 Warning
Critical Logging Event : OK
Network
Server titanidas
Client titanidas
Thu Oct 16 06:00:52 2008
***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection re
*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 1916
(SI_ECONN_REFUSE/10061; I4; ST; 172.16.28.148:3298) [nixxi.cpp 27
*** ERROR => NiTClientLoop: NiHandle (rc=-10) [nixxtst.cpp 2839]
* ERROR partner '172.16.28.148:3298' not reached
* TIME Thu Oct 16 06:00:52 2008
* RELEASE 700
* COMPONENT NI (network interface)
* VERSION 38
* RC -10
* MODULE nixxi.cpp
* LINE 2770
* DETAIL NiPConnect2
* SYSTEM CALL connect
* ERRNO 10061
* ERRNO TEXT WSAECONNREFUSED: Connection refused
* COUNTER 1
Process died with exitcode -1
Current Messages
knldiag - Start
Error when reading the KNLDIAG file
knldiag - End
Error Messages
knldiag.err - Last Message
knldiag.err - Last Initialization
knldiag.err - Last Start
Log Initialization
lcinit.log - Start
Error when reading the LCINIT.LOG file
lcinit.log - End
Logging for Log - /SAPAPO/OM11
Date Time Event Cl. Message
Data Cache
Pages Megabyte
Cache Sizes 0 0
OMS Data 0 0
OMS History/Undo 0 0
SQL Data 0 0 Used (%)
Overall 0 0 0,00
Accesses Hit Rate (%) Overall Failed
OMS Data 0,00 0 0
OMS History/Undo 0,00 0 0
SQL Data 0,00 0 0 -
Hi people,
I´m setup up the SCM/APO with livecaché. I´ve connected the LCA database with the scm system. But when I go to the LCA03 tcode for do the test I get four red messages.
/sapapo/om_reorg_daily
/sapapo/om_delete_old_simsess
/sapapo/om_lcaalerts
For this last, I follow the step of made the jobs. I do it, but when refresh the tcode LCA03 it´s is same. The other two jobs are equal.
And the last error is Lc sessions account, which indicates the MAXUSERTASKS. Where can i do to set up this parameter?Hi,
The third point is correct.
The erros are that /sapapo/om_reorg_daily, /sapapo/om_delete_old_simsess, /sapapo/om_lcaalerts are with red check. I follow the steps for to do them and when i back to the realized the test I get the same errors.
I read in one thread that there are to execute /sapapo/opt_inst, for to see the RFC connections. I get the diferent connections on red. It´s possible that this affected the before step???
Edited by: Ruben Torres on Apr 9, 2009 12:10 PM
Another question. In the sm36 I select the standart jobs and push standar prevision, then when I back to the tcode LCA03 don´t show me the screen with the diferentes options with the checks greens or reds. Only show me one message that says "liveCache-test onLCA finished without errors". It´s normal?? Not should be show me the screen with the diferents checks????
More thanks
Edited by: Ruben Torres on Apr 9, 2009 1:06 PM -
Licecache table missing Table MATRIXINDE does not exist in the database wit
Hello,
We recently done a system copy of our APO system, everything went well. in case of Livecache there are 2 problem
1) when we do the integration for LCA/LDA/LCA while we mentione the Livecache server it is not taking the host name , it is only picking the IP address of the livecache server. If we tried host name, it times out.
2) once we give the IP address as livecache server we can start the live cache server. Bure there is only two tables in it
when we run
transaction Livecache Check (/SAPAPO/OM03) we get the erro i.e.Table MATRIXINDE does not exist in the database with ID LCA
runtime error DBIF_RSQL_TABLE_UNKNOWN
When we look into the tables there are only 2 tables in it
AAPSYSNAME
LCA_WARNINGS
when I compare with other system...it is missing a lots of other tables..
We did re-initialized the livecache.
Appreciate your help in thisHello Sudhir,
1) Did you create the SAP ticket where this issue is reported?
2) It's good to know more details about the APO version, liveCache/LCA versions on your
source & target systems.
What note or document did you follow to do a system copy of our APO system?
3) Please pay attention to the recommendations in the SAP notes:::
877203 Post steps after the Homogenous liveCache copy usi u2026
886103 System Landscape Copy for SAP SCM
Thank you and best regards, Natalia Khlopina -
Hello Guru's,
My Production system Live cache has been crashed. I am trying to restore the last backup which was taken yesterday night 8:00pm. I am able to restore the Live Cache however unable to restore the logs to recover PIT, as it is complaining about log sequence. I am not sure about finding the sequence number it is asking for.
Crash happened today morning 7:00am. Backup restored last night 8pm and trying to do point in time recovery. Backup has been restored and trying to apply logs.
Note;- log backup is for every 2 hours, so after the complete backup last night, we have log backup's for every 2 hours and trying to apply the same.
Kindly suggest what can be done..
Thanks,
Sravanthi.Hello,
1.
You have questions how to solve the liveCache issues on the PROD system
=>
As already recommended Lars, please open the SAP message to the component BC-DB-LVC to get SAP support.
It will be helpful to know the SCM/APO version, liveCache version and more details about the liveCache crash.
2.
In case you had the liveCache crash due the hardware problems, and the data or log volumes or liveCache configuration files are corrupted
=>
solve the hardware issues first or use another server
Follow the SAP note to create the liveCache instance:
457425 Homogenous liveCache copy using backup/restore
You need to create/initialize the liveCache instance for restore or run the Restore with initialization, restore the successful databackup, then leave the liveCache in admin status and continue the restore of the incremental databackup/logbackups in sequence if needed.
*More information could be found in the SAP notes:
1377148 FAQ: SAP MaxDB backup/recovery
869267 FAQ: SAP MaxDB LOG area
820824 FAQ: SAP MaxDB/liveCache technology
Thank you and best regards, Natalia Khlopina -
Multiple LiveCache Instances Sharing the SAPDB software
Hello
We have two LiveCache Instances sharing the same set of executables for the SAPDB software and we are trying to apply a patch for DBMServer 7.5.0 Build 035 to get to Build 044 for SCM 4.1
I got the following error when I try to use SDBUPD
beginning to check sap db instances
existing instances:
0: LCT "/sapdb/LCT/db" 7.5.0.31
1: LCX "/sapdb/LCT/db" 7.5.0.31
2: none
please enter instance id: 1
no instance update supported - there are more than one instance based on instal"
SAP liveCache instance update exited abnormally at Fr, Aug 01, 2008 at 21:25:53
So I used SDBINST with APO LiveCache as the profile to install the software to /sapdb/LCT/db. Then I executed load_systab and load_lcapps using dbmcli for LCX. I would like to know if I am missing any of the steps. Please advise.
Thanks
JayHi Jay,
sharing one dependent path for two liveCache instances is not supported - exactly due to the tight coupling of SCM and liveCache and the issues resulting from it when patching on of the two liveCaches.
To 'move' over the LCT to the newly installed dependent path you've to unregister the instance first (aka db_drop withoutfiles) and re-register it as a new instance.
Make sure you've a backup before you do this!
1. bring liveCache LCT offline
2. dbmcli -U c db_drop withoutfiles
3. dbmcli u2013s u2013R <new_dependent_path> db_create LCT control,<password>
4. bring liveCache LCT online again
After that the LCT liveCache runs in its own dependent path and you can upgrade the two instances separately.
Regard,
Lars -
Livecache lock handler not available in APO
Hello Experts,
We are getting the error "Livecache lock handler not available" error when we are running planning jobs in SAP APO.
We are using parallel processing profiles for DP background processing jobs (Macro calculations) and I am getting this error only when a job is run with PP profile.
Below are the parameters of the parallel processing profiles:
Application: DP background processing
No of parallel processes: 2
Block Size: 500
The error message is written in the spool generated for the background job and the job fails. Eventually the process chain fails in which the job is included.
Please provide some pointers if anyone has come across the same error.
Regards,
RaghuHi JB,
Thanks for the note, Basis check the solution in the note and system seems to have met the requirements.
But one thing is likely to increase the MaxSQLLocks in the system as the demand of the locks is more than the availability. So basis is looking at this dimension to increase the number of locks in the system.
Will update soon in case of any conclusion.
Regards,
Raghu -
APO Livecache DB Backup and Livecache Auto Log Backup
Hi Guys,
Could you please help me here which tranaction code we use to check APO Livecache DB Backup and Livecache Auto Log Backup
Thank youHi,
Livecache DB and log back up looks like can not be accessed from SAP. Database Manager GUI is used.
Please check the below link for helpful information.
http://help.sap.com/saphelp_nw04/helpdata/en/f7/499e3c1fbe8c15e10000000a114084/content.htm
Regards,
Saravanan V -
Having problem connecting to the livecache server from APO instance
Could not able to connect to the live cache server from the APO server after installing both the instances separately on two different systems, while using the T-code LC10 to make a connection from APO DDIC login its displaying the following message
""timeout during allocate / CPI-C error CM_PRODUCT_SPECIFIC_ERROR ""
after entering the Livecache name and Livecache hostname correctly in the livecache integration..both the instance are on the same network and able to ping each other with the hostname and IP addressess..
It will be great if somebody help me in solving the problem..
Thanks in Advance
Srikanthis this query resolved at your end? or you still looking for ans.
-
Hi,
I had made a mistake in my previous post. I need information on LiveCache concepts in APO and not "Live Cash" as previously mentioned. Sorry about that..
Thanks,
SruthyHello Sruthy,
Use the below code to calculate the qunatities (Assumed that u have prodcut and locatio with u) . Please let me know if you find any issues.
Thanks,
Siva.
DATA : lv_pegid TYPE /sapapo/pegid,
gt_pegarea_lc TYPE /sapapo/om_pegid_tab,
l_safe TYPE /sapapo/boolean,
gv_sims TYPE /sapapo/om_simsession,
gv_params TYPE /sapapo/om_gen_params,
ls_exclude_fields TYPE /sapapo/om_exclude_fields2,
gt_io TYPE /sapapo/om_io_pp_tab,
gt_conti_io TYPE /sapapo/om_io_conti_data_tab,
gs_io LIKE LINE OF gt_io,
gv_mintime TYPE /sapapo/startti VALUE '19700101000020',
gv_end_time TYPE /sapapo/endti VALUE '20371231235949'.
RANGES : r_cat FOR /sapapo/om_io_pp-category.
CLEAR r_cat.
REFRESH r_cat.
Populate the ranges for the category
r_cat-low = 'AG'.
r_cat-sign = 'I'.
r_cat-option = 'EQ'.
APPEND r_cat.
CLEAR r_cat-low.
Populate all ur categories in the range and pass it to the fucntion module
Check if there are any sim session available
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = gv_sims
es_gen_params = gv_params.
If there is no sim session then create a new one
IF gv_sims IS INITIAL.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
IMPORTING
ev_simsession = gv_sims.
CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
IMPORTING
ev_simsession = gv_sims
es_gen_params = gv_params.
ENDIF.
ls_exclude_fields-get_prim_res = '2'.
CLEAR lv_pegid.
Fetch the Pegid for the location and Product
CALL FUNCTION '/SAPAPO/DM_MATERIAL_GET_PEGID'
EXPORTING
iv_matnr = p_p_matnr
iv_locno = p_p_loc
IMPORTING
ev_pegid = lv_pegid
EXCEPTIONS
material_not_supplied = 1
location_not_supplied = 2
account_not_supplied = 3
matid_not_found = 4
location_not_found = 5
simversion_not_found = 6
material_not_in_location = 7
dont_use_sobkz_plsec_together = 8
lc_connect_failed = 9
lc_com_error = 10
lc_appl_error = 11
version_not_found = 12
account_not_found = 13
material_not_in_model = 14
pegarea_locked = 15
internal_error = 16
OTHERS = 17.
IF sy-subrc = 0.
CLEAR gt_pegarea_lc.
REFRESH gt_pegarea_lc.
APPEND lv_pegid TO gt_pegarea_lc.
REFRESH gt_io.
Get the quantity for the all the categories
CALL FUNCTION '/SAPAPO/RRP_LC_PEGID_GET_IO'
EXPORTING
it_pegarea = gt_pegarea_lc
iv_start_time = gv_mintime
iv_end_time = gv_end_time
iv_use_safety_times = l_safe
is_exclude_fields = ls_exclude_fields
IMPORTING
et_ionodes = gt_io
et_conti_io = gt_conti_io.
ELSE.
RAISE peg_err.
ENDIF.
DELETE gt_io WHERE category NOT IN r_cat.
Now loop at the internal table and calculate the sum -
(SCM-APO ) - LiveCache error - tp error : operable program or batch file
Dear Gurus,
On one our APO systems, I cannot administer liveCache, using database connection LCA, LDA, or LEA. Using LCA as an example, with
tcode LC10> liveCache Monitoring, I get this error:
Name and Server : QDP - ntsapsc001
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -11
Error Message : tp error: operable program or batch file
Using tcode /sapapo/om13, I get these results:
liveCache connection to LCA (GREEN)
liveCache Stat. from LCA ??? (RED)
liveCache Initialization 001 (RED)
Using tcode SE38> program RSLVCINIT > database connection LCA, I get this error:
Error in DBMSERVER or DBMCLI
What is wrong ?
Thanks and regards,
cjperk90In the syslog (tcode sm21), and on the NT server's syslog,
I also get these errors:
Database error -10709 at CON
> Connection failed (RTE:database not running)
Please advise.
Thanks,
cjperk90
Maybe you are looking for
-
Save as PDF generates SPLWOW64.EXE error
Just moved to new Windows 7 box Using Frame v 8.0p236 Have book, used Save as PDF option, click "Set". Get a popup box with big red "X" says: c:\windows\SPLWOW64.EXE Ideas? TIA, Theresa
-
Enhancement on MRKO Transaction
Hi, I am working in MRKO transaction, which is to create accounting document using vendor and material documet. Problem is EXCHANGE RATE. I have to create accounting document as per Vendor suggested exchange rate, Not per system caliculated exchange
-
ABR delta extractor and entries written to the delta queue
Hello Everyone, We have an ABR extractor and it's behaving like this: For example fields: PM Order Number, Post Goods Issue Date, Start Date, Work Qty, Projected Qty Create the PM order the entry is written perfect to the delta queue: 10019987, blank
-
Can't find a downloaded ringtone
I have an IPad 2. I downloaded a ringtone, payment was taken, but I now can't find it on any list.
-
How to access multiple instance on internet explorer
Dear WE are on r12, We have to configure production instance base on test, therefore we need to run two instance but explore not allow to run same time, how can we run this. psl advice. thanks.