Customize EMail Services

17
8/12/2019 Customize EMail Services http://slidepdf.com/reader/full/customize-email-services 1/17 SAP AG 2005 Customize sending Service Sessions via E-Mail Product Management SAP Solution Manager, SAP AG

Transcript of Customize EMail Services

Page 1: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 1/17

SAP AG 2005

Customize sendingService Sessions

via E-MailProduct Management SAP SolutionManager,SAP AG

Page 2: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 2/17

SAP AG 2006

BACKGROUND: Automatic E-Mail Transmission

As a function of Solution Monitoring customers can customize the

SAP Solution Manager to automatically send service reports to

responsible staff as an e-mail, for example:

Recipients are valid e-mail addresses and entered globally for an

entire solution.

Distribution lists

Single recipients, for example system responsibles, managers, support

members

RECIPIENTS

SAP EarlyWatch Alert

SAP Service Level Reporting

SERVICE REPORTS

Page 3: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 3/17

SAP AG 2006

BACKGROUND: Disadvantages of E-Mail of Service Reports

For large customers with multiple systems in each solution this creates:

DSAG (German User Group)

requested a filter for e-mails

of service reportsWithout Filter, all IT staff receives

all service reports

SAP Solution

Manager

SAP

Service

Reports

Authorization problems

In-box overflow

with informationfrom an unrelated

business or IT area

Extensive e-mail traffic

due to individual

service reports sent

to multiple recipients

Page 4: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 4/17

SAP AG 2006

NEW BAdI / Implementation Spot: Filter E-Mail for ServiceReports

The e-mail recipient only receives

the service reports for the systems

for which he/she is responsible

and/or authorized to receive.

Sends service reports only

to the correct e-mail recipients

Filters the service reports

Verifies the e-mail addresses

for authorization to

receive the service report

(for example, as maintained in

a white list created by customer)

New BAdI filters e-mails of service reports before sending

After each service report is generated, the SAP Solution Manager:

With filter, individual persons receive reports

corresponding to their area of responsiblity

SAP Solution

Manager

SAP

Service

Reports

Page 5: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 5/17

SAP AG 2006

SETTING Up E-Mail Filter: Two IMG Activities

SAP Solution Manager Implementation Guide

SAP Solution Manager

-> Scenario-Specific Settings

->Operations

-> Sending Service Reports

by Internet E-Mail

-> E-Mail Filter (Maintenance)

Page 6: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 6/17

SAP AG 2006

SETTING Up E-Mail Filter: IMG Activities (2)

1. IMG Activity: Map Systems to E-Mail Add resses

Enter table name DSWP_SYS_EMAIL 

In the next screen, create new entries:

• Select the relevant SAP Solution Manager Solution

• Select a system

• Enter an e-mail address

Result: Recipient only receives defined service reports for this system.

In this example:

• EWA reports for system PRD will only

be sent to [email protected] 

• Reports for system XYZ will only be

sent to [email protected] 

Page 7: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 7/17 SAP AG 2006

SETTING Up E-Mail Filter: IMG Activity (3)

2. IMG Activity: BAdI EWA E-Mail Filter

Activate BAdI DSWP_EWA_EMAILFILTER_BADI_IMPL

Page 8: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 8/17 SAP AG 2006

CUSTOM BAdI Implementation 1

Select Create Implementation  

Page 9: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 9/17 SAP AG 2006

CUSTOM BAdI Implementation 2

In the field Enhancement Implementat ion, enter a <name>

In the field Sho rt Text , enter a <descriptive text>

Page 10: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 10/17 SAP AG 2006

CUSTOM BAdI Implementation 3

Enter name for BAdI implementation

Page 11: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 11/17 SAP AG 2006

CUSTOM BAdI Implementation 4

Select Implement in g Class

Page 12: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 12/17 SAP AG 2006

CUSTOM BAdI Implementation 5

Enter name for  Implement ing c lass and select Change Class

Page 13: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 13/17 SAP AG 2006

CUSTOM BAdI Implementation 6

Enter  source code in method

Page 14: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 14/17 SAP AG 2006

CUSTOM BAdI Implementation 7

 METHOD if_dswp_ewa_emailfilter~filter_email_addresses.

* Example 1: replace standard e-

 mail subject field with custom subject: 

DATA: lv_email_subject TYPE string.

lv_email_subject = 'Example EWA title for system &1 rating &

2'(001).

REPLACE '&1' IN lv_email_subject WITH i_dmd_system_id.

REPLACE '&2' IN lv_email_subject WITH i_rating_text.

ch_subject_text = lv_email_subject.

ENDMETHOD.

EXAMPLE SOURCE CODE AS TEXT: 

Result: E-Mail has following subject:

“Example EWA title for system XYZ rating Noncritical (Green)” 

Page 15: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 15/17 SAP AG 2006

BENEFITS

SAP SolutionManager

SAP

Service

Reports

• Reduced storage requirements for

mail volume• Reduced time for administering

irrelevant e-mails

• Reduced cost of operations

• Improved IT-staff productivity

• Included in SAP standard

maintenance

REDUCED TOTAL COST OF OWNERSHIP

•Improved communication betweenSAP and customers

•Improved employee satisfaction

•Improved focus on EWA or SLR

reports and thus improved system 

administration 

SATISFACTION 

Page 16: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 16/17 SAP AG 2006

TECHNICAL Prerequisites

 – SAP SOLUTION MANAGER 4.0

 – SUPPORT PACKAGE 08 – SAP Solution Manager Implementation Guide (IMG) Activity Automatic E-mailing

of Reports must be complete 

MINIMUM REQUIREMENTS

Page 17: Customize EMail Services

8/12/2019 Customize EMail Services

http://slidepdf.com/reader/full/customize-email-services 17/17

SAP AG 2006

COPYRIGHT 2006 SAP AG. All Rights Reserved

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

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

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

IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP,Intelligent Miner, WebSphere, Netfinity, Tivoli, and Informix are trademarks or registered trademarks of IBM Corporation.

Oracle is a registered trademark of Oracle Corporation.

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

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

HTML, XML, XHTML and W3C 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 for technology invented and implemented by Netscape.

MaxDB is a trademark of MySQL AB, Sweden.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are

trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned arethe trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose withoutthe express prior written permission of SAP AG.

This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intendedstrategies, developments, and functionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, product strategy,and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice.

SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links,or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to theimplied warranties of merchantability, fitness for a particular purpose, or non-infringement.

SAP shall have no liability for damages of any k ind including without limitation direct, special, indirect, or consequential damages that may result from the use ofthese materials. This limitation shall not apply in cases of intent or gross negligence.

The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hotlinks contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages.