Professional Documents
Culture Documents
[ Agenda
Motivation for this session
Monitoring
Notifications
Customizable error
categories
Automatic resolution
of transient errors
Forward
Error
Handler
Forward navigation
to the underlying
application data
Proactive alerting
through emails and
SMS
Automatic
Reprocessing
Error
Correction
WSDLs
SAP
Business
Suite
SAP PI
XI
WS-RM
Inbound
Queues
Service Implementation
Service
Consumer
WS-RM
Yes
Raise
Exception
Errors?
No
Application
SAP PI
Inbound
Queues
SAP
Business
Suite
Service Implementation
Service
Consumer
WS-RM
Yes
Errors?
No
Monitoring
Notifications
Application
Forward
Error Handler
Auditing
Payload Editor
Reprocessing
Manual /Automatic
[ Action Class
The action class implements the business logic of the service
To enable FEH, the action class must also implement the interface,
IF_ECH_ACTION
Following methods of interface IF_ECH_ACTION must be
implemented to handle the errors using PPO
Method
Description
S_CREATE
RETRY
FINISH
FAIL
S_FAIL
S_FINISH
10
11
12
[ Configuration Settings
1. Activate FEH Globally
Cross Application Components -> Process and Tools for Enterprise Applications ->
Enterprise Services -> Error and Conflict Handler -> Activate Error and Conflict
Handler
13
14
15
Resolution
Strategy
Authorizations for
Payload Editor
PPO Settings
Assign
Priorities
Work Lists
Software Component
ZINT_SAMPLES
Software Component
ZINT_SAMPLES_PPO
Business Process
ZFEH_ERROR_HANDLER_SAMPLE
Business Process
ZFEH_PPO
Action Class
Persistence Class
Notification Class
WS Proxy Class
WS Proxy Method
Edit Transaction
Business Objects
Display
Transaction
Custom tabs in
Order Area
16
DEMO
Common Error Handler Framework
17
18
7. In the S_RETRY method, retrieve the hidden data to get the name
of the service implementation class
8. Using Run Time Type Services (RTTS), create an instance of the
service implementation class
9. Pass the input data to the method PostBusinessLogic of the
service implementation class instance created above
19
[ Best Practices
1. Plan for using the FEH even before starting to code interface
programs
2. Design a Common Error Handling framework to minimize
development and user training effort
3. Define the Security role framework for handling interface errors
using FEH, early in the implementation
4. Design the Notification Framework early in the implementation
5. Identify training needs for using the FEH user interface
20
[ Key Learnings
1. Forward Error Handler (FEH) is the tool of choice for handling
Asynchronous Service Errors in Business Suite Applications
2. FEH allows role based proactive error handling and monitoring
3. FEH can be used for changing the payload data using an out-of-the
box editor
4. FEH can be used for both automatic and manual error processing
5. FEH provides application specific error information and forward
navigation within the application
6. FEH can be customized to suite specific customer requirements
21