Abstract
Performance optimization is an integral part of any APO implementation. Unlike transaction intensive processes, advanced planning in APO utilizes Live Cache to process the planning calculations and therefore subject to multiple performance constraints. To address the performance issues, SAP recommends multiple OSS notes along with few key configurations and adherence to best practices to execute the interactive as well as background jobs.
This whitepaper documents key APO processes and related background jobs for demand planning and supply network planning which substantially impact the performance of APO landscape unless otherwise rectified during the realization phase. Along with different phases of test life cycle, typical issues encountered during the execution of performance jobs have been discussed and recommendations to improve performance of the system with respect to each issue identified have been emphasized. Content in this document is focused upon the approach to be adopted towards performance optimization, preparation, requirement gathering and execution of test life cycles rather than describing each and every transaction impacting the system.
1.0 Overview of Performance Optimization
Performance optimization is a thorough assessment whether an IT solution satisfies its performance, capacity and scalability requirements. Performance tests are designed to analyze system attributes such as responsiveness, throughput, peak workload capacity and stability under load.
Performance testing is intended to ensure the production infrastructure’s ability to support a threshold that is acceptable to the Client’s processing requirements. Performance testing involves the following objectives:
Benefits of Performance Optimization:
Performance Optimization Testing Life Cycle:
Performance optimization assessment follows the following phases during its life cycle:
Typical scope of performance testing involves the following planning modules in APO and ECC:
Test planning involves two-pronged approach towards performance optimization:
Output of this phase is a set of test scripts to be used for different process areas as planned. Performance test scripts should be drafted for all process areas as planned and loaded to HP Quality Center / HP ALM.
Test scripts focus on the performance rather than on the system functionality and hence integration test scripts can not be used directly for performance testing.
Test data is an integral part of the Design phase and needs to be built into the system created for performance testing. A pre-production system or a dedicated performance test system should be created with full master and transaction data transferred from ECC to APO. Performance test system should resemble actual production and hence should contain full load of transaction and master data as expected in production environment after go-live. Data can be loaded either manually or through conversion process.
Before performance test scripts, it has to be ensured if all the system functionalities are up and working. This requires execution of few select integration test scripts preceding performance testing, to ensure the smooth functioning of the system. This activity can be carried out as a part of pre-performance testing readiness or as a part of cut-over simulation.
Key input to design of performance optimization test script is the availability of non-functional requirement. Along with functional requirement for solution design, gathering of non-functional requirement (e.g. SLA, timing of batch jobs etc.) should be emphasized during the blue-print phase of the project. Non-functional requirement
Test execution involves running the test scripts designed in the pre-production system (or any system designated for volume testing) and results were recorded in HPQC.
For example, the following job has been described to explain the approach towards performance test execution.
Name of the Job – APO DP Forecasting Job
Business requirement: This is extracted from non-functional requirement for a certain proportion of actual/expected production volume of data.
For example - 30 minutes with 10000 CVCs
In the production, it is expected to be 40000 CVCs in NA and LA markets with total 250000 CVCs in the global model.
Test Volume:
Test1: 10000 CVCs,
Test2: 10000 CVCs,
Test3: 47000 CVCs,
Test4: n CVCs etc.
Job name: RUN MONTHLY FORECAST
Program: /SAPAPO/TS_BATCH_RUN
Response Time Monitoring:
SAP Basis team helps in recording this time as mentioned in the table above.
Analysis of Issues encountered:
- Only 1 AP server is assigned to the sever group for parallel processing
- Optimal setting may not be used in the parallel processing of DP job
- Possible locking issues causes failure of DP forecasting job
- Excessive use of forecast errors in DP forecasting
Similarly, other jobs as identified for volume testing needs to be executed.
Other typical jobs subjected to volume testing are as summarized below:
(/SAPAPO/MC90 should not be used for mass-processing of DP forecast release)
This section describes the important issues encountered during execution of the performance test scripts and recommendations to improve performance.
Issue log is a very crucial record of errors/defects noticed during the execution of the performance test and constitutes an important part of the final Test Report.
Few commonly observed issues have been summarized below for the reference of readers.
Issue Description
Business Impact
Recommendation
Issue Description
Business Impact
Recommendation
Issue Description
Business Impact
Recommendation
Apply SAP Note 1386453 - /SAPAPO/TS_BATCH_RUN - Locking issue in forecast.
Issue Description
Business Impact
Recommendation
Issue Description
Business Impact
Recommendation
Issue Description
Business Impact
Recommendation
Performance test scripts should be planned simultaneously while planning for integration test scripts. This will help in identifying most of the scripts which can be re-used in both the testing process and will prevent duplication of effort for re-writing the scripts solely for performance testing. It helps to pre-plan if the performance testing is to be recorded using HPQC as integration testing to prevent any last minute surge in consulting effort for the process and testing team
Relevant OSS notes which aids in improving performance in APO, should be proactively implemented during or before integration testing. This ensures system readiness for performance testing and negative effect of the OSS notes automatically gets tested during integration testing. Server sizing is the most important activity in predicting the performance of an APO system and we need to follow the SAP guidelines and recommendations to decide the appropriate size.
APO modules are highly performance sensitive due to involvement of complex calculations in live Cache and needs appropriate sizing of servers to make the solvers and algorithms deliver the output in required time frame. Even if the system functionalities are in place, client may not experience the benefit of the APO system unless the performance issues have been addressed in time appropriately, unlike ECC modules.
Final Test Report is prepared based on the defects logged during the execution of performance test scripts which analyses the defects, possible recommendations and their implementation plans. Once the recommendations get implemented, defects can be tested again and closed after satisfactory performance of the system.
Performance testing is an integral part of any APO implementation and constitutes an inevitable part of any APO project plan. While gathering the functional requirements, consultant should not lose sight of the non-functional requirements and associated planning required to implement them. While performance is not a glaring issue in most of the SAP ECC modules, client might under-estimate the importance of this in SAP APO. Therefore the consultant needs to be abreast with the latest developments in the field of performance testing to be able to recommend appropriate solutions during the realization phase of an APO project.
Pravat Dash, CPIM is a Consulting Manager in the Business Consulting Services Group of IBM Global Services. He has over 16 years of SAP SCM/ERP implementation and industry experience in the area of Supply Chain Management and Logistics. He has worked as Lead Consultant implementing several SAP SCM solutions for clients in various industry verticals. He has authored multiple papers in Supply Chain Planning space. You may reach him via email prabhatdash2003@yahoo.co.in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |