Vous êtes sur la page 1sur 24

_________________________________

_________________________________
_________________________________
_________________________________

A New and Better Way to Track


Production Process Status Right
Out of the Box

_________________________________
_________________________________
_________________________________
_________________________________

Kevin Wilson
Q Data USA

_________________________________
_________________________________

2008 Wellesley Information Services. All rights reserved.

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
1

SAP Event Management (EM) Visibility Process

Standard content (visibility processes) is delivered that


supports a production order malfunction scenario yet
needs to be configured at the client

_________________________________
_________________________________
_________________________________
_________________________________

Customizing for rules, statuses, events


Interfaces to SAP ERP (ECC), SAP NetWeaver BI
User interfaces (Web Communication Layer WCL)

_________________________________
_________________________________

Documentation

_________________________________

Scenario description
Scenario configuration

_________________________________
_________________________________
_________________________________
2

Production Malfunction Visibility Process Scenario

The production malfunction visibility process covers


machine breakdowns within the production process

_________________________________
_________________________________
_________________________________

Fills the gap that exists between planning and execution


systems

_________________________________

The production malfunction visibility process (scenario)


demonstrates the following functions:

_________________________________

Triggering follow-up activities


Monitoring and controlling the production process, including
possible disruptions caused by machine breakdowns
(production supervisor)
Establishing a close link between execution and planning by
creating alerts if problems arise (production planner)
Analyzing the business processes in SAP NetWeaver BI

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
3

Example Process Flow for the Visibility Process (Scenario)

_________________________________
_________________________________

Machine
Breakdown

Maintenance
Personnel

effects

_________________________________

Worklist
Production Order
Work Center 300
Planned Start/Finish

effects

Malfunction Notification
100000123
Work Center 300

_________________________________
_________________________________
Line
Personnel

_________________________________
_________________________________

Production Orders released


to Work Center 300
are in danger !
Adjust
schedule /
reassign Work
Center

_________________________________
_________________________________
_________________________________

Production
Planner

Scenario Components

Since the production malfunction visibility process aims


to bring together information from different areas, it
consists of two independent paths:

_________________________________
_________________________________
_________________________________

Manufacturing Order Handling (Event Handler)


Malfunction Notification Handling (Event Handler)

_________________________________
_________________________________

All events are reported from SAP ERP (ECC)


f The

process only works if the material produced is


configured for automatic goods receipt and goods
receipt must be allowed for the manufacturing order
f The alert is sent to the first (main) capacity of the
manufacturing order operation
f In the case of the manufacture of co-products, only the
main material is displayed in the Web interface

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
5

Scenario Events Follow-Up Activities

_________________________________

The rule set is triggered when


an event message arrives
This in turn triggers follow-up
activities
When actual events are
reported, the status value
changes correspondingly
If a machine breakdown
occurs, the relevant
production planner is
informed by a Production
Planning (PP) alert

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
6

Scenario Status Roles for Status Retrieval

_________________________________

Customers and partners can access the information


using the Internet (Web interface)
Internal employees can find information in the Event
Handler List in SAP Event Management
Internal employees can also find event handler
information in the SAP ERP (ECC) production order
document itself

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

A comprehensive authorization and filter concept controls


access to SAP Event Management information both
internally and externally

_________________________________
_________________________________
7

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
8

Step 1 (ECC) Activate SAP EM Application Interface

Access transaction BF11

_________________________________
_________________________________

You need to activate the plug-in to enable SAP Event


Management integration in SAP ERP (ECC)

_________________________________
_________________________________

Set the PI-EM indicator flag to active

_________________________________
If its not set to active, the BAdIs (Business Add Ins) and
BTEs (Business Transaction Events) are not called

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
9

Step 2 (ECC) Define RFC Connection to SAP EM

_________________________________

Access transaction SM59

_________________________________

Here you define the RFC (remote function call) destination for
the SAP EM server

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
10

Step 3 (ECC) Create the Logical System for SAP EM

_________________________________

Access transaction SALE

_________________________________

Use this transaction to define the logical system referring to


the SAP EM system

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
11

Step 4 (ECC) Define the SAP EM System

_________________________________

Access transaction /SAPTRX/ASC0TS

The Event Manager entry is the reference entry that is used in


all SAP EM configuration. Based on this value, ECC knows
which logical system and RFC destination to use when
communicating with SAP EM.
Do not set the local flag when SAP EM is run standalone on
another server. Set it if it is running on the application system.
If you are running SAP EM on the same server as your
application, then youll also need to assign the logical
system to the client in Step 3

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

12

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
13

Step 5 (ECC) Business Process Types (BPTs)

_________________________________

Activate the required business process types for the


scenario

_________________________________

Relevant business process types: ESC_WRKORD and


EPL_NOTIF
Access transaction /SAPTRX/ASC0TO
Select the EH Create and EMsg Send check boxes for the
EPL_NOTIF and ESC_WRKORD BPTs

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
14

Step 6 (ECC) Enable Business Process Types (BPTs)

_________________________________

Activate the used BPTs and their associated Application


Object Types (AOTs)

Access transaction /SAPTRX/ASC0AO


Set BPT Process Mode to Active for EPL_NOTIF and
ESC_WRKORD
Update Mode must be Update Task

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

15

Step 7 (ECC) Define AOT Work Order

_________________________________

Application Object Types are used to determine whether


a business object is relevant for SAP EM
They are also responsible for the data to be extracted
for expected events, parameters (information and
control), tracking IDs, and query IDs
Several AOTs can relate to one business process type

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Access transaction /SAPTRX/ASC0AO


Select the business process type ESC_WRKORD
Choose Define Application Object Types and select
PMF10_ORDER

_________________________________
_________________________________
_________________________________
_________________________________
16

Step 7 (ECC) Define AOT Work Order (cont.)

_________________________________

Instruct the system on which SAP EM system to use

_________________________________

On the General Data tab:


f Select the logical system for SAP EM in the Event Manager
field (as defined in Step 4)
f Select the EM Relevance of Appl. Obj. check box

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
17

Step 7 (ECC) Define AOT Work Order (cont.)

_________________________________

Instruct the system on which SAP EM system to


use (cont.)

_________________________________

On the Event Mgmt. Relevance tab:


f Check the code behind the relevance function module
f Make sure the true condition is set for the logic you require

_________________________________
_________________________________
_________________________________

* Order Type is 10(Production Order) or 40(Process Order)


if <ls_xcaufv>-autyp = '10' or <ls_xcaufv>-autyp = '40'.
* Status is Released
read table lt_xjest assigning <ls_xjest>
with key objnr = <ls_xcaufv>-objnr
stat = 'I0002'
inact = space
binary search.
if sy-subrc is initial.
e_result = true_condition.
else.
e_result = false_condition.
endif.
else.
e_result = false_condition.
endif.

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
18

Step 8 (ECC) Define Event Types Work Order

Event types

_________________________________
_________________________________

Change to business objects that are relevant to SAP EM

_________________________________

Several event types can be associated with one


business process type

_________________________________
_________________________________

Access transaction /SAPTRX/ASC0AO


Select the business process type ESC_WRKORD
Choose Define Event Types and select PMF10_ORDER

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
19

Step 8 (ECC) Define Event Types Work Order (cont.)

_________________________________

Instruct the system on which SAP EM system to use

_________________________________

On the General Data tab:


f Select the logical system for SAP EM in the Event Manager
field (as defined in Step 4)
f Select the EM Relevance of Event Type check box

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
20

Step 9 (ECC) Define AOT Notification

_________________________________

Instruct the system on which SAP EM system to use

_________________________________

Access transaction /SAPTRX/ASC0AO


Select the business process type EPL_NOTIF
Choose Define Application Object Types and select
PMF10_NOTIF
On the General Data tab:
f Select the logical system for SAP EM in the Event Manager
field (as defined in Step 4)
f Select the EM Relevance of Appl. Obj. check box

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
21

Step 9 (ECC) Define AOT Notification (cont.)

_________________________________

Instruct the system on which SAP EM system to


use (cont.)

_________________________________
_________________________________

On the Event Mgmt. Relevance tab:


f Check the condition
values applicable to
your scenario by
clicking the
Condition icon

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
22

Step 10 (ECC) Define Event Types Notification

_________________________________

Instruct the system on which SAP EM system to use

_________________________________

Access transaction /SAPTRX/ASC0AO


Select the business process type EPL_NOTIF
Choose Define Event Types and select PMF10_NOTIF
On the General Data tab:
f Select the logical system for SAP EM in the Event Manager
field (as defined in Step 4)
f Select the EM Relevance of Event Type check box

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
23

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
24

Step 11 (SCM) Define RFC Connection to SAP ERP

_________________________________

Define the remote system details of SAP ERP (ECC) in


order to communicate with it

_________________________________
_________________________________

Access transaction SM59

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
25

Step 12 (SCM) Create the Logical System for SAP ERP

Access transaction SALE

_________________________________
_________________________________

Use this transaction to define the logical system referring to


the application system SAP ERP (ECC)

_________________________________

Define logical system

_________________________________
_________________________________

Assign the logical system to the client if the application


server is on the same server as the SAP EM application

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
26

Step 13 (SCM) Define the SAP Application System (AS)

_________________________________

Use this transaction to create the link between the


logical name of your AS and its physical destination

_________________________________
_________________________________

Access transaction /SAPTRX/TSC0AS

_________________________________

Tip

In a development environment, you can select SyncCo to


enable synchronous communications. Its advisable to
change this as you go to QA and Production.

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
27

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
28

Step 14 (SCM) Defining Rule Sets for Event Messages

_________________________________

When an event arrives in SAP EM, activities/rules are executed


against the applicable event handler. These activities are grouped
into Rule Sets.

Access transaction /SAPTRX/TSC0TR


Select PMF10_ORDER and choose Rules
Maintain the relevant rule conditions and activities as required and save
your entries
f The standard entries should be good for your initial testing

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

29

Step 14 (SCM) Defining Rule Sets for Event


Messages (cont.)

_________________________________

When an event arrives in SAP EM, activities/rules are


executed against the applicable event handler. These
activities are grouped into Rule Sets. (cont.)

Tip

Tip

_________________________________
_________________________________

Maintain the relevant rule conditions and activities as required


and save your entries
f It is recommended to efficiently code the use of your
activities with a rule set as they can become performance
hogs
Make use of the field False Rule or True Rule if you put
conditions in a rule set. This eliminates the need to run
through all the rules for each event received.
f Order your rules in popularity sequence
Put the most frequent event processing activities at
the top
f For performance reasons, apply conditions using
functions instead of the condition editor

Step 15 (SCM) Assign Mapping Area

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

_________________________________

By assigning a mapping area, you define how parameter


information coming from the application system is mapped to
SAP EM

_________________________________

30

Tip

_________________________________

_________________________________
_________________________________

Access transaction /SAPTRX/TSC0PDM


Choose Assign Profile to Mapping Area
To assign the mapping profile to your application system, copy the
existing entries for the AO Type PMF10_NOTIF and PMF10_ORDER and
enter the application system from where your parameters come

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
31

Step 16 (SCM) Settings for Event Reporting and Status


Retrieval (WCL) Parameter Authorizations

_________________________________

Assign parameter authorizations to user roles

_________________________________

Access transaction PFCG


Available roles:
f /SAPTRX/SAP_EM_USER the user of this activity
group can:
Run reports for displaying event handler data
Enter and send event messages
Update event handler data by reporting events
f /SAPTRX/SAP_EM_ADMIN the user of this activity group
can perform the following event handler activities:
Configure the settings for creating event handlers
Run reports for displaying or changing event
handler data
Run reports for monitoring event handlers
Send event messages to SAP Event Management

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
32

Step 16 (SCM) Settings for Event Reporting and Status


Retrieval (WCL) Parameter Authorizations (cont.)

_________________________________

Available authorizations:

_________________________________

X_EM_EH (display event handler)


X_EM_EH_CH (change event handler data)
X_EM_EVM (send event messages)

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
33

Step 16 (SCM) Settings for Event Reporting and Status


Retrieval (WCL) Parameter Authorizations (cont.)

_________________________________

Production planner authorization: MRP_AREA,


MRP_CONTROLLER, PLANT, and PROD_SCHEDULER

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
34

Step 16 (SCM) Settings for Event Reporting and Status


Retrieval (WCL) Parameter Authorizations (cont.)

Production supervisor authorization: PLANT and/or


WORK_CENTER

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Step 17 (SCM) Assigning Filter Profile

_________________________________

You assign an existing filter profile to a user role or a


user to ensure that only the appropriate event handler
components are displayed to the user
Two different filter profiles are available for the
production malfunction visibility process:

_________________________________
_________________________________
_________________________________
_________________________________

PMF10_PLANNER for the production planner


PMF10_SUPERVISOR for the production supervisor

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
36

Step 17 (SCM) Assigning Filter Profile Filter Condition

_________________________________

Standard filter condition

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
37

Step 17 (SCM) Assigning Filter Profile

To assign a Filter Profile to a user:

_________________________________
_________________________________

Access transaction
/SAPTRX/TSC0FU
Assign the filter profiles to the
relevant users and save your
entries

_________________________________
_________________________________
_________________________________
_________________________________

To assign a Filter Profile to a role:

Access transaction
/SAPTRX/TSC0FR
Assign the filter profiles to the
relevant roles and save your
entries

_________________________________
_________________________________
_________________________________
_________________________________
38

Step 18 (SCM) Assign User Profiles to User Roles (WCL)

_________________________________

Users can only log on to the Web interface if they have


been assigned to a user profile
Access transaction /SAPTRX/UCROLE
For each WCL transaction, assign the user profile of
choice and give it a display order

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
39

Step 18 (SCM) Assign User Profiles to User Roles


(WCL) (cont.)

User profiles:

_________________________________
_________________________________

PMF10_PLANNER for the production planner


PMF10_SUPERVISOR for the production supervisor

_________________________________
_________________________________

Assign the relevant Web interface transactions and user


profiles to the users

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
40

Step 18 (SCM) Assign User Profiles to User Roles


(WCL) (cont.)

_________________________________

If changes are made to the profiles and layouts in Customizing, the


profiles must be reloaded in the Web interface. The profiles can be
manually reloaded on the Web interface admin page.

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
41

Step 19 (SCM) Assign Users to Roles

_________________________________

Available roles:

_________________________________

/SAPTRX/SAP_EM_USER the user of this activity group can:


f Run reports for displaying event handler data
f Enter and send event messages
f Update event handler data by reporting events
/SAPTRX/SAP_EM_ADMIN the user of this activity group can
perform the following event handler activities:
f Configure the settings for creating event handlers
f Run reports for displaying or changing event handler data
f Run reports for monitoring event handlers
f Send event messages to SAP Event Management

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

42

Step 19 (SCM) Assign Users to Roles (cont.)

_________________________________

Use transaction PFCG to assign users to the


required roles

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
43

Step 20 (SCM) Settings for Extraction to SAP NetWeaver


BI RFC Destination

SAP delivers SAP NetWeaver BI content that is tailormade for this visibility process

_________________________________
_________________________________

If you want to use the business content, you must first copy it
to the active version

_________________________________
_________________________________

Create the RFC (remote function call) connection to


SAP NetWeaver BI

_________________________________

To establish the physical connection between SAP NetWeaver


BI and SAP EM, create an appropriate entry in transaction
SM59

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
44

Step 21 (SCM) Create Logical System for SAP


NetWeaver BI

_________________________________

Create the logical system of SAP NetWeaver BI

_________________________________

Use transaction SALE Basic Settings Logical Systems


Define Logical System

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
45

Step 22 (SCM) Define Settings for the Data Extraction


Interface

_________________________________

Before using the business content delivered with SAP


EM, you have to install the three SAP EM datasources
Access transaction RSA5

_________________________________
_________________________________

Choose 0BW_DATASOURCES 0BW_DATASOURCES


0SCM 0EM
One by one, select the BW DataSources OSCEM_1, OSCEM_2,
and OSCEM_3 and choose Activate DataSources

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

46

Step 22 (SCM) Define Settings for the Data Extraction


Interface (cont.)

Access transaction
/SAPTRX/BWGS

_________________________________

In IMG: Event Management SAP


Business Information Warehouse
Interface Define General
Settings for Data Extraction

_________________________________

In the BW Upload Mode field,


choose V1 Direct Delta Update
In the Dialog Structure, choose
Activate Extraction Structures

_________________________________

Select BW Upload Activation for


the entries and save your data

_________________________________

_________________________________

f
f

_________________________________

_________________________________
_________________________________

If necessary, generate the


DataSources
If you use the standard appends
without modifications, you do not
have to generate DataSources

_________________________________
_________________________________
47

Step 23 (BI) SAP NetWeaver BI System Settings RFC


Destination for SAP EM

_________________________________

Create the RFC (remote function call) connection to SAP


EM using transaction SM59

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

48

Step 24 (BI) Create the Logical System for SAP EM

_________________________________

Create the logical system for the SAP EM system on


SAP NetWeaver BI

_________________________________
_________________________________

Access transaction SALE


Define logical system

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
49

Step 25 (SCM) Setting Up the SAP NetWeaver BI Upload


Initial Upload

The data transfer from SAP EM to SAP NetWeaver BI


consists of two basic steps
Initial upload

_________________________________
_________________________________
_________________________________
_________________________________

Transfers all the selected data


Performed only once

_________________________________

Delta upload

_________________________________

Transfers the deltas to SAP NetWeaver BI


Performed regularly (for example, once a day) to transfer all
the changes to SAP NetWeaver BI

_________________________________
_________________________________
_________________________________
_________________________________
50

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
51

The Testing Process

This is a step-by-step procedure to follow to test the


production malfunction visibility scenario

_________________________________
_________________________________

You can use this scenario for both production and process
orders

_________________________________

Prerequisites

_________________________________

All configurations in the 25-step process mentioned earlier


must be done

_________________________________

Create the Manufacturing Order (CO01)


Create the Malfunction Notification (IW21)
Display SAP EM Data in SAP ERP (CO03)
Retrieving EH Status via the Web Production Planner
Retrieving EH Status via the Web Production Supervisor
Confirming the Manufacturing Order (CO15)
Reporting Events Against Notification (IW28)
Verifying a Delivered Status

_________________________________

_________________________________

The testing Business Process Procedure (BPP)


1.
2.
3.
4.
5.
6.
7.
8.

_________________________________
_________________________________
_________________________________
52

Step 1 Create the Manufacturing Order

Transaction: CO01

_________________________________
_________________________________

Material (KW_1)
Plant (10)
Order Type (PP01)
Total Quantity
Scheduling Type = Current Date
Choose menu option Function
Release
Save

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Result:

_________________________________

Manufacturing order is created


and released
Event handler is created for
the order in SAP EM

_________________________________
_________________________________
53

Step 2 Create the Malfunction Notification

Transaction: IW21

_________________________________
_________________________________

Notification Type = M2
Notification description
Choose the related functional
location
Activate breakdown indicator
Save

_________________________________
_________________________________
_________________________________
_________________________________

Result:

Malfunction notification is created


Event handler is created for the
notification in SAP EM
An unexpected event is sent to all
manufacturing orders that are
related to the breakdown

_________________________________
_________________________________
_________________________________
_________________________________
54

Step 2 Create the Malfunction Notification (cont.)

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Production Order Event Handler

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Event Handler Set


55

Step 3 Display SAP EM Data in SAP ERP

_________________________________

Transaction: CO03

_________________________________

Enter manufacturing order number


Choose the SAP Event Mgmt tab
View information

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
56

Step 4 Retrieving EH Status via the Web Production


Planner

_________________________________

Transaction:
/SAPTRX/WCL_SEARCH

_________________________________
_________________________________

Log in
Choose the Tracking Scenario
Planner Production Malfunction
Visibility Process
Enter your manufacturing order
number and search

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Step 5 Retrieving EH Status via the Web Production


Supervisor

_________________________________

Transaction: /SAPTRX/WCL_SEARCH

_________________________________

Log in
Choose the Tracking Scenario Supervisor Production
Malfunction Visibility Process
Enter your manufacturing order number and search

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
58

Step 6 Confirming the Manufacturing Order

Transaction: CO15

_________________________________
_________________________________

Enter your manufacturing order number


Enter dates for Execution start and Execut.
Finish
Save

_________________________________
_________________________________

Result:

_________________________________

Reported dates updated in the Manufacture


Order Event Handler
Status is set to Finished

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
59

Step 7 Reporting Events Against Notification

_________________________________

Transaction: IW28

Save

_________________________________
_________________________________

Status changes to NOPR

Save
On the Tasks tab enter different tasks with any code group and task code
with text
Select the tasks and release them

_________________________________

Enter notification number or functional location and execute


Double-click your notification
Put the notification in process by choosing from the menu PM Notification
Functions Put in process

_________________________________
_________________________________
_________________________________

Status of tasks change from TSOS to TSRL

_________________________________
_________________________________
_________________________________
60

Step 7 Reporting Events Against Notification (cont.)

Transaction: IW28 (cont.)

_________________________________
_________________________________

Select and complete the tasks


f Status of tasks change from
TSRL to TSCO
f Notification status changes
to ATCO NOPR (all tasks
complete and notification in
process)
Save
Complete the notification and fill
in the reference date and time
Save
f Notification status changes
to ATCO NOCO (all tasks
complete and notification
complete)

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

Result:

_________________________________

Notification flagged as
Completed
61

Step 8 Verifying a Delivered Status

Transaction: /SAPTRX/WCL_SEARCH

_________________________________
_________________________________

Log in

_________________________________

Choose the Tracking Scenario Planner Production


Malfunction Visibility Process

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
62

What Well Cover

_________________________________

Introducing SAP Event Management Visibility and the


scenario
Setting up communication with SAP Event Management
Configuring SAP ERP (ECC)
Setting up communication with SAP ERP (ECC)
Configuring SAP Event Management
Testing
Wrap-up

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
63

Resources

Service.sap.com documents

_________________________________
_________________________________

https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=
01100035870000663838? *

_________________________________

http://help.sap.com

Go to SAP Business Suite SAP Supply Chain Management <select


your release> Application Help EN Supply Chain Management
(SAP SCM) SAP Event Management (SAP EM)
Quicklink:
f

_________________________________

http://service.sap.com * SAP Solutions Business Solutions and


Applications SAP Business Suite SAP Supply Chain Management
Supply Chain Event Management
Quicklink:
f

_________________________________

_________________________________

http://help.sap.com/saphelp_scm50/helpdata/en/6e/b4393c95b04325e10000000
a11405a/frameset.htm

SAP BPX (Business Process Expert Community) links

http://service.sap.com * Business Process Expert Community


Business Process in Practice Supply Chain Management SAP SCM
Components SAP Event Management (SAP EM)
Quicklink:
f https://wiki.sdn.sap.com/wiki/display/SCM/Event+Management

* Requires login credentials to the SAP Service Marketplace

_________________________________
64

_________________________________

Configuring an End-to-End SCEM Scenario; Creating an Event


in SCEM using a BAPI call; Supply Chain Event Management
(SCEM) Described
Quicklink:
f

_________________________________

SDN Blogs

_________________________________
_________________________________
_________________________________

www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/251685644

_________________________________

ERPGenie.COM

http://erpgenie.com SAP Corner Functional mySAP


SCM Supply Chain Event Management
Quicklink:
f

_________________________________
_________________________________

Resources (cont.)

_________________________________

_________________________________
_________________________________
_________________________________

http://erpgenie.com/index.php?option=com_content&task=view&id=67
&Itemid=76

_________________________________
65

7 Key Points to Take Home


_________________________________

Utilize as much of the standard visibility process as is


feasible
Plan for your reporting needs up front
Plan for your security/authorization needs up front
Design the relationships between Event Handlers and
Event Handler sets carefully
For performance reasons, consider implementing
function module relevance checks instead of the
delivered conditions
Rework the standard rule sets to more efficiently
process inbound messages
Stay with the standard Web reporting provided by SAP
EM WCL or Web Dynpro

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
66

Your Turn!

_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________
_________________________________

How to contact me:


Kevin Wilson
kevin@erpgenie.com

_________________________________
_________________________________
67

Wellesley Information Services, 990 Washington Street, Suite 308, Dedham, MA 02026

Copyright 2008 Wellesley Information Services. All rights reserved.

Vous aimerez peut-être aussi