srm workflow

39

Upload: punita01

Post on 03-Jun-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 1/39

Page 2: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 2/39

Page 3: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 3/39

Page 4: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 4/39

Page 5: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 5/39

Lack of transparency

Long lead times

Lack of deadline monitoring

High costs

Page 6: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 6/39

Page 7: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 7/39

Page 8: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 8/39

1. Triggering event2. Terminating event

Page 9: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 9/39

There are three types of agents : Possible agent

Responsible agent

Excluded agent

Page 10: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 10/39

Page 11: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 11/39

  |

Tasks

Single step

Multistep

Standard Task(TS)

Customer Task(T)

 Workflow Template(WS)

 Workflow Task(WF)

Tasks are used to describe a business process

Page 12: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 12/39

  |

Customer Task (Type T) Standard Task (Type TS)

 Workflow Task (Type WF) Workflow Template (Type WS) 

Created by customer Created by SAP and customer

With validity period Without validity period

Client-dependent Client-independent

Must be linked to its possible Must be linked to its possible

agents when it is defined agents when it is defined

Page 13: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 13/39

Page 14: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 14/39

Page 15: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 15/39

Page 16: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 16/39

Page 17: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 17/39

  |

Page 18: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 18/39

Transaction: SWDDMenu Path:Tools Business Workflow Development Definition tools  Workflow Builder

Page 19: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 19/39

Business activities

Internal process control

Page 20: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 20/39

 Activity Can be a single step task with basic business functionality Can be a multi-step task, which reference to a workflow definition

User Decision

This provides an opportunity for user interaction with the system. The response to this decides the selection of the subsequent step.

Document from template PA document is created from a document template using variables in

the text that are filled during program execution.

 Web Activity Selected container elements are posted using http protocol in XML or

SOAP message

Sub workflow  An activity which refers to a workflow rather than a task

|

Page 21: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 21/39

Condition Branch on the basis of control information from the runtime dependent

context of the workflow.  An attribute of this object can also be accessed for condition evaluation Condition evaluation can be done by

Field comparison e.g constants , object attribute, system fields

Multiple condition In contrast to condition, multiple condition makes it possible for the

 workflow definition to branch in more than two branches.

For evaluation of the multiple condition, the value of the basis ofcomparison is checked at runtime against the comparison values andbranched accordingly.

|

Page 22: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 22/39

 WHILE Loop Steps are processed repeatedly until the conditions contained in the

 WHILE step no longer apply.

Until Loop Steps are processed repeatedly until the condition contained in the UNTIL

step is true.

Fork Used for parallel processing branches.

Only a part of the parallel processing branches actually has to run tocontinue the workflow.

Dynamic parallel processing is also possible

|

Page 23: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 23/39

Page 24: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 24/39

 

Event Creator  An event is created when this step in the workflow is reached.

Other workflows can be started as a reaction to the event created in this

step. This event must be the triggering event of the relevant workflow tasksand/or templates.

 WAIT for event Used to stop the whole execution of the workflow until the event is created

in the system. Used to wait for events for parallel processing

|

Page 25: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 25/39

Containers store information and allow the exchangeof that information among the different componentsof a workflow process.

The information is stored as a data element andprocessed at runtime through binding

Page 26: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 26/39

Page 27: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 27/39

Bindings administer the flow from one container toanother. Bindings are defined at time ofimplementation and are used at runtime.

Page 28: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 28/39

  |

How workflow gets executed

Page 29: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 29/39

 Workflows provide easy and flexible implementationof approval processes.

 Approval processes typically run on several processlevels.

Throughout these process levels, a document canrequire different kinds of checks and can involveagents with different roles

Page 30: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 30/39

 Shopping Cart  Purchase Order

Goods Receipt

 Service Confirmation

RFx / Bid Invitation

 RFx Response / Bid

 Auction

Contract Project (Category Management)

Invoice

Page 31: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 31/39

 You define the process schema at design time,specifying all possible process levels a document has topass through before it can be released.

For each business object, one or more process schemascan be defined.

If there is more than one process schema for onebusiness object, the system chooses the appropriate

one using the rules defined in the Business RuleFramework (BRF)

Page 32: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 32/39

 With the help of the BRF, the system determines whether or not a specific process level needs to becarried out. At design time, BRF events are definedand business rules are assigned to them.

The process level evaluation runs in loop cycles and isrepeated each time a process level is finished, providedthat no level restart has been requested.

Page 33: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 33/39

The BRF is an event-controlled runtime environmentin which the system processes certain rules.

Example : Possible expression (“Address is incomplete“): 

(street = initial) OR (postal code = initial), in other words, ifone of the two fields is initial, the value of the expression isTRUE.

  ●  Possible actions ('Complete Address'):

The system displays a message that the address is incomplete

Page 34: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 34/39

The Business Rule Framework contains the followingcentral objects:

 Application Class

Implementing class

Event Context

Expression

 Action

Rule

Rule Set

Page 35: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 35/39

Page 36: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 36/39

The system determines the agents responsible forcompleting or approving purchasing documents.Depending on your Customizing settings, more thanone person can be responsible for the items in one

document .  Agent determination is carried out using Business

 Add-In (BAdI) Define Agents (/SAPSRM/BD_WF_RESP_RESOLVER), which youcan use to make your own process level-specificimplementations.

Page 37: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 37/39

There are four decision types: Decision for entire document

Item-based decision for entire document

Overall decision for partial document

Item-based decision for partial document

Page 38: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 38/39

Page 39: Srm Workflow

8/12/2019 Srm Workflow

http://slidepdf.com/reader/full/srm-workflow 39/39