sap sd performance tuning - xbox and the need for speed - christoph schuler, cindi mccutchen sap...
TRANSCRIPT
![Page 1: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/1.jpg)
SAP SD Performance Tuning- Xbox and the Need for Speed -
Christoph Schuler, Cindi McCutchenSAP Application SupportMicrosoft Corporation
![Page 2: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/2.jpg)
Agenda
SAP at Microsoft – Quick FactsSAP at Microsoft – Quick Facts• Why Performance Tuning• SAP Service Offerings• Project Approach & Best Practices• Tuning for Xbox
– Changes Implemented– Summary of Results– Lessons Learned
![Page 3: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/3.jpg)
• Modules implemented:SD, MM, FI, CO, AM, HR, BW, APO
• 875 GB in a single, central Database; 6 GB/wk growth
• 2,000 named users; 50,000+ total users• > 600 concurrent users; heavy EDI usage• 0.5 - 2 sec response time globally
(incl. WAN connectivity)• 99.9+% availability• Platform: SQL Server 2000, Windows .NET
server
SAP at MicrosoftQuick Facts
![Page 4: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/4.jpg)
Why Performance Tuning ?
• Business need for data throughput– Xbox Launch North America, Nov. ’01:
Peak volumes Existing XboxXbox Change
Sales orders / day ~ 5,000 + 7,600+ 7,600 + 152 %
Deliveries / day ~ 5,000 + 11,400+ 11,400 + 228 %
Sales orders / hour * ~ 250 + 2,500+ 2,500 + 1,000 %
Deliveries / hour * ~ 1,000 + 2,500+ 2,500 + 250 %* Each order & delivery with 10 line items
![Page 5: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/5.jpg)
Why Performance Tuning ?
• System availability & supportability– Prevention of:
• Cross-module increase in response time• Business disruptions• Penalties• End user frustration• Increased support costs
• System scalability– Ability to handle future growth
![Page 6: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/6.jpg)
SAP Service Offerings
Focus on critical SD business processes 50+ recommendations to improve performance
InterfaceInterface Management Management
Technical Solution Optimization (TSO)Technical Solution Optimization (TSO)Now: Solutions Management Optimization (SMO)Now: Solutions Management Optimization (SMO)
Business ProcessBusiness ProcessOptimizationOptimization
Data Mgmt. &Data Mgmt. &ArchivingArchiving
Jun ‘00:• EDI Interface• GBI Interface
Sep ‘00:• Sales Orders• Backorder Resch.• Deliveries• Billing
Oct ‘00:• FI Archiving
![Page 7: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/7.jpg)
Project Approach
• Project team– Functional – Basis/Technical– Development– Stress Test– Consulting (BUIT & SAP)
• Project timeline– Driven by business need
• Repetitive cycle– One item at a time
• Project metrics– e.g. seconds/document
Analysis
Test
Change
![Page 8: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/8.jpg)
TestBest Practices
• Have an original baseline test• Automate tests and standardize your
data & configuration• Include anticipated new functionality
(e.g. routing, allocations)• Consider systems external to SAP• Make test as realistic as possible !
Analysis
Test
Change
![Page 9: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/9.jpg)
AnalysisBest Practices
• Define your metrics (e.g. sec/doc, response time, etc..)
• Carefully document results and improvements with each cycle
• Review results and plan for next changes to be implemented and tested
Analysis
Test
Change
![Page 10: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/10.jpg)
AnalysisUseful Tools & Transactions
• Systemwide work process overview – SM66• Workload monitor – ST03• SQL trace - ST05• SQL trace interpreter - SQLR• Application analysis – ST14• Table access statistics – ST10• Memory configuration monitor – ST02• R/3 OS monitor – ST06• IDoc monitor – WE05• Gateway Monitor - SMGW• Windows PerfMon – CPU utilization
Analysis
Test
Change
![Page 11: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/11.jpg)
AnalysisProcess Overview - SM66
• Quick overview of all work processes• Look for:
– Long-running processes– “Stopped” processes– Highly utilized servers– Processes accessing the same tables
Analysis
Test
Change
![Page 12: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/12.jpg)
AnalysisDatabase Trace - ST05
• Important tool to analyze database performance problems
• Look for:– Most “expensive” database accesses
(Trace Summary)– Repetitive database accesses
Analysis
Test
Change
![Page 13: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/13.jpg)
ChangeBest Practices
• Changes may include:– OSS notes
(> 2,600 performance notes for 4.5B)– ABAP code optimization– Configuration – Technical settings– Hardware– Business process or logic
• Carefully document changes made
Analysis Change
![Page 14: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/14.jpg)
Agenda
• Why Performance Tuning• SAP Service OfferingsSAP Service Offerings• Project Approach & Best PracticesTuning for Xbox
– Changes Implemented– Summary of Results– Lessons Learned
![Page 15: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/15.jpg)
Microsoft (SAP System)
Tuning for Xbox
SalesSalesOrderOrder
Distribution Distribution WarehouseWarehouse
Sales Order(EDI 850)1
RetailerRetailer
![Page 16: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/16.jpg)
Tuning for Xbox1 – Sales Order Processing• Switch to parallel processing of
inbound IDocs Partner profile change: ’Immediate’ to
‘Background’ (via WE20) Server group configuration with resource
parameters (via RZ12) –OSS 384971 Schedule program RBDAPP01 Specify packet size and ‘Parallel’ posting option
• Deactivate IDoc syntax check• Increase of program buffer
![Page 17: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/17.jpg)
Tuning for Xbox1 – Sales Order Processing• SD number range buffering
Table NRIV - Object RV_BELEG (via SNRO) Local buffering by work process ID Exclusion of sales orgs (OSS note 424486)
• ABAP code improvements VA01 user exits Elimination of repetitive table reads
• Table buffering Monitor access statistics (via ST10)
![Page 18: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/18.jpg)
Tuning for Xbox
SalesSalesOrderOrder
2Rescheduling
RetailerRetailer
Sales Order(EDI 850)1
Distribution Distribution WarehouseWarehouse
Microsoft (SAP System)
![Page 19: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/19.jpg)
Tuning for Xbox2 - Backorder Rescheduling• Cleanup of old orders• Program SDV03V02 by plant – daily
Evaluation of program SDV03V01
• Modification (repair) of SDV03V02 Due to SD number buffering Take order creation date & time into account
• Custom pre-processing program Dynamic job builder and distribute workload over
several processes Utilize standard SAP programs
![Page 20: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/20.jpg)
Tuning for Xbox
SalesSalesOrderOrder DeliveryDelivery
2
RetailerRetailer
Sales Order(EDI 850)1
Distribution Distribution WarehouseWarehouse
Ship Order (EDI 940)
3Rescheduling
Microsoft (SAP System)
![Page 21: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/21.jpg)
Tuning for Xbox3 – Delivery (EDI Ship Order)• Custom pre-processing program:
Dynamic job builder and distribute workload over several processes
Utilize standard SAP program (RV50SBT1)
• Additional index on table VBBE• Separation of output from document
creation Schedule RSNAST00 to process output Schedule RSEOUT00 to process IDocs and
combine into files
![Page 22: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/22.jpg)
Tuning for Xbox3 – Delivery (EDI Ship Order)• Deactivate IDoc Syntax Check• SD number range buffering• Activate shared locking
For availability checking group level for ATP (via OVZ2)
• Evaluate program RVV50R1T (VL10) instead of current DDL Program was evaluated but not implemented Server group functionality is available in SAP
version 4.6c
![Page 23: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/23.jpg)
Tuning for Xbox
SalesSalesOrderOrder DeliveryDelivery
GoodsGoodsIssueIssue
Ship Order (EDI 940)
Ship Confirm (EDI 945)
Shipment
3
4
52
Rescheduling
Sales Order(EDI 850)1
Distribution Distribution WarehouseWarehouse
RetailerRetailer
Microsoft (SAP System)
![Page 24: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/24.jpg)
Tuning for Xbox5 – Post Goods Issue (EDI Ship Confirm)
• Switch to parallel processing of inbound IDocs via RBDAPP01 Same as sales order processing Table Locking – MVER (OSS Note 318581)
• Prevent plant locking Allow IDOC to be reprocessed (from a status 64)
instead of going into an error (status 51)
• Activate ‘Late exclusive enqueue’ For material movements via OMJI (OSS 192423)
• Deactivate IDoc syntax check
![Page 25: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/25.jpg)
Tuning for Xbox
Distribution Distribution WarehouseWarehouse
SalesSalesOrderOrder DeliveryDelivery BillingBilling
GoodsGoodsIssueIssue
Invoice(EDI 810)
Shipment4
6
2
Sales Order(EDI 850)1
Ship Order (EDI 940)
Ship Confirm (EDI 945)
3 5Rescheduling
RetailerRetailer
Microsoft (SAP System)
![Page 26: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/26.jpg)
Tuning for Xbox6- Billing• SD number range buffering
Exclude certain countries due to legal requirements (OSS Note 23835, 363901)
• Parallel processing of billing due list Program RV60SBAT, specify ‘Number of jobs’
• Separation of output from document creation Schedule RSNAST00 to process output Schedule RSEOUT00 to process IDocs
![Page 27: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/27.jpg)
Tuning for XboxAdditional Changes Implemented
• ATP server (Available to Promise) Information in OSS note 99999 Installed on central instance
• Tax solution (Vertex) upgrade Use ‘Registered RFC mode’ (OSS 63930)
• APO RFC calls (Advanced Planning Optimizer) RFC queue in R/3 spawning ARFC* jobs
![Page 28: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/28.jpg)
Tuning for XboxSummary of Testing Results
• SD Core Transactions:
1
1
7
2
20
4
12
4
0 5 10 15 20 25
Sales Orders
Deliveries
PGI
Billing
Seconds / Document (10 lines)
Before
After
![Page 29: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/29.jpg)
Tuning for XboxSummary of Results
0.00
1.00
2.00
3.00
4.00s/Orders/Delivery
Xbox Transaction Volume
Xbox Transaction Performance
0
10,000
20,000
30,000
Oct-01 Nov-01 Dec-01 Jan-02
Orders
Deliveries
![Page 30: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/30.jpg)
Tuning for XboxSummary of Lessons Learned
• Utilize SAP/OSS resources • Assemble a project team with a wide
range of knowledge• Only test ONE change at a time• Be prepared to spend about 80% of your
time testing• And learn to hide from the Basis team
![Page 31: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/31.jpg)
References
• “SAP R/3 Performance Optimization” by Thomas Schneider, Sybex
• “ALE, EDI & IDoc Technologies for SAP” by Arvind Nagpal, Prima Tech
![Page 32: SAP SD Performance Tuning - Xbox and the Need for Speed - Christoph Schuler, Cindi McCutchen SAP Application Support Microsoft Corporation](https://reader035.vdocuments.net/reader035/viewer/2022062404/5518a07d550346a61f8b4838/html5/thumbnails/32.jpg)
Questions??