65
Best Practice for Solution Operations Manage Operations for Service Parts Planning with SAP SCM Dietmar-Hopp-Allee 16 D-69190 Walldorf CS STATUS external final DATE VERSION August 5th, 2009 1.1 SOLUTION MANAGEMENT PHASE SAP SOLUTION Operations & Continuous Improvement Best Practices for Solution Operations TOPIC AREA SOLUTION MANAGER AREA Application & Integration Management Business Process Operation

Manage operations for service parts palnning with sap scm

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Manage operations for service parts palnning with sap scm

Best Practice for Solution Operations

Manage Operations for Service PartsPlanning with SAP SCM

Dietmar-Hopp-Allee 16D-69190 Walldorf

CS STATUS

external finalDATE VERSION

August 5th, 2009 1.1

SOLUTION MANAGEMENT PHASE SAP SOLUTION

Operations & Continuous Improvement Best Practices for Solution Operations

TOPIC AREA SOLUTION MANAGER AREA

Application & Integration Management Business Process Operation

Page 2: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 2/2

Table of ContentsManagement Summary 5

1.1 Goal of Using this Best Practice 51.2 Alternative Practices 51.3 Staff and Skills Requirements 51.4 System Requirements 61.5 Duration and Timing 61.6 How to Use this Best Practice 61.7 Best Practice Procedure 6

1.7.1 Preliminary Tasks 61.7.2 Monitoring Concepts 61.7.3 Business Process Monitoring in SAP Solution Manager 71.7.4 Monitoring Types for Business Process Monitoring in SAP Solution Manager 8

1.7.4.1 Application Monitor 81.7.4.2 Background Job 91.7.4.3 ABAP Dump Collector 101.7.4.4 Dialog Performance 101.7.4.5 Update Errors 111.7.4.6 Due List Log 121.7.4.7 Application Log 131.7.4.8 Other CCMS Monitors 141.7.4.9 Analysis and Monitoring Tools 151.7.4.10 Monitoring Activities 171.7.4.11 Notifications 17

1.7.5 Business Process Monitoring Process 182 Business Process Monitoring for Service Parts Planning 20

2.1 Sample Scenario 202.2 Business Process Service Parts Planning 20

2.2.1 Business Process Step 1: Capture Demand History 212.2.1.1 Description 212.2.1.2 Monitoring Requirements: 222.2.1.3 Monitoring Objects in SAP Solution Manager 232.2.1.4 Monitoring without SAP Solution Manager 252.2.1.5 How to Find Meaningful Thresholds for Each Monitoring Object 25

2.2.2 Business Process Step 2: Stocking and De-stocking 252.2.2.1 Description 252.2.2.2 Monitoring Requirements: 262.2.2.3 Monitoring Objects in SAP Solution Manager 262.2.2.4 Further Monitoring Objects 262.2.2.5 Monitoring without SAP Solution Manager 272.2.2.6 How to Find Meaningful Thresholds for Each Monitoring Object 27

2.2.3 Business Process Step 3: Manage Demand History 272.2.3.1 Description 272.2.3.2 Monitoring Requirements: 282.2.3.3 Monitoring Objects in SAP Solution Manager 282.2.3.4 Further Monitoring Objects 29

Page 3: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 3/3

2.2.3.5 Monitoring without SAP Solution Manager 292.2.3.6 How to Find Meaningful Thresholds for Each Monitoring Object 29

2.2.4 Business Process Step 4: Forecasting 292.2.4.1 Description 292.2.4.2 Monitoring Requirements: 312.2.4.3 Monitoring Objects in SAP Solution Manager 312.2.4.4 Further Monitoring Objects 312.2.4.5 Monitoring without SAP Solution Manager 322.2.4.6 How to Find Meaningful Thresholds for Each Monitoring Object 32

2.2.5 Business Process Step 5: Economic Order Quantity & Safety Stock 322.2.5.1 Description 322.2.5.2 Monitoring Requirements: 332.2.5.3 Monitoring Objects in SAP Solution Manager 332.2.5.4 Further Monitoring Objects 332.2.5.5 Monitoring without SAP Solution Manager 342.2.5.6 How to Find Meaningful Thresholds for Each Monitoring Object 34

2.2.6 Business Process Step 6: Surplus & Obsolescence Planning 342.2.6.1 Description 342.2.6.2 Monitoring Requirements: 352.2.6.3 Monitoring Objects in SAP Solution Manager 352.2.6.4 Further Monitoring Objects 362.2.6.5 Monitoring without SAP Solution Manager 372.2.6.6 How to Find Meaningful Thresholds for Each Monitoring Object 37

2.2.7 Business Process Step 7: Distribution Requirements Planning (DRP) 372.2.7.1 Description 37

2.2.7.2 Monitoring Requirements: 382.2.7.3 Monitoring Objects in SAP Solution Manager 382.2.7.4 Further Monitoring Objects 392.2.7.5 Monitoring without SAP Solution Manager 392.2.7.6 How to Find Meaningful Thresholds for Each Monitoring Object 39

2.2.8 Business Process Step 8: Procurement Approval (DRP Approval) 402.2.8.1 Description 402.2.8.2 Monitoring Requirements: 412.2.8.3 Monitoring Objects in SAP Solution Manager 412.2.8.4 Further Monitoring Objects 432.2.8.5 Monitoring without SAP Solution Manager 432.2.8.6 How to Find Meaningful Thresholds for Each Monitoring Object 43

2.2.9 Business Process Step 9: Deployment 442.2.9.1 Description 442.2.9.2 Monitoring Requirements: 452.2.9.3 Monitoring Objects in SAP Solution Manager 452.2.9.4 Further Monitoring Objects 462.2.9.5 Monitoring without SAP Solution Manager 472.2.9.6 How to Find Meaningful Thresholds for Each Monitoring Object 47

2.2.10 Business Process Step 10: Inventory Balancing 472.2.10.1 Description 47

Page 4: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 4/4

2.2.10.2 Monitoring Requirements: 482.2.10.3 Monitoring Objects in SAP Solution Manager 482.2.10.4 Further Monitoring Objects 492.2.10.5 Monitoring without SAP Solution Manager 492.2.10.6 How to Find Meaningful Thresholds for Each Monitoring Object 50

3 Further Information 513.1 Troubleshooting 513.2 Related Best Practice Documents 513.3 Literature 513.4 Feedback and Questions 52

4 Appendix 534.1 Examples for recommended Monitoring Objects 53

4.1.1 Example Background Job Monitoring 534.1.2 Example Dialog Response Time Monitoring 544.1.3 Example Data Consistency 55

4.2 Available Monitoring Objects for scenario “Procure-to-stock” 574.2.1 Overview “Procure-to-Stock” 574.2.2 Monitoring Business Process “Procure-to-Stock” 584.2.3 Business Process Steps executed in SAP SCM APO – Service Parts Planning and Monitoring

Objects 594.2.4 Business Process Steps executed in SNC and respective Monitoring Objects 594.2.5 Business Process Steps executed in ECC/ERP and Monitoring Objects 604.2.6 Business Process Steps executed in EWM and respective Monitoring Objects 614.2.7 Business Process Steps executed in the Supplier System and respective Monitoring Objects 63

4.3 Background Jobs 64

Page 5: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 5/5

Management Summary

1.1 Goal of Using this Best PracticeThis Best Practice will help you to set up a Business Process Monitoring concept for your SAP solution in theautomotive area. The concept aims to define procedures for business process oriented monitoring and errorhandling, and escalation procedures for Service Parts Planning with SAP SCM. These procedures areintended to ensure a smooth and reliable flow of this core business process so that your businessrequirements are met.This Best Practice offers guidance to define suitable application-oriented monitoring objects to detect anyirregularities or deviations from an ideal business process flow, or to detect error situations concerning a corebusiness process at an early stage.This Best Practice contains the recommended approach from SAP which uses the SAP Solution Manager forthe Monitoring functionalities whenever possible. However, even if you do not use the SAP Solution Managerwe recommend that you follow the procedures described in this document as much as possible in to ensure asmooth and reliable flow of your business processes as well as an appropriate response in case ofunforeseen errors.Additional information on how to monitor the end-to-end cross-system scenario “Procure-to-stock” can befound in the Appendix of this document.

1.2 Alternative PracticesYou can have SAP experts deliver this Best Practice on-site by ordering an SAP Solution ManagementOptimization (SMO) service for SAP Business Process Management (BPM). This service is exclusivelyavailable within SAP’s support engagements SAP MaxAttention and SAP Safeguarding. If your companycurrently does not have any support engagement with SAP, it is also possible to get assistance by SAPexperts from SAP Consulting. If this case, please contact your local SAP Consulting representative.

1.3 Staff and Skills RequirementsTo implement this Best Practice, you require the following teams:Application Management TeamThis team creates the ERP Business Process Monitoring concept and consists of experts from several areasof your company:

Business department Solution support organization (for example the Basis Support or the Application Support) Implementation project team

Business Process Operations TeamThe Business Process Operations team will be responsible for applying the resulting procedures derived fromimplementing this best practice. They include the following groups:

Persons designated to perform business process-oriented monitoring and to ensure that the processruns smoothly (for example, the Business Process Champion for each business process)

All parties in your Solution Support Organization and IT department involved in monitoring focusedon the application aspects (Application Support, Development Support, Job SchedulingManagement)

SAP Technology Operations Team All parties in your Solution Support Organization and IT department involved in monitoring focused

on the system administration side (Program Scheduling Management, Software Monitoring Team,System Administration Team including the System Administrator)

Business Process Champion The Business Process Champion is the person in the business department who is responsible for

the successful execution of the business process. He/she coordinates all activities necessary for thebusiness process. Therefore, he/she is usually responsible for the escalation paths in case ofproblems. Often, he/she is a second level in the escalation procedure, if the application monitoringteam needs to escalate an issue.

Page 6: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 6/6

More information about roles and responsibilities of these teams can be found in the super-ordinate BestPractice General Business Process Management, which you can obtain through SAP Solution Manager orthe SAP Service Marketplace, quicklink /BPM.

Necessary or Useful TrainingsSM300 Business Process Management and MonitoringE2E300 End-to-end Business Process Integration and Automation Management

1.4 System RequirementsTo monitor business processes running in your SAP solution via SAP Solution Manager, the SAP BasisRelease of the systems to be monitored have to be at least 4.6C. To have all described monitoring objectsavailable in SAP Solution Manager, the add-on ST-A/PI01L has to be installed on the SAP ECC systems.

1.5 Duration and TimingDurationCreating a Business Process Monitoring concept could take around one week per business process.Implementing the Business Process Monitoring concept might take approximately an additional week in total.TimingThe best time to apply this Best Practice is during the planning phase or during the implementation phase ofyour SAP solution.

1.6 How to Use this Best PracticeHere you find a brief description of how you should proceed in using this document:

Read through the General Business Process Management Best Practice, available on the SAPService Marketplace. This document explains the procedures you should use to create a generalBusiness Process Management concept. This includes the definition and documentation of the corebusiness processes, definition of monitoring objects, definition of monitoring activities including errorhandling procedures, monitoring tools and monitoring frequencies, the definition of communicationand escalation procedures and the assignment of responsibilities.

At the beginning of section 2, you will find a typical flow chart of the core business process explainedin this Best Practice. It is intended to be used as a guideline for writing down your company specificprocess documentation.

In section 1.7.4, you find further information that is relevant for more than one scenario. If informationfrom the generic part is relevant for a specific business process step in one of the scenarios, you willfind a clear link to the corresponding chapter in the generic part.

1.7 Best Practice Procedure1.7.1 Preliminary TasksBefore performing this Best Practice, ensure that you perform the following preliminary tasks or checks in thesystem:

Complete all installation and post-installation actions and procedures including customizing Ensure that the initial data load has been successfully executed Apply all SAP recommendations from SAP Service Sessions and any SAP recommendations

resulting from customer problem messages Implement all current SAP Support Packages upon availability

1.7.2 Monitoring ConceptsThe monitoring procedures proposed for each business process step are the core of this Best Practice. Themonitoring procedures help you to ensure that the technical processes meet the requirements for stability,performance, and completeness. These procedures cover monitoring for the five areas:

Error monitoring Performance monitoring

Page 7: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 7/7

Throughput monitoring Backlog monitoring Data Consistency Monitoring

For each of the business process steps, you will find the following information: A detailed functional description of the process step Identified monitoring requirements for the process step Defined monitoring objects, alerts and selection criteria Description of error handling procedures and restartability

General monitoring activities that are valid for all or most scenarios are described in the generic part insection 1.7.4. Recommendations for performance monitoring can also be found in this chapter. Theperformance of the most important steps of your core business processes should be monitored on a regularbasis. The monitoring procedure for performance monitoring of all steps that are executed in an SAP solutionused for Spare Parts Management is generally the same. Therefore, you will only find specific performancemonitoring recommendations on selected business process steps.

1.7.3 Business Process Monitoring in SAP Solution ManagerBusiness Process Monitoring (BPMon), as part of Solution Monitoring means the proactive and process-oriented monitoring of the most important or critical business processes including the observation of alltechnical and business application specific functions that are required for a steady and stable flow of thebusiness processes.

The core business processes that are implemented in an SAP system or other software and operated by acompany are of particular importance. Business Process Monitoring is intended to ensure a smooth andreliable operation of the business processes and, thereby, that the core business processes meet acompany’s business requirements in terms of stability, performance, and completeness. SAP SolutionManager provides a graphical view to visualize a company’s (distributed) system and solution landscape andall related business processes. By using Business Process Monitoring, it is possible to define and customizealert situations from a basic set of configurable monitoring objects provided by the SAP Solution Manager.These resulting alerts are then visualized by green, yellow, and red alert icons for each individual businessprocess step in the graphical business process representation. The goal of Business Process Monitoring is todetect and respond to critical situations as early as possible so you can solve problems as quickly aspossible.

In addition, SAP Solution Manager offers extended functionality for error handling and problem resolution. Bythe definition of contact persons and escalation paths, Business Process Monitoring can be integrated intothe company’s overall strategy for Business Process Management and Solution Management within theirSolution Support Organization.

In general, Business Process Monitoring includes the solution-wide observation of: Business process performance (Key Performance Indicators) Background jobs (Job Scheduling Management tasks) Business application logs (such as any error log, general application log, due list logs, and so on) Data transfer via interfaces between software components Data consistency Technical infrastructure and components which are required to run the business processes Required periodic monitoring tasks

For further details on Business Process Monitoring please refer to http://service.sap.com/bpm.

Page 8: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 8/8

1.7.4 Monitoring Types for Business Process Monitoring in SAP Solution ManagerMonitoring Types are part of the functional scope of Business Process Monitoring as it is available in the SAPSolution Manager. This chapter provides a short overview of available monitoring types for referencepurposes only. The available Monitoring Types are:

Application Monitor (Throughput and Backlog Indicators, Data Consistency Checks, Mass ActivityMonitors, Due List Log, MRP key figures, User Exit, Interface Monitoring)

Background Jobs (Jobs running on SAP Systems with an SAP Basis) Dialog Performance (Dialog transaction performance) Update Errors (V1 and V2 update errors from SM13 for specific transactions and programs) Due List Log (messages for deliveries and billings) Application Log (messages from the Application Log SLG1) Document Volume (based on table call statistics in ST10) Other CCMS Monitor (all alerts that are configured in the CCMS Alert Monitor)

Depending on what is executed during a specific business process step, the relevant Monitoring Types mustbe selected. To receive detailed information on how to set up the Monitoring Objects in SAP SolutionManager, please refer to the documentation that is available under http://service.sap.com/bpm.

One prerequisite for setting up Business Process and Interface Monitoring in the SAP Solution Manager isthat all business processes and business process steps are maintained in the respective solution thatcontains all affected system components. If you want to learn more about how to set this up, see (URLhttp://help.sap.com) SAP Solution Manager Basic Settings.

1.7.4.1 Application MonitorThe Application Monitor is just one of many different Monitoring Types within Business Process Monitoring.The latest monitoring objects are only provided if the latest ST-A/PI plug-in is installed on the satellite system.The Service Tool for ST-A/PI is available via the SAP Service Marketplace Quick Link /installations Entryby Application Group -> Plug-Ins SAP Solution Tools ST-A/PI.

Ensure that the ST-A/PI is installed on the SAP Solution Manager system and on the respective satellitesystem. In case of problems, refer to SAP Note 915933.

The Throughput and Backlog Indicator functionality available as of ST-A/PI 01J* is only workingproperly with ST-SER 700_2007_1. This is due to changes in the underlying architecture.

More detailed information about the different Application Monitor functionalities and a detailed description onhow to define self-written monitoring collectors for the user exit are explained in the documents ‘Setup Guide– Application Monitoring ’ and ‘Setup Guide - User Exit’ respectively (URL http://www.service.sap.com/ AliasBPM Media Library).

1.7.4.1.1 Throughput and Backlog Indicators (TBIs)As of ST-A/PI 01H, a completely new set of Application Monitors has been introduced. While the alreadyestablished monitors are all evaluating specific logs or performance data these new monitors are considering(un-)processed documents in the SAP system and provide Throughput and Backlog Indicators.

These TBIs should especially provide Automated and early detection of application error situations and backlogs in the core business

processes Automated error and backlog analysis tools

Page 9: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 9/9

For ERP Logistics, the following monitors are available: Sales and Services (for example, Sales Documents, Invoices) Warehouse Management (for example, Transfer Requirements, Transfer Orders) Inventory Management (for example, Goods Movements) Logistics Execution (for example, Deliveries, Shipments) Procurement (for example, Planned Orders, Purchase Requisitions, Purchase Orders) Manufacturing (for example, Planned Orders, Production or Process Orders, Autom. Goods

Movements posted with error, Confirmation Pool errors) Plant Maintenance (for example, PM/CS Notifications, PM/CS Orders)

For further information on the different TBIs refer to the document ‘Setup Guide - Application Monitoring’(URL http://www.service.sap.com/BPM Media Library).

1.7.4.1.2 Data Consistency ChecksThe DCC collectors are a subset of the Application Monitors used to retrieve a stored comparison result fromdata comparison check reports for SAP systems.

There are certain consistency check programs that are able to not only output their check result to a list orinto the spool, but can also permanently store a summary in database tables. Corresponding monitoringobjects can be configured to retrieve the number of found inconsistencies out of the stored summaryinformation and display them as alerts within the SAP Solution Manager Business Process Monitoring(Consistency Monitoring).

For further information, refer to the document Setup Guide – Data Consistency Monitoring (URLhttp://www.service.sap.com/ -> Technical Information).

1.7.4.2 Background JobThe background job monitoring should be part of a Job Scheduling Management concept (go tohttp://service.sap.com/solutionmanagerbp Topic Area “Business Process Operations” to find a BestPractice document ‘Job Scheduling Management’). Because of several restrictions regarding background jobscheduling, for example, time restrictions, restriction of hardware resources (CPU, main memory, …) orexisting dependencies between different activities (for example, invoices can only be created after thecorresponding goods issue is posted, or Back Order Processing and Material Requirements Planning shouldnot run at the same time) it is very important to ensure the stable running of background jobs. A cancelledbackground job should be identified as soon as possible so you can react as quickly as possible. Therefore, itis also necessary to define restart procedures and escalation paths.

1.7.4.2.1 Monitoring Objects and AlertsBefore setting up monitoring, the monitoring objects must be clearly defined. A monitoring object is a singlebackground job or a group of background jobs. There are four different possibilities to identify a specialbackground job or a group of background jobs. This information needs to be maintained in the sub-node‘Background Job’ below a business process step.

A more detailed description (than provided in this document) on the subject of what kind of alerts make senseor what kind of alerts are possible are discussed in the Best Practice document “Background Job Monitoringwith SAP Solution Manager”, which can be found on the SAP Marketplacehttp://service.sap.com/solutionmanagerbp Topic Area “Business Process Operation”.

Page 10: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 10/10

1.7.4.3 ABAP Dump CollectorThis provides monitoring features for alerting on occurrences of ABAP dumps of specified runtime errors or tocollect statistical data of ABAP dumps for reporting reasons.

1.7.4.3.1 Monitoring Objects and AlertsThe monitoring object is an ABAP runtime error. This runtime error can be specified via the runtime errorname, the user who is responsible for the runtime error, the Client on which the runtime error occurs, or theProgram which leads to the runtime error.

The following alerts are available:- Number of ABAP Dumps (Delta) (all dumps since the last collector run)- Number of ABAP Dumps (Reporting) (all runtime errors of specified type, client and program for this day orfor the previous day)

1.7.4.4 Dialog PerformanceDialog Performance implies the monitoring of the dialog transaction performance of any transaction in theSAP System. This could be a standard transaction or a self-developed transaction.

1.7.4.4.1 Monitoring Objects and AlertsThe monitoring object is the transaction itself. The customizing has to be done in the node ‘DialogPerformance’. In the table ‘Transactions’, all transactions that are already configured to that business processstep are listed. The relevant transactions need to be selected for monitoring. It is also possible to add or toremove transactions within table ‘Add/Remove Transactions’. The monitoring can be performed for each SAPinstance. Therefore, the respective instances have to be selected in table ‘SAP Instances’. All instancesthat are maintained for a system are listed there. Table ‘Alert Types’ shows the dialog response timeand all parts of the response time, like queue time, load and generation time, database request time, and thefront-end response time, which can be monitored. Those times that are relevant for monitoring have to beselected.After saving this node, a sub-node ‘Performance Alerts’ will appear where the threshold values have to beentered.

Monitoring Objects – Dialog Performance

Each table in the sub-node ‘Performance Alerts’ corresponds to an alert type chosen in the higher-level node,and lists the combinations of the specified transaction code and SAP instance.

For each combination of transaction code and instance that should be included in the monitoring, the

Page 11: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 11/11

threshold values resulting in alert messages for changes from GREEN to YELLOW, from YELLOW to RED,back from RED to YELLOW, and back from YELLOW to GREEN have to be specified.

Since the Monitoring Object for Performance Monitoring is created on the satellite system, it might bepossible that the object already exists there. Therefore, you can load the current threshold values from therespective systems via the button "Load thresholds from XYZ", where “XYZ” represents the SID.If successfully retrieved for an SAP instance, the values are filled in columns. If no active settings for thethreshold values were found for a certain transaction code, default values are set (indicated in column"Default"). To transfer the threshold values for a single line from right to left, the copy icon can be used. Totransfer all at once (all thresholds for all columns and tables), there is an additional button "Copy all".

Monitoring Alerts - Dialog Performance

1.7.4.5 Update ErrorsChanges to the data in an SAP system caused by a business process should be written to the database in fullor not at all. If the operation is canceled while the transaction is being executed, or if an error occurs, thetransaction should not make any changes to the database. These activities are handled by the SAP updatesystem.

The SAP System makes a distinction between primary, time-critical (V1) and secondary, non-time-critical (V2)update errors. This distinction allows the system to process critical database changes before less criticalchanges.

V1 modules describe critical or primary changes; these affect objects that have a controlling function in theSAP System, for example, order creation or changes to material stock.V2 modules describe less critical secondary changes. These are pure statistical updates, for example, resultcalculations.

1.7.4.5.1 Monitoring Objects and AlertsMonitoring of Update Errors can be configured for online transactions and/or ABAP programs relevant in abusiness process. This is the object type. The name of the object is the name of a transaction or the name ofthe ABAP program itself. If desired a user executing the transaction or the ABAP program can be specified.If no user is specified explicitly, all users (represented by '*') will be considered in monitoring data evaluation.

Page 12: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 12/12

Monitoring Objects - Update Errors

Since update errors are usually very critical, the default configuration is to raise a yellow alert as soon as oneupdate error occurs. This is valid for V1 and for V2 update errors. To raise a red alert for a V1 or a V2 updateerror, a threshold must be specified.

1.7.4.6 Due List LogA due list is a list that contains several entries (documents) depending on selection criteria. There aredifferent types of due lists in an SAP system, of which the following three are most important: delivery (L),billing (F) and picking (K). The delivery due list can be accessed directly via transaction V_SA, and the billingdue list via transaction V.21. In the case of a billing due list, the list contains, for example, a number of salesdocuments that need to be billed. If the billing due list was processed previously and it is important to knowwhich billing documents were created from this billing due list, it can be displayed in the due list log for thisbilling run.

1.7.4.6.1 Monitoring Objects and AlertsThe monitoring object is the respective due list type. That can be ‘Delivery’, ‘Billing’, or ‘Picking’. If a certainuser is processing the due list, the name of the user can be specified here. If it is user independent, a wildcard ‘*’ can be used. The aggregation level needs to be defined. This could be ‘per day’, ‘per hour’ or ‘perlog’.

For the monitoring of due list log messages, four different alert types can be used:1. ‘DocumentCreation’ refers to the status of the document creation itself. The alert rating (YELLOW or

RED) will be raised if no documents were created during a Due List run.2. ‘MinQuantityDocs’ refers to a minimum number of documents that should be created during a Due

List run. The threshold values for the number of documents that result in a change from GREEN toYELLOW (or back) and from YELLOW to RED (or back) must be maintained.

3. ‘TotalQuantityMsgs’ refers to the total number of message created during a Due List run.4. The threshold values for the number of messages that result in a change from GREEN to YELLOW

(or back) and from YELLOW to RED (or back) must be maintained.

Page 13: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 13/13

5. ‘DLLogMsgs’ refers to specific due list log messages. The message type, the message ID and thenumber can be specified. It is also possible to use wild cards. The threshold values for the number ofmessages that result in a change from GREEN to YELLOW (or back) and from YELLOW to RED (orback) must be maintained.

1.7.4.7 Application LogThe Application Log provides an infrastructure for collecting messages, saving them in the database anddisplaying them as a log. Situations can arise at runtime in application programs that must be brought to theattention of the user in some way. These are usually errors. It can also be useful to report a successfulcompletion. The information that arises is called a message. The set of messages is a log. A log usually alsohas header information (log type, creator, creation time, and so on). A transaction can generate several logs.

The Application Log is not written consecutively but as a whole at one point in time.

1.7.4.7.1 Monitoring Objects and AlertsThe Application Log allows an application-oriented or object-oriented recording of events. An object, and anysubobject that belongs to it, classify each event. The analysis of the logs is similarly object (or sub-object)oriented. The name of an object (and/or subobject) can be found in transaction /nSLG1 together with all otherspecific information to that log.

Monitoring Objects and Alerts - Application Log

It is possible to monitor for the total number of messages belonging to an object. Therefore, the number ofmessages that raises a YELLOW alert and the number of messages changing from a YELLOW to a REDalert must be maintained.

It is also possible to monitor specific messages that are considered as critical in table CriticalMsgs. To

Page 14: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 14/14

configure the monitoring of critical application log messages, the relevant object-sub object combinationsneed to be selected. For each of these combinations, the message type, the message ID, the messagenumber and the threshold values for the number of critical messages that are supposed to result in changesfrom GREEN to YELLOW and from YELLOW to RED can be specified. It is also possible to use wild cards.

Monitoring Alerts - Application Log / Critical Messages

1.7.4.8 Other CCMS MonitorsWith other CCMS Monitors, it is possible to assign any CCMS monitoring tree element (MTE) to a businessprocess step. Therefore, it is necessary to call transaction RZ20 in the Satellite System and to open a monitorthat contains the required alert(s).

The name of the monitoring tree element (MTE) can be found by choosing F1. The MTE name needs to becopied into the corresponding column of the table below (See screenshot “Other CCMS Monitors” below).

Under column Monitor Name, it is possible to assign an individual name.The MTE used for monitoring should be an MTE on the lowest leaf-level, that is, on attribute level. Ifan MTE of a higher branch-level (collective MTE) is chosen, then the current and open view in thegraphics will show the right alerts but it isn’t possible to process these alerts within the BusinessProcess Monitoring session as the alerts are not replicated there.

In order to load the threshold values that are currently valid in the corresponding system, the button

can be used.

If successfully retrieved, the values are filled in the right-hand columns. If no active settings for the thresholdvalues were found these columns remain empty.

To transfer the thresholds values for a single line from right to left, double-click the copy icon.

Page 15: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 15/15

Other CCMS Monitors

Unlike all other Monitoring Types the Other CCMS Monitoring provides the opportunity to assign MTEs from other systems

than the one system the actual business process step is assigned to.

As an example, you could be interested in monitoring the availability from a Portal system that possesses noCCMS but is included as one business process step in your business process. Now, you could use one MTEin the CCMS of the SAP Solution Manager to monitor the heartbeat of the Portal. You could then assign thecorresponding alert via Other CCMS Monitoring to business process step running on the Portal system.

1.7.4.9 Analysis and Monitoring ToolsIt is possible to specify analysis transactions or URL addresses (including file directories) per monitoringobject. In the case of analysis transactions, these should be used to analyze errors or problems either locallyin the SAP Solution Manager system itself (Call Option “1”), or directly in the respective satellite systems (CallOption “2”). By default, some standard transactions are maintained, for example, transaction SM37, thatprovides a job overview in an SAP System, is maintained for Background Jobs or transaction SLG1 to have alook into the application log.

It is also possible to add new transactions; this could be standard transactions or customer self-writtentransactions.

Page 16: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 16/16

Analysis & Monitoring Transactions

On the second tab strip, it is possible to specify a URL which should be called to further analyze the givenproblem. This is especially interesting if you have some knowledge documents linked to a portal. You define aShort text and the URL to be called.

For web pages to be called, specify the full URL, for example, http://help.sap.com. For contentavailable on file servers specify the full file path, using the nomenclature: file://\\\<server>\..., forexample, file://\\\server1\operations_documents\operations-handbook.txt

Analysis & Monitoring URL

The specified transactions or URLs will be available in the form of buttons within a business process stepwhen using the monitoring later on inside the Business Process Monitoring Session. By pressing these

buttons (for example, ), the user will jump directly into the correspondingtransaction either in the SAP Solution Manager system (here: SAT) or the connected satellite system (here:

CT1) for further analysis. For URLs, the button (for example, ) contains the short text(limited to 20 characters) from the set-up session and leads the user to the defined URL in a newly openedbrowser window.

Page 17: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 17/17

1.7.4.10 Monitoring ActivitiesMonitoring activities should be set up for every Monitoring Object within a business process step. Allmonitoring objects defined within a business process step are listed here. To ensure effective monitoring andefficient problem resolution, the responsibilities should be assigned and problem resolution proceduresshould be defined as described in the following table. Some information is taken from the previous node‘Solution Support Organization’.

Monitoring Team Defines the team that is responsible for monitoring the relevantMonitoring Object. Use value help [F4].

Person Resp. Defines the Person who is responsible for monitoring the MonitoringObject. Use value help [F4].

Frequency Describes how often the responsible person should process the requiredmonitoring activity.

Start Time Describes at which time the responsible person should process therequired monitoring activity.

Problem Indicator A description about what indicates a problem.Error Handling Describes how to react on problems or errors, that is, how to solve the

problem/correct the error.Escalation Path Describes the escalation path in case that the person responsible could

not solve the problem. Persons who can be contacted should bemaintained here.

Additional information related to this business process step can be entered in the tables ‘MonitoringActivities’, ‘Error Handling’, ‘Restart of Step’ and ‘Escalation Path’. This information would be valid for thewhole business process step and helps users who have to carry out the monitoring and who are not sofamiliar with that particular business process.

1.7.4.11 NotificationsNotifications can be set up for the whole business process or for each business process step individually.There are two types of notifications: Workflow notifications and Support notifications. Workflow notificationsallow sending messages in case of alerts to a specified Recipient. This could be an e-mail or an SAPOfficemail.Support notifications allow the setting up of a service desk message in case of an alert. The informationentered for the service desk message serves as a template. The service desk message can be createdmanually or automatically.

On business process level, it is possible to define notifications for the whole business process, that is, assoon as the business process gets an alert status, notifications will be triggered. Alternative notifications canbe defined for every Monitoring Type individually, for example, all alerts related to all background jobs of thebusiness process are forwarded to a defined e-mail address.

Notifications defined on business process step level will overrule the configuration made on business processlevel for this particular step.

1.7.4.11.1 Workflow Notification

Sender Must be a user within in the monitoring client of SAP Solution Manager. Thisuser can be even a system user without any roles or profiles, but the usermust have a valid e-mail address that is known by the used mail-server

Recipient Depending on the Recipient Type the recipient name is required. This could

Page 18: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 18/18

Address be any e-mail address, an SAP user name in the same system, a RemoteSAP name or a shared distribution list. In the case of an SMS, you need toenter “SMS:<cell phone or pager number>”

Reci. Type There are currently 5 different Recipient Types: U (e-mail), K (for SMS andPager), B (SAP user name), R (Remote SAP name) and C (shareddistribution list).

No. of YellowAlerts

The number of YELLOW alerts that may occur before an automaticnotification is triggered

No. of Red Alerts The number of RED alerts that may occur before an automatic notification istriggered

Max Wait Time[h]

Once the maximum wait time [hours] has elapsed, a notification is created,even if the thresholds are not exceeded

RED Only To restrict this mechanism only to red alerts, the flag in column 'RED Only'must be set.

Detailed Triggers a long text for e-mails or SAPOffice mails, for example, name of thesolution, name of the business process step, …)

1.7.4.11.2 Support Notifications

Priority Defines the priority of the Support Notification.Queue Defines the support component on which the message is put. This

component must exist within the service desk.Processor Defines a default processor who should process the message. The

processor must be known within the service desk and must be an SAP username that is defined as a Business Partner with the role “Employee”.

Text Template Text templates can be defined that will then be available for service deskmessages manually created for alerts.

Automatic Support Notifications will be created automatically depending on the alertthresholds.

Reporter Necessary when service desk messages are created automatically. Must bean SAP user name who is defined as a Business Partner with the role“General”.

Num. of YELLOWAlerts

Necessary when service desk messages are created automatically, forexample, after 10 yellow alerts a service desk message should be created.

Num. of REDAlerts

Necessary when service desk messages are created automatically, forexample, after 5 red alerts a service desk message should be created.

If, in addition to queue, processor, priority, and reporter, either one of the columns “Num of YELLOWAlerts” or “Num of RED Alerts” is filled with a value the automatic Support Notification creation isconfigured. If both columns are filled with a value, the automatic Support Notification creation workswith a logical OR operation. Hence, with the figures in the table above the system would create aSupport Notification if either more than 9 yellow alerts OR more than 4 red alerts exist, for which noSupport Notification has been created yet.

1.7.5 Business Process Monitoring Process

For a successful and efficient implementation of a Business Process Monitoring concept, a process for theexecution of the monitoring concept has to be defined. This includes the definition and assignment of the

Page 19: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 19/19

roles and responsibilities involved. It has to be defined who is supposed to carry out which activity within theprocess and how communication between the different roles within the support organization is supposed totake place.

A Business Process Monitoring concept has to be tightly integrated with the support organization. Thisincludes the integration with the Incident/Problem Management process and the Change Managementprocess. These processes have to be adjusted to the Business Process Monitoring concept so thatcommunication and escalation procedures are adequate to support the Business Process Monitoring conceptincluding the final communication of open alerts to SAP.

Wherever communication connected with Business Process Monitoring happens outside these supportprocesses, separate communication and escalation paths and procedures have to be defined.Please see the above mentioned separate Best Practice for General Business Process Management forfurther details.

Page 20: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 20/20

2 Business Process Monitoring for Service Parts Planning

Service Parts Management (SPM) is a comprehensive, end-to-end solution for supporting and managing theextended service parts network. It encompasses the entire range of service parts management activities,including planning, procurement, warehousing, order fulfillment, collaboration and analytics.

The SAP solution for service parts management was developed in a system landscape containing SAP ECC,SAP CRM, SAP SCM (including SAP Advanced Planning and Optimization (APO) – Service Parts Planning(SPP)), SAP Supply Network Collaboration (SNC), and SAP Extended Warehouse Management (EWM)),SAP GRC Global Trade Services (GTS) and SAP NetWeaver (including SAP Process Integration (SAP PI)and SAP Business Information Warehouse (SAP BI)).

This section will show you, based on an example scenario, what business process monitoring for ServiceParts Planning (SPP) with SAP SCM APO should look like. It will introduce you to generic thoughts and ideashow to identify a business process step you could keep an eye on and makes you familiar with how to choosethe most promising monitoring possibilities from the available ones.

To make this clearer to you, we have situated the example process in the fictional company “AutoMan”.

2.1 Sample ScenarioAutoMan is a car service parts provider. Its main business is to sell service parts of cars. AutoMan getsservice parts from different suppliers, distributes them through its supply chain network – warehouses atdiverse levels, and provides them finally to customers – car dealers.

To improve the service level and optimize its operation costs, AutoMan needs a planning tool to enable itsservice parts distribution network:

to forecast parts demand to derive optimal stocking levels for each location based on installed base and service levels to plan parts replenishment and to rebalance the inventory within the network

The planning tool AutoMan uses is Service Parts Planning (SPP). The following chapter takes you step bystep through the 10 core business processes steps, explaining where and how you can identify focus pointsfor Business Process Monitoring. For each business process step, the most effective way for BusinessProcess Monitoring in the context of the example is highlighted.

2.2 Business Process Service Parts PlanningThe graphic below shows the standard 10 steps in SPP process.

SPP is a component of SAP SCM APO. It receives sales order data from SAP CRM. This data is maintainedas demand history in the BI (Business Intelligence) part of APO. It is used to plan inventory for products atlocations (step 2 and step 5) and to calculate forecasts (step 4). With these results, SPP can evaluate surplusor obsolete stocks (step 6). Further, DRP run (step 7) organizes replenishment planning within a bill ofdistribution (BOD) – distribution network for a product. The planned procurement will then be approved andsent to SAP ECC, where the procurement can be executed. The results return to SPP and then deployment(step 9) controls the distribution of incoming goods within the BOD on the basis of current demand.Afterwards, inventories within a BOD are balanced. The planned stock transfers are sent to ECC forexecution.

In SPP, Planning Service Manager (PSM) is used for planning in background in general. Users can schedulethe planning services, which are needed for a business process, in a planning profile. The PSM then runs thisplanning profile in the background according to the settings. The program for PSM is /SAPAPO/PE_EXEC,transaction /SAPAPO/PE_RUN, the results can be reviewed in PSM application log (transaction:/SAPAPO/PE_LOG_DISP).

Page 21: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 21/21

Note: Each section about a business step will be structured in the following way, where the “X” stands for theBusiness Process Step number:2.2.X.1 Description2.2.X.2 Monitoring Requirements2.2.X.3 Monitoring Objects in SAP Solution Manager2.2.X.4 Further Monitoring Objects (if applicable)2.2.X.5 Monitoring without SAP Solution Manager2.2.X.6 How to Find Meaningful Thresholds per Monitoring Object2.2.X.7 Background Job Scheduling Requirements (if applicable)

SPP Business process

Please note that this chapter only focuses on describing Business Process Monitoring for the steps carriedout in SAP APO as shown in the graphic above. Business Process Monitoring for the steps executed in SAPCRM or SAP ECC is not part of it.

Available Monitoring objects for the scenario “Procure-to-stock” (using further solutions like SNC, EWM andERP) are briefly described in section 4.2 in the Appendix of this document.

2.2.1 Business Process Step 1: Capture Demand History

2.2.1.1 DescriptionGeneral Information:AutoMan uses SAP CRM to manage customers. With the BI workbench (transaction: RSA1) in APO, thesystem extracts SAP CRM sales order data to SAP APO BI and saves it in the DataStore object0CRM_SALO. The InfoSource 80CRM_SALO takes its data from this DataStore object. This data transferbetween CRM and APO uses standard IDOCS with RFC connection. Then the system uses update rules to

SAP APO

(1) Capture Demand History

Host - MOBILE

Sales Orders

Stock TransferExecution

ProcurementExecution

SAP CRM SAP ECC

(2) Stocking and De-Stocking

(3) Manage Demand History

(4) Forecasting

(5) Economic Order Quantity& Safety Stock

(6) Surplus & ObsolescencePlanning

(7) DistributionRequirements Planning

(8) Procurement Approval

(9) Deployment

(10) Inventory Balancing

Page 22: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 22/22

process and check the data, and saves it as demand history in the InfoCube 9ADEMAND, together with theraw data in the DataStore object 9ARAWDAT (also see step 3).The system captures the demand history in the InfoCube 9ADEMAND as follows:- The system aggregates the demand in weeks.- The system aggregates the demand in months.- The system aggregates the demand in posting periods.- The system aggregates the demand along the BOD.In doing so, the system captures both the demand history of a product at each stockholding location and ateach entry location. However, the system only uses the demand history of the stockholding location forforecasting.The system creates the yearly demand history that both phase-out planning and surplus and obsolescenceplanning require. To do so, the system uses the data in the InfoCube 9ADEMAND and extracts it into theInfoCube 9ADEMANN.

Specific InformationAs an alternative to the process described above, you can also load sales order data from other sources,such as from a flat file or a CSV file, or from SAP ECC. If the sales orders come from an external flat or CSVfile, the InfoSource 9A_SPP_CD_CSV_LOAD is used instead of 80CRM_SALO.AutoMan processes sales orders loading at a monthly base, always at the beginning of a month. In RSA1, theprocesses can be scheduled as background job.

2.2.1.2 Monitoring Requirements:Error Monitoring:It is important to monitor if the data from CRM are loaded to APO BI successfully. That means if the dataloaded is complete and if all data is correct.

Performance Monitoring:The data load should be finished in a timely manner. Whether performance monitoring is necessary dependson the individual business requirements. It depends on the data volume and the time window for the load.Usually, the initial load takes the most time. Later, if the data load only aims to update, the load time could bemuch shorter.

Data Consistency Requirements:The data loaded to APO BI should be consistent to the original data in CRM.

Page 23: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 23/23

2.2.1.3 Monitoring Objects in SAP Solution Manager

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionIDoc Monitoring(IMIDOC01)(For data exchangebetween CRM andAPO BI via IDoc)

On object level:Direction, Port,Partner number,Partner type,Partner function,Message type,Basic type,Message code,Message function,IDoc age. (in hours)

On key-figurelevel:Status number(s),Status messagequalifier, Statusmessage ID, Statusmessage number,Status age (in min)

(IDoc types areRSREQ, RSSENDand RSINFO)

‚Delta‘ monitor:number of suitableIDocs since the lastdata collection

‚Total number‘monitor: number ofsuitable IDocs forthe last x days

BD87, WE05 “Delta” Check: everytwo hours

“Total” Check forerroneous Idocs:Daily before dataprocessing in BIstarts with aconsiderable timeframe between theData Collector runand the start of dataprocessing in BI inorder to haveenough time tosolve any errorsMonitoring mightdetect

qRFC Monitor(IMQRFCMO)(Status Monitoringof the queue set upfor data exchangebetween the CRMsystem and the BI-part of SAP APO)(The queue namesstart with CF*)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number of entrieswith critical status ingroup Age of oldestcritical status ingroup Combination of"Entries" and "Age"in critical state Number of entrieswith interim status ingroup Age of oldestinterim status ingroup Combination of"Entries" and "Age"in interim state

SMQ1, SMQ2,SM59

Hourly (or evenmore often)

Page 24: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 24/24

qRFC Monitor(IMQRFCMO)(Backlog Monitoringof the queue set upfor data exchangebetween the CRMsystem and the BI-part of SAP APO)(The queue namesstart with CF*)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number ofindividual queues ingroup Total number ofentries in all queuesof group Average number ofentries per queue ingroup Maximum numberof entries per queuein group Age of oldest entryin group Combination of"Total entries" and"Oldest age"

SMQ1, SMQ2,SM59

Hourly (or evenmore often)

BI Query AlertCollector - KPI in BIQuery (BOBIQUAC)(To check datastored in APO BI)

RFC Destination(from managedsystem to BIsystem), InfoProvider (of BIsystem), BI queries(of that Infoprovider),Description of the BIquery

KPI in BI Query(single value), KPIin BI Query (max.values), KPI in BIQuery (# of values)

Once per day

BI ConsistencyCheck ResultCollector(DBICCRC)

Compare ResultDSO, Fieldnameand Select-Optionsfor Filter 1 - 3

Differences in resultcolumn 1,Differences in resultcolumn 2,Differences in resultcolumn 3,Differences in resultcolumn 4,Differences in resultcolumn 5,Age of lastconsistency checkresult

Once per day

File Monitoring(BOFILMON)(If flat files are usedto load sales orderdata into APO BI)

File Path, FileName, Pattern, User(File Creator)

Creation Time ofFile, File Size, FileAge (in min)

AL11 Once per day (ormore frequentlydepending on thebusinessrequirements – howoften data from flatfiles is imported)

Background JobMonitoring for allprocessesscheduled intransaction RSA1 inthe APO BI system(Job names startingwith BI_*)

Background JobName, Variant,Event Parameterand Event ID (incase process chainsare used)

Start Delay, EndDelay, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Data Collectors tobe scheduled to runonly duringtimeframe ofplanned JobExecution and torun every 5 minutesduring this timeframe

Page 25: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 25/25

2.2.1.4 Monitoring without SAP Solution ManagerIf IDoc transfer is used, you should use transactions BD87 and WE05 to check for erroneous messages atleast every two hours.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

If you are using qRFC for data transfer, the status of your qRFC queues can be monitored using transactioncodes SMQ1 or SMQ2. In case of problems with the setup of your qRFC connection, use transaction SM59 tocheck the setup of the respective RFC Connection.

If you use Flat Files to import data into your system, you can also use transaction code AL11 to check thefiles directories on your SAP system.

2.2.1.5 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

2.2.2 Business Process Step 2: Stocking and De-stocking

2.2.2.1 DescriptionGeneral Information:

The planning services Stocking and Destocking make a “to stock” or “not to stock” decision for each locationproduct at the start of inventory planning. The result of these planning services is to set a replenishmentindicator on each location product. According to the indicator, the system orientates itself in the furtherplanning: to keep stock or not.

During these planning services: The system checks the demand of all customer-facing locations. If a customer-facing location has a high

demand, it is advisable to make a Stocking decision. For low demand, a Destocking decision is advisable. The Destocking decision service checks if there is an exclusion reason for the corresponding location

product. If so, the Destocking decision does not perform any more checks and sets the Not Stocked, Lockedindicator, as well as the blocking indicator for the corresponding location product. This means that the systemcannot build up stock of this location product, and the Destocking service cannot change the replenishmentindicator. The system checks the entries in the decision tables. Based on these entries, the system then decides

whether to plan stocking or Destocking for each location product. For the locations for which the system plans stocking according to the decision tables, the stocking

service checks whether this stocking is also allowed according to the exception rules. The system transfers the Stocking and Destocking decisions made for the customer-facing locations to

the corresponding parent locations.

These planning services are carried out in PSM - either in background or interactively. A planning profileneeds to be defined for the service.

Page 26: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 26/26

Specific Information:Additional triggers for the stocking service can be demanded at a non-stock location or changes to the virtuallocations for consolidated ordering.

Important settings:Service Profiles – control the definition of the stocking and de-stocking decisions (in Customizing)Decision tables – define criteria according to which the system decides to either stock or to de-stock(transaction: /SAPAPO/SPPINVPDEC)Location exclusion rules – responsible for the exclusion reasons for the locations (in customizing &transaction: /SAPAPO/PINV_EX_MAIN )

2.2.2.2 Monitoring Requirements:Error Monitoring:It is necessary to check if these planning services run successfully in PSM. The results of these planningservices can be seen in the PSM application log (transaction: /SAPAPO/PE_LOG_DISP). And the run statusof a run in PSM can be seen in background job log.

Performance Monitoring:If a fixed time window is defined for these planning services, you need to monitor the performance ofcorresponding PSM run.In our experience, the access to historical data in APO BI takes quite a long time.

2.2.2.3 Monitoring Objects in SAP Solution Manager

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDialog PerformanceMonitor(BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/PE_RUN)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Background JobMonitoring forprogram/SAPAPO/PE_EXEC

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently in casethis job is executedmore than once perday), DataCollectors to runevery 5 minutesduring job execution

2.2.2.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionResults of planningservices in PSMapplication log

Subobjects(Services), Date andTime of PlanningRun, User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

Page 27: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 27/27

2.2.2.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction code /SAPAPO/PE_RUN can be checked in transaction codeSTAD or ST03N.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

2.2.2.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

2.2.3 Business Process Step 3: Manage Demand History

2.2.3.1 Description

In this step, the system adjusts the captured demand history according to the requirements of SPP.The manual adjustment of demand history can be executed in the system with transaction/SAPAPO/SPPDMDH.To ensure that the demand history reflects changes, the system also adjusts the demand historyautomatically when various events occur and realigns the data.The system initiates data realignment of the demand history either with triggers or you have to havescheduled it as a regular service in the Planning Service Manager (PSM). The following table provides anoverview of the events for which data realignment is necessary and which planning services perform thisrealignment:

Event Planning Service Technical Name of Planning Service Triggered by

Change tolocationdeterminationprocedure

SPP: DataRealignment forLoc.Det.Schema

SPP_PDEM_SERPAT_RLG ---

Stocking orDestockingdecision

SPP: Data Real. ForStocking/Destocking

SPP_PDEM_STOCKING_RLG SPP_REPL_INDI_CHANGE

Change toTPOP status

SPP: DataRealignment forTPOP

SPP_PDEM_TPOP_RLG SPP_NON_TPOPandSPP_TPOP

Assignment offuture BOD toproduct

SPP: Create DemandHistory Future BOD

SPP_PDEM_BOD_ASSIGN SPP_NEW_BOD_ASSIGN

Deletion offuture BODassignment

SPP: Delete DemandHistory Future BOD (

SPP_PDEM_BOD_DELETE SPP_BOD_DELETE

Page 28: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 28/28

Future BODbecomes valid

SPP: DataRealignment for BODChange

SPP_PDEM_BOD_VALID ---

Suppression SPP: DataRealignment forSuppression

SPP_PDEM_SUPERSESSION_RLG ---

Promotion SPP: DataRealignment forPromotion

SPP_PDEM_PROMOTION_RLG ---

Change to finaldemand

SPP: Adjustment ofDemand History

SPP_PDEM_OVR_RLG

2.2.3.2 Monitoring Requirements:Error Monitoring:It is necessary to check the results of the realignment. The status of the realignment can be reviewed withtransaction /SAPAPO/PDEM_RLGSTEP, and the process of realignment can be reviewed in PSM applicationlog or with general application log list (transaction SLG1).

Performance Monitoring:If the performance of data realignment needs to be monitored depends on the frequency of this services andthe fixed time window.

Data Consistency Requirements:The update of the demand history only takes place in SCM APO, the original data in SCM CRM do not needto be updated accordingly.

Monitoring Objects:Triggers need to be activated for regeneration of the demand history (SPP_BOD_DELETE,SPP_NEW_BOD_ASSIGN, SPP_REPL_INDI_CHANGE) and for setting the planning services for demandhistory creation (SPP_RLG_DONE, SPP_RLG_DONE)

2.2.3.3 Monitoring Objects in SAP Solution Manager

Monitoring Object SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDialog PerformanceMonitor (BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/SPPDMDH)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Application Log(Transaction CodeSLG1) for Object« /SAPAPO/PE » andcorresponding sub-objects

Object, Sub-Object,User, Transaction,Program

Total number ofmessages, numberof critical messages,Runtime, PlanningScope, PlanningResults

SLG1 Every two hours

Page 29: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 29/29

2.2.3.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionResults and statusof realignment

Info Provider,Realignment Status,Validity Date,Author, LastChanged by,GeneratedRealignment Step,Generation Program

Status ofrealignment steps

Transaction Code/SAPAPO/PDEM_RLGSTEP

Every two hours

Realignmentprocessing

Subobjects(Services), Dateand Time ofPlanning Run, Userthat triggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

2.2.3.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction code /SAPAPO/SPPDMDH can be checked in transaction codeSTAD or ST03N respectively.

The general application log can be viewed in transaction code SLG1.

2.2.3.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run and what the business requirements are for the analyzed part of the business process step.Furthermore it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

2.2.4 Business Process Step 4: Forecasting

2.2.4.1 DescriptionGeneral Information:

The forecasting service covers the whole life cycle of a product from phase-in planning for new products,through various types of product interchangeability, to phase-out planning for products in discontinuation. Theforecasting service is flexible in reacting to changing demand, and uses various forecast models to planindividually for future demand for products that have differing sales behavior.

You can either schedule the forecast run as a regular PSM planning service or you can start it manually onthe Interactive Forecasting screen (transaction: /SAPAPO/SPPFCST). During the forecast run, the systemcalculates the forecasting results at location product level. If you are not satisfied with the results, you canmake manual corrections or adjustments to the demand history, forecast profiles (transaction/SAPAPO/SPPFCSTPRF), and PSM service profiles, and then restart the forecast run.

The results of forecasting are stored in key figure “Final forecasts” in TSDM (database).

Page 30: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 30/30

Composite Forecast

There are various functions available within the forecast service. If you want to use several of these functions,you must schedule the forecast service more than once and assign a different service profile each time.

To achieve a better quality for the forecasts, PSM can execute the functions in figure above in a fixedsequence. This is called composite forecasts. AutoMan uses composite forecasts.

Its functions include:Model Evaluation (Automatic Model Evaluation): consists of Trigg’s tracking signal and tripping. Trigg’stracking signal checks whether the forecast model is still optimal or whether there is a systematicforecasting error. Tripping reinitializes basic values and the deviation of an existing forecast model andshortens the demand history used for forecast creation.Model Selection (Automatic Model Selection): You can use it to automatically determine the forecastmodel best suited to a specific location product.Smoothing Parameter Tuning (Rough Tuning): For the forecast models that consider smoothing factorsduring forecast creation, you can automatically optimize these smoothing factors by this function.Forecast Calculation (Forecast Approval): calculates the final forecast for each location product andchecks which forecast results require manual approval according to rules that you define. The systemautomatically approves all other forecast results and provides these results to other SPP planningservices. Forecast approval is realized as a PSM planning service. However, the system also performsforecast approval when you save the forecast results on the Interactive Forecasting screen manually.

Additional information:Besides the above mentioned functions, forecast services also include the following functions:

Historical Forecasts: to ensure an exact planning, the system records all calculated forecast results ashistorical forecasts. You can also schedule the PSM planning service Recalculation of the Forecast inthe Past. If the forecast model changes, the system triggers this planning service so that it createshistorical forecasts for the new combination of location product and forecast model.Phase-In Planning: uses values based on experience to calculate forecast values for new products thatdo not yet have any historical data. Phase-in planning is realized as a PSM planning service.Phase-Out Planning: calculates forecast values at entry location level for products in discontinuation.Phase-out planning is realized as a PSM planning service.

Page 31: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 31/31

2.2.4.2 Monitoring Requirements:Error Monitoring:It is important to check the results of forecasts. They can be reviewed in the Interactive Forecasting screen(transaction: /SAPAPO/SPPFCST) or application log of PSM. If the results are not satisfying, planningparameters and forecast models can be modified, and further forecasts run can be started manually orscheduled via PSM.

Performance Monitoring:Whether the performance of forecasting needs to be monitored depends on the frequency of these servicesand the fixed time window. Especially for composite forecast includes several services and it run time shouldbe controlled strictly.

2.2.4.3 Monitoring Objects in SAP Solution Manager

Monitoring Object SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionBackground JobMonitoring for program/SAPAPO/PE_EXEC

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently in casethis job is executedmore than once perday), DataCollectors to runevery 5 minutesduring job execution

Dialog PerformanceMonitor (BOPERFMO)(For Monitoring responsetime of transaction code/SAPAPO/SPPFCST)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Dialog PerformanceMonitor (BOPERFMO)(For Monitoring responsetime of transaction code/SAPAPO/SPPFCSTPRF)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

2.2.4.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionForecast results inPSM application log

Subobjects(Services), Date andTime of PlanningRun, User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

Forecast results inInteractiveForecasting Screen

Detailed forecastresults

Transaction Code/SAPAPO/SPPFCST

Daily

Page 32: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 32/32

2.2.4.5 Monitoring without SAP Solution Manager

The Dialog Response Time of transaction codes /SAPAPO/SPPFCST and /SAPAPO/SPPFCSTPRF can bechecked in transaction code STAD or ST03N respectively.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

2.2.4.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

2.2.5 Business Process Step 5: Economic Order Quantity & Safety Stock

2.2.5.1 Description

General information:In this step, the system plans the economic order quantity (EOQ) – purchase order, and safety stock (SFT)together, to optimize the stockholding and purchasing costs, as well as to ensure target service level. Thisplanning can either be carried out manually in transaction /SAPAPO/SPPINVP, or planned as a service inPSM (service name: SPP_EOQSFT_SERVICE). The results are stored in key figures “economic orderquantity” and “Location’s own safety stock” in TSDM.The system calculates the EOQ and SFT with mutual dependence. As a basis for the combined calculation,the system chooses whether to use normal distribution or Poisson distribution as the calculation model foreach location product depending on its sales behavior. Normal distribution is suitable for products withconstant demand and Poisson distribution is suitable for products with intermittent demand. The modelselection for a location product is made with transaction /SAPAPO/PINV_MS_MAIN.For normal distribution, the system uses the forecast values for demand in pieces as the basis for thecombined calculation of EOQ and SFT. For Poisson distribution, the system uses the forecast values for thenumber of order items as the basis, and then calculates the demand in pieces using the average demandsize per order item.The system also decides whether to plan the stock of each location product constantly or not constantly.Constantly means that the planned EOQ and SFT are the same for each period. Not constantly means thatresults vary for each period. This is defined in customizing.

Important settings:Service Profile – Service profile for EOQ/SFT calculation.Forecast Strategy – Forecast types and decides whether they are to follow constant or non-constantplanningMaster Data– In the location product master data on the SPP Inventory Planning tab:EOQ/SFT Calculation field: indicates whether the system is to use Normal or Poisson distribution as thestatistical calculation model for the combined calculation of EOQ and safety stockFix EOQ Period field: you can choose between EOQ Manually Locked, EOQ POD Manually Locked, andUnlockedMin. EOQ Per. and Max. EOQ Per. Fields: to indicate the minimum and maximum number of days that anEOQ period may last.Safety Stock field: the system considers your manual entry until the next planning run, otherwise this isautomatically filled

Page 33: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 33/33

SFT Parent Loc. Field: the inventory planning service enters the proportion of safety stock of the parentlocation that is to be forwarded to the locationAddl. Safety Stock field: number of days of demand for which the system is to schedule additional safetystock.OT-Dep. Sfty St. % field: proportion of safety stock that must be reserved for emergenciesMinimum PO Quantity field: minimum purchase order quantity of the supplier (in pieces)- In the location product master data on the SPP Inventory Balancing tab:Maximum RP (Days) field, reorder point range of coverage

2.2.5.2 Monitoring Requirements:Error Monitoring:It is important to check the results of EOD and SFT planning. They can be reviewed with transaction/SAPAPO/SPPINVP or application log of PSM.

Performance monitoring:Whether the performance of EOD and SFT planning needs to be monitored depends on the frequency ofthese services and the fixed time window.

2.2.5.3 Monitoring Objects in SAP Solution Manager

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDialog PerformanceMonitor(BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/SPPINVP)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Background JobMonitoring forprogram/SAPAPO/PE_EXEC

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently in casethis job is executedmore than once perday), DataCollectors to runevery 5 minutesduring job execution

2.2.5.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionResults of service inPSM application log

Subobjects(Services), Date andTime of PlanningRun, User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

Results of EOD andSFT planning

Detailed results ofEOD and SFTplanning

Transaction Code/SAPAPO/SPPINVP

Daily

Page 34: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 34/34

2.2.5.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction code /SAPAPO/SPPINVP can be checked in transaction codeSTAD or ST03N.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

2.2.5.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

2.2.6 Business Process Step 6: Surplus & Obsolescence Planning

2.2.6.1 Description

General Information:During surplus and obsolescence planning, the system identifies surplus and obsolete stock within a bill ofdistribution (BOD). If the warehouse stock and the stock in transit of a product within a BOD are greater thanthe probable demand during a certain time period, this part of the stock of a product is described as surplusstock. If a product fulfils the following conditions, it is described as obsolete stock: The product is a servicepart of a product that you no longer produce and whose mandatory retention period has elapsed, and thedemand for this product is below a certain limit value.

The planning process is consisted of following steps in sequence:

1. Surplus Determination ServiceThis service determines the products within a bill of distribution (BOD) that could be surplus. It firstly selectsproducts according to whether or not it is to perform surplus determination for them. The system thendetermines the total surplus quantity as well as the surplus quantities per location. Based on the surplusquantities per location, the system suggests surplus quantities and retention quantities, and checks whether itcan automatically approve these surplus quantities for scrapping, or whether it must forward them for manualapproval.

You can either schedule this service regularly, for example every year or every six months, as a planningservice via PSM (service name: SPP_SOS_SURPLUS_DETERMINATION), or process it manually, forexample if you need more warehouse space or if you want to reduce the stock value in your warehouse(transaction /SAPAPO/SPPMSP).

2. Surplus ApprovalFollowing the surplus determination service, the planner can then approve each of these surplus quantitiesmanually by assigning a surplus decision code to the corresponding location product (transaction:/SAPAPO/SPPSOR). Each planner has a product-specific budget for the approval. If the value of the surplusquantity exceeds this budget, a planner that has a higher budget must then issue the approval to proceed.The system triggers a scrapping for the approved surplus quantities in the ECC and EWM systems.

3. Obsolescence Check ServiceThis service checks whether the stock of a product marked as obsolete is completely used-up, if yes, it marksthe product with the Obsolete indicator and sends an alert (in Alert Monitor) to inform planner, and changesthe replenishment indicator according to your settings in Customizing. You can only remove the product fromyour assortment if this is the case.

Page 35: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 35/35

You can schedule the obsolescence check service as a regular planning service, for example monthly in thePSM (service name: SPP_SOS_OBSOLESCENCE_CHECK).

4. Surplus ReportingYou can generate reporting for each surplus quantity and surplus value for which you have approvedscrapping or another follow-on activity. These quantities and values are entered in the report for both thewhole BOD and the individual locations.Surplus reporting is an automated process initiated by approving surplus quantities. The Infocube 9ASORPLis a virtual Infocube for surplus reporting, so you can use this to display reporting data in BI (TransactionRSA1), or you can create some queries for Business Explorer.

Important settings:Customizing – Implementation Guide (IMG) for Advanced Planning and Optimization Supply ChainPlanning Service Parts Planning (SPP) Surplus and Obsolescence Planning:Make General Settings for Surplus and Obsolescence PlanningDefine Surplus Decision CodeDefine Surplus Decision Reason CodeDefine Service Profile for Surplus and Obsolescence PlanningMaster Data – Surplus and Obsolescence Service area fields at:product master data, on the Properties SPP tab;location product master data, on the SPP Inv. Balancing/Surplus tab; andlocation master data, on the SPP tab.

2.2.6.2 Monitoring Requirements:Error Monitoring:To fulfill the service function it is necessary to make sure that all the relevant settings in customizing andmaster data are correct for the planning purpose.

Performance Monitoring:Normally there should be no problem with the performance of this service. But if the business situation onlyallows short time window for this step, the performance should be monitored.

2.2.6.3 Monitoring Objects in SAP Solution Manager

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDialog PerformanceMonitor(BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/SPPMSP)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Daily

Dialog PerformanceMonitor(BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/SPPSOR)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Daily

Page 36: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 36/36

Background JobMonitoring forprogram/SAPAPO/PE_EXEC

(For both the“SurplusDeterminationService” as well asfor the“ObsolescenceCheck Service”.)

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Monthly (or evenless frequent incase this job isexecuted less thanonce per month),Data Collectors torun every 5 minutesduring jobexecution.

BI Query AlertCollector - KPI in BIQuery (BOBIQUAC)(To check datautilized in the“Surplus Reporting”)

RFC Destination(from managedsystem to BIsystem), InfoProvider (of BIsystem), BI queries(of that Infoprovider),Description of the BIquery

KPI in BI Query(single value), KPIin BI Query (max.values), KPI in BIQuery (# of values)

Daily

BI ConsistencyCheck ResultCollector(DBICCRC)

Compare ResultDSO, Fieldnameand Select-Optionsfor Filter 1 - 3

Differences in resultcolumn 1,Differences in resultcolumn 2,Differences in resultcolumn 3,Differences in resultcolumn 4,Differences in resultcolumn 5,Age of lastconsistency checkresult

Daily

Background JobMonitoring for allprocessesscheduled intransaction RSA1 inthe APO BI system(Job names startingwith BI_*)

Background JobName, Variant,Event Parameterand Event ID (incase process chainsare used)

Start Delay, EndDelay, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Data Collectors tobe scheduled to runonly duringtimeframe ofplanned JobExecution and torun every 5 minutesduring this timeframe

2.2.6.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionResults of planningservices in PSMapplication log

Subobjects(Services), Dateand Time ofPlanning Run,User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Monthly

Page 37: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 37/37

Alerts in AlertMonitor

Alerts pointing toproducts markedwith the Obsoleteindicator

Alert Monitor in ShortageAnalysis Interface(Transaction Code/SAPAPO/SPP_CUSTOMER)

Monthly

2.2.6.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction codes /SAPAPO/SPPSMP and /SAPAPO/SPPSOR can bechecked in transaction code STAD or ST03N.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

2.2.6.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

2.2.7 Business Process Step 7: Distribution Requirements Planning (DRP)

2.2.7.1 Description

General Information:Distribution requirements planning (DRP) organizes replenishment planning within bills of distribution (BODs).DRP determines the new demands of all locations in BOD, rounds them, and aggregates them along theBOD to the entry location. On this basis, it creates scheduling agreement releases and purchase requisitions.DRP also allows for efficient checking of the planning results and a multilevel release process as required.

The detailed DRP steps are as following, these steps can be run in sequence as a DRP service in PSM(SPP: DRP Service (SPP_DRP):1. The system calculates the not-rounded net demand for a location product. The results for a locationproduct can be displayed with DRP matrix (transaction /SAPAPO/SPPDRPM) which contains key figures withthe demand, supply and inventory information. It is possible to simulate the DRP run, but the result cannot besaved - it is not possible to perform an interactive planning in the DRP matrix.2. Then, the system rounds the net demand calculated in step 1. The rounding rules are defined in roundingprofile via customizing.3. Then, the system aggregates the net demands along the BOD from the child locations via the parentlocations to the entry location. The net demands of the child locations are thus dependent demands of theparent location.4. Afterwards, the system performs backwards scheduling over the procurement lead time.5. The system checks whether it can perform product group procurement for the product to optimize the totalordering and stockholding costs.6. The system then creates DRP stock transport requisitions, scheduling agreement delivery schedule lines,and purchase requisitions, these values are stored as orders in liveCache.

Important settings:Customizing – Implementation Guide (IMG) for Advanced Planning and Optimization under Supply ChainPlanning Service Parts Planning (SPP) Distribution Requirements Planning (DRP)

Page 38: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 38/38

Planning profile: Definition in Customizing for SCM Basis under Planning Service Manager DefinePlanning Profile: the planning profile should contain planning service “SPP: DRP Service (SPP_DRP).Packaging Specification – Define packaging specifications for rounding:

SAP Easy Access Advanced Planning and Optimization Service Parts Planning (SPP) Environment Packaging Specification Maintain Packaging Specification.

Master Data – In the location product master data on the SPP Inventory Planning tab:Procurement Lead times - Different time spans that are defined between certain planning times in ServiceParts Planning (SPP).DRP Stability rules - determine the conditions between the individual DRP Horizons, and which activities areallowed during them.Consolidated Ordering - for location products whose locations are geographically close and that have a lowdemand.Pre-Season Safety Stock Shift - shift the safety stock for location products with seasonal demand.Supplier Shutdown - considers supplier shutdowns, such as vacation times, during planning.Stockholding Costs - calculated by the procurement costs multiplied by this factor.Planning-Relevance/Planning Lock - DRP does (or not) consider this location product during planning.Rounding - special rounding rules to avoid internal costs that are higher than the value of the purchase order.Anticipated Demand Coverage - to smooth seasonal demand patterns.

2.2.7.2 Monitoring Requirements:

Error Monitoring:It is important to check the results of DRP, if the stock transport requisitions, scheduling agreement deliveryschedule lines, and purchase requisitions are generated correctly.

Performance Monitoring:It is important to make sure that the DRP service finishes within the defined time window, so that furtherbusiness processes can go on, and the supplier can receive the orders timely.

2.2.7.3 Monitoring Objects in SAP Solution Manager

Monitoring Object SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDialog PerformanceMonitor(BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/SPPDRPM)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Background JobMonitoring forprogram/SAPAPO/PE_EXEC

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently in casethis job is executedmore than once perday), DataCollectors to runevery 5 minutesduring job execution

Page 39: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 39/39

Application Monitoring(Throughput andBacklog indicators) forPurchase Requisitions(KSPUR001)

Location,Prod.Planner,Product ID, Planned/ Unplanned, Start(x days past), End(x days future),Older than x days

PR Items created,PR Items open, PRItems overdue forconversion

Daily

Consistency CheckLiveCache – APO DB(For ProcurementSchedulingAgreements and foruser-defined keyfigures)

User performinganalysis, Executionmode of theanalysis

No of inconsistentProcurementSchedulingAgreements, Userdefined key figure,Age of lastconsistency checkresult

/SAPAPO/OM17 Daily

2.2.7.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionResults of planningservices in PSMapplication log

Subobjects(Services), Dateand Time ofPlanning Run,User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

Detailed results ofthe DRP-Service

DRP Run Detailed results ofthe DRP-Service

Transaction Code/SAPAPO/SPPDRPAPPR

Daily

2.2.7.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction code /SAPAPO/PE_RUN can be checked in transaction codeSTAD or ST03N.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

The status of qRFC queues can be monitored using transaction codes SMQ1 or SMQ2. In case of problemswith the setup of the qRFC connection, use transaction SM59 to check the setup of the respective RFC-Connection.

Specific to the CIF-Interface between APO and ECC, you can also use the transactions /SAPAPO/CQ (SCMQueue Manager), /SAPAPO/CW (qRFC Monitoring for Outbound Queues) and /SAPAPO/CQINW.

2.2.7.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

Page 40: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 40/40

2.2.8 Business Process Step 8: Procurement Approval (DRP Approval)

2.2.8.1 Description

General Information:The process procurement approval is also called DRP Approval. It approves the scheduling agreementdelivery schedule lines, purchase requisitions, and purchase orders suggested by Distribution RequirementsPlanning (DRP).Based on approval rules, the system either forwards the results of the DRP run after the mass approval to thesupplier automatically via CIF, or it creates an alert. In the case of an alert, the DRP planner can change theplanning results and then release or reject them manually.The system prepares the DRP results to be evaluated by the DRP planner in SAP Business Intelligence inthe "Ad Hoc Reporting". The DRP planner can then view the results of the last DRP run for which he or she isresponsible at location and product level, for example, via transaction /SAPAPO/SPPDRPAPPR. With thesame transaction, the DRP planner can either approve or reject the planning results for which he or she isresponsible. If the planner rejects the results, a new DRP run is triggered.

There are two possibilities to schedule the DRP mass approval:1. Scheduled the "SPP: DRP Approval Service" (SPP_DRP_APPROVAL) planning service in the PlanningService Manager (PSM).2. Define DRP approval as part of the DRP service. To do so, you need to choose the Integrated DRPApproval entry in the DRP Appr. field in Customizing for the DRP service profile. In this case, you do not haveto schedule the "SPP: DRP Approval" planning service; it is sufficient to schedule the "SPP: DRP Service"(SPP_DRP) planning service.

At regular intervals, the system automatically transfers all approved scheduling agreement releases andpurchase requisitions, and triggers the creation of scheduling agreement releases and purchase orders toECC via CIF. In addition to automatic transfer, you can also create scheduling agreement releases andpurchase orders manually.

Important settings:Master Data – In the location product master data on the SPP Inventory Planning tab:Approval/Releasing - system either forwards the results of the DRP run after the mass approval to thesupplier automatically, or it creates an alert.Business IntelligenceYou have selected and activated the Business Content for DRP approval in the Business Intelligence systemfor SAP Advanced Planning and Optimization (SAP APO). The Business Content for DRP approval is locatedin the SPP: DRP Approval InfoArea (9ADRPA). You have selected and activated the following objects in thisInfoArea:InfoCube SPP: DRP Run Ad Hoc Analysis (9ADRPA) with the corresponding InfoObjectsThe following queries:DRP Results (Active Version) (9ADRPA_Q0000)DRP Results (All Versions) (9ADRPA_Q0001)DRP Results (Acc. To Selection) (9ADRPA_Q0002)DRP: Biggest Deviations (Active Version) (9ADRPA_Q0010)DRP: Biggest Deviations (All Version) (9ADRPA_Q0011)DRP: Biggest Deviations (Acc. to Selection) (9ADRPA_Q0012)CustomizingYou have activated the required approval rules in Customizing for Advanced Planning and Optimization underSupply Chain Planning Service Parts Planning (SPP) Distribution Requirements Planning (DRP) DRPApproval Define DRP Approval Rules

Page 41: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 41/41

2.2.8.2 Monitoring Requirements:Error Monitoring:In the case of mass approval, it is important to make sure that the DRP approval runs successfully and thestock transport requisitions, scheduling agreement delivery schedule lines and purchase requisitions aretransported to suppliers correctly.

Performance Monitoring:It is important to make sure that the DRP approval finishes within the defined time window, and the stocktransport requisitions, scheduling agreement delivery schedule lines and purchase requisitions aretransported to suppliers timely.

Data Consistency Requirements:You should ensure the consistency of stock transport requisitions, scheduling agreement delivery schedulelines and purchase requisitions at both SPP and supplier side.

2.2.8.3 Monitoring Objects in SAP Solution Manager

Monitoring Object SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionApplication Monitoring(Throughput and Backlogindicators) for PurchaseRequisitions(KSPUR001)

Location,Prod.Planner,Product ID, Planned/ Unplanned, Start(x days past), End(x days future),Older than x days

PR Items created,PR Items open, PRItems overdue forconversion

Daily

BI Query Alert Collector - KPIin BI Query (BOBIQUAC)(To check data stored in APOBI)

RFC Destination(from managedsystem to BIsystem), InfoProvider (of BIsystem), BI queries(of that Infoprovider),Description of theBI query

KPI in BI Query(single value), KPIin BI Query (max.values), KPI in BIQuery (# of values)

Once per day

BI Consistency Check ResultCollector (DBICCRC)

Compare ResultDSO, Fieldnameand Select-Optionsfor Filter 1 - 3

Differences in resultcolumn 1,Differences in resultcolumn 2,Differences in resultcolumn 3,Differences in resultcolumn 4,Differences in resultcolumn 5,Age of lastconsistency checkresult

Once per day

Page 42: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 42/42

Background Job Monitoringfor program/SAPAPO/PE_EXEC

Background JobName, Variant,User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently if this jobis executed morethan once per day),Data Collectors torun every 5 minutesduring job execution

Dialog Performance Monitor(BOPERFMO)(For Monitoring responsetime of transaction code/SAPAPO/SPPDRPAPPR)

Transaction Code(Value 1), FunctionCode (Value 2),Call Type, UserPattern, Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Background Job Monitoringfor program/SAPAPO/RDMCPPROCESS(Data transfer from APO toECC via CIF-Interface)

Background JobName, Variant,User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently if this jobis executed morethan once per day),Data Collectors torun every 5 minutesduring job execution

qRFC Monitor (IMQRFCMO)(Status Monitoring of the CIF-queues between ECC andAPO)(The queue names start withCF*For example:CFEP* for purchase orders,CFHE* for release schedules,CFTO* for stock transportorders)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number of entrieswith critical status ingroup Age of oldestcritical status ingroup Combination of"Entries" and "Age"in critical state Number of entrieswith interim statusin group Age of oldestinterim status ingroup Combination of"Entries" and "Age"in interim state

SMQ1, SMQ2,SM59,/SAPAPO/CQ,/SAPAPO/CW,/SAPAPO/CQINW

Hourly (or evenmore often)

qRFC Monitor (IMQRFCMO)(Backlog Monitoring of theCIF-queues between ECCand APO)(The queue names start withCF*For example:CFEP* for purchase orders,CFHE* for release schedules,CFTO* for stock transportorders)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number ofindividual queues ingroup Total number ofentries in all queuesof group Average numberof entries per queuein group Maximum numberof entries per queuein group Age of oldest entryin group Combination of"Total entries" and"Oldest age"

SMQ1, SMQ2,SM59,/SAPAPO/CQ,/SAPAPO/CW,/SAPAPO/CQINW

Hourly (or evenmore often)

Page 43: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 43/43

CIFComparison/Reconciliationfor Transaction Data (DataConsistency Monitoringbetween APO and ECC)

Name for Save Number ofinconsistentschedulingagreements,Number ofinconsistentpurchaserequistions, Age oflast consistencycheck result

/SAPAPO/CCR Daily

2.2.8.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionResults of planningservices in PSMapplication log

Subobjects(Services), Dateand Time ofPlanning Run,User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

Alerts in AlertMonitor

Alerts generatedduring MassApproval

Alert Monitor in ShortageAnalysis Interface(Transaction Code/SAPAPO/SPP_CUSTOMER)

Daily

Results of the MassApproval

DRP Run Transaction Code/SAPAPO/SPPDRPAPPR

Daily

2.2.8.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction code /SAPAPO/SPPDRPAPPR can be checked in transactioncode STAD or ST03N respectively.

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

The status of qRFC queues can be monitored using transaction codes SMQ1 or SMQ2. In case of problemswith the setup of the qRFC connection, use transaction SM59 to check the setup of the respective RFCConnection.

Specific to the CIF-Interface between APO and ECC, you can also use the transactions /SAPAPO/CQ (SCMQueue Manager), /SAPAPO/CW (qRFC Monitoring for Outbound Queues) and /SAPAPO/CQINW.

The consistency check between SAP APO and SAP ECC can be executed using transaction code/SAPAPO/CCR.

2.2.8.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

Page 44: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 44/44

2.2.9 Business Process Step 9: Deployment

2.2.9.1 Description

General Information:In this process, the system determines the distribution of goods within a bill of distribution (BOD). Based onthe current demands determined by distribution requirements planning (DRP), deployment decides how todistribute the available goods and, if necessary, initiates this within the BOD. Goods that are not distributedby deployment stay at the parent location.

Deployment is either triggered by goods receipt at a parent location (push deployment), or by currentdemand during the replenishment lead time of a child location (pull deployment).

You can schedule the following services in the Planning Service Manager (PSM) for deployment:- SPP: Deployment Service (SPP_DEPL), this service makes decisions about the stock transfer of goodswithin a bill of distribution (BOD).- SPP: Push Deployment from Supplier (SPP_DEPL_FROM_SUPPLIER), this service plans that the supplierdoes not ship the goods to the entry location, but to the second level of the BOD.

During the deployment service, the system mainly performs the following steps:1. The system adds up the net demand of the locations during the replenishment lead time and checkswhether the demand is greater or less than the distributable quantity.2. If the net demand is greater than the distributable quantity, the system distributes this quantity accordingto priority tiers that you can define in Customizing. The system then performs fair-share distribution.If the distributable quantity is greater than the net demands of the locations, the system immediately performsfair-share distribution.3. The system rounds to pack sizes during demand determination. In doing so, it determines the demandwhile considering the smallest permissible pack size. After fair-share distribution, the system rounds onceagain. The aims of rounding are to obtain order and delivery quantities that make processing easier at thesupplier, when packaging, during transportation, and for storage, and to achieve pack sizes that are as largeas possible.4. The system distributes the remaining quantities. If rounding to a certain pack size occurred, remainingquantities may be left over.5. Finally the system creates stock transport requisitions store them as orders in liveCache.

The results of deployment can be reviewed with the transaction /SAPAPO/SPPDEPL under “DeploymentLog”. With the same transaction under “STO Approval”, you can also release stock transport requisitions toECC via CIF, if you have defined manual approval for them in the master data.

Important settings:Configuration for DRP Services – refer to Business Process step 7 (above)Customizing – Implementation Guide (IMG) for Advanced Planning and Optimization under Supply ChainPlanning Service Parts Planning (SPP) Deployment and SCM Basis, under Planning Service Manager

Define Planning Profile/ Make General Settings for Deployment/ Define Priority Tiers and SequenceRulesMaster Data – In the location product master data:Deployment Indicators - control the location product that pushes or pulls deployment is to consider duringplanning.Express Shipment - to prevent backorders, deployment can decide to deliver certain location products byexpress shipment.Stock Transport Orders - define how many stock transport orders can be issued per day.Procurement Lead Times - number of days that the review time and the time between deployment runsshould be.Remaining Quantities – controls what to do with potential remaining quantities at push deployment.

Page 45: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 45/45

Time-Related Supply Limit (TSL) - limits the goods quantity that you can deliver to one location.Virtual Child Location – controls whether a location is also a virtual child location.

2.2.9.2 Monitoring Requirements:Error Monitoring:It is important to make sure that the deployment runs successfully and the stock transport requisitions aregenerated and released correctly.

Performance Monitoring:It is important to make sure that the deployment run finishes within the defined time window, and the stocktransport requisitions are released in a timely manner.

Throughput Monitoring:In the master data of location product, Stock Transport Orders define how many stock transport orders can beissued per day.

Data Consistency Requirements:It is important to make sure that the data keeps consistent before and after the deployment run.

2.2.9.3 Monitoring Objects in SAP Solution Manager

Monitoring Object SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDialog PerformanceMonitor (BOPERFMO)(For Monitoring responsetime of transaction code/SAPAPO/PE_RUN)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Background JobMonitoring for program/SAPAPO/PE_EXEC

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently in casethis job is executedmore than once perday), DataCollectors to runevery 5 minutesduring job execution

Dialog PerformanceMonitor (BOPERFMO)(For Monitoring responsetime of transaction code/SAPAPO/SPPDEPL)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Page 46: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 46/46

qRFC Monitor(IMQRFCMO)(Status Monitoring of theCIF-queues between ECCand APO)(The queue names startwith CF*)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number of entrieswith critical status ingroup Age of oldestcritical status ingroup Combination of"Entries" and "Age"in critical state Number of entrieswith interim status ingroup Age of oldestinterim status ingroup Combination of"Entries" and "Age"in interim state

SMQ1, SMQ2,SM59,/SAPAPO/CQ,/SAPAPO/CW,/SAPAPO/CQINW

Hourly (or evenmore often)

qRFC Monitor(IMQRFCMO)(Backlog Monitoring of theCIF-queues between ECCand APO)(The queue names startwith CF*)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number ofindividual queues ingroup Total number ofentries in all queuesof group Average number ofentries per queue ingroup Maximum numberof entries per queuein group Age of oldest entryin group Combination of"Total entries" and"Oldest age"

SMQ1, SMQ2,SM59,/SAPAPO/CQ,/SAPAPO/CW,/SAPAPO/CQINW

Hourly (or evenmore often)

2.2.9.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDeployment resultsin PSM applicationlog

Subobjects(Services), Date andTime of PlanningRun, User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

Deployment log Detailed log of thedeployment run

Transaction Code/SAPAPO/SPPDEPL ->Click section«Deployment log »

Daily

Page 47: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 47/47

2.2.9.5 Monitoring without SAP Solution Manager

The Dialog Response Time of transaction code /SAPAPO/PE_RUN can be checked in transaction codeSTAD or ST03N respectively.

The status, runtime, and job logs of of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

The status of qRFC queues can be monitored using transaction codes SMQ1 or SMQ2. In case of problemswith the setup of the qRFC connection, use transaction SM59 to check the setup of the respective RFC-Connection.

Specific to the CIF-Interface between APO and ECC, you can also use the transactions /SAPAPO/CQ (SCMQueue Manager), /SAPAPO/CW (qRFC Monitoring for Outbound Queues) and /SAPAPO/CQINW.

2.2.9.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis in order to ensure that theyare set according to the business requirements that might change over time.

2.2.10 Business Process Step 10: Inventory Balancing

2.2.10.1 Description

General Information:The inventory balancing service calculates excess and shortage of a product for all locations in the BOD inthe existing areas, and corrects the stock imbalance. However, inventory balancing only occurs if the benefitsof a stock transfer are greater than the costs. In this way the inventory balancing service ensures that existingstock is evenly distributed.The system can decide to balance stock within an inventory balancing area only. An inventory balancing areais part of a bill of distribution (BOD) and consists of locations that can balance stock with one another. Onelocation can thus belong to several inventory balancing areas. However, within an inventory balancing area,parent locations cannot release stock to their direct or indirect child locations. Inventory balancing from a childlocation to a parent location is possible.The system sorts the recommended stock transfer requisitions in descending order according to quantity andchecks the maximum number of stock transfer orders per day from every location that releases stock. Thesystem then creates stock transfer orders and releases them to ECC immediately or forwards them formanual release to ECC via interface CIF.

Inventory balancing can be executed as a service in PSM.The following triggers also lead to inventory balancing: Suppression, De-stocking, Reduction of storage spaceat a location, unfulfilled pull deployment requisition, increased demand within the limited freeze horizon.

Important settings:- Create inventory balancing areas by creating a location of type Geographic Area (1031) in the locationmaster data.- Define packaging specifications for rounding in the SAP Easy Access menu under Advanced Planningand Optimization Service Parts Planning (SPP) Environment Packaging Specification MaintainPackaging Specification .Customizing – Implementation Advanced Planning and Optimization Customizing, under Supply ChainPlanning Service Parts Planning (SPP) Inventory Balancing andSCM Basis, under Planning Service Manager Define Planning Profile

Page 48: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 48/48

2.2.10.2 Monitoring Requirements:Error Monitoring:It is important to check the results of inventory balancing, if the stock transfer orders are generated andrelease successfully.

Performance Monitoring:It is important to make sure that the inventory balancing service finish within the defined time window, and thestock transfer orders are released timely.

2.2.10.3 Monitoring Objects in SAP Solution Manager

Monitoring Object SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionqRFC Monitor(IMQRFCMO)(Status Monitoring ofthe CIF-queuesbetween ECC andAPO)(The queue namesstart with CF*For example:CFEP* for purchaseorders, CFHE* forrelease schedules,CFTO* for stocktransport orders)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number of entrieswith critical status ingroup Age of oldestcritical status ingroup Combination of"Entries" and "Age"in critical state Number of entrieswith interim status ingroup Age of oldestinterim status ingroup Combination of"Entries" and "Age"in interim state

SMQ1, SMQ2,SM59,/SAPAPO/CQ,/SAPAPO/CW,/SAPAPO/CQINW

Hourly (or evenmore often)

qRFC Monitor(IMQRFCMO)(Backlog Monitoringof the CIF-queuesbetween ECC andAPO)(The queue namesstart with CF*For example:CFEP* for purchaseorders, CFHE* forrelease schedules,CFTO* for stocktransport orders)

qRFC direction,RFC destination,Queue group,Command string ofSMD qRFC backlogcoll., Commandstring of SMD qRFCstatus coll.

Number ofindividual queues ingroup Total number ofentries in all queuesof group Average number ofentries per queue ingroup Maximum numberof entries per queuein group Age of oldest entryin group Combination of"Total entries" and"Oldest age"

SMQ1, SMQ2,SM59,/SAPAPO/CQ,/SAPAPO/CW,/SAPAPO/CQINW

Hourly (or evenmore often)

Page 49: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 49/49

CIFComparison/Reconciliation for TransactionData (DataConsistencyMonitoring betweenAPO and ECC)

Name for Save Number ofinconsistentschedulingagreements,Number ofinconsistentpurchaserequisitions,Number ofinconsistentpurchase orders,Age of lastconsistency checkresult

/SAPAPO/CCR Daily

Consistency CheckLiveCache – APO DB(For ProcurementSchedulingAgreements and foruser-defined keyfigures)

User performinganalysis, Executionmode of theanalysis

No of inconsistentProcurementSchedulingAgreements, Userdefined key figure,Age of lastconsistency checkresult

/SAPAPO/OM17 Daily

Dialog PerformanceMonitor(BOPERFMO)(For Monitoringresponse time oftransaction code/SAPAPO/PE_RUN)

Transaction Code(Value 1), FunctionCode (Value 2), CallType, User Pattern,Instances

Total ResponseTime, DatabaseResponse Time,Total ResponseTime (Data vol.-depend.)

STAD, ST03N Every two hours

Background JobMonitoring forprogram/SAPAPO/PE_EXEC

Background JobName, Variant, User(Note: The planningprofile is visible inthe job log)

Start Delay, EndDelay, Out of TimeWindow, MaximumDuration, JobCancellation, JobLog Messages, JobLog Content

SM37 Daily (or morefrequently in casethis job is executedmore than once perday), DataCollectors to runevery 5 minutesduring job execution

2.2.10.4 Further Monitoring Objects

MonitoringObject

SelectionCriteria

Alert Analysis Tool onSatellite System

MonitoringFrequency / Data

CollectionDeployment resultsin PSM applicationlog

Subobjects(Services), Dateand Time ofPlanning Run,User thattriggered Log

PSM ApplicationLog Content

Transaction Code/SAPAPO/PE_LOG_DISP

Daily

2.2.10.5 Monitoring without SAP Solution ManagerThe Dialog Response Time of transaction code /SAPAPO/PE_RUN can be checked in transaction codeSTAD or ST03N.

Page 50: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 50/50

The status, runtime, and job logs of Background Jobs can be analyzed using transaction code SM37 in themanaged system.

The status of qRFC queues can be monitored using transaction codes SMQ1 or SMQ2. In case of problemswith the setup of the qRFC connection, use transaction SM59 to check the setup of the respective RFC-Connection.

Specific to the CIF-Interface between APO and ECC, you can also use the transactions /SAPAPO/CQ (SCMQueue Manager), /SAPAPO/CW (qRFC Monitoring for Outbound Queues) and /SAPAPO/CQINW.

The consistency check between SAP APO and SAP ECC can be executed using transaction code/SAPAPO/CCR.

The consistency between Live Cache and the SAP APO database can be checked using transaction/SAPAPO/OM17.

2.2.10.6 How to Find Meaningful Thresholds for Each Monitoring ObjectThe definition of meaningful thresholds for each Monitoring Object needs to be done in close cooperation withyour business department. It is important that you clearly define what data the data collectors measure, howoften they run, and what the business requirements are for the analyzed part of the business process step.Furthermore, it is important to review the defined thresholds on a regular basis to ensure that they are setaccording to the business requirements that might change over time.

Page 51: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 51/51

3 Further Information

3.1 TroubleshootingIf executing this Best Practice did not produce the desired results

Search for related notes in the SAP Service Marketplace. Open an SAP Customer Message describing your problem (please see the respective component in

section Error Handling, Restartability and Escalation of every step).

3.2 Related Best Practice Documents

There are several other Best Practice documents available on the Service Marketplace underhttps://service.sap.com/solutionmanagerbp that relate to this Best Practice document. These documents are:

General Business Process Management: This document explains the procedures you should use tocreate a general Business Process Management concept. This includes the definition anddocumentation of the core business processes, definition of monitoring objects, definition ofmonitoring activities including error handling procedures, monitoring tools, monitoring frequencies,the definition of communication and escalation procedures and the assignment of responsibilities.ALE Monitoring: This Best Practice helps you set up an Interface Monitoring concept with the focuson ALE Monitoring for your SAP solution. This document will outline possibilities on how to optimallymonitor ALE-based interfaces manually as well as automated by using SAP Solution Manager. Bothmonitoring approaches aim to detect any irregularities or deviations or to detect error situations at anearly stage.Job Scheduling Management: This Best Practice provides a detailed description what SAPrecommends as a standardized formal process to support a job request process, including an enduser job request form and an approval process. This integrated process will avoid error-prone andtime intensive manual processes of copying redundant data from one data source to another (forexample, MS excel to MS Excel or MS Excel to job scheduling tool).SAP Business Process Management for ERP Logistics: This Best Practice helps you set up aBusiness Process Monitoring concept for your SAP ERP solution. The concept aims to defineprocedures for business process oriented monitoring and error handling and escalation proceduresfor your company’s ERP core business processes. These procedures intend to ensure a smooth andreliable flow of the core business processes so that your business requirements are met.Background Job monitoring with SAP Solution Manager: This Best Practice will help you to set upbackground job monitoring properly in the framework of Business Process Monitoring in the SAPSolution Manager.

Note that these documents are also available in the SAP Service Marketplace using alias “RunSAP”RunSAP Best Practices.

3.3 Literature

For detailed information on how to administer an SAP R/3 system, see the book: Liane Will, SAP R/3 System Administration, 2003

For information on how to monitor and tune the general system performance, see the book: Thomas Schneider, SAP Performance Optimization Guide, 2006

For information on how to monitor your business processes using the SAP Solution Manager, see thebook:

Thomas Schroeder, Business Process Monitoring mit dem SAP Solution Manager, 2009 (currently only available in German)

Page 52: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 52/52

For information on how to set up general system monitoring using the SAP Solution Manager, see thebook:Corinna Weidmann, Lars Teuber, Konzeption und Einrichtung des Systemmmonitorings mit dem SAPSolution Manager, 2009(currently only available in German)

3.4 Feedback and Questions

Send any feedback by formulating an SAP customer message to component SV-SMG-MON-BPM. You cando this at http://service.sap.com/message.

Page 53: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 53/53

4 Appendix

In the following section you find examples on how you can set up the Monitoring within the SAP SolutionManager.

4.1 Examples for recommended Monitoring Objects

4.1.1 Example Background Job Monitoring

This section shows how to set up Background Job Monitoring for Background Job /SAPAPO/PE_RUN in SAPSolution Manager. The setup for the other Jobs is quite similar - except for the Job specific parameters.

1. Call the SAP Solution Manager (trx DSWP or SOLUTION_MANAGER).2. Choose your solution.3. Go to 'Operation Setup' and navigate to 'Solution Monitoring' => 'Business Process Monitoring'.4. Choose ‘Setup Business Process Monitoring’.5. Check 'Business Processes': select a business process for application monitoring.6. Check for your chosen business process: choose process steps to monitor.7. Check for your chosen step: Choose type of monitor, here 'Background Job'.8. Enter the information to be used to identify the job in this case the Job Name

S_PRD001_UK_STOCKING_/SAPAPO/PE_RUN_1000_M

9. Choose the key figures Job Cancellation and Maximum Duration to monitor the runtime of the job.10. In check “Maximum Duration” you can enter thresholds that would raise a yellow or a red alert

respectively when exceeded.

11. In check “Job Cancellation” you can decide whether a yellow or a red alert should be raised when the jobis cancelled.

Page 54: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 54/54

12. Once you have entered all relevant information for the monitoring objects, generate the monitoringcustomizing and activate the monitoring within the ‘Business Process Monitoring’ session.

4.1.2 Example Dialog Response Time Monitoring

The Dialog Response Time of transaction code /SAPAPO/PE_RUN can be monitored utilizing the respectiveData Collector.

1. Call the SAP Solution Manager (trx DSWP or SOLUTION_MANAGER)2. Choose your solution.3. Go to “Operation Setup” and navigate to “Solution Monitoring” -> “Business Process Monitoring”.4. Choose “Setup Business Process Monitoring”5. Check “Business Processes”: Select a business process for Application Monitoring.6. Check for your chosen business process: Choose process steps to monitor7. Check for your chosen step: Choose type of monitor; here “Application Monitor”.8. In the next check “Application Monitoring”, choose the “Dialog Performance Monitor” (BOPERFMO) in

column “Monitor Name”. You can additionally enter a short text in column “Monitoring Object Name”

9. In the next check – that carries your entered short text as name – choose the key figures that you want tomonitor – for example, DB Response Time and Total Response Time – and also enter the MonitoringSchedule.

10. The following procedure is the same for all key figures set up for this data collector: On tab <key figure>(for example, DB Response Time), double-click the field in column “Counter” and enter data as follows:

Page 55: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 55/55

In addition, you can also enter a function code you want to monitor in field “Value 2” and a User Pattern (forexample, “US*” for all user IDs starting with “US”) in field “User Pattern”. If you are interested in certaininstances, you can also enter their names in field “Instances”.The field “Proc.Intervals” refers to the process of data collection from the managed system. Refer to theinstruction text in the Business Process Monitoring Setup Session for more details.

11. Now you can enter thresholds values in the fields “Threshold for YELLOW (ms)” and “Threshold for RED(ms)”.

12. Once you have entered all relevant information for the monitoring objects, generate the monitoringcustomizing and activate the monitoring within the ‘Business Process Monitoring’ session.

4.1.3 Example Data Consistency

You can monitor the consistency between the SCM system and the ECC system using the “CIF DeltaReport”, which can be scheduled and run in transaction /SAPAPO/CCR in the APO-system.

The setup example described here has as a prerequisite that a variant of the “CIF Delta Report” is scheduledin the managed system.

1. Call the SAP Solution Manager (trx DSWP or SOLUTION_MANAGER)2. Choose your solution.3. Go to “Operation Setup” and navigate to “Solution Monitoring” -> “Business Process Monitoring”.4. Choose “Setup Business Process Monitoring”5. Check “Business Processes”: Select a business process for Application Monitoring.6. Check for your chosen business process: Choose process steps to monitor

Page 56: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 56/56

7. Check for your chose step: Choose type of monitor; here “Application Monitor”8. In the next check “Application Monitoring”, choose the “CIF Comparison/Reconciliation for Transaction

Data” (DCAPOCCR) in column “Monitor Name”. You can additionally enter a short text in column“Monitoring Object Name”

9. In the next check – that carries your entered short text as name – on tab “Key Figures” choose the keyfigures that you want to monitor – for example, Number of inconsistent purchase requisitions. Also enterthe Monitoring Schedule on tab “Monitoring Schedule”. On tab “Detail Information”, double-click field“001” in column counter. A pop-up appears where you should enter a “Name for Save”. This “Name forSave” is similar to a variant name and is the name for the setup variant of the CIF Delta Report in themanaged system.

10. In the next check – that carries the name of your key figure – enter the threshold values for YELLOW andRED.

11. Once you have entered all relevant information for the monitoring objects, generate the monitoringcustomizing and activate the monitoring within the ‘Business Process Monitoring’ session.

Page 57: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 57/57

4.2 Available Monitoring Objects for scenario “Procure-to-stock”4.2.1 Overview “Procure-to-Stock”

SCM-EWM - Q1P

Create Inbound DeliveryNotificationNotification

(24)

Create Inbound Delivery(25)

Putaway (31.6)

SCM-ICH - Q1P

Update ASN / SDPR /Inbound Monitor (21)

Alert Handling withNotification (18)

Create, Change and sendASN (15)

Create SA Release,Update SDPR/Inbound

Monitor (8)

Update ASN / InboundMonitor (33)

Update ASN / SDPR /Inbound Monitor (29)

Receive ASN (20)

ECC 6.0 - Q4L

Receive/Validate ASN(17)

Create Outbound Delivery(13)

Create Stock TransportOrder (12)

Create SA Release / PO(9)

Update Document Flow ofInbound Delivery (37)

Posting Change fromROD to AFS (35)

Update Inbound Delivery+ Post Goods Receipt

(32)

Update PO (30)

Update Inbound Delivery(28)

Create Inbound Delivery(19)

SCM-APO - Q1P

Receive Inbound Delivery(22)

Extract forecast relevant(historical) data (2)

Issue SA Release (6)

Update Planning (36)

Update Planning (34)

Update Planning Data(23)

Planning ServiceManagement Run (3)

SPM Supplier - SUP

Send ASN (16)

Create Customer Order (11a+11b)

CRM OM / GTS - Q5U

Extract forecast relevant(historical) data (1)

Generate and ApproveSA Schedule Lines (4)

Create Purchase Order(7)

Create Pos (10)

CreateConfirmation

CreateConfirmation

Create Putawaywarehouse task and

execute inbound processusing process oriented

storage control (31)

Create POs

Set Status „in Yard“ (27)

Create Stock TransportOrder

IM Update

Create SA Release (5)

<Follow on actions>

Receive SA conf.

Create vehicle (26)

Move HU to work centerand

perform deconsolidation

Move HU to work centerand

perform value added

Page 58: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 58/58

General Description:Procure-to-Stock includes processes such as Parts Demand Planning, Parts Inventory Planning, PartsSupply Planning, Parts Distribution Planning, Parts Monitoring and External Procurement – either withpurchase orders or schedule releases. These processes help companies maximize their return on assets bymatching service parts demand with all types of supply and increase collaboration by linking various businesspartners across the entire service networkService parts planning enables the service parts network to forecast parts demand, derive optimal stockinglevels for each location, plan parts replenishment, and rebalance the inventory within the network. To bereplenished parts are ordered from suppliers – for example, using the Supply Network Collaboration solutionfor communication of relevant information (critical parts, confirmations, ASNs). The physical goods receiptsand the follow-on processes like put away are supported with SAP SCM Extended Warehouse Management.

General Remark:All qRFC errors that might appear in this process appear in inbound queues.

Business Process Description:The business process has two possible starting points. One is the “Create/Update/Delete Sales Order” onCRM, the other one is the “Upload Sales History, inventory and open order” on APO.

REMARK: In case that the PPF or any other automatic monitoring is used it needs to be ensured that the next“enforced” monitoring step can “close” open steps of the same instance.

4.2.2 Monitoring Business Process “Procure-to-Stock”

Monitoring APO:Please turn to chapter 2 of this document to receive detailed information.

Monitoring SNC (Supply Network Collaboration):For guidance on monitoring Business Process Steps executed in SNC/ICH, please turn to the respectivesections for PI in the Setup Guide “Interface Monitoring with SAP Solution Manager” that can be accessed inthe SAP Service Marketplace under http://service.sap.com/bpm -> Business Process Management -> MediaLibrary -> Technical Information

Monitoring ECC/ERP:Please turn to the document “SAP Business Process Management for ERP Logistics” that is availableunder https://service.sap.com/solutionmanagerbp.

Additional information on Monitoring the Business Process Steps in ECC/ERP described here can be found inthe SAP Service Marketplace under http://service.sap.com/bpm -> Business Process Management -> MediaLibrary -> Technical Information in document “Setup Guide – Application Monitoring” and in the section“Customer Information” in document “Business Process and Interface Monitoring – Part 2”, that contains a listof all available Monitoring Objects.

Monitoring EWM:Information on Monitoring the Business Process Steps in EWM described can be found in the SAP ServiceMarketplace under http://service.sap.com/bpm -> Business Process Management -> Media Library ->Customer Information in document “Business Process and Interface Monitoring – Part 2”, that contains a listof all available Monitoring Objects.

In addition to the monitoring objects suggested in section 4.2.5 the following monitoring objects are availablefor EWM:

Alert Type Selection-Options

Waves# of overdue waves

Warehouse Number, Wave Type, WaveCategory, Overdue in hours

Page 59: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 59/59

Warehouse Orders# of overdue warehouse orders

Warehouse Number, Queue, Activity Area,Overdue in hours

Warehouse Tasks# of overdue warehouse tasks# of overdue replenishment tasks

Warehouse Number, Warehouse Process Type,Warehouse Process category, Overdue in hours

Inbound Deliveries# of inbound deliveries overdue withoutWarehouse Task# of inbound deliveries overdue withoutGoods Receipt

Warehouse Number, Document Type, Overduein hours

Outbound Deliveries# of outbound deliveries overdue withoutWarehouse Task# of outbound deliveries overdue withoutGoods Issue

Warehouse Number, Document Type, Overduein hours

Monitoring the SUPPLIER system:In the detailed description below IDoc Monitoring is mentioned when it comes to monitoring the SUPPLIERsystem.

To obtain information on IDoc Monitoring, see the respective sections in the Setup Guide “InterfaceMonitoring with SAP Solution Manager” that can be accessed in the SAP Service Marketplace underhttp://service.sap.com/bpm -> Business Process Management -> Media Library -> Technical Information

4.2.3 Business Process Steps executed in SAP SCM APO – Service Parts Planning and MonitoringObjects

See section 2 of this document to receive detailed information describing steps 1-7 of the Procure-to-Stockscenario

4.2.4 Business Process Steps executed in SNC and respective Monitoring Objects

Step 8: Create SA Release / Update SDRP/Inbound Monitor (SNC)The released scheduling agreements are replicated to the SNC system. This system is available for smallersuppliers that do not have their own EDI server. These suppliers can access the SNC and check whethernew requests have come in.

The data is transferred via IDOC using XI.

The IDOC type is DELINS/DELFOR02

XML outbound in XI/PI: DeliveryScheduleNotification_In

Monitoring: IDOC monitoring in SCM and XI inbound. XML Monitoring in XI outbound.

Page 60: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 60/60

Step 15: Change and send ASN (SNC)The supplier who can satisfy the request for the customer can now send an advanced shipping notification(ASN) to the ECC system. If this is a small supplier without its own EDI sever, this happens via SupplyNetwork Collaboration (SNC). This is done via transaction /SCA/ICH and /SAPAPO/SPP. The data transferhappens via XML, which XI converts into an IDOC of type DESADV.DELVRY05 (Despatched DeliveryNotification)

Monitoring: Response time and update error for transactions /SCA/ICH and /SAPAPO/SPP, XImonitoring

Step 18: Alert Handling with Notification (SNC)A notification is sent in any case. If the ASN has been rejected on ECC side or if there are problems with theprocessing of the ASN, this is indicated in the IDoc.

Monitoring: IDOC DELINF/DELVRY05

Step 29: Update ASN/SDPR/Inbound Monitor (SNC)With the arrival of the material in the yard the Inbound Monitor on SNC is updated again (as it is every timethe delivery on ECC is updated). This happens via IDOC DELINF via XI.

Monitoring: IDOC DELINF (monitored at several places in this process)

Step 33: Update ASN/Inbound Monitor (SNC)The ASN/SDPR/Inbound Monitor is again updated on SNC (as it is every time the delivery on ERP isupdated). This happens via IDOC DELINF via XI.

Monitoring: IDOC DELINF (monitored at several places in this process)

4.2.5 Business Process Steps executed in ECC/ERP and Monitoring Objects

Step 9: Create SA Release and Purch. Req (ECC)The release of the scheduling agreement is replicated to ERP. The data transfer to ERP happens via qRFC inqueues CFHE* (Note 786446 contains the queue names).

Monitoring: qRFC monitoring in queues CFHE*

Step 10: Create Purchase Order (ECC)Created purchase orders are replicated to ERP. The data transfer to ERP happens via qRFC in queuesCFEP* (Note 786446 contains the queue names).

NOTE: For PO (incl. STOs) creation, 2 queues are triggered (PReq & PO = 1 LUW).

Monitoring: qRFC monitoring in queues CFEP*

Step 12: Create Stock Transfer Order (ECC)As a result of Deployment runs STOs might be created in APO. Via qRFC queues CFTO*, the Stock TransferOrder is created in the ECC system.

Monitoring: qRFC monitoring for queues CFTO*

Step 13: Create Outbound Delivery (ECC)The outbound delivery creation for STOs can be triggered automatically (depending on Customizing):

Monitoring: Transaction Code v_sa

Page 61: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 61/61

Step 17: Receive/Validate ASN (ECC)The IDoc is received in ERP and automatically processed. Validation here can reject the IDoc if, for instance,there is a wrong material in the IDoc. If the IDoc is accepted, the inbound delivery is created.

Monitoring: inbound monitoring of IDOC DESADV.DELVRY05

Step 28: Update Inbound Delivery (ECC)The Inbound Delivery with status “In Yard” is updated on ERP via qRFC DLVS*.

Monitoring: qRFC monitoring for inbound queue DLVS*

Step 30: Update Purchase Order (ECC)With the update of the delivery in ECC the Purchase Order is also updated in ECC.

Monitoring: --

Step 32: Update Inbound Delivery and post Goods Receipt (ERP)With posting GR in EWM the GR in ECC is replicated and the Inbound delivery in ECC is updated. Thishappens via inbound queue DLVS*.

Monitoring: Inbound qRFC monitoring for DLVS*.

Step 35: Posting Change from Received on Dock (ROD) to Available for Sales (AFS) (ERP)With the posting change in EWM from stock type F1 (ROD) to stock type F2 (AFS = available for sales) thestock in ERP will be posted from storage location ROD to storage location AFS (incl. IM Update). Thishappens via inbound queue DLVS*.

Monitoring: Inbound qRFC monitoring for DLVS*.

Step 37: Update document flow of Inbound Delivery (ERP)After the final putaway, the document flow in the Inbound Delivery is updated in ERP again via qRFC DLVS*.If the delayed delivery update has been configured this is not done immediately.

Monitoring: RFC inbound queue DLVS*

4.2.6 Business Process Steps executed in EWM and respective Monitoring Objects

Step 24: Create Inbound Delivery Notification (EWM)The inbound delivery in ERP is also replicated to EWM via qRFC DLVMSAVEREPLICA*_7* or DLVS* as aninbound delivery notification

Monitoring: Inbound monitoring of RFC queues DLVMSAVEREPLICA*_7* or DLVS*

Step 25: Create Inbound Delivery (EWM)The inbound delivery notification could be converted into an inbound delivery manually or via PPF action.

Monitoring: PPF Monitoring, Action: /SCDL/IDR_TRANSFER

Step 26: Create vehicle (EWM)With creating the ID in EWM, a vehicle can be created manually or via PPF action.

Monitoring: PPF Monitoring, Action: /SCWM/PRD_CREATE_VEH

Page 62: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 62/62

Based on customizing settings (MTR) the relevant number of transport units will be created.

Step 27: Set Status ‘In Yard’ (EWM)Once the transportation unit arrives it is registered as IN YARD manually via transaction /SCWM/PRDI orautomatically PPF action.

Monitoring: PPF Monitoring, Action: /SCWM/MSG_PRD_SEND

Step 31: Create Putaway Warehouse Task and execute Inbound Process using process orientedstorage control (EWM)

(For example:Sub-Step 1: UnloadingSub-Step 2: Move HU to work center for deconsolidationSub-Step 3: DeconsolidationSub-Step 4: move HU to work center for performing value added servicesSub-Step 5: Value Added ServiceSub-Step 6: Putaway)

If using process-oriented storage control, the system determines for which step the first HU warehouse taskwill be created. If unloading will be processed with warehouse tasks (complex unloading) the first step inprocess oriented storage control could be unloading.

Also, an inactive product warehouse task can be created including the final destination bin (point of time canbe defined in customizing).

Step 31.1: Unloading (EWM)HU Warehouse Tasks are created for Unloading (in case of complex unloading). The confirmation of theunloading warehouse tasks is executed via transaction /n/SCWM/TO_CONF in a “paper driven” environmentor via transaction /SCWM/RFUI in RF driven environment. With the confirmation of the last unloadingwarehouse task the status UNLOADED will be set. With the confirmation of each unloading HU WH taskpartial goods receipt can be posted (Customizing).

Monitoring of warehouse task creation for unloading:PPF Monitoring, Dialog Performance Monitoring, Update Error.PPF Action: /SCWM/PRD_IN_TO_CREATE (Action Profile: /SCDL/PRD_IN) => Unloading WTMonitoring possible using inbound qRFC WRCF*.

Monitoring of warehouse task confirmation for unloading:Using desktop: Performance and update errors for transaction /SCWM/TO_CONF.Using RF: Performance and update errors for transaction /SCWM/RFUI

Monitoring of posting goods receipt after unloading:Performance and Update Errors for /SCWM/UNLOAD, PPF SCDL/MSG_PRD_IN_GR_SEND

The relevant stock will be posted GR to stock type = F1 (ROD=received on dock).

Step 31.2: Move HU to Work Center for Deconsolidation (EWM)Deconsolidation could be needed and the relevance will be determined via customizing. Deconsolidationtakes place at specific work centers in the warehouse. With confirming the WT for unloading, it is possible tocreate WT to the Deconsolidation work center automatically (customizing).

Monitoring:Using desktop: performance and update for transaction /SCWM/TO_CONF orUsing RF: Performance and update errors for transaction /SCWM/RFUI and for monitoring creationof HU-WT from staging area to WC using queue monitoring EWMP*

Page 63: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 63/63

Step 31.3: Deconsolidation (EWM)The user performs deconsolidation by using the transaction /SCWM/DCONS. The deconsolidation

step will be confirmed by closing the relevant HUs.

Monitoring:Using desktop: performance and update for transaction /SCWM/DCONS orUsing RF: Performance and update errors for transaction /SCWM/RFUI and for monitoring creationof Product-WT for deconsolidation using queue monitoring EWMTP_*

Step 31.4: Move HU to Work Center for Value-Added Services (EWM)Value added services (VAS) could be needed, for example, some anti-rust protection is necessary to preparethe product suitable for storage. The process is designed that value added services are performed at aspecial work center. The HU warehouse task to move the HU from deconsolidation work center to VAS workcenter can be created automatically via customizing in process oriented storage control or manually withtransaction /SCWM/ADHU.

Monitoring:Using desktop: performance and update for transaction /SCWM/TO_CONF orUsing RF: Performance and update errors for transaction /SCWM/RFUI and for monitoring creation ofHU-WT from WC for Decons. to WC for VAS using queue monitoring EWMP*

Step 31.5: Value-Added-Services (EWM)The relevant VAS Order can be generated with creation of the ID (see point 21) (Customizing). The valueadded service activities regarding to VAS order will be confirmed, for example, using transaction/SCWM/VASEXEC.

Monitoring: performance and update for transactions /SCWM/VASEXEC

Step 31.6: Putaway (EWM)In our example, the last step in process-oriented storage control is the putaway step. With confirmation of thevalue added service activities the inactive product warehouse task for putaway will be activated for executionto move the product to the final destination bin. With confirmation of the warehouse task a posting change willbe executed (customizing) for the relevant stock from ROD to AFS (available for sale).

Monitoring:Using desktop: performance and update for transaction /SCWM/TO_CONF orUsing RF: Performance and update errors for transaction /SCWM/RFUI and for monitoring activationof Product-WT for putaway using queue monitoring EWMP*

4.2.7 Business Process Steps executed in the Supplier System and respective Monitoring Objects

Step 11a: Create Customer Order (SUPPLIER)For larger suppliers the SA release is sent directly to the suppliers EDI server. This happens directly via IDoc(no usage of XI) of type DELINS (basic type DELFOR02).

Monitoring: IDoc monitoring

Step 11b: Create Customer Order (SUPPLIER)For larger suppliers the PO is sent directly to the suppliers EDI server. This happens directly via IDoc (nousage of XI) of type ORDINT.ORDNTF01.

Monitoring: IDoc monitoring

Step 16: Send ASN (SUPPLIER)Bigger suppliers who have their own EDI server can send their advanced shipping notifications directly (notvia XI) to the ERP system. IDOC type is again DELINF.

Page 64: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 64/64

Monitoring: n.a.

4.3 Background Jobs

Certain jobs must run periodically in any production system - for example, deleting obsolete jobs or spoolobjects. If these periodic jobs do not run, system performance may get worse over time. Unfortunately, thereis currently no easy-to-use support for such jobs in Basis Customizing. Therefore, the jobs must be scheduledmanually. For more information, see SAP Note 16083. Note that a daily monitoring of the job log usingSolution Manager is recommended.

Error Handling Procedures for Batch JobsIn case one of the scheduled jobs fails, if one of the necessary jobs is not scheduled, or even if ascheduled job has finished, check for the current job status (refer to the SAP ECC documentation,component BC-CCM, chapter background processing) and proceed as follows:

In the case of status scheduled, the job steps have already been defined, but the start conditionhas not yet been defined. Contact the program scheduling management in order to clarify whenthe job will be fully defined.

In the case of status released, the job has been fully defined including a start condition and waitsfor the condition to fulfill.

In the case of status ready, the start condition of a released job has been met. A job schedulerhas put the job in line to wait for an available background work process.

In the case of status active, the job is currently running and cannot be modified or deletedanymore. Check if the job is within the given timeframe, depending on the data volume to beprocessed. Check for particular dependencies on other jobs. If the job exceeded the giventimeframe, contact the software monitoring team.

In the case of status finished, all steps that make up this job have completed successfully.Program scheduling management has to check whether the job ran in the given timeframe, andsoftware monitoring team and/ or application support have to check the respective job results(such as spool output lists, message logs, updates, etc.).

In the case of status cancelled, the job has terminated abnormally, which can happen in twoways. If an administrator intentionally cancelled the job, clarify why he did so and whether (and if,when) the job has to be re-run.If a program in a job step produced an error such as issuing an ‘E’ or ‘A’ error message, contactthe software monitoring team and investigate why the error occurred. In case of an SAP standardprogram search for appropriate notes in the SAP Service Marketplace and create a customermessage if you cannot solve the problem.

Job RestartabilityIn case of the cancellation of a background job, possible succeeding jobs or dependencies on other jobsmust be considered when restarting the aborted job. The start of succeeding jobs might be also delayed dueto the restart of the aborted job.

Escalation ProceduresIf it is not possible for any of your support levels to provide a solution for a particular problem, it isrecommended to open an SAP customer problem message.

Page 65: Manage operations for service parts palnning with sap scm

Best Practice for Solution OperationsManage Operations for SAP APO: Service Parts Planning

© 2010 SAP AG page 65/65

© 2010 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporatedin the United States and/or other countries.

Oracle is a registered trademark of Oracle Corporation.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of CitrixSystems, Inc.

HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Instituteof Technology.

Java is a registered trademark of Sun Microsystems, Inc.

JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented byNetscape.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, Clear Enterprise, SAP BusinessObjects Explorer and other SAP products andservices mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and othercountries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, andother Business Objects products and services mentioned herein as well as their respective logos are trademarks or registeredtrademarks of SAP France in the United States and in other countries.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this documentserves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAPGroup") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors oromissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in theexpress warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting anadditional warranty.