Process Controlled Workflow SRM 7.0 (Using BRF)



Similar documents
Creation and Configuration of Business Partners in SAP CRM

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

SAP CRM 7.0 E2C Setup: CRM via Toolset

Deleting the User Personalization done on Enterprise Portal

Restricting Search Operators in any Search View

Step by Step Guide for Language Translation Tool

How to Generate Stack Xml for Ehp4 and Above Upgrade

SAP MM: Purchase Requisition with Classification and Workflow Approval

Embedding Crystal Reports inside ECC ALV Reports

BW Performance Monitoring

First step to Understand a Payroll Schema

How to Assign Transport Request for Language Translation?

Creating Content Using SO10 Objects and Text Symbols

Reverse Transport Mechanism in SAP BI

SAP CRM Campaign Automation

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

Creating Transaction and Screen Variants

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

Message handling in SAP CRM Web UI

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

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

Creating New Unit of Measure in SAP BW

How to Integrate CRM 2007 WebClient UI with SAP NetWeaver Portal

Order Split Usage in Production Orders

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

SAP FI - Automatic Payment Program (Configuration and Run)

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

SAP NetWeaver Developer Studio 7.30 Installation Guide

How to Modify, Create and Delete Table Entries from SE16

Forgot or Lock "Administrator or J2EE_ADMIN" Password

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

SAP Workflow in Plain English

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

LSMW: Upload Master Data using Batch Input Recording

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

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

Release Strategy Enhancement in Purchase Order

Create Automatic Mail Notification/ Alert for Process Chain Monitoring

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

ABAP Debugging Tips and Tricks

Salesforce Integration Using PI: How to Perform Query and Other DML Operations Using the Enterprise WSDL

Data Extraction and Retraction in BPC-BI

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

Display Options in Transaction SE16

Extractor in R/3 and Delta Queue

Using PI to Exchange PGP Encrypted Files in a B2B Scenario

Guidelines for Effective Data Migration

Workflow Troubleshooting and Monitoring in SAP ECC 6.0

Different Types of Alerts for Process Chains. Table of Content

ABAP How To on SQL Trace Analysis

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

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

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

Deploying Crystal Reports on Top of a SAP BI Query

Automating Invoice Processing in SAP Accounts Payable

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

Credit Management in Sales and Distribution

Working with SAP BI 7.0 Data Transfer Process (DTP)

Valuation of Materials using FIFO Method

Configuring HTTPs Connection in SAP PI 7.10

Consuming Services in SOA Manager

How to Get Work Items from Workflow in your Outlook Inbox

SAP BW Configuration Basic System Settings

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

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

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

Configuration of Enterprise Services using SICF and SOA Manager

Multi Provider Creation Based on Sales and Planning Info Cubes

Integrating SAP CRM with the SAP R/3 HR module

Sales Commission Calculation & Settlement Handling through Order Processing

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

Quick Viewer: SAP Report Generating Tool

Salesforce.com Integration Using SAP PI: A Case Study

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

Converting and Exporting Data in XML Format

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

APD to Update Marketing Attributes from SAP BI to SAP CRM

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

Inventory Management (0IC_C03) Part - 3

SAP BW 7.3: Exploring Semantic Partitioning

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

Multi Level Purchase Order Release Strategy

Integration of SAP R/3 with BO Universe Using Data Federator Connector

Currency Conversion using Variables in SAP BI -Reporting

SAP CRM Middleware Configurations

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

Compounding in Infoobject and Analyzing the Infoobject in a Query

Invoice Collaboration: Self Billing Invoice

Business Partner in the Human Resources (HR) System

Quantifying the Amount of Cash Discount Lost

Organizational Management- Organizational Structure Creation

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

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

ABAP Proxy Interfacing

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

Case Study of a Segregation of Duties Project

MM: Display Tax Conditions in Purchase Order for Brazilian Companies

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

SAP CRM-BW Adapter an Overview

Transcription:

Process Controlled Workflow SRM 7.0 (Using BRF) Applies to: SAP SRM 7.0 For more information, visit the Supplier Relationship Management homepage. Summary This document helps user to create workflow s using BRF (Business Rule Framework) is called Process Controlled workflow. This document explains the procedure for SC workflow. Author: Bhanu P R Gattu Company: ACS Systech Integrators Created on: 1 June 2010 Author Bio Bhanu P R Gattu is working as an ABAP/WORLFOW consultant in ACS Systech Integrators in Bangalore from past 4 years. 2010 SAP AG 1

Table of Contents Process Controlled workflow Step by Step Procedure... 3 Dynamic Process Levels (To Increase Process Levels Dynamically)... 15 Related Content... 16 Disclaimer and Liability Notice... 17 2010 SAP AG 2

Process Controlled workflow Step by Step Procedure To assign the Process Schema Evaluation ID to Business Object. Transaction code: /SAPSRM/WF_PROCESS. In our case it is shopping cart, Business Object: BUS2121. In This Case Evaluation ID: ZEV_SC_EVENT. Need to create the evaluation id as event in BRF (Business Rule Framework). To do so, go to transaction BRF 2010 SAP AG 3

Assign the implementation class 0EVENT. This event will help you to identify or select the Process Schema. This can be achieved by Rules of that particular event by assigning Expression as shown in below screens. In our case Expression Name: ZEX_SC_FM_SCHEMA. There are many types of Expressions: We need to use function module Expression type if we want to choose process schema based on conditions. Or we can use constant type if we have single Process Schema. We have multiple process Schemas assigned to SC. 2010 SAP AG 4

Create Expression ZEX_SC_FM_SCHEMA (Type: 0CF001). Assign standard function module /SAPSRM/WF_BRF_0EXP000 as access FM. Assign a class and method as parameters to this FM. There 2 parameters are constant type Expressions. One parameters represents Class Name and another parameter represents Method Name. 2010 SAP AG 5

To create Class name and Method name parameters, Class name Expression needs to be created with following naming convention. Class Name: ZC_C1_C_CON_* Method Name: ZC_C2_C_CON_* 2010 SAP AG 6

Class Implementations: Copy the standard Class /SAPSRM/CL_WF_RULE_CONTXT_SC into a Z Class. Create your own method to select the Process Schema. Assign the parameters as shown in below screen. Exceptions, if any. Assign the type of value. Based on conditions assign the Schema value to EV_VALUE variable. 2010 SAP AG 7

Now under each Process Schema we have to create Process Levels. Each process Level will work as one step in workflow. Each process level will have 1. Level Type 2. Evaluation ID ( BRF Event) 3. Responsibility resolver Name 4. Type of decision. And final process level should be Automatic (system user) level type, 0EV999 as evaluation id and task number 40007988. Consider at present we have 7 custom process levels and one system process levels. First Process Level: Level Type: Approval with completion. Evaluation ID: ZEV_SC_CATEGORY ( BRF event). To create BRF event follow the same procedure as above 2010 SAP AG 8

In this case we will validate the Process level by using formulas, If all formulas are successful, then process level is true else it is false. Here we have two formulas 2010 SAP AG 9

Formulas Expression can be any type of expression, in this case we have Function module Expression, in that Expression we can assign EV_VALUE as X or others based on conditions. 2010 SAP AG 10

2010 SAP AG 11

Procedure to create Responsible Resolver Name: In this procedure we will assign the approvers for the work item ( RT_APPROVERS internal table will have the approvers) SPRO SAP Supplier Relationship Management SRM Server Cross-Application Basic Settings Business workflow Process-Controlled Workflow Business Process Configuration Define filter values for BADI Define Agents. SPRO SAP Supplier Relationship Management SRM Server Business Add-Inns Business workflow Process-Controlled Workflow Define Agents. 2010 SAP AG 12

2010 SAP AG 13

If you want to group the items Use the below mentioned Method. We can use this method to create Area Class for group of items or SC by passing the Approver id or any value to find the approver. We can copy the standard implementing class of BADI /SAPSRM/BD_WF_RESP_RESOLVER. Sample code: Copy SAP standard Method /SAPSRM/CL_WF_AREA_MANAGER and use method GET_RESPONSIBLE_APPROVERS to assign responsible approvers. Use this method in GET_APPROVERS_BY_AREA_GUID method. 2010 SAP AG 14

Sample Code: GET_RESPONSIBLE_APPROVERS: Dynamic Process Levels (To Increase Process Levels Dynamically) Implement the BADI /SAPSRM/BD_WF_PROCESS_CONFIG. (Read the documentation of the BADI) Before that please apply OSS note -1372031 (Up to SRM 7.0 Only). 2010 SAP AG 15

Related Content Process Controlled Workflow Configuration Guides for SRM 7.0 Business Rule Frame Work 2010 SAP AG 16

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 17