You are on page 1of 46

Welcome to your RKT Live Expert Session

mySAP SRM RKT


Value Added Session
SRM 6.0 New Workflow Configuration
Markus Frieske & Masayuki Sekihara
SRM RIG
Please note that we are recording this session!

Target Audience:
SAP SRM consultants
Partner SRM consultants

Prerequisites Knowledge:
SRM implementation experiences
SRM 6.0 overview

Objectives:
Explain Workflow changes in SRM 6.0
Configure new SRM 6.0 Workflow

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 2

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

Workflow Changes
SRM 5.0

SRM 6.0

SAP Business Workflow

SAP Business Workflow

+ Start Conditions

+ Process Schema Evaluation

+ N-step BADI

+ Process Level Definition

SC.Saved
Start Condition

PO.Saved
Start Condition

+ Business Rule Framework


+ BADI Responsible Agent

WF
WF

WF
Process Schema Evaluation

Conf.Saved
Start Condition

BUS*.Saved

Process Level Definition

Start Condition
Result

Eval ID

Business Rule Framework


WF

WF

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 4

Enhancements and Business Benefits


Enhancements in mySAP SRM 6.0
Easier to configure
Reduced complexity of implementation options
through standardization
Complete new user interface and Combined
document completion (purchaser and
specialists) and financial approval (manager)
processes
Out-of-the-box, multilevel approval (without
having to code) capabilities
Introduction of new business rule framework
(BRF)
Offline approval via Duet
Dont need in depth workflow knowledge

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 5

Business Benefits
Standardized
approval processes
to reduce complexity
Reduced total cost of
ownership
Faster
implementation
cycles
Compliance with
regulations
(Sarbanes-Oxley Act,
accessibility, and
audit requirements)

Business Rule Framework


BRF is to offer freely configurable rules being processed without
programing at certain business events.
Easy maintenance of business/technical rules
Reduces coding and thereby potential for errors
Extensibility
Where Used List for BRF Objects
Trace functionality helps development to easily test the rules

An SAP Application using BRF raises BRF-Events


To each BRF-Event, an arbitrary number of Rules can be assigned.
A Rule works like: If <boolean Expression> then
An Expression is an object that returns a result
SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 6

Back & Forth function, Inquiry and Recall


New workflow with combined specialist completion and financial approval
processes. Completion process must precede approval process.
Approver has Inquire and Edit option in Completion Process.
When Requester need to change the SC, you can recall by clicking the
Change/Edit button or access the SC directly (via the POWL) and edit it.

Approver

Requester
z Change/Recall

l
ci a

i st

z Accept/Adjust

z Reject

e
Sp
Completion

z Accept/Adjust

z Inquire

Process

z Approve

z Edit
ia
nc
a
in

z Change/Recall

F
Approval

z Approve
z Accept/Adjust

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 7

z Reject

Process

Approval Preview and Recall Popup


Approval Preview

Recall Popup
when you edit a
document which is
in approval

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 8

Portal Inbox and New UI

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 9

General guideline
New customer SRM60
Define Process Level table with BRF

Upgrade customer who use SAP standard workflow


Migration program is available

Upgrade customer who developed custom workflow template


Manually migrate it to Process Level table and BRF

Upgrade customer who developed N-step BADI


Manually migrate it to Process Level table and BRF
Or
BADI Adapter is planned in later SP

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 10

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

Configuration Blocks
APL
Application

Create SC

Event /SAPSRM/CL_WF_PDO.

Accept/Recall

Adjust (w. pot.


Restart)

Approve/Reject
Approve/Reject

WF
Process Control
WS40000014

Process Level
WS40000015
Completion
WS40000017

Approval
WS40000016

PL
SRM
Process
Level
Definition
BRF
BRF

Process
Scheme

Event
Expression
Expression

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 12

Process
Level

Event

Expression
Expression

Responsible
Decision Type

Main Configuration

SAP
Business
Workflow

Should not change

READY_FOR_WORKFLOW

Process Level Definition table (Example)


Process
Level
(type)

Description

Approval
Business Rule
decision type

10

Completion Purchaser completion Free text item


exists
(of free text
requirements)

20

Completion IT Department
completion (of IT
equipment)

Product
category 012
exists (IT
Equipment)

PL
Responsible agents

Item-Based
Decisions for
Entire
Document
Item-Based
Decisions for
Entire
Document

Purchasers of purchasing
group 500000002

Users with role


BBP_STALIT_DEPAR
TMENT

30

Approval

Line manager
approval

Total Value
exceeds Euro
400,-

Item-Based
Decision
for Partial
Document

Next line manager in PDOrg

40

Approval

Director approval

Total Value
exceeds Euro
2000,-

Item-Based
Decision
for Partial
Document

Next director in PD-Org

90

Automatic

Automatic Rejection

Exception
handling

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 13

Approval implementation steps


1. Define Process Scheme Evaluation
2. Configure Process Level Definition
Level, Responsible, Decision Type

3. Configure BRF Expression

PL
PL
BRF

Events, Expressions, Formula Editor

4. Implement Agent BADI (option)


Definition: /SAPSRM/BD_WF_RESP_RESOLVER
Enhancement spot: /SAPSRM/BD_WF_AGENTS

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 14

Solution Manager -> IMG Configuration


Solution Manager

IMG Path: Supplier Relationship


Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New)
IMG

WF

BRF

See Appendix for


Basic Workflow settings.
Nothing new.
SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 15

PL

Copy BRF Objects


IMG Path: Supplier Relationship
Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New) ->
Basis Workflow Settings -> Copy
BRF Objects

Program:
BRF_TRANSPORT_SIMPLE
Application Class:
SRM_WF
The report copies BRF Objects
from client 000 to your current
client
Run this report once for each client
in your SRM system (except client
000)
SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 16

BRF

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

WF1. Activate Workflow


WF

Activate the event link: WS40000014


IMG Path: Supplier Relationship
Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New) ->
SRM Workflow Settings -> Workflow
Settings -> Activate Workflow

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 18

WF2. General Task


WF

Set general task:


TS 40007936
Revise Document

TS 40007943
Basic SRM Decision Task

TS 40007944
Adjust Document

TS 40007945
Review Document

TS 40007952
SRM Shopping Cart Completion

TS 40007953
SRM Shopping Cart Approval (1)

TS 40007954
SRM Shopping Cart Approval (2)

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 19

IMG Path: Supplier Relationship


Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New) ->
SRM Workflow Settings -> Workflow
Settings -> Activate Workflow

PL1. Define Process Scheme Business Object


Business Objects BUS2121 - Shopping Cart

System demo - iTutor

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 20

IMG Path: Supplier Relationship


Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New) ->
SRM Workflow Settings -> Workflow
Settings -> Define Process Levels

PL

PL2. Define Process Levels Evaluation ID


BUS2121 -> Evaluation ID, 0EVS01 (Predefined)

BRF:Event
0EVS01 (Predefined)

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 21

PL

PL3. Define Process Levels Scheme


PL

Process Scheme Definition


BRF: Event

BRF: Expression Result

0EVS01 (Predefined)

BUS2121_EX01

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 22

PL4. Define Process Levels


Process Level Configuration (SPRO customizing)

PL

Level Type (Completion, Approval)


Responsibility Resolver name (User, Role, Manager, ManOfManager, Purchaser
OR customer dev.)
Business Rule Framework (level validation)
Task ID (predefined OR customer own)
Decision Type

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 23

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

BRF at Runtime An Example


BRF
Program Flow

An Application using BRF


raises Events

SRM: Event calls


expression directly
A Rule works like,
if <expression>
then <action>

Expression

Expression
Ausdruck
Ausdruck

Expression

Event

Not used in SRM WF


Regel
Regel
Regel
Rule
To each event,
a number of
rules is assigned

Actions
Aktion
Aktion
Aktion
Action

Expression

In SRM, the boolean expression result (True/False)


is given back to the calling ABAP class in the application
SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 25

BRF Expressions
BRF

Expressions are BRF objects that return a definite result


Boolean Expressions form the IF part of the Rule
Expressions can be of the following types:
Constant - (0CN001)
Field of a Structure (Data Source)
Field of a line of an Internal table (Data Source) - (0TB001)
Call Function Module / Method - (0CF001)
Boolean Three-operand Arithmetic - (03O001)
Simple Formula Interpreter - (0FR001)
SAP Formula (as used in BADI implementations) - (0FB001)
Truth Table Pattern Matching - (0PM001)
Random Number Generator - (0RV001)
Date Interval - (0DI001)
Case expression - (0CE001)
SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 26

help.sap.com

BRF3. Define Events


Predefined event:
0EVS01

PL:
Evaluation ID

BRF

0EVS01 (Predefined)

IMG Path: Supplier Relationship


Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New) ->
BRF Settings -> Define Events

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 27

BRF2. Define Expression Scheme level


Predefined Expression: 0V_RF_C_SCHEME

IMG Path: Supplier Relationship


Management -> SRM Server ->
Cross-Application Basic Settings ->
SAP Business Workflow (New) ->
BRF Settings -> Define Expressions

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 28

BRF

BRF3. Define Expression Process level


Pre-defined Expression: 0V_LV_B_CONSTRAIN3

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 29

BRF

BRF3. Expression - Formula Editor


BRF

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 30

Demo

You can download iTutor file from Recorded Live Expert session
page.

System demo - iTutor

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 31

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

Agent BADI methods

Example for Responsible Purchasing Group

Item 1 Product Category 1100


Item 2 Product Category 1200

Area 1
Responsible P-Group 001

Item 3 Product Category 1120


item 4 Product Category 2000

Area 2

Responsible P-Group 003

item 5 Product Category 2010


item 6 Product Category 3020

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 33

Responsible P-Group 002

Area 3

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

Transition Steps from SRM 5.0 to SRM 6.0 (Overview)

The SRM 5.0 BAdI-Workflows are not supported in its original


form any more
There is a new concept to adapt the approval workflows to
customer expectations (mainly configuration and programming)
Approval Workflows must be switched to the new SRM Workflow
as soon as the new UI for the BO is introduced
After the Upgrade from SRM 5.0 to SRM 6.0 there is the need to
stop the old workflows and re-start the new workflows
The following reports are provided to do the switch
/SAPSRM/PR_WF_MIGRATION_CFG (migrates the workitems)
/SAPSRM/WF_COND_MAPPING (migrates the start conditions)

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 35

Cancel old Workflow and start new workflow


Program:

Table: /SAPSRM/D_WF_001 Toggle

/SAPSRM/PR_WF_MIGRATION_CFG

Disable creating the old


BUS2121.saved event

This report searches for workitems, sets them to


CANCELLED and starts the respective new workitem
SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 36

Migrate old Workflow settings to new Workflow


Report: /SAPSRM/WF_COND_MAPPING
Reads start conditions (/nSWB_COND) from SRM 5.0 Workflow and
transfers them into SRM 6.0 BRF Expression Formulas
(e.g. 1- and 2-step Approval, Spending Limit and SC Completion, also for
Contracts, Purchaser Order etc.)

Reports uses the Process Level table with one Completion Approval
and two Approval steps, expression which can be used are in table
/SAPSRM/C_WF_MAP

Please Note:
The Report does not create any
BRF Objects. They must exist
already.
The Report creates the step-tables
and the schemas.

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 37

General Overview
SRM Workflow Configuration
- SRM Workflow settings
- Business Rule Framework (BRF) settings

Agent BADI
Migration steps from old to the new Workflow
Transitions and Limitations

Overview with which Support Package a specific feature will be


provided
Support
Package
SP00

Available
New workflow for Shopping Cart:
n-step Approval
Completion Approval
Budget Approval

Not available
No Dynamic Spending Limit Approval
No Alerting & Notifications
No Reviewer
No Offline Approval (not at all)
No automatic migration

For all other Business Documents (like PO, CTR,


etc.) the old Workflows will be used
SP01

New Workflow function for most documents


(exceptions are Confirmation, Invoice and see next slide)

No Reviewer
No Offline Approval without Duet

Dynamic Spending Limit Approval (Shopping Cart)


Alerting & Notifications
Offline Approval with Duet
Migration report for Non-BAdI-Workflows available
SP02

New Workflow for Confirmation & Invoice


Reviewer Workflow

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 39

No Offline Approval without Duet

Changed Workflows with SRM60 (with SP02)


Bid

Auto, one-step, n step

Bid Invitation

Auto, one-step, n step

Confirmation

Auto, one-step, two-step, admin. Approval

Contract

Auto, one-step, n step

Invoice

Auto, one-step, two-step, admin. Approval

Purchase Order Auto, one-step, n step


Shopping Cart

Auto, one- & two-step,, Spending limit, Item-based, Completion

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 40

Limitations
Previous standard and n-step BAdI workflows not available with SRM 6.0 - most
workflows (exceptions PO Conf., User Master, Business Partner, Procurement
Card) to be merged into a new single standard workflow, introduction of new
Business Rule Framework
Changing a document not possible at any time. Requester needs to Recall work
item to avoid inconsistencies
Authorization to change shopping cart document does not dependent on user
attributes / roles (BBP_WFL_SECURITY), but is based on approval level
Not possible to add ad-hoc approvers on every level (SRM60: add only on next
level)
No graphical approval preview

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 41

Obsolete BADI and functions


BBP_WFL_APPROV_BADI
Determine Approver for n-Level. Dynamic Approval WFL
Manual migration to SRM60

BBP_CHNG_AGNT_GET
Approver Selection when Approver Changed/Added
Maintain it in standard task

BBP_WFL_ADMIN_APPROV
Determination admin. approver for invoice/confirmation

BBP_OFFLINE_APP_BADI
Customer-Specific Modification of E-mail Approval
Use Duet

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 42

Summary

New SRM 6.0 workflow:


Easier to configure
Compliance with regulations
Multilevel approval without BADI
Dont need in depth Workflow knowledge
BRF knowledge is required

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 43

Resources & further Questions


Resources:
1. The SRM 6.0 RKT Learning maps are Live. Please find them in the Service Market Place
(http://service.sap.com/rkt-srm). Main topics include:

SRM 6.0 Architecture


New BRF workflow
WebDynpro(ABAP & Java) configuration
Execute the technical configuration of the SRM 6.0 components

2. Series of Recorded Live Expert Sessions are intended to supplement the above Learning
maps (http://intranet.sap.com/~sapidb/011000358700006295922006E)
Portal Setup for an SRM Consultant
WebDynpro config for an SRM Consultant
BRF Workflow for an SRM Consultant

3. The latest collaterals on SRM 6.0 could be found on the Service Market Place. The
internal versions of the same can be found under portal quick link /srm-rollout
(http://intranet.sap.com/~sapidb/011000358700006330942006D)
Questions:
If you have any questions regarding workflow or SRM 6.0, Please log your question via
SAS:
http://skm.wdf.sap.corp:1080/SAS_Interaction_Center/

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 44

Thank You!

Thank You!

Fragen? Questions? Preguntas?


SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 45

Copyright 2007 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
contained herein 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 in the United States and/or other
countries.

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
are the 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
without the 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 intended
strategies, 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 the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.

SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of
these 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
hot links 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

SAP AG 2007, SRM 6.0 Value Added Session for Workflow / 46

You might also like