SAP Workflow in Plain English



Similar documents
How to Modify, Create and Delete Table Entries from SE16

Step by Step Guide for Language Translation Tool

How to Assign Transport Request for Language Translation?

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

Automating Invoice Processing in SAP Accounts Payable

SAP MM: Purchase Requisition with Classification and Workflow Approval

Restricting Search Operators in any Search View

SAP CRM Campaign Automation

Creating Content Using SO10 Objects and Text Symbols

Process Controlled Workflow SRM 7.0 (Using BRF)

SAP CRM 7.0 E2C Setup: CRM via Toolset

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

SDN Community Contribution

Reverse Transport Mechanism in SAP BI

Creating Transaction and Screen Variants

ABAP Debugging Tips and Tricks

Guidelines for Effective Data Migration

ABAP How To on SQL Trace Analysis

Quick Viewer: SAP Report Generating Tool

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

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

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

How to Get Work Items from Workflow in your Outlook Inbox

LSMW: Upload Master Data using Batch Input Recording

Direct Subcontracting Process (SAP SD & MM)

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

Deleting the User Personalization done on Enterprise Portal

Sales Commission Calculation & Settlement Handling through Order Processing

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

SAP NetWeaver Developer Studio 7.30 Installation Guide

Credit Management in Sales and Distribution

Step by Step Guide to Archiving and Deleting of XML Messages in SAP NetWeaver PI

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

Creating New Unit of Measure in SAP BW

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

Display Options in Transaction SE16

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

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

Organizational Management- Organizational Structure Creation

SAP CRM Middleware Configurations

How to Generate Stack Xml for Ehp4 and Above Upgrade

Business Scenario Using GP/Web Dynpro with Back and Forth 3 Level Process and Dynamic Approvers in a Loop

Extractor in R/3 and Delta Queue

Release Strategy Enhancement in Purchase Order

Configuration of Enterprise Services using SICF and SOA Manager

Working with SAP BI 7.0 Data Transfer Process (DTP)

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

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

Order Split Usage in Production Orders

Creation and Configuration of Business Partners in SAP CRM

Different Types of Alerts for Process Chains. Table of Content

SAP BI/BW LO Extraction

Overview of SAP BusinessObjects Risk Management 10.0

Inventory Management in SAP BW

SAP FI - Automatic Payment Program (Configuration and Run)

Data Extraction and Retraction in BPC-BI

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

Embedding Crystal Reports inside ECC ALV Reports

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

Using PI to Exchange PGP Encrypted Files in a B2B Scenario

XSLT Mapping in SAP PI 7.1

First step to Understand a Payroll Schema

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

Web Dynpro: Multiple ALV Grids and Layouts in ALV

Salesforce.com Integration Using SAP PI: A Case Study

SAP BW 7.3: Exploring Semantic Partitioning

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

ABAP Proxy Interfacing

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

BW Performance Monitoring

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

Web Dynpro ABAP: ALV and Table in Popup Window

Merge PDF files in ABAP

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

Solution Manager Service Desk an End-to-End Helpdesk Solution

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

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

Tutorial - Creating Pop Up Window Using New Features in WebDynpro Java CE 7.1 Ehp1

Multi Provider Creation Based on Sales and Planning Info Cubes

Compounding in Infoobject and Analyzing the Infoobject in a Query

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

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

Mandatory Field Check in Web Dynpro- ABAP

SPDD & SPAU Adjustments Handbook

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

SAP CRM-BW Adapter an Overview

Forgot or Lock "Administrator or J2EE_ADMIN" Password

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

How to Develop Programs for SAP Mobile RF

Understanding DSO (DataStore Object) Part 1: Standard DSO

Currency Conversion using Variables in SAP BI -Reporting

Message handling in SAP CRM Web UI

ALV List with Radio Buttons

Introduction to COPA and COPA Realignment

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

Middleware Configuration and Monitoring for Master Data Transfer from SRM to ECC

Converting and Exporting Data in XML Format

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

Consuming Services in SOA Manager

Integrating SAP CRM with the SAP R/3 HR module

Transcription:

Applies to: SAP Workflow. For more information, visit the Business Process Modeling homepage. Summary This article describes the basics of SAP workflow in very simple terms along with the basic terminology used. It does not go into the technical details on how to implement workflow but describes the high level processes involved with SAP workflow. Author: Sai Prasanthi Company: Magna Training Created on: 22 December 2009 Author Bio Sai Prasanthi is a seasoned SAP SD, ABAP and Workflow Consultant and works part time in Magna Training. 2009 SAP AG 1

Table of Contents What is SAP Workflow... 3 Disadvantages of Traditional Paper Based Workflow... 4 How SAP Workflow Helps... 4 Brief Overview of SAP Business Workflow Terminology... 5 Event.... 5 Object... 5 Task... 6 Business Workplace & Work Item... 7 SAP Workflow Agent... 8 SAP Workflow Step... 9 Rule...... 10 Workflow... 10 Related Content... 11 Disclaimer and Liability Notice... 12 2009 SAP AG 2

What is SAP Workflow Workflow, as the name suggests, means flow of work, may be from one person to another person. It is in fact a sequence of connected activities resulting in exchange of information. Example: Let us consider a simple example - "Application of leave". It consists of the following activities. 2009 SAP AG 3

1. Employee submits a leave application form to his manager. (He fills in details like the FROM and TO dates of leave, the reason for taking leave, his contact number etc) 2. Manager checks the details of the application 3. In case, he finds that the reason for taking leave is not specified/detailed properly, he may reject the leave application. 4. Now, the employee has to correct the leave aplication, specifying the leave reason properly and submit the application again. 5. The manager finally approves the leave application. Please note that there can be many variations of the business process. A simple case is discussed here to give your understanding of workflow, a good start. The procedures can be complex involving many persons, decisions and approvals. Disadvantages of Traditional Paper Based Workflow There are many disadvantages to the traditional paper-based flow of work in a typical office environment. Let us discuss a few of them. 1. Lack of transparency: There is no easy way to know the status of the leave application. We probably have to inquire the manager personally whether he has approved the leave application or not. There is no system recorded status that we can glance at, to track the application. 2. Long lead times: Bases on customer feedback survey, it is found that a traditional paper based approch involving three people typically takes seven days to complete. 3. Lack of deadline monitoring: Who knows? The manager might just be sitting on the task for too long. There is no mechanism in place to ensure that the persons perform tasks within planned time period. 4. High costs: Paper based workflows are very costly to support as a result of manual document processing and archival. How SAP Workflow Helps SAP workflow is a cross application tool that automates the business processes like the "leave application approval" procedure that we have discussed. Cross application tool means the tool can be used across various modules of SAP. 2009 SAP AG 4

Brief Overview of SAP Business Workflow Terminology There are 9 primary terms that you should be aware of when learning SAP Business Workflow. This Workflow Tutorial will describe each of these in detail. These are by no means complete, but will give you a very basic idea on what most of the key terms used. We will discuss these terms in the light of the leave application example discussed earlier. We will call the Leave Application Form as Notification of Absence going forward. Event An event represents an action in the system. For example, Creating Absence Notification is an ACTION. For this action the SAP Application creates an event. This even in turn triggers a workflow. Object Workflow routes the document among different persons. Each person performs certain activities. Whatever goal the workflow is intended to achieve, can be put inside an object type. Consider an Object as a Structure ( Abstract Enclosure ) with certain data and some logic. For example, there is a standard object type called FORMABSENC in SAP. This is used for the notification of leave. It has certain data and some logic. If you are familiar with Object Oriented Programming then this concept will be pretty familiar and straight forward. 2009 SAP AG 5

Data KEY ( Absence Notification Number ) ATTRIBUTES (Created By, Entered on, Status etc ) Logic METHODS ( Create, Approve etc ) EVENTS ( Created, Deleted etc ) An OBJECT is a specific instance of the OBJECT TYPE. So, if an user created a Leave Application Form Object of type FORMABSENC, an instance with a unique number ( say 100001 ) is created. Task An SAP workflow task represents an Activity. It serves a purpose here. Some examples of tasks are Revise Absence Notification, Approve Absence Notification etc. The task Approve Absence Notification performs a business function Submits the relevant absence notification form to the manager and on approval, it changes the status of the form to Approved and so on. 2009 SAP AG 6

Now, how does it perform this function? It follows the logic created inside the method of an object type. So, in simple terms, a workflow TASK refers to the method of an object type. Business Workplace & Work Item Business Workplace is a work area that an SAP user can use to carry out business Processes. For example, the business workplace of an user could be his inbox. Let us take the example of the absence notification again. The employee submits the notification to his manager. The manager receives the request in his inbox to approve the absence notification. The manager opens it, checks the details and approves the same. The request that the manager receives in this inbox is called a WORK ITEM. In technical terms, a 2009 SAP AG 7

work item is a run time request of a task in real time. Inbox contains not just the work items it may as well contain simple text message. Examples include Notification messages, that need not be acted upon and are just used to inform the owner. SAP Workflow Agent An Agent is a person who executes a work item. In our example, manager Mr. John is the agent of the workflow task 'approve absence notification. Possible agent is the person who is eligible to execute the work item. The name of the possible agent is mentioned in the workflow task. Responsible agent is the person who should execute the work item, or who is responsible for acting on the work item.name of the responsible agent is mentioned in the workflow step. Excluded agent is the person who should not execute the work item, name of the excluded agent is mentioned in the workflow step. Let us consider an example. John is a manager at the Southern Zone of an organization. Any manager can execute the task approve absence notification in general. Meaning all the managers have the expertise, authority and eligibility to 2009 SAP AG 8

execute the task of approving. They are the possible agents who can execute the task. Hence, in the task, we mention the job 'manager' as the possible agent. This applies to all the managers in general. But, it is not a good idea to send the request for approving absence notification to all the managers. We have to select one responsible person, who should act on it. So, in the workflow step, we specifically mention the name of the manager 'John'. He is called the responsible agent. There might be a requirement that managers of Northern Zone only should not be able to check/approve the absence notification. In that case we mention the job 'Manager - Northern Zone' as the excluded agent of the workflow step. Hence, the system sends the work item to the responsible agent who is also the possible agent and not the excluded agent. In this example, the system sends the work item to John who is also the manager and not the northern zone manager. Please note that, for the purpose of this demo session, we are not detailing on organizational aspects like job, position. SAP Workflow Step Steps are the building blocks of a workflow. In other words, a workflow consists of steps arranged in a sequence. A step in general refers to a business activity. A step can therefore refer to an activity where it refers to a task. Eg., a step is created that refers to the task of approving absence notification or a user decision where the receiver of the notification has to decide on an Approval or a Rejection or a document from a template where a document can be edited from within a workflow. Steps can also refer to other programmatic conditions like loops, conditions, forks ( creation of a child process ) etc. 2009 SAP AG 9

Rule As discussed earlier, in the workflow task, as a responsible agent, we need to mention the name of the person who should execute the work item of approving absence notification. This method of specifying directly, the user name or job or position is called fixed agent assignment. But in some cases, we may want to determine the agent at run time, i.e when the workflow task is actually executed. Then, instead of specifying the manager's name, we specify a RULE 'superior ofworkflow initiator'. What does this rule perform? It takes the employee as input, refers to the organizational plan,checks who the superior of the employee is, at that point in time, and sends the work item to his inbox. This method is called RULE RESOLUTION. Please note that there are many other rule types and discussion of those is not included for this demo session. Workflow Now finally lets summarize the term SAP workflow and how these key terms are linked together. 1. Workflow engine automates business processes. 2. Workflow can be triggered by an event. 3. Workflow definition consists of a sequence of steps. 4. Each step can be an activity which is nothing but a task. 5. Task in turn refers to a method of a workflow to implement a specific logic. 6. Steps can also refer to user decision, and other programattic controls. 7. Runtime reprsentation of the step is called a work item. 8. This work item sits in the inbox(business workplace) of the responsible agent assigned to the step. 9. Agent determination can make use of Rule. 2009 SAP AG 10

Related Content A video version of the same content is available with voice over at the following locations. What is SAP Workflow SAP Workflow Terminology - I SAP Workflow Terminology - II 2009 SAP AG 11

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. 2009 SAP AG 12