153
8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ… http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 1/153     H     E     L     P  .     B      C     B     M     T     W     F     M     P     M Release 4.6C

aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

Embed Size (px)

Citation preview

Page 1: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 1/153

    H    E    L    P .    B     C    B    M    T    W

    F    M    P    M

Release 4 .6C

Page 2: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 2/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

2 April 2001

Copyright

 © Copyright 2001 SAP AG. All rights reserved.

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

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

Microsoft ® 

, WINDOWS ® 

, NT ® 

, EXCEL ® 

, Word ® 

, PowerPoint ® 

and SQL Server ® 

are registeredtrademarks of

Microsoft Corporation.

IBM ® 

, DB2 ® 

, OS/2 ® 

, DB2/6000 ® 

, Parallel Sysplex ® 

, MVS/ESA ® 

, RS/6000 ® 

, AIX ® 

, S/390 ® 

,AS/400

 ® , OS/390

 ® , and OS/400

 ® are registered trademarks of IBM Corporation.

ORACLE ® 

is a registered trademark of ORACLE Corporation.

INFORMIX ® 

-OnLine for SAP and Informix ® 

Dynamic ServerTM

are registered trademarks ofInformix Software Incorporated.

UNIX ® 

, X/Open ® 

, OSF/1 ® 

, and Motif ® 

are registered trademarks of the Open Group.

HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C ® 

, World Wide

Web Consortium,Massachusetts Institute of Technology.

JAVA ® 

is a registered trademark of Sun Microsystems, Inc.

JAVASCRIPT ® 

is a registered trademark of Sun Microsystems, Inc., used under license fortechnology invented and implemented by Netscape.

SAP, SAP Logo, R/2, RIVA, R/3, ABAP, SAP ArchiveLink, SAP Business Workflow, WebFlow,SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.comare trademarks or registered trademarks of SAP AG in Germany and in several other countriesall over the world. All other products mentioned are trademarks or registered trademarks of theirrespective companies.

Page 3: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 3/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

April 2001 3

Icons

Icon Meaning

Caution

Example

Note

Recommendation

Syntax

Tip

Page 4: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 4/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

4 April 2001

Contents

PM/CS - Plant Maintenance & Customer Service: Workflow Scenarios....................8Maintenance Notifications (PM-WOC-MN) ................................................................................................ 9

Processing of a Maintenance Notification (PM-WOC-MN) .................................................................... 10

Technical Realization (PM-WOC-MN).................................................................................................... 12Process for Workflow Template WS20000317....................................................................................... 13Preparation and Customizing (PM-WOC-MN) ....................................................................................... 14Operation and Link to Application Functions (PM-WOC-MN)................................................................ 15

Completion of a Task (PM-WOC-MN)....................................................................................................... 17

Technical Realization (PM-WOC-MN / Completing a Task) .................................................................. 18Process for Workflow (PM-WOC-MN / Completing a Task)...................................................................19

Preparation and Customizing (PM-WOC-MN / Completing a Task) ...................................................... 21Operation/Link to Application Functions (PM-WOC-MN/Complete Task).............................................. 22

Processing an Outstanding Maintenance Notification (PM-WOC-MN) ................................................ 24

Technical Realization (PM-WOC-MN / Outstanding PM Notification).................................................... 25

Object Type BUS2038 (Maintenance Notification) ........................................................................... 26

Standard Task TS00008314 (Process Outstanding PM Notification)............................................... 27

Workflow Template WS00200065 (PM: Processing a Notification).................................................. 28

Steps in a Workflow........................................................................................................................... 29

Preparation and Customizing (PM-WOC-MN / Outstanding Maintenance Notification) ........................ 31

Processing the Organizational Structure...........................................................................................32

Perform Task-Specific Customizing.................................................................................................. 33

Activate Event-Receiver Linkage................................................................................................. 34

Operation and Link to Application Functionality (PM-WOC-MN / Outstanding PM Notification) ...........35Processing an ............................................................................................................................................ 36

Technical Realization (PM-WOC-MN / PM Notification in Process) ...................................................... 37

Object Type BUS2038 (PM Notification)........................................................................................... 38

Standard Task TS00008314 (PM Task Process Notification)........................................................... 39

Workflow Template WS00200095 (PM: Putting a Notification in Process)....................................... 40

Steps in a Workflow........................................................................................................................... 41

Preparation and Customizing (PM-WOC-MN / Maintenance Notification in Process)...........................42

Processing the Organizational Structure...........................................................................................43

Perform Task-Specific Customizing.................................................................................................. 44

Activate Event-Receiver Linkage................................................................................................. 45

Operation and Link to Application Functionality (PM-WOC-MN / In-process PM notification)...............46

Completing a Maintenance Notification (PM-WOC-MN) ........................................................................ 47Technical Realization (PM-WOC-MN / Completing PM Notification) ..................................................... 48

Object Type BUS2038 (Maintenance Notification) ........................................................................... 49

Standard Task TS00008316 (Complete) .......................................................................................... 50

Workflow Template WS00200075 (PM: Completing a Notification) ................................................. 51

Steps in a Workflow........................................................................................................................... 52

Preparation and Customizing (PM-WOC-MN / Completing a Maintenance Notification) ...................... 53

Processing the Organizational Structure...........................................................................................54

Perform Task-Specific Customizing.................................................................................................. 55

Activate Event-Receiver Linkage................................................................................................. 56

Page 5: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 5/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

April 2001 5

Operation and Link to Application Functionality (PM-WOC-MN / Complete PM Notification) ............... 57

Maintenance and Service Orders (PM-WOC-MO / CS-SE)..................................................................... 58

Purchase Order Change (PM-WOC-MO / CS-SE) ................................................................................... 59

Technical Realization (PM-WOC-MO / CS-SE) ..................................................................................... 61Preparation and Customizing (PM-WOC-MO / CS-SE Purchase Order Change)................................. 63Operation & Link to Application Functions (PM-WOC-MO / CS-SE Purchase Order Change) .............65

Notifying the Order Creator(PM-WOC-MO) ............................................................................................. 66

Technical Realization (PM-WOC-MO / Notification of the Order Creator) ............................................. 67

Object Type BUS2007 (Maintenance Order) .................................................................................... 68

Standard Task TS20000004 (PMO Order Created) ......................................................................... 69

Standard Task TS20000005 (PMO Order Released).......................................................................70

Standard Task TS20000006 (PMO Order Completely Confirmed) ..................................................71

Standard Task TS20000007 (PMO Order Technically Completed).................................................. 72

Standard Task TS20000031 (Business Completion for PMO Order) ............................................... 73Workflow Template WS20000021 (PMO Author) .............................................................................74

Scenario Procedure........................................................................................................................... 75

Preparation and Customizing (PM-WOC-MO / Notification of Order Creator)....................................... 76

Processing the Organizational Structure...........................................................................................77

Performing Task-Specific Customizing ............................................................................................. 78

Activating Event-Receiver Linkage..............................................................................................79

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Order Creator)............. 80

Notifying the Employee Responsible (PM-WOC-MO) ............................................................................ 81

Technical Realization (PM-WOC-MO / Notification of the Employee Responsible) ..............................82

Object Type BUS2007 (Maintenance Order) .................................................................................... 83

Standard Task TS20000064 (PMO Order is Released by PM Planner)........................................... 84

Workflow Template WS20000014 (PM: PMO Maintenance Planner) .............................................. 85Scenario Procedure........................................................................................................................... 86

Preparation and Customizing (PM-WOC-MO / Notification of Employees Responsible) ...................... 87

Processing the Organizational Structure...........................................................................................88

Performing Task-Specific Customizing ............................................................................................. 89

Activate Event-Receiver Linkage................................................................................................. 90

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the EmployeeResponsible)........................................................................................................................................... 91

Notifying the Work Centers Involved (PM-WOC-MO)............................................................................. 92

Technical Realization (PM-WOC-MO / Notification of Work Centers Involved).....................................94

Object Type AFVC_PM (Maintenance Order Operation).................................................................. 95

Standard Task TS20000015 (PMO Order Released)....................................................................... 96

Standard Task TS20000056 (PMO Operation Completely Confirmed)............................................ 97Standard Task TS20000016 (PMO Operation Completely Confirmed)............................................ 98

Workflow Template WS20000031 (PMO Operation)........................................................................ 99

Scenario Procedure.........................................................................................................................100

Preparation and Customizing (PM-WOC-MO / Notification of Work Centers Involved).......................101

Processing the Organizational Structure......................................................................................... 102

Performing Task-Specific Customizing ........................................................................................... 103

Activate Event-Receiver Linkage............................................................................................... 104

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Work CentersInvolved)............................................................................................................................................... 105

Page 6: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 6/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

6 April 2001

Service Notifications (CS-PM-SN) .......................................................................................................... 106

Processing of a Service Notification (CS-CM-SN)................................................................................107

Technical Realization (CS-CM-SN)...................................................................................................... 109Process for Workflow Template WS20000318..................................................................................... 110Preparation and Customizing (CS-CM-SN)..........................................................................................111Operation and Link to Application Functions (CS-CM-SN) ..................................................................112

Completion of a Task (CS-CM-SN) .........................................................................................................114

Technical Realization (CS-CM-SN / Completing a Task)..................................................................... 115Process for Workflow (CS-CM-SN / Completing a Task)..................................................................... 116Preparation and Customizing (CS-CM-SN / Completing a Task) ........................................................ 118Operation and Link to Application Functions (CS-CM-SN / Completing a Task)................................. 119

Processing an Outstanding Service Notification (CS-CM-SN)............................................................ 121

Technical Realization (CS-CM-SN / Outstanding Service Notification) ............................................... 122

Object Type BUS2080 (Service Notification) .................................................................................. 123

Standard Task TS00008336 (Process Outstanding Service Notification) ...................................... 124Workflow Template WS00200096 (Processing a Service Notification) .......................................... 125

Steps in a Workflow.........................................................................................................................126

Preparation and Customizing (CS-CM-SN / Outstanding Service Notification) ...................................127

Processing the Organizational Structure......................................................................................... 128

Perform Task-Specific Customizing................................................................................................129

Activate Event-Receiver Linkage............................................................................................... 130

Operation and Link to Application Functionality (PM-SMA-SC / Outstanding ServiceNotification)........................................................................................................................................... 131

Processing a Service Notification in Process (CS-CM-SN)................................................................. 132

Technical Realization (CS-CM-SN / Service Notification in Process).................................................. 133

Object Type BUS2080 (Service Notification) .................................................................................. 134

Standard Task TS00008336 (Process Service Notification)........................................................... 135Workflow Template WS00200099 (Putting a Service Notification in Process) ............................... 136

Steps in a Workflow.........................................................................................................................137

Preparation and Customizing (CS-CM-SN / Service Notification in Process)...................................... 138

Processing the Organizational Structure......................................................................................... 139

Perform Task-Specific Customizing................................................................................................140

Activate Event-Receiver Linkage............................................................................................... 141

Operation and Link to Application Functionality (PM-SMA-SC / In-process ServiceNotification)........................................................................................................................................... 142

Completing a Service Notification (CS-CM-SN)....................................................................................143

Technical Realization (CS-CM-SN / Completing a Service Notification) ............................................. 144

Object Type BUS2080 (Service Notification) .................................................................................. 145

Standard Task TS00008338 (Complete Service Notification) ........................................................ 146Workflow Template WS00200098 (Completing a Service Notification).......................................... 147

Steps in a Workflow.........................................................................................................................148

Preparation and Customizing (CS-CM-SN / Completing a Service Notification) .................................149

Processing the Organizational Structure......................................................................................... 150

Perform Task-Specific Customizing................................................................................................151

Activate Event-Receiver Linkage............................................................................................... 152

Operation and Link to Application Functionality (PM-SMA-SC / Complete Service Notification) ........ 153

Page 7: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 7/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

April 2001 7

Page 8: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 8/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

PM/CS - Plant Maintenance & Customer Service: Workflow Scenarios

8 April 2001

PM/CS - Plant Maintenance & Customer Service:Workflow Scenarios

See also:

BC - Workflow Scenarios in Applications [Ext.]

Page 9: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvfd… 9/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Maintenance Notifications (PM-WOC-MN)

April 2001 9

Maintenance Notifications (PM-WOC-MN)This workflow scenario supports you when processing maintenance notifications in the Plant Maintenance (PM) application component.

Page 10: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 10/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing of a Maintenance Notification (PM-WOC-MN)

10 April 2001

Processing of a Maintenance Notification (PM-WOC-MN)Purpose

This workflow scenario supports your business processes for maintenance processing. In thisscenario, the SAP Business Workflow component helps you to process, monitor and completenewly created maintenance notifications efficiently. This process is represented in a workflowtemplate, which triggers and controls the execution of the following standard tasks:

Notifying a person responsible (for example, the notification coordinator) that a newmaintenance notification has been created or put in process, and that tasks must be definedfor the notification

Notifying a person responsible that tasks, which must be processed, have been created for

the maintenance notificationNotifying a person responsible (for example, the notification coordinator) that all the tasks forthe maintenance notification have been completed, and the maintenance notification musteither be completed or additional tasks must be defined for the notification

SAP Business Workflow

If the appropriate system settings have been made, the SAP Business Workflow automaticallysends a work item to the person(s) or department(s) responsible and informs them that certaintasks need to be executed. The following tasks and triggering events belong to this process:

Task Triggering Event

Processing of an outstanding maintenance

notification without tasks

The person responsible is notified when a

maintenance notification has been createdmanually in the system.

Processing of a maintenance notification withoutstanding tasks

The person responsible is notified as soon asthe tasks have been created in the notificationand the notification has been saved.

Completion of a maintenance notification withcompleted tasks

The person responsible is notified as soon asthe tasks have been completed in thenotification and the notification has been saved.

Determination of the Person(s) or Department(s) Responsible

For each of the above tasks, the system notifies the following people or departments in the orderlisted below:

1. Notification coordinator

2. Department responsible (if no coordinator has been specified)

3. All the people, who are assigned to the task (if neither a coordinator, nor a department hasbeen specified)

Prerequisites

Refer to Preparation and Customizing (PM-WOC-MN) [Page 14]

Page 11: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 11/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Processing of a Maintenance Notification (PM-WOC-MN)

April 2001 11

Process Flow

Refer to Process for Workflow Template WS20000317 [Page 13]

Page 12: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 12/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (PM-WOC-MN)

12 April 2001

Technical Realization (PM-WOC-MN)The interface between the R/3 functions and the SAP Business Workflow is realized using objecttechnology. In this workflow scenario, the system processes the following objects:

Objects What You Should Know:

Task group TG20000015 The task group contains all the workflow objects, whichbelong to the workflow scenarios for maintenancenotifications.

Business object BUS2038 (maintenance notification)

A maintenance notification corresponds to business objecttype BUS2038 . A maintenance notification is identified by thenotification number (key field).

You can find the attributes, methods and events for businessobject BUS2038 in the Business Object Repository of theR/3 System.

Standard tasks:

TS20000545(process new notification)

TS20000544(notification is processed)

TS20000546(complete notification)

These are single-step tasks, which refer to an object method.This task is assigned to the people or departments that areauthorized to process the object.

Workflow templateWS20000317

This template contains the definitions of the workflow task forthis workflow scenario. You can use this workflow templateto notify the people responsible that a maintenancenotification has been created. The triggering events for thisworkflow template are CREATED and INPROCESSAGAIN .

Standard role AC00000171 This is the standard role for maintenance notifications.

The role resolution (defined in the standard role definition) isused to determine who is responsible for the processing of amaintenance notification.

Page 13: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 13/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Process for Workflow Template WS20000317

April 2001 13

Process for Workflow Template WS20000317Purpose

The workflow template for this process is started when you create a new maintenancenotification.

Process Flow

1. The system triggers one of the following events for business object BUS2038 (maintenancenotification):

CREATED (maintenance notification created)

INPROCESSAGAIN (maintenance notification in process again)

2. The triggering event starts the workflow template WS2000317 and the linked process asdescribed in the following graphic.

1

Workflowterminated

Workflowtemplate

WS20000317started

3

2

Inbox:Person responsible

for standard taskTS20000545

Send work item 

Maintenance notification: – Put in processing – Define tasks – Save notification

To do 

Remove work item 

Inbox:Person responsiblefor standard task

TS20000544Send work item 

Maintenance notification: – Execute tasks – All tasks completed

To do 

Inbox:Person responsiblefor standard task

TS20000546Send work item 

Maintenance notification:Complete notification ordefine additional tasks

To do 

Remove work item 

Remove work item 

The standard tasks in this process are valid from Release 4.6.

Page 14: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 14/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Preparation and Customizing (PM-WOC-MN)

14 April 2001

Preparation and Customizing (PM-WOC-MN)Use

The application-specific Customizing settings, which you must make to process this workflowtemplate, are described here.

Prerequisites

All the general Customizing settings, which are required for the SAP Business Workflow component to be used, have been made.

Activities

Make the following settings in Customizing:1. Set up the organizational structure and thereby determine your organizational units:

Basis Business Management SAP Business Workflow Edit Organizational Structure 

2. Assign the organizational units to the standard tasks:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Maintenance Notifications Assign Agents to Tasks 

3. Activate the link between triggering event (CREATED, INPROCESSAGAIN) and workflowtemplate WS20000317:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Maintenance Notifications Activate Event Linkage 

For step three, make sure that you activate the event linkage for the workflowtemplate and not for the standard task.

For more information, see the Implementation Guide.

Page 15: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 15/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functions (PM-WOC-MN)

April 2001 15

Operation and Link to Application Functions (PM-WOC-MN)

Use

This workflow is used to inform the people or departments responsible automatically that a seriesof tasks must be executed in the following order:

1. Processing of a newly created maintenance notification (notification status Outstanding )

2. Processing of a maintenance notification with outstanding tasks (notification status In process )

3. Completion of a maintenance notification (status of all tasks Completed )

The person(s) or department(s) responsible receive a mail (work item) in their inbox informingthem of the tasks to be performed.

Activities

System Activities

If a maintenance notification is created or put in process again, then the SAP Business Workflow automatically ensures that:

1. The workflow-triggering event CREATED or INPROCESSAGAIN is generated

2. The workflow template WS20000317 is started

3. A work item is sent to the work center for the person(s) or department(s) responsible

User Activities

As the person responsible for a work item, you have the following options:

Options What You Should Know:

Page 16: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 16/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Operation and Link to Application Functions (PM-WOC-MN)

16 April 2001

Processing a work item as a

workflow

To see the work item, choose Office Inbox . You have

the following processing options:

You can process the work item by double clicking onit. The transaction for changing a maintenancenotification appears.

You can call up another screen for the work item, toobtain an overview of outstanding and completedtasks.

You can set a work item for resubmission as areminder to process it later.

You can navigate from the maintenance notificationto the workflow log, to define who has performed

which activities.

You can receive a work item using another mailsystem client (for example, Lotus Notes™ or MSOutlook™).

Processing a maintenancenotification manually using aworklist

If you process a maintenance notification manually(outside of the workflow), all the changes to thenotification are also considered in the workflow process.

Page 17: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 17/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Completion of a Task (PM-WOC-MN)

April 2001 17

Completion of a Task (PM-WOC-MN)Purpose

In a maintenance notification, you can define one or more tasks to solve the problem recorded inthe notification. A task can refer both to the notification header and the individual notificationitems. It has a particular status.

If you create a task in a notification, the person responsible for completing the task can use theworkflow to indicate this. If no person has been specified, then the system notifies all the peoplewho are assigned to the task.

SAP Business Workflow

If the appropriate system settings have been made, the SAP Business Workflow automaticallysends a work item to the integrated inbox of the person(s) responsible. It states that a new taskhas been created in a notification. The person(s) informed can process the work item directlyfrom their inbox. The change transaction for the task is called up automatically during processing.

Prerequisites

Refer to Preparation and Customizing (PM-WOC-MN / Completing a Task) [Page 21]

Process Flow

Refer to Process for Workflow (PM-WOC-MN / Completing a Task) [Page 19]

Page 18: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 18/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (PM-WOC-MN / Completing a Task)

18 April 2001

Technical Realization (PM-WOC-MN / Completing aTask)The interface between the R/3 functions and the SAP Business Workflow is realized using objecttechnology. In this workflow scenario, the system processes the following objects:

Objects What You Should Know:

Task group TG20000015 This task group contains the standard tasks and theworkflow template required for this workflow scenario.

Object type QM/SM (task) A task corresponds to object type QMSM .

You can find the attributes, methods and events for objecttype QMSM in the Business Object Repository of the R/3System.

Standard tasks TS00008318(Complete task )

This is a single-step task, which refers to an object method.

In this standard task, a task is completed in a maintenancenotification. This task is assigned to the people ordepartments that are authorized to process the object.

Workflow template WS00200074(PM ComplTask )

This workflow template contains the definitions of theworkflow task for this workflow scenario. You can use thisworkflow template to notify the people responsible that acritical error must be processed.

The triggering event for this workflow is CREATED .

Page 19: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 19/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Process for Workflow (PM-WOC-MN / Completing a Task)

April 2001 19

Process for Workflow (PM-WOC-MN / Completing aTask)

Purpose

If a task has been created in a maintenance notification, a workflow is started based on thetemplate PM Complete Task .

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps (seegraphic). The structure is defined so that the system only has to process one of the branches.The standard task is specified in the activity.

Taskcreated

Workflowstarted

XOR

Setdeletion flag

Personresponsible

Completetask

Taskcompleted

Deletion flagset

Personresponsible

changed

Taskcompleted

Taskcompleted

Terminateworkflow

Workflowterminated

= Event

= Step

Activity = Complete task 

Waiting steps = Set deletion flag, Person responsible changed, Task completed 

Determination of Agent

To determine the agent, the system searches in the maintenance notification for the personresponsible for the tasks. If no person has been specified for this task, then the system notifies allthe people who are assigned to this standard task.

The agent is determined using a role resolution. The role (standard role for 

maintenance notification ) is defined as the default role for this task.

Page 20: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 20/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Process for Workflow (PM-WOC-MN / Completing a Task)

20 April 2001

Result of Processing and Termination of Workflow

The processing of the work item terminates the task and the entire workflow. The workflow is alsoterminated if one of the waiting steps occurs.

The terminating events Deletion flag set , Person responsible changed and Task completed can also occur outside of the workflow process.

Once the task has been processed, it obtains the status Task completed .

Page 21: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 21/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (PM-WOC-MN / Completing a Task)

April 2001 21

Preparation and Customizing (PM-WOC-MN /Completing a Task)

Use

The task-specific Customizing settings, which you must make to process this workflow template,are described here.

Prerequisites

All the general Customizing settings, which are required for the SAP Business Workflow component to be used, have been made.

ActivitiesMake the following settings in Customizing:

1. Set up the organizational structure and thereby determine your organizational units:

Basis Business Management SAP Business Workflow Edit Organizational Structure 

2. Assign the organizational units to the standard tasks:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Maintenance Notifications Assign Agents to Tasks 

3. Activate the link between triggering event (CREATED) and workflow template WS00200074:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Maintenance Notifications Activate Event Linkage 

For step three, make sure that you activate the event linkage for the workflowtemplate and not for the standard task.

For more information, see the Implementation Guide.

Page 22: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 22/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Operation/Link to Application Functions (PM-WOC-MN/Complete Task)

22 April 2001

Operation/Link to Application Functions (PM-WOC-MN/Complete Task)

Use

This workflow is used to inform all the responsible people or departments that:

A new task has been created in a maintenance notification (task status Outstanding )

The task must be processed

Activities

System Activities

If an existing maintenance notification is put in process, then the SAP Business Workflow automatically ensures that:

1. The workflow-triggering event CREATED is generated

2. The workflow template WS00200074 is started

3. A work item is sent to the work center for the person(s) or department(s) responsible

User Activities

As the person responsible for a work item, you have the following options:

Options What You Should Know:

Processing a work item as aworkflow

To see the work item, choose Office Inbox .

You have the following processing options:

You can process the work item by double clickingon it. The transaction for changing a maintenancenotification appears.

You can call up another screen for the work item, toobtain an overview of outstanding and completedtasks.

You can set a work item for resubmission as areminder to process it later.

You can navigate from the maintenance notificationto the workflow log, to define who has performedwhich activities.

You can receive a work item using another mailsystem client (for example, Lotus Notes™ or MSOutlook™).

Processing a maintenancenotification manually using a worklist

If you process a maintenance notification manually(outside of the workflow), all the changes to thenotification are also considered in the workflow process.

Page 23: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 23/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation/Link to Application Functions (PM-WOC-MN/Complete Task)

April 2001 23

Page 24: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 24/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing an Outstanding Maintenance Notification (PM-WOC-MN)

24 April 2001

Processing an Outstanding Maintenance Notification(PM-WOC-MN)

This workflow scenario is obsolete and should no longer be used. The functionsfor this scenario have been integrated into the new workflow scenario Processing ofa Maintenance Notification (PM-WOC-MN) [Page 10].

Definition

If a maintenance notification is created in the system, it initially obtains the status "Outstanding".This means that the notification is entered in the system, and is ready to be processed. To

ensure that the notification is processed, the person or department responsible is notifiedautomatically that the maintenance notification must be processed. The system informs thefollowing people or departments in the order listed below:

Coordinator of maintenance notification

Department responsible (if no coordinator has been specified)

All the people, who are assigned to the task (if neither a coordinator, nor a department hasbeen specified)

SAP Business Workflow

If a maintenance notification has been created with the status "Outstanding", a person or groupof people can be notified by workflow using the corresponding system setting. These people see

a work item in their integrated inbox, and it can be processed directly from there. The changetransaction for the maintenance notification is called up automatically during processing.

Page 25: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 25/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Technical Realization (PM-WOC-MN / Outstanding PM Notification)

April 2001 25

Technical Realization (PM-WOC-MN / Outstanding PMNotification)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2038 (Maintenance Notification) [Page 26]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS00008314 (Processing an Outstanding Maintenance Notification) [Page 27]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS00200065 (PM: Processing a Notification) [Page 28]

Page 26: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 26/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Object Type BUS2038 (Maintenance Notification)

26 April 2001

Object Type BUS2038 (Maintenance Notification)In this scenario, the system processes a business application object of the type

. This means that a maintenance notification with the status

“Outstanding notification” will be processed.

Location in object repository:

Plant Maintenance and Service Management Maintenance processing Maintenance notifications 

Page 27: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 27/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS00008314 (Process Outstanding PM Notification)

April 2001 27

Standard Task TS00008314 (Process Outstanding PMNotification)In this standard task, you process a maintenance notification that has the status “Outstandingnotification”.

Standard task:

:

Description: PM task: Process notification 

Referenced object method and attributes

Object type: (PM notification )

Method: (Change )

Attributes: Confirm end of processing 

Maintain agent assignment

All persons or organizational units assigned to this standard task can be notified.

Page 28: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 28/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Workflow Template WS00200065 (PM: Processing a Notification)

28 April 2001

Workflow Template WS00200065 (PM: Processing aNotification)If a maintenance notification is created with the status "Outstanding", a workflow is started fromthe template  .

Workflow template:

ID:  

Description: PM: Process notification 

Triggering Event for Workflow Template

The events (notification activated) and (notification created) have been

entered as the triggering event for object type (maintenance notification ).

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Workflow Container and Data Flow

The most important information that must be available during the workflow is the object referenceto the maintenance notification to be processed (), the name of the creator of the

notification () and the sort key (). This information is available as

event parameters in the container for the triggering event and must be transferred to the workflow

container “per data flow”.

In the standard system, the following data flow definition has been established between thetriggering event and workflow container:

Workflow Container Event Parameter Container

is available in the workflow container in the standard system.

The element   has been created in addition to the existing standard elements.

Page 29: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 29/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Steps in a Workflow

April 2001 29

Steps in a WorkflowIf a maintenance notification is created with the status "Outstanding", a workflow is started fromthe template  .

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps. Thestructure is defined so that the system only has to process one of the branches. The activitymakes reference to the standard task.

Determination of Agent

To determine the agent, the system searches for the person responsible in the maintenancenotification. The following two roles are defined in the maintenance notification:

Coordinator

Department responsible

The system searches first for the coordinator. If a coordinator has not been specified, it searchesfor the responsible department. If no department has been specified, then all the people, who areassigned to the task in the system, are notified.

This agent determination is based on a role resolution. The role 171 (Person 

responsible for processing the maintenance notification) is defined as the default role for thestandard task.

Role Container Task Container

 

Binding

The following binding is defined for the step "Process Maintenance Notification".

Task Container Workflow Container

 

 

Result of Processing and Termination of Workflow

The processing of the work item results in the event Maintenance notification processed . Thisevent terminates the task and the complete workflow.

After the user has processed the maintenance notification, it can either have the status "Inprocess" or "Completed".

The terminating events Deletion flag set , Maintenance notification completed ,Maintenance notification in process and All tasks completed can also occur outsideof the workflow process.

Page 30: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 30/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Steps in a Workflow

30 April 2001

Page 31: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 31/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (PM-WOC-MN / Outstanding Maintenance Notification)

April 2001 31

Preparation and Customizing (PM-WOC-MN /Outstanding Maintenance Notification)In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this workflow template.

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 32]

Performing Task-Specific Customizing [Page 33]

Activating Event-Receiver Linkage [Page 34]

Page 32: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 32/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing the Organizational Structure

32 April 2001

Processing the Organizational StructureAll persons who will be responsible for processing an outstanding maintenance notification mustbe identified in the Customizing application for the SAP Business Workflow. For this purpose, youcan either list all of the persons individually or you can assign entire organizational units (forexample, departments) to the task.

Set up your organizational structure in the Customizing application as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (forexample, organizational unit and processing period) and then select Organizational plan 

Create or Change .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to these units or positions using the availablemenu functions.

Page 33: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 33/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Perform Task-Specific Customizing

April 2001 33

Perform Task-Specific CustomizingList all organization management objects that will be authorized to process an outstandingmaintenance notification.

To assign the Plant Maintenance tasks, proceed as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Perform task-specific customizing .

4. In the overview for task customizing, select Plant Maintenance and Service Management Maintenance processing Maintenance notifications Assign tasks to agents .

5. Assign the persons who will carry out this task in your company to the standard task (PM task process notification).

Page 34: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 34/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Activate Event-Receiver Linkage

34 April 2001

Activate Event-Receiver LinkageThe events and for object type (PM notification) are the

triggering events for workflow template   As such, it is entered in the event linkage

table in the standard system. To ensure that the workflow template can be started, the linkagebetween the triggering event and the workflow template as the receiver of the event must beactivated in the development environment for the SAP Business Workflow.

To activate the workflow template  in your system, proceed as follows:

1. Call up the SAP Business Workflow from the main menu by selecting Tools Business 

Engineering Business Workflow Development .

2. Select Utilities Other tools Event linkage . The system displays a screen for viewingthe event linkage for various objects.

3. Select Goto Detail  to display the detail screen for the following object type, event andreceiver type:

 – Object type: BUS2038 

 – Event: CREATED 

 – Receiver type: WS00200065 

4. Mark the Enabled field to activate the event linkage.

(Alternatively, you can also activate the event-receiver linkage by processing the workflowtemplate directly.)

Page 35: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 35/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functionality (PM-WOC-MN / Outstanding PM Notification)

April 2001 35

Operation and Link to Application Functionality (PM-WOC-MN / Outstanding PM Notification)The following description assumes that a maintenance notification with the status “outstanding”has been created in the system and the notification has not yet been processed.

Generate event

The workflow-triggering events are generated automatically if a

maintenance notification is created without being processed.

Process outstanding maintenance notification

The person or persons responsible for this task will find a work item that represents the standardtask Process maintenance notification in their integrated inbox. Processing this work item makesit possible to put the notification “in-process”.

You can access the integrated inbox via the menu path Office Inbox .

Page 36: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 36/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing an "In Process" Maintenance Notification (PM-WOC-MN)

36 April 2001

Processing an "In Process" Maintenance Notification(PM-WOC-MN)

This workflow scenario is obsolete and should no longer be used. The functionsfor this scenario have been integrated into the new workflow scenario Processing ofa Maintenance Notification [Page 10].

Definition

You can use this workflow scenario to process maintenance notifications that have the status "Inprocess", but which have not yet been completed. For example, a certain person in an

organization may be responsible for putting all outstanding maintenance notifications in process(see Processing Outstanding Maintenance Notifications (PM-WOC-MN) [Page 24]). However,another person may actually be responsible for processing a notification.

The system informs the following people or departments in the order listed below:

Coordinator of maintenance notification

Department responsible (if no coordinator has been specified)

All the people, who are assigned to the task (if neither a coordinator, nor a department hasbeen specified)

SAP Business Workflow

If a maintenance notification obtains the status "In process", the person or group of people

responsible can be notified by SAP Business Workflow using the corresponding system setting.These people see a work item in their integrated inbox, and it can be processed directly fromthere. The change transaction for the maintenance notification is called up automatically duringprocessing.

Page 37: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 37/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Technical Realization (PM-WOC-MN / PM Notification in Process)

April 2001 37

Technical Realization (PM-WOC-MN / PM Notification inProcess)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2038 (Maintenance Notification) [Page 38]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS00008314 (Processing a Notification) [Page 39]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS00200065 (PM: Putting a Notification in Process) [Page 40]

Page 38: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 38/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Object Type BUS2038 (PM Notification)

38 April 2001

Object Type BUS2038 (PM Notification)In this scenario, the system processes a business application object of the type  

This means that a maintenance notification with the status “Notification in

process” will be edited.

Location in object repository:

Plant Maintenance and Service Management Maintenance Processing Maintenance Notifications 

Page 39: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 39/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS00008314 (PM Task Process Notification)

April 2001 39

Standard Task TS00008314 (PM Task ProcessNotification)In this standard task, you process a maintenance notification that has the status “Notification inprocess.”

Standard task:

ID:

Description: PM task process notification 

Referenced object method and attributes

Object type: (PM notification )

Method: (Change )

Attributes: Confirm end of processing 

Maintain agent assignment

All persons or organizational units assigned to this standard task can be notified.

Page 40: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 40/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Workflow Template WS00200095 (PM: Putting a Notification in Process)

40 April 2001

Workflow Template WS00200095 (PM: Putting aNotification in Process)If a maintenance notification is created with the status "In process", a workflow is started from thetemplate .

Workflow template:

ID:

Description: PM: Put notification in process 

Triggering Event for Workflow Template

The event (notification in process) for object type (maintenance 

notification ) has been entered as the triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Workflow Container and Data Flow

The most important information that must be available during the workflow is the object referenceto the maintenance notification to be processed (), the name of the creator of the

notification () and the sort key (). This information is available as

event parameters in the container for the triggering event and must be transferred to the workflow

container “per data flow”.

In the standard system, the following data flow definition has been established between thetriggering event and workflow container:

Workflow Container Event Parameter Container

The element is available in the workflow container in the standard system. The

element   has been created in addition to the existing standard elements.

Page 41: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 41/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Steps in a Workflow

April 2001 41

Steps in a WorkflowIf a maintenance notification receives the status “Notification in process,” a workflow based onthe template is started.

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps. Thestructure is defined in such a way that the system processes only one of the branches. Theactivity makes reference to the standard task.

Determination of Agent

To identify the agent, the system searches for the person responsible in the maintenancenotification. The following two partner functions are defined in the maintenance notification:

Coordinator

Department responsible

The system first searches for the coordinator. If a coordinator is not specified, the system thensearches for the responsible department. If a responsible department cannot be found, then allpersons in the system assigned to this task will be notified.

The system identifies the agent on the basis of a role resolution. The role

(Person responsible for processing the PM notification ) is defined as the default role for thisstandard task.

Role container Task container

 

Binding

The following binding is defined for the step “Process PM notification”.

Task container Workflow container

 

 

Result of Processing and Termination of Workflow

The processing of the work item results in the event Maintenance notification processed . Thisevent terminates the task and the entire workflow.

After the user has processed the maintenance notification, it will have the status “Notificationcompleted”.

The terminating events Deletion flag set, Maintenance notification completed, All tasks completed can also occur outside of the workflow process.

Page 42: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 42/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Preparation and Customizing (PM-WOC-MN / Maintenance Notification in Process)

42 April 2001

Preparation and Customizing (PM-WOC-MN /Maintenance Notification in Process)In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this workflow template.

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 43]

Performing Task-Specific Customizing [Page 44]

Activating Event-Receiver Linkage [Page 45]

Page 43: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 43/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Processing the Organizational Structure

April 2001 43

Processing the Organizational StructureAll persons who will be responsible for processing maintenance notifications that have the status“Notification in process” must be identified in the Customizing application for the SAP BusinessWorkflow. For this purpose, you can either list all of the persons individually or you can assignentire organizational units (for example, departments) to the task.

Set up your organizational structure in the Customizing application as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (forexample, organizational unit and processing period) and then select Organizational plan 

Create or Change .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to these units or positions using the availablemenu functions.

Page 44: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 44/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Perform Task-Specific Customizing

44 April 2001

Perform Task-Specific CustomizingList all organization management objects that will be authorized to process an maintenancenotification with the status “in process”.

To assign the Plant Maintenance tasks, proceed as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Perform task-specific customizing .

4. In the overview for task customizing, select Plant Maintenance and Service Management Maintenance processing Maintenance notifications Assign tasks to agents .

5. Assign the persons who will carry out this task in your company to the standard task.

Page 45: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 45/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Activate Event-Receiver Linkage

April 2001 45

Activate Event-Receiver LinkageThe event (notification in process) for object type (maintenance

notification) is the triggering event for workflow template   As such, it is entered in

the event linkage table in the standard system. To ensure that the workflow template can bestarted, the linkage between the triggering event and the workflow template as the receiver of theevent must be activated in the development environment for the SAP Business Workflow.

To activate the workflow template in your system,

proceed as follows:

1. Call up the SAP Business Workflow from the main menu by selecting Tools Business 

Engineering Business Workflow Development .

2. Select Utilities Other tools Event linkage . The system displays a screen for viewing

the event linkage for various objects.

3. Select Goto Detail  to display the detail screen for the following object type, event andreceiver type:

 – Object type: BUS2038 

 – Event: CREATED 

 – Receiver type: WS00200095 

4. Mark the Enabled field to activate the event linkage.

(Alternatively, you can also activate the event-receiver linkage by processing the workflowtemplate directly.)

Page 46: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 46/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Operation and Link to Application Functionality (PM-WOC-MN / In-process PM notification)

46 April 2001

Operation and Link to Application Functionality (PM-WOC-MN / In-process PM notification)The following description assumes that a maintenance notification has been set to the status“Notification in process.”

Generate event

The workflow-triggering event are generated automatically if a maintenance

notification is put “in-process.”

Edit “in-process” maintenance notification

The person or persons responsible for this task will find a work item that represents the standardtask Edit in-process maintenance notification in their integrated inbox. Processing this work itemmakes it possible to complete the notification.

You can access the integrated inbox via the menu path Office Inbox .

Page 47: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 47/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Completing a Maintenance Notification (PM-WOC-MN)

April 2001 47

Completing a Maintenance Notification (PM-WOC-MN)

This workflow scenario is obsolete and should no longer be used. The functionsfor this scenario have been integrated into the new workflow scenario Processing ofa Maintenance Notification [Page 10].

Definition

If a maintenance notification contains one or more tasks, and all of these tasks have beencompleted, the maintenance notification obtains the status "All tasks completed". When thisstatus is set, the system automatically informs the coordinator of the maintenance notification(specified in the notification header) that one of the following processing steps must be executed:

Complete the maintenance notification (if all the other notification processing steps havebeen completed)

Define additional tasks (if, for example, the problem has not been resolved)

SAP Business Workflow

If a maintenance notification obtains the status "All tasks completed", the person or group ofpeople responsible can be notified by SAP Business Workflow using the corresponding systemsetting. These people see a work item in their integrated inbox, and it can be processed directlyfrom there. The change transaction for the maintenance notification is called up automaticallyduring processing.

Page 48: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 48/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (PM-WOC-MN / Completing PM Notification)

48 April 2001

Technical Realization (PM-WOC-MN / Completing PMNotification)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2038 (Maintenance Notification) [Page 49]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS00008316 (PM: Completing a Notification) [Page 50]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS00200075 (PM: Completing a Notification) [Page 51]

Page 49: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 49/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Object Type BUS2038 (Maintenance Notification)

April 2001 49

Object Type BUS2038 (Maintenance Notification)In this scenario, the system processes a business application object of the type

This means that a maintenance notification will be

completed.

Location in object repository:

Plant Maintenance and Service Management Maintenance Processing Maintenance Notifications 

Page 50: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 50/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS00008316 (Complete)

50 April 2001

Standard Task TS00008316 (Complete)In this standard task, you complete a maintenance notification.

Standard task:

ID:

Description: PM task: Complete notification 

Referenced object method and attributes

Object type: (maintenance notification )

Method: (Change )

Attributes: Confirm end of processing 

Maintain agent assignment

All persons or organizational units assigned to this standard task can be notified.

Page 51: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 51/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Workflow Template WS00200075 (PM: Completing a Notification)

April 2001 51

Workflow Template WS00200075 (PM: Completing aNotification)If all the tasks for a maintenance notification have been completed, a workflow is started from thetemplate .

Workflow template:

ID:

Description: PM: Complete notification 

Triggering Event for Workflow Template

The event (all tasks completed) for object type (maintenance 

notification ) has been entered as the triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Workflow Container and Data Flow

The most important information that must be available during the workflow is the object referenceto the maintenance notification to be processed (), the name of the creator of the

notification () and the sort key (). This information is available as

event parameters in the container for the triggering event and must be transferred to the workflow

container “per data flow”.

In the standard system, the following data flow definition has been established between thetriggering event and workflow container:

Workflow Container Event Parameter Container

The element is available in the workflow container in the standard system. The

element   has been created in addition to the existing standard elements.

Page 52: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 52/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Steps in a Workflow

52 April 2001

Steps in a WorkflowIf all the tasks in a maintenance notification have been completed, a workflow is started from thetemplate .

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps. Thestructure is defined so that the system only has to process one of the branches. The activitymakes reference to the standard task.

Determination of Agent

To determine the agent, the system searches for the person responsible in the maintenancenotification. The following two roles are defined in the maintenance notification:

Coordinator

Department responsible

The system searches first for the coordinator. If a coordinator has not been specified, it searchesfor the responsible department. If no department has been specified, then all the people, who areassigned to the task in the system, are notified.

This agent determination is based on a role resolution. The role 171 (Person 

responsible for processing the maintenance notification) is defined as the default role for thestandard task.

Role Container Task Container

 

Binding

The following binding is defined for the step "Complete Maintenance Notification".

Task Container Workflow Container

 

 

Result of Processing and Termination of Workflow

The processing of the work item results in the event Maintenance notification processed . Thisevent terminates the task and the complete workflow.

After the user has processed the maintenance notification, it has the status "Completed".

The terminating events Maintenance notification completed , Maintenance notification in process again and Deletion flag set can also occur outside of the workflowprocess.

Page 53: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 53/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (PM-WOC-MN / Completing a Maintenance Notification)

April 2001 53

Preparation and Customizing (PM-WOC-MN /Completing a Maintenance Notification)In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this workflow template.

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 54]

Performing Task-Specific Customizing [Page 55]

Activating Event-Receiver Linkage [Page 56]

Page 54: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 54/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing the Organizational Structure

54 April 2001

Processing the Organizational StructureAll persons who will be responsible for completing a maintenance notification must be identifiedin the Customizing application for the SAP Business Workflow. For this purpose, you can eitherlist all of the persons individually or you can assign entire organizational units (for example,departments) to the task.

Set up your organizational structure in the Customizing application as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (forexample, organizational unit and processing period) and then select Organizational plan 

Create or Change .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to these units or positions using the availablemenu functions.

Page 55: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 55/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Perform Task-Specific Customizing

April 2001 55

Perform Task-Specific CustomizingList all organization management objects that will be authorized to process an outstanding task ina maintenance notification.

To assign the Plant Maintenance tasks, proceed as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Perform task-specific customizing .

4. In the overview for task customizing, select Plant Maintenance Maintenance notifications Assign tasks to agents .

5. Assign the persons who will carry out this task in your company to the standard task.

Page 56: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 56/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Activate Event-Receiver Linkage

56 April 2001

Activate Event-Receiver LinkageThe event (all tasks completed) for object type (maintenance

notification) is the triggering event for workflow template As such, it is entered in

the event linkage table in the standard system. To ensure that the workflow template can bestarted, the linkage between the triggering event and the workflow template as the receiver of theevent must be activated in the development environment for the SAP Business Workflow.

To activate the workflow template in your system, proceed as

follows:

1. Call up the SAP Business Workflow from the main menu by selecting Tools Business 

Engineering Business Workflow Development .

2. Select Utilities Other tools Event linkage . The system displays a screen for viewing

the event linkage for various objects.

3. Select Goto Detail  to display the detail screen for the following object type, event andreceiver type:

 – Object type: BUS2038 

 – Event: ALLTASKSCOMPLETED 

 – Receiver type: WS00200075 

4. Mark the Enabled field to activate the event linkage.

(Alternatively, you can also activate the event-receiver linkage by processing the workflowtemplate directly.)

Page 57: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 57/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functionality (PM-WOC-MN / Complete PM Notification)

April 2001 57

Operation and Link to Application Functionality (PM-WOC-MN / Complete PM Notification)The following description assumes that all tasks in a maintenance notification have beencompleted.

Generate event

The workflow-triggering event is generated automatically if all tasks in a

maintenance notification have been completed.

Complete maintenance notification

The person or persons assigned to this task will find a work item that represents the standardtask Complete maintenance notification in their integrated inbox. Processing this work itemmakes it possible to complete and possibly archive the quality notification.

You can access the integrated inbox via the menu path Office Inbox .

Page 58: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 58/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Maintenance and Service Orders (PM-WOC-MO / CS-SE)

58 April 2001

Maintenance and Service Orders (PM-WOC-MO / CS-SE)These workflow scenarios support you when processing maintenance and service orders.

Page 59: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 59/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Purchase Order Change (PM-WOC-MO / CS-SE)

April 2001 59

Purchase Order Change (PM-WOC-MO / CS-SE)Purpose

The workflow is used to notify employees in purchasing of all the changes to order data, whichresult in purchase order requisitions being changed automatically. Where the purchaserequisitions have been changed automatically, the purchase orders must also be changed.

The following changes in the order result from changes to the purchase requisitions:

The requirement quantity of an external material or external service has been changed.

The requirement date of an external material or external service has been changed.

An external material item or an external service operation has been deleted.

An external service operation has been changed in an internally processed operation.

The order has been technically completed; that is, the external material or external service isno longer required.

Purchase orders have already been created.

The employee notified can check the purchase orders and purchase requisitions concerned.They can also change purchase orders manually or create new purchase orders.

Process Flow

If plans are made in an order to procure external material or an external service, a purchaserequisition is generated by the system for this. This is processed by the employee responsiblefrom the purchasing department. Then one or more purchase orders are created. It is noted inthe order that a purchase order has been created.

If changes in an order occur to the material/services ordered (for example, if dates or quantitieschange) owing to planning and execution of work, the system automatically amends thepurchase requisition.

Since in this case, the existing purchase order must be changed, the person or departmentresponsible is informed automatically through the workflow that the purchase order for the orderneeds to be processed. The system sends a work item to the integrated inbox of all the people,who are assigned to the task in the system.

It can be processed directly from the inbox.

For more information, see Operation & Link to Application Functions (PM-WOC-MO) [Page 65].

The graphic shows the workflow with all the employees involved:

Page 60: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 60/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Purchase Order Change (PM-WOC-MO / CS-SE)

60 April 2001

PurchaserService technician / 

maintenance engineer

Change order

Automaticchange topurchaserequisition

Check purchase requisitions withreference to external material and

servicesCheck purchase orders with

reference to external material andservices

Change purchase order if required

Create new purchase order ifrequired

Page 61: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 61/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Technical Realization (PM-WOC-MO / CS-SE)

April 2001 61

Technical Realization (PM-WOC-MO / CS-SE)The interface between the SAP functions and the SAP business scenario is realized using objecttechnology. In this workflow scenario, the system processes the following objects:

Workflow Elements What You Should Know:

Object types:

BUS2007 (maintenance order)

BUS2088 (service order)

T024 (purchasing group)

Both the maintenance order and service orderare identified using the order number.

You can find the object types in the Business 

Object Browser (Tools ABAP Workbench 

Overview) by choosing Plant maintenance 

Maintenance processing Maintenance orders or by choosing Materials management 

Purchasing .

Standard tasks:

TS20000650 (purchase order change formaintenance order)

TS20000652 (purchase order change forservice order)

The tasks are assigned to the employees ordepartments that are authorized to process theobjects.

Methods:

DisplayPurchaseOrderChange

DisplayPurchaseOrderChange runssynchronously and in a dialog.

Event PurchaseOrderChange This event is the triggering event for standardtasks TS20000650 and TS20000652. Itsparameters are PurchasingGroup and TodoList(internal table with the changed materials andservices).

Standard role:

00900010 (purchasing group)

The definition of the standard role determineswho is responsible for processing a purchaseorder change. If no users are linked to thepurchasing group using OrganizationalManagement, all the agents assigned to thestandard task (TS2000650 or TS2000652)receive a work item.

The following data flow is defined between the event PurchaseOrderChange and the taskTS20000650 or TS20000652:

Task Container Event Parameter Container

Order  _Evt_Object 

Start date  _Evt_Creation_Date 

Start time  _Evt_Creation_Time 

Trigger  _Evt  _ Creator 

Page 62: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 62/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (PM-WOC-MO / CS-SE)

62 April 2001

Simple to do list TodoList 

Purchasing group PurchasingGroup 

Page 63: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 63/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (PM-WOC-MO / CS-SE Purchase Order Change)

April 2001 63

Preparation and Customizing (PM-WOC-MO / CS-SEPurchase Order Change)

Prerequisites

All the general Customizing settings for the SAP Business Workflow component have beenmade.

Use

In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps (standard task TS20000650 or TS20000652) are required forthis workflow template.

For more information, see the Customizing documentation in Setting Up Workflow for Orders[Ext.].

Alternatively, you can also set up some assignments using the SAP menu.

Maintaining Agent Assignment

Assign the users or organizational units that should process the task in your company to thestandard task TS20000650 or TS20000652.

1. Choose Tools Business Workflow Development Definition tools Tasks/task 

groups Change.

2. Enter the standard task 20000650 or 20000652.

3. Choose Additional data Agent assignment Maintain .4. Choose Create agent assignment .

Linking the Purchaser to Organizational Management

If you do not want all possible agents assigned to standard task TS20000650 or TS2000652 toreceive a work item, just the purchaser responsible, then link the purchaser to the SAPOrganizational Management.

1. Choose Tools ABAP Workbench Development Workflow Definition tools 

Organizational management SAP organizational objects Create assignments .

2. Enter the organizational object type T024 and assign the required organizational unit to it.

Activating Event LinkageThe event PurchaseOrderChange for object type BUS2007 or BUS2088 is the triggering eventfor standard task TS20000650 or TS20000652. To start the standard task, the event l inkagemust be activated.

1. Choose Tools Business Workflow Development Definition tools Tasks/task 

groups Display .

2. Enter the standard task 20000650 or 20000652 and choose Display .

3. On the Triggering events tab page, click on the color symbol to activate the assignment.

Page 64: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 64/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Preparation and Customizing (PM-WOC-MO / CS-SE Purchase Order Change)

64 April 2001

Maintaining Order Type-Based Parameters

In Customizing, you must define for each order type and plant whether the standard taskTS20000650 or TS20000652 should be started.

1. Choose Plant Maintenance and Customer Service Maintenance and Service Processing 

Maintenance and Service Orders Functions and Settings for Order Types Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval .

2. Set the indicator Workflow for purchase order change .

Page 65: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 65/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation & Link to Application Functions (PM-WOC-MO / CS-SE Purchase Order Change)

April 2001 65

Operation & Link to Application Functions (PM-WOC-MO/ CS-SE Purchase Order Change)

Use

When you execute a work item for the standard task TS20000650 or TS20000650, you see asplit screen:

On the left side of the screen, there is an overview list with the materials or services. Behind eachmaterial or service is a checkbox. You can use this checkbox to indicate which materials orservices you have already processed.

If a red LED appears before a material or service, this means that a new work item has beengenerated for this material or service after the present work item was generated.

By double clicking on a material or service in the overview list, you can display the detail data onthe right side of the screen.

You have the option of processing the existing purchase orders for creating new purchaseorders. After you have created a new purchase order, this does not appear immediately in thetable with the other purchase orders already created. The purchase order must first be updatedin the database. After the update, you can display the purchase order in the following ways:

Press the Refresh pushbutton

Double click on the material or service in the overview list

You can stop processing the work item at any time using Cancel , Back or Exit , and resume at alater date. If you choose Complete workflow , the workflow is terminated.

Page 66: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 66/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Notifying the Order Creator(PM-WOC-MO)

66 April 2001

Notifying the Order Creator(PM-WOC-MO)Purpose

You use this workflow if you want the creator of a maintenance order to be notified when themaintenance order is opened or released, or when final confirmation, technical completion, orbusiness completion is performed for it. By using this workflow, the author is always able to:

See in which phase of processing the orders that he created are in, by looking in hisintegrated inbox

Branch immediately into the corresponding orders

This scenario has been implemented in the standard system for the application component Plant Maintenance (PM). You can also use it for the component Service Management (SM). To do this,

you can copy this scenario and change the check for maintenance orders into a check for serviceorders.

Prerequisites

You can only implement this workflow if you use maintenance or service orders in your system.

To be able to use the workflow successfully, you must have made all the necessary settings for itin your R/3 System.

Process Flow

1. The order creator creates an order.

2. The creator of the order will be notified via workflow in the following circumstances:

 – Order release

 – Final confirmation of the order

 – Technical completion of the order

 – Business completion of the order

3. In these circumstances, the order creator sees a work item in his integrated inbox, thatcan be processed directly from the inbox.

4. When the order creator processes the work item, the change transaction for the order iscalled up automatically.

5. The work item is terminated when the maintenance order enters the next processing

phase.

Page 67: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 67/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Technical Realization (PM-WOC-MO / Notification of the Order Creator)

April 2001 67

Technical Realization (PM-WOC-MO / Notification of theOrder Creator)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2007 (Maintenance Order) [Page 83]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS20000004 (PMO Order Created) [Page 69]

Standard Task TS20000005 (PMO Order Released) [Page 70]

Standard Task TS20000006 (PMO Order Completely Confirmed) [Page 71]

Standard Task TS20000007 (PMO Order Technically Completed) [Page 72]

Standard Task TS20000031 (PMO Order Completed for Business) [Page 73]

Page 68: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 68/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Object Type BUS2007 (Maintenance Order)

68 April 2001

Object Type BUS2007 (Maintenance Order)In this scenario, a business application object of type BUS2007 (maintenance order ) isprocessed. This means that a maintenance order is created.

Location in object repository:

Plant Maintenance and Service Management 

Page 69: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 69/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS20000004 (PMO Order Created)

April 2001 69

Standard Task TS20000004 (PMO Order Created)In this standard task, a maintenance order is changed.

Standard task: TS20000004

Abbreviation:

Task name: PMO order created 

Referenced Object Method and Attributes

Object type: (Maintenance order)

Method: (edit)

Maintain Agent AssignmentAll persons or organizational units assigned to this standard task can be notified.

Page 70: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 70/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS20000005 (PMO Order Released)

70 April 2001

Standard Task TS20000005 (PMO Order Released)In this standard task, a maintenance order is changed.

Standard task: TS20000005

Abbreviation:

Task name: PMO order released 

Referenced Object Method and Attributes

Object type: (Maintenance order)

Method: (edit)

Maintain Agent AssignmentAll persons or organizational units assigned to this standard task can be notified.

Page 71: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 71/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS20000006 (PMO Order Completely Confirmed)

April 2001 71

Standard Task TS20000006 (PMO Order CompletelyConfirmed)In this standard task, a maintenance order is changed.

Standard task: TS20000006

Abbreviation:

Task name: PMO order completely confirmed 

Referenced Object Method and Attributes

Object type: (Maintenance order)

Method: (edit)

Maintain Agent Assignment

All persons or organizational units assigned to this standard task can be notified.

Page 72: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 72/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS20000007 (PMO Order Technically Completed)

72 April 2001

Standard Task TS20000007 (PMO Order TechnicallyCompleted)In this standard task, a maintenance order is changed.

Standard task: TS20000007

Abbreviation:

Task name: PMO order technically completed 

Referenced Object Method and Attributes

Object type: (Maintenance order)

Method: (edit)

Maintain Agent Assignment

All persons or organizational units assigned to this standard task can be notified.

Page 73: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 73/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS20000031 (Business Completion for PMO Order)

April 2001 73

Standard Task TS20000031 (Business Completion forPMO Order)In this standard task, a maintenance order is changed.

Standard task: TS20000031

Abbreviation:

Task name: Business completion for PMO order 

Referenced Object Method and Attributes

Object type: (Maintenance order)

Method: (display)

Maintain Agent Assignment

All persons or organizational units assigned to this standard task can be notified.

Page 74: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 74/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Workflow Template WS20000021 (PMO Author)

74 April 2001

Workflow Template WS20000021 (PMO Author)When a maintenance order is created, a workflow is started by the PMO author template.

Workflow template: WS20000021

ID:

Description: PM author 

Triggering Event for Workflow Template

The event for object type (maintenance order ) has been entered as the

triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Page 75: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 75/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Scenario Procedure

April 2001 75

Scenario ProcedureThis workflow template enables the creators of maintenance orders to track in which phase ofprocessing their maintenance orders are.

1. When the order is created, the standard task TS20000004 is started by an event. Thisevent starts work item X. When the order is released, the work item X is terminated, as ithas the release as a terminating event.

2. Now, the standard task is started by the event PMO order released . This

task starts work item Y. The maintenance order is now processed, and final confirmationhas been performed. Now work item Y is terminated, as it has the final confirmation as aterminating event.

3. Now, the standard task is started by the event PMO order completely 

confirmed . This task starts work item Z. The maintenance order is now technicallycomplete. Now work item Z is terminated, as it has the technical completion as aterminating event.

4. Now, the standard task is started by the event PMO order technically 

completed . This task starts work item Q. Business completion has now been performedfor the maintenance order. Now work item Q is terminated, as it has the businesscompletion as a terminating event.

5. Now, the standard task is started by the event Business completion for 

PMO order . This task starts work item R. To complete this work item (mail in integratedinbox), the work item R must be terminated manually.

Page 76: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 76/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Preparation and Customizing (PM-WOC-MO / Notification of Order Creator)

76 April 2001

Preparation and Customizing (PM-WOC-MO /Notification of Order Creator)

Use

In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this standard task.

Features

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 77]

Performing Task-Specific Customizing [Page 78]

Activating Event-Receiver Linkage [Page 79]

Page 77: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 77/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Processing the Organizational Structure

April 2001 77

Processing the Organizational StructureAll persons who are responsible for processing an order in a particular phase, must be identifiedin the Customizing application for the SAP Business Workflow. For this purpose, you can eitherlist all the persons individually, or you can assign entire organizational units (for example,departments) to the task.

Set up your organizational structure in the Customizing application as follows:

1. From the main menu, select Tools Business Engineer Customizing .The system displays the initial screen for the Customizing application.

2. Choose Implement. projects SAP Reference IMG .The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (for

example, organizational unit and processing period). Then choose Organizational plan <Create/Change> .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to the appropriate units or positions using theavailable menu functions.

Page 78: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 78/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Performing Task-Specific Customizing

78 April 2001

Performing Task-Specific CustomizingList all organization management objects that will be authorized to process an order.

To assign the Plant Maintenance tasks, proceed as follows:

1. From the main menu, select Tools Business Engineer Customizing .The system displays the initial screen for the Customizing application.

2. Choose Implement. projects SAP Reference IMG .The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Perform task-specific Customizing .

4. In the screen for task-specific customizing, choose Plant Maintenance Maintenance 

Order Management Maintenance Orders Assign tasks to agent .

5. Assign the person or persons who will perform the respective tasks in your company tothe standard tasks to and

Page 79: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 79/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Activating Event-Receiver Linkage

April 2001 79

Activating Event-Receiver LinkageThe event for object type (maintenance order ) is the triggering event for the

workflow template   (PMO author ) and is entered as such in the event linkage table

in the standard system. To ensure that the workflow is started, the linkage between the triggeringevent and the standard task as the receiver of the event must be activated in the developmentenvironment for the SAP Business Workflow.

To activate the linkage in your system, proceed as follows:

1. From the initial menu, choose Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. Choose Implementation projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .

3. In the structural display, choose Basis Business Management SAP Business 

Workflow Perform task-specific Customizing .

4. On the screen for task-specific Customizing, choose Plant Maintenance and Customer 

Service Maintenance Processing Maintenance Orders Activate Event Linkage .

5. Activate the event linkage for workflow template   (PMO author ).

Page 80: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 80/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the OrderCreator)

80 April 2001

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Order Creator)

Create event

The standard task is started by an event when the order enters a new processing phase.

Process order

The person or persons responsible for this standard task will find a work item that represents theOrder phase change in their integrated inbox. Executing this work item makes it possible toprocess the order.

You can access the integrated inbox via the menu path Office Inbox .

Page 81: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 81/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Notifying the Employee Responsible (PM-WOC-MO)

April 2001 81

Notifying the Employee Responsible (PM-WOC-MO)Purpose

You use this workflow if you want the maintenance planner (PM planner for short) to be notifiedwhen an order is created and needs to be released. By using this workflow, he sees a work itemin his integrated inbox, that he can process directly from the inbox. When the work item isprocessed, the change transaction for the order is automatically called up.

This scenario has been implemented in the standard system for the application component Plant Maintenance (PM). You can also use it for the component Service Management (SM). To do this,you can copy this scenario and change the check for maintenance orders into a check for serviceorders.

PrerequisitesYou can only implement this workflow if you use maintenance or service orders in your system.

To be able to use the workflow successfully, you must have made all the necessary settings for itin your R/3 System.

Process Flow

1. The order creator creates an order.

2. The maintenance planner is notified that the order needs to be released. In thesecircumstances, he sees a work item in his integrated inbox, that he can process directlyfrom the inbox.

3. When the maintenance planner processes the work item, the change transaction for theorder is called up automatically.

4. The work item is terminated when the maintenance order is released or if it is notexecuted.

Page 82: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 82/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (PM-WOC-MO / Notification of the Employee Responsible)

82 April 2001

Technical Realization (PM-WOC-MO / Notification of theEmployee Responsible)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2007 (Maintenance Order) [Page 83]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS20000064 (PMO Order to be Released by Maintenance Planner) [Page 84]

Page 83: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 83/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Object Type BUS2007 (Maintenance Order)

April 2001 83

Object Type BUS2007 (Maintenance Order)In this scenario, a business application object of type BUS2007 (maintenance order ) isprocessed. This means that a maintenance order is created.

Location in object repository:

Plant Maintenance and Service Management 

Page 84: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 84/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS20000064 (PMO Order is Released by PM Planner)

84 April 2001

Standard Task TS20000064 (PMO Order is Released byPM Planner)In this standard task, a maintenance order is changed.

Standard task: TS20000064

Abbreviation: PMO PMPlannr

Task name: PMO order is released by PM Planner 

Referenced Object Method and Attributes

Object type: BUS2007 (Maintenance order)

Method: edit (edit)

Maintain Agent Assignment

All persons or organizational units assigned to this standard task can be notified.

Page 85: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 85/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Workflow Template WS20000014 (PM: PMO Maintenance Planner)

April 2001 85

Workflow Template WS20000014 (PM: PMO MaintenancePlanner)When a maintenance order is created, a workflow is started by the PMO maintenance plannertemplate.

Workflow template: WS20000014

ID:

Description: PMO maintenance planner 

Triggering Event for Workflow Template

The event for object type (maintenance order ) has been entered as the

triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Page 86: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 86/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Scenario Procedure

86 April 2001

Scenario ProcedureWhen the order is created, the standard task TS20000064 is started by an event.

After the user has released the maintenance order, a terminating event is triggered.

With this, the work item is terminated and no longer appears in the integrated inbox of theemployee responsible.

Page 87: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 87/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (PM-WOC-MO / Notification of Employees Responsible)

April 2001 87

Preparation and Customizing (PM-WOC-MO /Notification of Employees Responsible)

Use

In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this standard task.

Features

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 88]

Performing Task-Specific Customizing [Page 89]

Activating Event-Receiver Linkage [Page 90]

Page 88: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 88/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing the Organizational Structure

88 April 2001

Processing the Organizational StructureAll persons who are responsible for processing an order in a particular phase, must be identifiedin the Customizing application for the SAP Business Workflow. For this purpose, you can eitherlist all the persons individually, or you can assign entire organizational units (for example,departments) to the task.

Set up your organizational structure in the Customizing application as follows:

1. From the main menu, select Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (for

example, organizational unit and processing period). Then choose Organizational plan <Create/Change> .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to the appropriate units or positions using theavailable menu functions.

Page 89: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 89/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Performing Task-Specific Customizing

April 2001 89

Performing Task-Specific CustomizingList all organization management objects that will be authorized to process an order.

To assign the Plant Maintenance tasks, proceed as follows:

1. From the main menu, select Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Perform task-specific Customizing .

4. In the screen for task-specific customizing, choose Plant Maintenance Maintenance Order Management Maintenance Orders Assign tasks to agent .

5. Assign the person or persons who will perform this task in your company to the standardtask TS20000014 (PMO operation created).

Page 90: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 90/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Activate Event-Receiver Linkage

90 April 2001

Activate Event-Receiver LinkageThe event created for the object type BUS2007 (maintenance order) is the triggering event forthe workflow template WS20000014 and is entered in the event linkage table in the standardsystem as such. To ensure that the workflow can be started, the linkage between the triggeringevent and the standard task as the receiver of the event must be activated in the developmentenvironment for the SAP Business Workflow.

To activate the linkage in your system, proceed as follows:

1. From the main menu, select Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Perform task-specific Customizing .

4. In the screen for task-specific customizing, choose Plant Maintenance Maintenance 

Order Management Maintenance Orders Activate event linking .

5. Activate the event linkage for the workflow template WS20000014 (PMO maintenance planner ).

Page 91: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 91/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Employee Responsible)

April 2001 91

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Employee Responsible)

Create event

The standard task is started by an event when an order is created.

Process order

The person or persons responsible for this standard task will find a work item that represents theCreation of order in their integrated inbox. Executing this work item makes it possible to processthe order.

You can access the integrated inbox via the menu path Office Inbox .

Page 92: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 92/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Notifying the Work Centers Involved (PM-WOC-MO)

92 April 2001

Notifying the Work Centers Involved (PM-WOC-MO)Purpose

You use this workflow if you want the work centers that are involved in the processing of an orderto be notified when their operations are released, partially confirmed, or completely confirmed. Byusing the workflow functionality, the person or persons who are assigned to the work centersinvolved, see a work item in their integrated inbox. They can process the work item directly fromtheir inbox. When the work item is processed, the display transaction for the order isautomatically called up for the order or completion confirmation.

This scenario has been implemented in the standard system for the application component Plant Maintenance (PM). You can also use it for the component Service Management (SM). To do this,you can copy this scenario and change the check for maintenance orders into a check for service

orders.

Prerequisites

You can only implement this workflow if you use maintenance or service orders in your system.

To be able to use the workflow successfully, you must have made all the necessary settings for itin your R/3 System.

Process Flow

1. The order creator creates an order and plans the work to be executed by assigning theindividual operations to specific work centers.

2. The maintenance planner releases the order.

The person or persons assigned to the work centers responsible for the releasedoperations then find a work item “PM operation was released” for each relevant operationin their integrated inbox.

3. Those employees responsible process the work items directly from their inbox. Thedisplay transaction for the order is called up automatically when doing this.

The work item “PM operation was released” is terminated when the operation is partiallyor completely confirmed.

4. When partial completion of an operation is performed, the employees of the work centerinvolved receive the work item “PM operation partially confirmed”. This work item canalso be processed directly from the inbox by the employees assigned to the work centerinvolved. The display transaction for the order is called up automatically when doing this.

The work item “PM operation was partially confirmed” is terminated when the operation iscompletely confirmed.

5. When final completion of an operation is performed, the employees of the work centerinvolved receive the work item “PM operation completely confirmed”. This work item canalso be processed directly from the inbox. The display transaction for the completionconfirmations is called up automatically when doing this.

After displaying the completion confirmations, the processor specifies whetherprocessing has been finished. If so, the system deletes the work item “PM operationcompletely confirmed”.

Page 93: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 93/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Notifying the Work Centers Involved (PM-WOC-MO)

April 2001 93

If you want to implement this workflow as described above, you must ensure that thework centers entered for the operations are not changed after the order is released.When the work center is changed, the system continues sending the work items tothe person or persons assigned to the work centers that were originally entered.

Page 94: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 94/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (PM-WOC-MO / Notification of Work Centers Involved)

94 April 2001

Technical Realization (PM-WOC-MO / Notification ofWork Centers Involved)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type AFVC_PM (Maintenance Order Operation) [Page 95]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS20000015 (PMO Operation Released) [Page 96]

Standard Task TS20000016 (PMO Operation Completely Confirmed) [Page 98]

Standard Task TS20000056 (PMO Operation Partially Confirmed) [Page 97]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS20000031 (PMO Operation) [Page 99]

Page 95: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 95/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Object Type AFVC_PM (Maintenance Order Operation)

April 2001 95

Object Type AFVC_PM (Maintenance Order Operation)In this scenario, the system processes a business application object of the type AFVC_PM(Maintenance order operation) . This means that the operation of a maintenance order isreleased/partially confirmed/completely confirmed.

Location in object repository:

Plant Maintenance and Service Management 

Page 96: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 96/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS20000015 (PMO Order Released)

96 April 2001

Standard Task TS20000015 (PMO Order Released)In this standard task, a maintenance order is displayed.

Standard task:

Abbreviation: PMO OP RLSD

Task name: PMO operation released 

Referenced Object Method and Attributes

Object type:   (PM order operation)

Method: (Display order)

Maintain Agent AssignmentAll persons or organizational units assigned to this standard task can be notified.

Page 97: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 97/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS20000056 (PMO Operation Completely Confirmed)

April 2001 97

Standard Task TS20000056 (PMO Operation CompletelyConfirmed)In this standard task, a maintenance order is displayed.

Standard task: TS20000056

Abbreviation: PMO OP PCON

Task name: PMO operation partially confirmed 

Referenced Object Method and Attributes

Object type:   (PM order operation)

Method: (Display order)

Maintain Agent Assignment

All persons or organizational units assigned to this standard task can be notified.

Page 98: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 98/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS20000016 (PMO Operation Completely Confirmed)

98 April 2001

Standard Task TS20000016 (PMO Operation CompletelyConfirmed)In this standard task, a completion confirmation is displayed.

Standard task: TS20000016

Abbreviation: PMO OP CONF

Task name: PMO operation completely confirmed 

Referenced Object Method and Attributes

Object type:   (PM order operation)

Method:   (Display confirmation)

Maintain Agent Assignment

All persons or organizational units assigned to this standard task can be notified.

Page 99: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnvf… 99/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Workflow Template WS20000031 (PMO Operation)

April 2001 99

Workflow Template WS20000031 (PMO Operation)When an operation is released, a workflow is started by the template.

Workflow template: WS20000031

ID:

Description: PMO operation 

Triggering Event for Workflow Template

The event for object type   (maintenance order operation ) has been entered

as the triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Page 100: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 100/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Scenario Procedure

100 April 2001

Scenario ProcedureThis workflow template makes it possible to inform the person or persons at the work centersinvolved in the execution of an order, about the processing status of the operations.

1. When the operation of an order is released, the standard task is started by

the event Operation released . This task starts work item X. When the order is partially orcompletely confirmed, the work item X is terminated, as it has partial or final completionas a terminating event.

2. When partial confirmation is performed for the operation, the standard task

is started by the event Operation partially confirmed . This task starts work item Y. Theoperation is now processed further, and final confirmation is performed for it. Now workitem Y is terminated, as it has the final confirmation as a terminating event.

3. Now the standard task is started by the event Operation completely confirmed . This task starts work item Z. To close work item Z it must be ended manually.

Page 101: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 101/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (PM-WOC-MO / Notification of Work Centers Involved)

April 2001 101

Preparation and Customizing (PM-WOC-MO /Notification of Work Centers Involved)

Use

In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this standard task.

Features

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 102]

Performing Task-Specific Customizing [Page 103]

Activating Event-Receiver Linkage [Page 104]

Page 102: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 102/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing the Organizational Structure

102 April 2001

Processing the Organizational StructureAll persons who are responsible for processing an order in a particular phase, must be identifiedin the Customizing application for the SAP Business Workflow. For this purpose, you can eitherlist all the persons individually, or you can assign entire organizational units (for example,departments) to the task.

Procedure

1. From the main menu, select Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (for

example, organizational unit and processing period). Then choose Organizational plan <Create/Change> .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to the appropriate units or positions using theavailable menu functions.

Page 103: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 103/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Performing Task-Specific Customizing

April 2001 103

Performing Task-Specific CustomizingList all organization management objects that will be authorized to process an order.

Procedure

1. From the main menu, select Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Perform task-specific Customizing .

4. In the screen for task-specific customizing, choose Plant Maintenance Maintenance 

Order Management Maintenance Orders Assign tasks to agent .

Assign the persons or work centers that should perform the tasks in your company to thestandard tasks TS20000015 (Operation released), TS20000056 (PMO Operation partially confirmed) and TS20000016 (PMO Operation completely confirmed).

Page 104: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 104/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Activate Event-Receiver Linkage

104 April 2001

Activate Event-Receiver LinkageThe event RELEASED for the object type AFVC_PM (Maintenance order operation ) is thetriggering event for the workflow template WF20000031 and is entered in the event linkage tablein the standard system as such. To ensure that the workflow can be started, the linkage betweenthe triggering event and the workflow template task as the receiver of the event must be activatedin the development environment for the SAP Business Workflow.

Procedure

1. From the main menu, select Tools Business Engineer Customizing .

The system displays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG .

The system displays the screen Display Structure: SAP Reference IMG .

3. In the IMG structure, choose Basis Components Business Management SAP 

Business Workflow Perform task-specific Customizing .

4. In the screen for task-specific customizing, choose Plant Maintenance Maintenance 

Order Management Maintenance Orders Activate event linking .

5. Activate the event linkage to the workflow template WS20000031 (PMO Operation ).

Page 105: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 105/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Work Centers Involved)

April 2001 105

Operation and Link to Application Functionality (PM-WOC-MO / Notifying the Work Centers Involved)

Create event

The standard task TS20000015 is started by an event when a operation is released.

The standard task TS20000056 is started by an event when an operation is partly confirmed.

The standard task TS20000016 is started by an event when an operation is completelyconfirmed.

Display order

The person or persons who are responsible for the standard tasks TS20000015 and

TS20000056 will find a work item in their integrated inbox that represents the Release of an order operation or the Partial confirmation of an order operation . Executing this work item makes itpossible to display the order.

The person or persons responsible for the standard task TS20000016 will find a work item intheir integrated inbox that represents the Final confirmation of an order operation . Executing thiswork item makes it possible to display the completion confirmation.

You can access the integrated inbox via the menu path Office Inbox .

Page 106: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 106/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Service Notifications (CS-PM-SN)

106 April 2001

Service Notifications (CS-PM-SN)These workflow scenarios support you when processing service notifications in the Customer Service (CS) application component.

Page 107: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 107/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Processing of a Service Notification (CS-CM-SN)

April 2001 107

Processing of a Service Notification (CS-CM-SN)Purpose

This workflow scenario supports your business processes for service processing. In thisscenario, the SAP Business Workflow component helps you to process, monitor and completenewly created service notifications efficiently. This process is represented in a workflow template,which triggers and controls the execution of the following standard tasks:

Notifying a person responsible (for example, the notification coordinator) that a new servicenotification has been created or put in process, and that tasks must be defined for thenotification

Notifying a person responsible that tasks, which must be processed, have been created for

the service notificationNotifying a person responsible (for example, the notification coordinator) that all the tasks forthe service notification have been completed, and the service notification must either becompleted or additional tasks must be defined for the notification

SAP Business Workflow

If the appropriate system settings have been made, the SAP Business Workflow automaticallysends a work item to the person(s) or department(s) responsible and informs them that certaintasks need to be executed. The following tasks and triggering events belong to this process:

Task Triggering Event

Processing of an outstanding service

notification without tasks

The person responsible is notified when a

service notification has been created manuallyin the system.

Processing of a service notification withoutstanding tasks

The person responsible is notified as soon asthe tasks have been created in the notificationand the notification has been saved.

Completion of a service notification withcompleted tasks

The person responsible is notified as soon asthe tasks have been completed in thenotification and the notification has been saved.

Determination of the Person(s) or Department(s) Responsible

For each of the above tasks, the system notifies the following people or departments in the orderlisted below:

1. Notification coordinator

2. Department responsible (if no coordinator has been specified)

3. All the people, who are assigned to the task (if neither a coordinator, nor a department hasbeen specified)

Prerequisites

Refer to Preparation and Customizing (CS-CM-SN) [Page 111]

Page 108: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 108/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing of a Service Notification (CS-CM-SN)

108 April 2001

Process Flow

Refer to Process for Workflow Template WS20000318 [Page 110]

Page 109: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 109/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Technical Realization (CS-CM-SN)

April 2001 109

Technical Realization (CS-CM-SN)The interface between the R/3 functions and the SAP Business Workflow is realized using objecttechnology. In this workflow scenario, the system processes the following objects:

Objects What You Should Know:

Task group TG20000016 The task group contains all the workflow objects, whichbelong to the workflow scenarios for service notifications.

Business object BUS2080 (service notification)

A service notification corresponds to business object typeBUS2080 . A service notification is identified by thenotification number (key field).

You can find the attributes, methods and events for business

object BUS2080 in the Business Object Repository of theR/3 System.

Standard tasks:

TS20000549(process new notification)

TS20000548(notification is processed)

TS20000555(complete notification)

These are single-step tasks, which refer to an object method.This task is assigned to the people or departments that areauthorized to process the object.

Workflow template

WS20000318

This template contains the definitions of the workflow task for

this workflow scenario. You can use this workflow templateto notify the people responsible that a service notification hasbeen created. The triggering events for this workflowtemplate are CREATED and INPROCESSAGAIN .

Standard role AC00000178 This is the standard role for service notifications.

The role resolution (defined in the standard role definition) isused to determine who is responsible for the processing of aservice notification.

Page 110: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 110/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Process for Workflow Template WS20000318

110 April 2001

Process for Workflow Template WS20000318Purpose

The workflow template for this process is started when you create a new service notification.

Process Flow

1. The system triggers one of the following events for business object BUS2080 (servicenotification):

CREATED (service notification created)

INPROCESSAGAIN (service notification in process again)

2. The triggering event starts the workflow template WS2000318 and the linked process asdescribed in the following graphic.

1

Workflow

beendet

Workflow-Muster

WS20000318gestartet

3

2

Eingang:Zuständige Person für

StandardaufgabeTS20000549

Work-Item senden 

Servicemeldung: – in Bearbeitung setzen – Maßnahmen definieren – Meldung sichern

zu 

tun 

Work-Item entfernen 

Eingang:Zuständige Person für

StandardaufgabeTS20000548

Work-Item senden 

Servicemeldung: – Maßnahmen ausführen – alle Maßnahmen erledigt

zu 

tun 

Eingang:Zuständige Person für

StandardaufgabeTS20000555

Work-Item senden 

Servicemeldung:Meldung abschließen oderweitere Maßnahmendefinieren

zu tun 

Work-Item entfernen 

Work-Item entfernen 

The standard tasks in this process are valid from Release 4.6.

Page 111: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 111/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (CS-CM-SN)

April 2001 111

Preparation and Customizing (CS-CM-SN)Use

The application-specific Customizing settings, which you must make to process this workflowtemplate, are described here.

Prerequisites

All the general Customizing settings, which are required for the SAP Business Workflow component to be used, have been made.

Activities

Make the following settings in Customizing:1. Set up the organizational structure and thereby determine your organizational units:

Basis Business Management SAP Business Workflow Edit Organizational Structure 

2. Assign the organizational units to the standard tasks:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Service Notifications Assign Agents to Tasks 

3. Activate the link between triggering event (CREATED, INPROCESSAGAIN) and workflowtemplate WS20000318:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Service Notifications Activate Event Linkage 

For step three, make sure that you activate the event linkage for the workflowtemplate and not for the standard task.

For more information, see the Implementation Guide.

Page 112: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 112/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Operation and Link to Application Functions (CS-CM-SN)

112 April 2001

Operation and Link to Application Functions (CS-CM-SN)

Use

This workflow is used to inform the people or departments responsible automatically that a seriesof tasks must be executed in the following order:

1. Processing of a newly created service notification (notification status Outstanding )

2. Processing of a service notification with outstanding tasks (notification status In process )

3. Completion of a service notification (status of all tasks Completed )

The person(s) or department(s) responsible receive a mail (work item) in their inbox informing

them of the tasks to be performed.

Activities

System Activities

If a service notification is created or put in process again, then the SAP Business Workflow automatically ensures that:

1. The workflow-triggering event CREATED or INPROCESSAGAIN is generated

2. The workflow template WS20000318 is started

3. A work item is sent to the work center for the person(s) or department(s) responsible

User ActivitiesAs the person responsible for a work item, you have the following options:

Options What You Should Know:

Processing a work item as aworkflow

To see the work item, choose Office Inbox . You havethe following processing options:

You can process the work item by double clicking onit. The transaction for changing a service notificationappears.

You can call up another screen for the work item, toobtain an overview of outstanding and completed

tasks.

You can set a work item for resubmission as areminder to process it later.

You can navigate from the service notification to theworkflow log, to define who has performed whichactivities.

You can receive a work item using another mailsystem client (for example, Lotus Notes™ or MSOutlook™).

Page 113: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 113/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functions (CS-CM-SN)

April 2001 113

Processing a service notification

manually using a worklist

If you process a service notification manually (outside of

the workflow), all the changes to the notification are alsoconsidered in the workflow process.

Page 114: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 114/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Completion of a Task (CS-CM-SN)

114 April 2001

Completion of a Task (CS-CM-SN)Purpose

In a service notification, you can define one or more tasks to solve the problem recorded in thenotification. A task can refer both to the notification header and the individual notification items. Ithas a particular status.

If you create a task in a notification, the person responsible for completing the task can use theworkflow to indicate this.

If no person has been specified, then the system notifies all the people who are assigned to thetask.

SAP Business Workflow

If the appropriate system settings have been made, the SAP Business Workflow automaticallysends a work item to the integrated inbox of the person(s) responsible. It states that a new taskhas been created in a notification. The person(s) informed can process the work item directlyfrom their inbox. The change transaction for the task is called up automatically during processing.

Prerequisites

Refer to Preparation and Customizing (CS-CM-SN / Completing a Task) [Page 118]

Process Flow

Refer to Process for Workflow (CS-CM-SN / Completing a Task) [Page 116]

Page 115: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 115/153

Page 116: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 116/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Process for Workflow (CS-CM-SN / Completing a Task)

116 April 2001

Process for Workflow (CS-CM-SN / Completing a Task)Purpose

If a task has been created in a service notification, a workflow is started based on the templateSM Complete Task .

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps (seegraphic). The structure is defined so that the system only has to process one of the branches.The standard task is specified in the activity.

Taskcreated

Workflowstarted

XOR

Setdeletion flag

Personresponsible

Completetask

Taskcompleted

Deletion flagset

Personresponsible

changed

Taskcompleted

Taskcompleted

Terminateworkflow

Workflowterminated

= Event

= Step

Activity = Complete task 

Waiting steps = Set deletion flag, Person 

responsible changed, Task completed 

Determination of Agent

To determine the agent, the system searches in the service notification for the personresponsible for the tasks. If no person has been specified for this task, then the system notifies allthe people who are assigned to this standard task.

The agent is determined using a role resolution. The role (standard role for 

service notification ) is defined as the default role for this task.

Result of Processing and Termination of Workflow

The processing of the work item terminates the task and the entire workflow. The workflow is alsoterminated if one of the waiting steps occurs.

Page 117: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 117/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Process for Workflow (CS-CM-SN / Completing a Task)

April 2001 117

The terminating events Deletion flag set , Person responsible changed and Task completed can also occur outside of the workflow process.

Once the task has been processed, it obtains the status Task completed .

Page 118: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 118/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Preparation and Customizing (CS-CM-SN / Completing a Task)

118 April 2001

Preparation and Customizing (CS-CM-SN / Completing aTask)

Use

The task-specific Customizing settings, which you must make to process this workflow template,are described here.

Prerequisites

All the general Customizing settings, which are required for the SAP Business Workflow component to be used, have been made.

ActivitiesMake the following settings in Customizing:

1. Set up the organizational structure and thereby determine your organizational units:

Basis Business Management SAP Business Workflow Edit Organizational Structure 

2. Assign the organizational units to the standard tasks:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Service Notifications Assign Agents to Tasks 

3. Activate the link between triggering event (CREATED) and workflow template WS00200097:

Plant Maintenance and Customer Service Maintenance and Service Processing 

Notifications Set Workflow for Service Notifications Activate Event Linkage 

For step three, make sure that you activate the event linkage for the workflowtemplate and not for the standard task.

For more information, see the Implementation Guide.

Page 119: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 119/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functions (CS-CM-SN / Completing a Task)

April 2001 119

Operation and Link to Application Functions (CS-CM-SN/ Completing a Task)

Use

This workflow is used to inform all the responsible people or departments that:

A new task has been created in a service notification (task status Outstanding )

The task must be processed

Activities

System Activities

If an existing service notification is put in process, then the SAP Business Workflow automaticallyensures that:

1. The workflow-triggering event CREATED is generated

2. The workflow template WS00200097 is started

3. A work item is sent to the work center for the person(s) or department(s) responsible

User Activities

As the person responsible for a work item, you have the following options:

Options What You Should Know:

Processing a work item as aworkflow

To see the work item, choose Office Inbox . You havethe following processing options:

You can process the work item by double clickingon it. The transaction for changing a servicenotification appears.

You can call up another screen for the work item, toobtain an overview of outstanding and completedtasks.

You can set a work item for resubmission as areminder to process it later.

You can navigate from the service notification to the

workflow log, to define who has performed whichactivities.

You can receive a work item using another mailsystem client (for example, Lotus Notes™ or MSOutlook™).

Processing a service notificationmanually using a worklist

If you process a service notification manually (outside ofthe workflow), all the changes to the notification are alsoconsidered in the workflow process.

Page 120: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 120/153

Page 121: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 121/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Processing an Outstanding Service Notification (CS-CM-SN)

April 2001 121

Processing an Outstanding Service Notification (CS-CM-SN)

This workflow scenario is obsolete and should no longer be used. The functionsfor this scenario have been integrated into the new workflow scenario Processing ofa Service Notification [Page 107].

Definition

When a service notification is created in the system, it obtains the initial status "Outstanding".This means that the notification is entered in the system, and is ready to be processed. To

ensure that the notification is processed, the person or department responsible is notifiedautomatically that the service notification must be processed. The system informs the followingpeople or departments in the order listed below:

Coordinator of service notification

Department responsible (if no coordinator has been specified)

All the people, who are assigned to the task (if neither a coordinator, nor a department hasbeen specified)

SAP Business Workflow

If a service notification has been created with the status "Outstanding", a person or group ofpeople can be notified by workflow using the corresponding system setting. These people see a

work item in their integrated inbox, and it can be processed directly from there. The changetransaction for the service notification is called up automatically during processing.

Page 122: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 122/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (CS-CM-SN / Outstanding Service Notification)

122 April 2001

Technical Realization (CS-CM-SN / Outstanding ServiceNotification)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2080 (Service Notification) [Page 123]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS00008336 (Processing an Outstanding Service Notification) [Page 124]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS00200096 (Processing a Service Notification) [Page 125]

Page 123: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 123/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Object Type BUS2080 (Service Notification)

April 2001 123

Object Type BUS2080 (Service Notification)In this scenario, the system processes a business application object of the type

This means that a service notification with the status

“Outstanding notification” will be processed.

Location in object repository:

Plant Maintenance and Service Management Service Management Service processing 

Page 124: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 124/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS00008336 (Process Outstanding Service Notification)

124 April 2001

Standard Task TS00008336 (Process OutstandingService Notification)In this standard task, you process a service notification that has the status “Outstandingnotification.”

Standard task:

:

Description: Service task: Process notification 

Referenced object method and attributes

Objekttyp: (Service notification )

Methode: (Change )

Eigenschaften: Confirm end of processing 

Maintain agent assignment

All persons or organizational units assigned to this standard task can be notified.

Page 125: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 125/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Workflow Template WS00200096 (Processing a Service Notification)

April 2001 125

Workflow Template WS00200096 (Processing a ServiceNotification)If a service notification is created with the status "Outstanding", a workflow is started from thetemplate  .

Workflow template:

ID:  

Description: SM: Process service notification 

Triggering Event for Workflow Template

The events (notification activated) and (notification created) for object type

(service notification ) have been entered as the triggering event for the workflowtemplate.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Workflow Container and Data Flow

The most important information that must be available during the workflow is the object referenceto the service notification to be processed (), the name of the creator of the

notification () and the sort key (). This information is available as

event parameters in the container for the triggering event and must be transferred to the workflowcontainer “per data flow”.

In the standard system, the following data flow definition has been established between thetriggering event and workflow container:

Workflow Container Event Parameter Container

The element is available in the workflow container in the standard system. The

element   has been created in addition to the existing standard elements.

Page 126: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 126/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Steps in a Workflow

126 April 2001

Steps in a WorkflowIf a service notification is created in the system with the status “Outstanding notification,” aworkflow based on the template   is started.

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps. Thestructure is defined in such a way that the system processes only one of the branches. Theactivity makes reference to the standard task..

Determination of Agent

To identify the agent, the system searches for the person responsible in the service notification.The following two partner functions are defined in the service notification:

Coordinator

Department responsible

The system first searches for the coordinator. If a coordinator is not specified, the system thensearches for the responsible department. If a responsible department cannot be found, then allpersons in the system assigned to this task will be notified.

The system identifies the agent on the basis of a role resolution. The role

(Person responsible for processing the service notification ) is defined as the default role for thisstandard task.

Role container Task container

 

Binding

The following binding is defined for the step “Process service notification”.

Task container Workflow container

 

 

Result of Processing and Termination of Workflow

The processing of the work item results in the event Service notification processed . This eventterminates the task and the entire workflow.

After the user has processed the service notification, it can either have the status “Notification inprocess” or “Notification completed.”

The terminating events Deletion flag set, Service notification completed, Service notification in process and All tasks completed can also occur outside of the workflowprocess.

Page 127: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 127/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (CS-CM-SN / Outstanding Service Notification)

April 2001 127

Preparation and Customizing (CS-CM-SN / OutstandingService Notification)In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this workflow template.

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 128]

Performing Task-Specific Customizing [Page 129]

Activating Event-Receiver Linkage [Page 130]

Page 128: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 128/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing the Organizational Structure

128 April 2001

Processing the Organizational StructureAll persons who will be responsible for processing an outstanding service notification must beidentified in the Customizing application for the SAP Business Workflow. For this purpose, youcan either list all of the persons individually or you can assign entire organizational units (forexample, departments) to the task.

Set up your organizational structure in the Customizing application as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (forexample, organizational unit and processing period) and then select Organizational plan 

Create or Change .

5. In the subsequent screen, create or change the desired organizational units and/orpositions. Assign the desired persons to these units or positions using the availablemenu functions.

Page 129: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 129/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Perform Task-Specific Customizing

April 2001 129

Perform Task-Specific CustomizingList all organization management objects that will be authorized to process an outstandingservice notification.

To assign the Service Management tasks, proceed as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Perform task-specific customizing .

4. In the overview for task customizing, select Plant Maintenance and Service Management Service Management Service processing Assign tasks to agents .

5. Assign the persons who will carry out this task in your company to the standard task (Process outstanding service notification).

Page 130: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 130/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Activate Event-Receiver Linkage

130 April 2001

Activate Event-Receiver LinkageThe events and for object type (Service notification) are the

triggering events for workflow template   As such, it is entered in the event linkage

table in the standard system. To ensure that the workflow template can be started, the linkagebetween the triggering event and the workflow template as the receiver of the event must beactivated in the development environment for the SAP Business Workflow.

To activate the workflow template in your system, proceed

as follows:

1. Call up the SAP Business Workflow from the main menu by selecting Tools Business 

Engineering Business Workflow Development .

2. Select Utilities Other tools Event linkage . The system displays a screen for viewing

the event linkage for various objects.

3. Select Goto Detail  to display the detail screen for the following object type, event andreceiver type:

 – Object type: BUS2080 

 – Event: CREATED 

 – Receiver type: WS00200096 

4. Mark the Enabled field to activate the event linkage.

(Alternatively, you can also activate the event-receiver linkage by processing the workflowtemplate directly.)

Page 131: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 131/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Operation and Link to Application Functionality (PM-SMA-SC / Outstanding Service Notification)

April 2001 131

Operation and Link to Application Functionality (PM-SMA-SC / Outstanding Service Notification)The following description assumes that a service notification with the status “outstanding” hasbeen created in the system and the notification has not yet been processed.

Generate event

The workflow-triggering events are generated automatically if a

service notification is created without being processed.

Process outstanding maintenance notification

The person or persons responsible for this task will find a work item that represents the standardtask Process outstanding service notification in their integrated inbox. Processing this work itemmakes it possible to put the notification “in-process”.

You can access the integrated inbox via the menu path Office Inbox .

Page 132: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 132/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Processing a Service Notification in Process (CS-CM-SN)

132 April 2001

Processing a Service Notification in Process (CS-CM-SN)

This workflow scenario is obsolete and should no longer be used. The functionsfor this scenario have been integrated into the new workflow scenario Processing ofa Service Notification [Page 107].

Definition

You can use this workflow scenario to process service notifications that have the status "Inprocess", but which have not yet been completed. For example, a certain person in an

organization may be responsible for putting all outstanding service notifications in process (referto Processing Outstanding Service Notifications (CS-CM-SN) [Page 121]). However, anotherperson may actually be responsible for processing a notification.

The system informs the following people or departments in the order listed below:

Coordinator of service notification

Department responsible (if no coordinator has been specified)

All the people, who are assigned to the task (if neither a coordinator, nor a department hasbeen specified)

SAP Business Workflow

If a service notification obtains the status "In process", the person or group of people responsible

can be notified by SAP Business Workflow using the corresponding system setting. Thesepeople see a work item in their integrated inbox, and it can be processed directly from there. Thechange transaction for the service notification is called up automatically during processing.

Page 133: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 133/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Technical Realization (CS-CM-SN / Service Notification in Process)

April 2001 133

Technical Realization (CS-CM-SN / Service Notificationin Process)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2080 (Service Notification) [Page 134]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS00008336 (Processing a Service Notification) [Page 135]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS00200099 (Putting a Service Notification in Process) [Page 136]

Page 134: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 134/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Object Type BUS2080 (Service Notification)

134 April 2001

Object Type BUS2080 (Service Notification)In this scenario, the system processes a business application object of the type

. This means that a service notification with the status “Notification

in process” will be edited.

Location in object repository:

Plant Maintenance and Service Management Service Management Service processing 

Page 135: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 135/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Standard Task TS00008336 (Process Service Notification)

April 2001 135

Standard Task TS00008336 (Process ServiceNotification)In this standard task, you process a service notification that has the status “Notification inprocess.”

Standard task:

ID:

Description: SM task process notification 

Referenced object method and attributes

Object type: (Service notification )

Method: (Change )

Attributes: Confirm end of processing 

Maintain agent assignment

All persons or organizational units assigned to this standard task can be notified.

Page 136: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 136/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Workflow Template WS00200099 (Putting a Service Notification in Process)

136 April 2001

Workflow Template WS00200099 (Putting a ServiceNotification in Process)If a service notification is created with the status "In process", a workflow is started from thetemplate .

Workflow template:

ID:

Description: SM: Put service notification in process 

Triggering Event for Workflow Template

The event (notification in process) for object type (service notification ) has

been entered as the triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Workflow Container and Data Flow

The most important information that must be available during the workflow is the object referenceto the service notification to be processed (), the name of the creator of the

notification () and the sort key (). This information is available as

event parameters in the container for the triggering event and must be transferred to the workflow

container “per data flow”.

In the standard system, the following data flow definition has been established between thetriggering event and workflow container:

Workflow Container Event Parameter Container

The element is available in the workflow container in the standard system. The

element   has been created in addition to the existing standard elements.

Page 137: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 137/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Steps in a Workflow

April 2001 137

Steps in a WorkflowIf a service notification receives the status “Notification in process,” a workflow based on thetemplate is started.

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps. Thestructure is defined in such a way that the system processes only one of the branches. Theactivity makes reference to the standard task.

Determination of Agent

To identify the agent, the system searches for the person responsible in the service notification.The following two partner functions are defined in the service notification:

Coordinator

Department responsible

The system first searches for the coordinator. If a coordinator is not specified, the system thensearches for the responsible department. If a responsible department cannot be found, then allpersons in the system assigned to this task will be notified.

The system identifies the agent on the basis of a role resolution. The role

(Person responsible for processing the service notification ) is defined as the default role for thisstandard task.

Role container Task container

 

Binding

The following binding is defined for the step “Process service notification”.

Task container Workflow container

 

 

Result of Processing and Termination of Workflow

The processing of the work item results in the event Service notification processed . This eventterminates the task and the entire workflow.

After the user has processed the service notification, it will have the status “Notificationcompleted”.

The terminating events Deletion flag set, Service notification completed, All tasks completed can also occur outside of the workflow process

Page 138: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 138/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Preparation and Customizing (CS-CM-SN / Service Notification in Process)

138 April 2001

Preparation and Customizing (CS-CM-SN / ServiceNotification in Process)In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this workflow template.

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 139]

Performing Task-Specific Customizing [Page 140]

Activating Event-Receiver Linkage [Page 141]

Page 139: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 139/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Processing the Organizational Structure

April 2001 139

Processing the Organizational StructureAll persons who will be responsible for processing service notifications that have the status“Notification in process” must be identified in the Customizing application for the SAP BusinessWorkflow. For this purpose, you can either list all of the persons individually or you can assignentire organizational units (for example, departments) to the task.

Set up your organizational structure in the Customizing application as follows::

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Edit organizational plan .

4. In the initial screen for changing the organizational plan, enter the required data (forexample, organizational unit and processing period) and then select Organizational plan 

Create or Change .

5. In the subsequent screen, create or change the required organizational units and/orpositions. Assign the required persons to these units or positions using the availablemenu functions.

Page 140: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 140/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Perform Task-Specific Customizing

140 April 2001

Perform Task-Specific CustomizingList all organization management objects that will be authorized to process a service notificationwith the status “in process”.

To assign the Service Management tasks, proceed as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Perform task-specific customizing .

4. Auf dem Bild zum aufgabenspezifischen Customizing wählen Sie In the overview for taskcustomizing, select Plant Maintenance and Service Management Service 

Management Service processing Assign tasks to agents .

5. Assign the persons who will carry out this task in your company to the standard task (SM task: Process notification).

Page 141: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 141/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Activate Event-Receiver Linkage

April 2001 141

Activate Event-Receiver LinkageThe event (notification in process) for object type (service notification) is

the triggering event for workflow template   As such, it is entered in the event

linkage table in the standard system. To ensure that the workflow template can be started, thelinkage between the triggering event and the workflow template as the receiver of the event mustbe activated in the development environment for the SAP Business Workflow.

To activate the workflow template in your

system, proceed as follows:

1. Call up the SAP Business Workflow from the main menu by selecting Tools Business 

Engineering Business Workflow Development .

2. Select Utilities Other tools Event linkage . The system displays a screen for viewing

the event linkage for various objects.

3. Select Goto Detail  to display the detail screen for the following object type, event andreceiver type:

 – Object type: BUS2038 

 – Event: CREATED 

 – Receiver type: WS00200095 

4. Mark the Enabled field to activate the event linkage.

(Alternatively, you can also activate the event-receiver linkage by processing the workflowtemplate directly.)

Page 142: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 142/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Operation and Link to Application Functionality (PM-SMA-SC / In-process ServiceNotification)

142 April 2001

Operation and Link to Application Functionality (PM-SMA-SC / In-process Service Notification)The following description assumes that a service notification has been set to the status“Notification in process.”

Generate event

The workflow-triggering event are generated automatically if a service notification is

put “in-process.”

Edit “in-process” service notification

The person or persons responsible for this task will find a work item that represents the standard

task Edit in-process service notification in their integrated inbox. Processing this work item makesit possible to complete the notification.

You can access the integrated inbox via the menu path Office Inbox .

Page 143: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 143/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Completing a Service Notification (CS-CM-SN)

April 2001 143

Completing a Service Notification (CS-CM-SN)

This workflow scenario is obsolete and should no longer be used. The functionsfor this scenario have been integrated into the new workflow scenario Processing ofa Service Notification [Page 107].

Definition

If a service notification contains one or more tasks, and all of these tasks have been completed,the service notification obtains the status "All tasks completed". When this status is set, thesystem automatically informs the coordinator of the service notification (specified in thenotification header) that one of the following processing steps must be executed:

Complete the service notification (if all the other notification processing steps have beencompleted)

Define additional tasks (if, for example, the problem has not been resolved)

SAP Business Workflow

If a service notification obtains the status "All tasks completed", the person or group of peopleresponsible can be notified by SAP Business Workflow using the corresponding system setting.These people see a work item in their integrated inbox, and it can be processed directly fromthere. The change transaction for the service notification is called up automatically duringprocessing.

Page 144: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 144/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Technical Realization (CS-CM-SN / Completing a Service Notification)

144 April 2001

Technical Realization (CS-CM-SN / Completing a ServiceNotification)

Object Types Used

Object technology is used to realize the interface between the R/3 functions and the SAP Business Workflow . For this reason, the following information is primarily of a technical natureand is not required for an initial overview.

Object Type BUS2080 (Service Notification) [Page 145]

Standard Tasks

Standard tasks are single-step tasks provided by SAP, which describe elementary business

activities from an organizational standpoint. In each case, a single-step task relates to one objectmethod (= technical link to R/3 functions) and is linked to the people in the organization who canprocess the object.

Standard Task TS00008338 (Completing a Service Notification) [Page 146]

Workflow Template

The actual process flow is implemented in the form of a workflow template. You can find thisworkflow template in your R/3 system.

Workflow Template WS00200098 (Completing a Service Notification) [Page 147]

Page 145: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 145/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Object Type BUS2080 (Service Notification)

April 2001 145

Object Type BUS2080 (Service Notification)In this scenario, the system processes a business application object of the type

This means that a service notification will be completed.

Location in object repository:

Plant Maintenance and Service Management t Service Management Service Processing 

Page 146: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 146/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Standard Task TS00008338 (Complete Service Notification)

146 April 2001

Standard Task TS00008338 (Complete ServiceNotification)In this standard task, you complete a service notification.

Standard task:

ID:

Description: SM task: Complete notification 

Referenced object method and attributes

Object type: (service notification )

Method: (Change )Attributes: Confirm end of processing 

Maintain agent assignment

All persons or organizational units assigned to this standard task can be notified.

Page 147: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 147/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Workflow Template WS00200098 (Completing a Service Notification)

April 2001 147

Workflow Template WS00200098 (Completing a ServiceNotification)If all the tasks for a service notification have been completed, a workflow is started from thetemplate .

Workflow template:

ID:

Description: SM: Complete notification 

Triggering Event for Workflow Template

The event (all tasks completed) for object type (service 

notification ) has been entered as the triggering event for the workflow template.

This “linkage” between the event and the workflow template to be started is normallyinactive in the standard system. If the workflow template is to be started, it must firstbe activated in the Customizing for the SAP Business Workflow.

Workflow Container and Data Flow

The most important information that must be available during the workflow is the object referenceto the service notification to be processed (), the name of the creator of the

notification () and the sort key (). This information is available as

event parameters in the container for the triggering event and must be transferred to the workflow

container “per data flow”.

In the standard system, the following data flow definition has been established between thetriggering event and workflow container:

Workflow Container Event Parameter Container

The element is available in the workflow container in the standard system. The

element   has been created in addition to the existing standard elements.

Page 148: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 148/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Steps in a Workflow

148 April 2001

Steps in a WorkflowIf all tasks in a maintenance notification have been completed, a workflow based on the template is started.

Workflow Structure

The workflow structure has several parallel branches to an activity and several wait steps. Thestructure is defined in such a way that the system processes only one of the branches. Theactivity makes reference to the standard task.

Determination of Agent

To identify the agent, the system searches for the person responsible in the service notification.The following two partner functions are defined in the service notification:

Coordinator

Department responsible

The system first searches for the coordinator. If a coordinator is not specified, the system thensearches for the responsible department. If a responsible department cannot be found, then allpersons in the system assigned to this task will be notified.

The system identifies the agent on the basis of a role resolution. The role

(Person responsible for processing the service notification ) is defined as the default role for thisstandard task.

Role container Task container

 

Binding

The following binding is defined for the step “Complete service notification”.

Task container Workflow container

 

 

Result of Processing and Termination of Workflow

The processing of the work item results in the event Service notification processed . This eventterminates the task and the entire workflow.

After the user has processed the service notification, it has the status “Notification completed.”

The terminating events Complete service notification, Service notification in processagain and Deletion flag set can also occur outside of the workflow process.

Page 149: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 149/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Preparation and Customizing (CS-CM-SN / Completing a Service Notification)

April 2001 149

Preparation and Customizing (CS-CM-SN / Completing aService Notification)In addition to general Customizing, which ensures that the workflow system functions properly,several other Customizing steps are required for this workflow template.

Customizing of SAP Business Workflow

Editing the Organizational Structure [Page 150]

Performing Task-Specific Customizing [Page 151]

Activating Event-Receiver Linkage [Page 152]

Page 150: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 150/153

Page 151: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 151/153

SAP AG PM/CS - Plant Maintenance & Customer Service: Workflow Scena

Perform Task-Specific Customizing

April 2001 151

Perform Task-Specific CustomizingList all organization management objects that will be authorized to process an outstanding task ina service notification.

To assign the Service Management tasks, proceed as follows:

1. From the main menu, select Tools Business Engineering Customizing . The systemdisplays the initial screen for the Customizing application.

2. From the menu bar, select Implement. projects SAP Reference IMG . The systemdisplays the SAP Reference IMG.

3. In the IMG structure, select Basis Workflow Management Perform task-specific customizing .

4. In the overview for task customizing, select Plant Maintenance and Service Management Service processing Assign tasks to agents ..

5. Assign the persons who will carry out this task in your company to the standard task (Complete service notification).

Page 152: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 152/153

PM/CS - Plant Maintenance & Customer Service: Workflow Scena SAP AG

Activate Event-Receiver Linkage

152 April 2001

Activate Event-Receiver LinkageThe event (all tasks completed) for object type (service

notification) is the triggering event for workflow template   As such, it is entered in

the event linkage table in the standard system. To ensure that the workflow template can bestarted, the linkage between the triggering event and the workflow template as the receiver of theevent must be activated in the development environment for the SAP Business Workflow.

To activate the workflow template in your system, proceed as

follows:

1. Call up the SAP Business Workflow from the main menu by selecting Tools Business 

Engineering Business Workflow Development .

2. Select Utilities Other tools Event linkage . The system displays a screen for viewing

the event linkage for various objects.

3. Select Goto Detail  to display the detail screen for the following object type, event andreceiver type:

 – Object type: BUS2080 

 – Event: ALLTASKSCOMPLETED 

 – Receiver type: WS00200098 

4. Mark the Enabled field to activate the event linkage.

(Alternatively, you can also activate the event-receiver linkage by processing the workflowtemplate directly.)

Page 153: aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQk1UV0ZNUE0ucGRm

8/2/2019 aHR0cDovL2hlbHAuc2FwLmNvbS9wcmludGRvY3UvY29yZS9QcmludDQ2Yy9lbi9kYXRhL3BkZi9CQ0JNVFdGTVBNL0JDQ…

http://slidepdf.com/reader/full/ahr0cdovl2hlbhauc2fwlmnvbs9wcmludgrvy3uvy29yzs9qcmluddq2yy9lbi9kyxrhl3bkzi9cq0jnv… 153/153