From my own experience of SCM-APO administration, I have tried to outline few key areas that are often found to be the main reason for performance issues. As APO system operation depends on connected OLTP system, Livecache and Optimizers so overall APO performance is dependant on those systems and their internal connectivity also.
In the following few sections I tried to capture some of the practical performance related issues that are commonly faced by APO Basis administratior.
Performance in APO system depends on areas like CIF communication, APO & DB instance, Livecache performance front-end communication etc. Below mentioned sections contains on those key areas :-
There may be a number of reason for CIF* related error messages. Some of the CIF* errors and their common causes are mentioned below :-
a) If errors like "Command to tRFC/qRFC: Execute LUW again" is reported and executing them once doesn't clear the queues then it is possibly locking some object and preventing queue execution. Addressing the issue related to the object lock addresses these queues execution.
b) When CIF* errors are specific on LC connection or Db connectivity and repeatedly multiple times similar errors get reported then you may stop/start LC (keeping the functional team informed and stopping CIF queues through OM17) once from LC10->LCA->Monitoring->Operating area.
c) If the CIF* errors are pointing towards issues related to "user id/password problem" - immediately check the RFC connection between R/3 system and APO.
Many issues on APO instance and APO DB can influence the overall performance. Some of the common performance issues are mentioned below :-
One of the most common concern for APO server performance issue comes from long running background jobs.
Integration model jobs are used for periodic master data transfer from R/3 to APO system. At times integration model jobs performance may be slow. Ensure to run change pointer cleanup jobs with CIF* variants at regular interval.
Jobs with RBDCPCLR program should be run with CIFCUS (customer master), CIFECM, CIFMAT (for material), CIFMTMRPA, CIFVEN (vendor master), CIFSRC etc message types at regular intervals.
If certain CTM or SNP related jobs are taking more time to run than before then please check tables which are accessed during those job runs. Certain key tables are /SAPAPO/MATMOD, /SAPAPO/LOC,/SAPAPOMATKEY etc tables.
Running update statistics on those tables may improve the performance.
Another performance issue for APO system could be for non availability of dialog work processes. This may happen when a large no. of queues (containing large no. of LUW's) getting executed at the same time. Using parameter rdisp/rfc_min_wait_dia_wp a certain number of dialog work process can be reserved may be helpful in those scenarios.
Data between OLTP & APO (external consistency) and also APO & Livecache should be always consistent. /SAPAPO/OM17 and /SAPAPO/DELTAREPORTS3 is used to check external and internal consistencies respectively.
As Livecache is an integral part of APO system landscape so any issues at LC can have a major impact on performance. Some of the common LC related issues mentioned below :-
Major issue with APO operation can happen if LC logs are almost full or backup not taken regularly. If LC backup jobs are failing or not configured properly then ensure to address the issue. RSLVBACKUP program is used for data backup. It is advisable to backup data once in a day.
Backup job can be scheduled from APO application level also. Check periodic backup completion status from SM37 logs.
LC log backup can be taken either using autolog backup mode or manually from DBMGui/LC OS level. It is preferable if LC log is set in autosave mode.
If LC10 -> LCA -> LC status shows operational then Livecache is running fine.
Apart from backups another important area for checking LC performance is its memory and disk access. There are certain general recommendations related to LC disk dev spaces like each Livecache dev space should on a separate disk - bigger the dev space higher is the I/O parallelization. Moreover it is recommended to set up all dev spaces with the same size also because of performance optimization when distributing I/O among dev spaces / disks and also to use raw devices for the dev spaces instead of file systems. This can improve performance as well. But these are things to consider for a new system. For a running in-production LC system's performance we check the following things :-
"
As it's an integral part of APO system landscape so any issue with Optimizer can cause a big impact on performance. Few things can be checked for optimizers :-
APO system works in sync with Livecache, optimizers, OLTP and as well as with BW systems, So always ensure that RFC connections between these systems works fine.
Above mentioned points and views are based my own experience of APO Basis support. With these guidance and performance areas are in view, always try to keep your APO and Livecache system updated as per SAP suggestion. Follow EarlyWatch or golive session reports to analyze suggestions for your APO systems.