Create Automatic Mail Notification/ Email Alert for Process Chain Monitoring



Similar documents
Different Types of Alerts for Process Chains. Table of Content

Step by Step Guide How to Copy Flat File from Other Application Server to BI and Load through Info Package

Restricting Search Operators in any Search View

Deleting the Requests from the PSA and Change Log Tables in Business Intelligence

ALE Settings, for Communication between a BW System and an SAP System

SAP CRM Campaign Automation

Step by Step Procedure to Create Broadcasters, to Schedule and to Enhance of SAP- BI Queries from Query Designer

Step by Step Procedures to Load Master Data (Attribute and Text) from FlatFile in BI 7.0

SAP BW - Excel Pivot Chart and Pivot Table report (Excel)

Standard SAP Configuration of SMS through HTTP with Third Party SMS Gateway

Creating New Unit of Measure in SAP BW

Reverse Transport Mechanism in SAP BI

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

Step by Step Guide for Language Translation Tool

A Step-by-Step guide on SMTP Configuration and File to Mail Scenario Using Process Integration Scenario in PI 7.1

SAP CRM 7.0 E2C Setup: CRM via Toolset

Scenario... 3 Step-by-Step Solution Virtual Infocube... 4 Function Module (Virtual InfoCube)... 5 Infocube Data Display... 7

Creating and Scheduling Publications for Dynamic Recipients on SAP Business Objects Enterprise

Step by Step guide of Report-to- Report Interface in BW Reporting

How to Generate Stack Xml for Ehp4 and Above Upgrade

SAP FI - Automatic Payment Program (Configuration and Run)

Exposing RFC as Web Service and Consuming Web Service in Interactive Forms in ABAP

Extractor in R/3 and Delta Queue

Step by Step Procedure to Block and Debug a CIF Queue Flowing from R/3 to APO System

How to Get Work Items from Workflow in your Outlook Inbox

Embedding Crystal Reports inside ECC ALV Reports

BW Performance Monitoring

Compounding in Infoobject and Analyzing the Infoobject in a Query

Transfer of GL Master from Source SAP System to a Target SAP System through IDOCS

Data Flow from LBWQ/SMQ1 to RSA7 in ECC and Delta Extraction in BI

Creation and Configuration of Business Partners in SAP CRM

Table of Contents. Passing Data across Components through Component Controller between Two Value Nodes

Deploying Crystal Reports on Top of a SAP BI Query

SAP BW 7.3: Exploring Semantic Partitioning

Configuration of Enterprise Services using SICF and SOA Manager

Creating Transaction and Screen Variants

Working with SAP BI 7.0 Data Transfer Process (DTP)

Converting and Exporting Data in XML Format

SAP CRM System 6.0/7.0. For more information, visit the Customer Relationship Management homepage

SAP BW - Generic Datasource Function Module (Multiple Delta Fields)

Deleting the User Personalization done on Enterprise Portal

ABAP Debugging Tips and Tricks

Order Split Usage in Production Orders

Inventory Management (0IC_C03) Part - 3

How to Integrate CRM 2007 WebClient UI with SAP NetWeaver Portal

How to Modify, Create and Delete Table Entries from SE16

How to Assign Transport Request for Language Translation?

Display Options in Transaction SE16

Multi Provider Creation Based on Sales and Planning Info Cubes

Currency Conversion using Variables in SAP BI -Reporting

SAP CRM-BW Adapter an Overview

Process Controlled Workflow SRM 7.0 (Using BRF)

Data Extraction and Retraction in BPC-BI

Guidelines for Effective Data Migration

Inventory Management in SAP BW

Configuring HTTPs Connection in SAP PI 7.10

Web Dynpro: Multiple ALV Grids and Layouts in ALV

Invoice Collaboration: Self Billing Invoice

Quick Viewer: SAP Report Generating Tool

Web Dynpro ABAP: ALV and Table in Popup Window

Creating Web Service from Function Modules/BAPIs & Integrating with SAP Interactive Forms

SAP NetWeaver Developer Studio 7.30 Installation Guide

First step to Understand a Payroll Schema

Sending an Image File Through XI in a File-to-Mail Scenario

Creating Content Using SO10 Objects and Text Symbols

Credit Management in Sales and Distribution

SAP Workflow in Plain English

How To Manage Work Mode On An It Calendar On An Apa System

Consuming Services in SOA Manager

ABAP Proxy Interfacing

ABAP How To on SQL Trace Analysis

Using PI to Exchange PGP Encrypted Files in a B2B Scenario

SAP CRM 7.0 for Newbies: (Part 1) Simple BOL Object Creation for CRM Webclient UI

Understanding DSO (DataStore Object) Part 1: Standard DSO

Message handling in SAP CRM Web UI

LSMW: Upload Master Data using Batch Input Recording

Table of Content. SAP Query creation and transport Procedure in ECC6

SAP MM: Purchase Requisition with Classification and Workflow Approval

Multi Level Purchase Order Release Strategy

Step By Step Procedure to Create Logical File Path and Logical File Name

Direct Subcontracting Process (SAP SD & MM)

SAP CRM Middleware Configurations

Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW

Release Strategy Enhancement in Purchase Order

BI 7.0 and EP 7.0 Integration using Template Installer

Quantifying the Amount of Cash Discount Lost

SAP BW Configuration Basic System Settings

Configuration and Utilization of the OLAP Cache to Improve the Query Response Time

How to Develop Programs for SAP Mobile RF

Salesforce.com Integration Using SAP PI: A Case Study

How to Create an ecatt?

Merge PDF files in ABAP

Introduction to COPA and COPA Realignment

Web Application Designer for Beginners

Understanding BW Non Cumulative Concept as Applicable in Inventory Management Data Model

SDN Contribution Beginners guide to CRM Interaction Center (IC) Winclient setup

Understanding BEx Query Designer: Part-2 Structures, Selections and Formulas

Forgot or Lock "Administrator or J2EE_ADMIN" Password

Integrated Testing Solution Using SAP Solution Manager, HP-QC/QTP and SAP TAO

SPDD & SPAU Adjustments Handbook

Transcription:

Create Automatic Mail Notification/ Email Alert for Process Chain Monitoring Applies to: SAP BW 3.X, Business Intelligence 7.0. For more information, visit the EDW homepage. Summary This document will give brief introduction on automatic notification of RSPCM. Automatic notification is used to send the list of failed & unknown status process chains in RSPCM to the required e-mail IDs. Author: Swati Ramteke Company: Capgemini, India Pvt. Ltd. Created on: 29 September 2010 Author Bio Swati Ramteke is a BI Consultant working with Capgemini, India Pvt. Ltd, earlier she worked with Patni Computer System Ltd. Swati has got a working experience of over 3 years in SAP- BI 7.0, SAP BI 3.5 & SAP ABAP. 2010 SAP AG 1

Table of Contents Automatic Notification in RSPCM... 3 Transaction used... 3 Tables Used... 3 Program Used... 3 Prerequisites... 3 Implementation... 4 Step 1... 4 Step 2... 4 Step3... 4 Step 4... 5 Step 5... 5 Step 6... 5 Step 7... 6 Logic of the program... 7 Related Content... 8 Disclaimer and Liability Notice... 9 2010 SAP AG 2

Automatic Notification in RSPCM Automatic notification is used to send the list of failed & unknown status process chains in RSPCM to the required e-mail IDs. This is very useful for monitoring the process chain. In case of failure mail is send to the support team and necessary action can be taken immediately. Transaction used Process chain Monitoring Job Overview Process chain maintenance Edit Profile SAPConnect Transmission Request RSPCM SM37 RSPC RZ10 SOST Tables Used Monitor individual process chains Texts for Chain Cross-Table Log ID / Chain ID RSPC_MONITOR RSPCCHAINT RSPCLOGCHAIN Program Used Monitoring of Selected Process Chains (Last Run) RSPC_MONITOR Prerequisites SMTP server should be configured to send mail. This setting is done from transaction RZ10. Settings for the Profile Parameters Instance profile rdisp/start_icman = true icm/server_port_0 = PROT=HTTP, PORT=**** All these setting have to be done by basis team. 2010 SAP AG 3

Implementation Following are the steps: Step 1 In RSPCM Automatic notification button is as shown below: Step 2 Enter the process variant as RSPC_MONITOR_MAIL and short description as you want. Step3 Once you enter the above details, below screen will display. Click on edit document to give Subject line of e- mail and message. Click on Maintain Recipient List to provide e-mail IDs. 2010 SAP AG 4

Step 4 Edit Document: Fill the details and save. Step 5 Maintain Recipient List: Enter email IDs, select recipient type as Internet address. Check the check box for expr. Mail. Step 6 Click on back and save the variant. 2010 SAP AG 5

Step 7 Now schedule the Job to send mail. a. In RSPCM click on JOB button. b. You have option to execute immediately or schedule it as per requirement. c. To schedule the job, click on schedule. Enter Job name and provide other details as required. The purpose of this job is to trigger program RSPC_MONITOR which will send mail. Program RSPC_MONITOR send mail for failed and unknown status only. We can customize this program as per our need. 2010 SAP AG 6

Logic of the program This program mainly executes two forms, get and send. Function get : This form gets RSPCM process chain s details into internal table l_s_data. All process chain names added in RSPCM are available in table RSPC_MONITOR and other details like log ID, status, start time and end time are read from RSPCCHAINT & RSPCLOGCHAIN. Function send : This form is to send mail. this form has three parts: a. METHOD cl_rsra_communication=>get_message is used to get message from mail variant (created using automatic notification of RSPCM step 2). This includes mail subject line, mail document and recipient list into internal table l_t_mail. b. Append the details of failed process chain from l_s_data to mail document table l_t_mail. This part can be edited to get mail as per the requirement. c. Send mail using METHOD cl_rsra_communication=>add_content. if condition can help to send mail only in case of failure. 2010 SAP AG 7

Related Content Process Chain Monitoring RSPCM Overview and Steps to add Notification Mail - http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/80ffbc22-8c91-2d10-ed84-e246b29e7be5 Automatic Email Alert - http://forums.sdn.sap.com/thread.jspa?threadid=1507005&tstart=0 For more information, visit the EDW homepage. 2010 SAP AG 8

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2010 SAP AG 9