About work flow

1,682 views

Published on

This is about workflow basic

Published in: Education, Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,682
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
107
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

About work flow

  1. 1. About Work-Flow <ul><li>SAP Workflow is a tool to automate complex business processes where there is more than one user involved. </li></ul><ul><li>SAP workflow maps the position in organization because SAP believes that Positions are more stable than the people. </li></ul><ul><li>Business processes involving the tasks sequence performed by the users (people in the workplace) and ensure that the right work is assigned in the right sequence at the right time to the right person in the workflow. </li></ul>
  2. 2. <ul><li>The SAP workflow can be linked to other software tools such as Microsoft Outlook or Lotus Notes. </li></ul><ul><li>Using SAP Workflow, each step of a business transaction can be easily monitored throughout the initiation and completion of the business processes. </li></ul><ul><li>The SAP Workflow enables the process owners to track deadlines, determine the workload as well as provide statistics on the length of time to complete work processes. </li></ul><ul><li>The key components of the SAP Workflow include the Workflow Definition, Work Items, Events triggers and the Organizational Structure in the workplace. </li></ul>
  3. 3. Need of Workflow Jon Aree Mady Raw Rob Hmm ! Time to put in a purchase requisition request 1 3 I guess I’d better send off some inter-office mail to ask the approvers to approve my requisition. 2 I wonder who approves buying this stuff? 5 Time drags on . . . Meanwhile, in Mr. Bala’s office . . . “ What shall I do next?” TIME IS MONEY!!!
  4. 4. Workflow Definition <ul><li>Workflow definition consists of </li></ul><ul><li>Basic Data </li></ul><ul><li>Information about triggering events </li></ul><ul><li>Initial Values </li></ul><ul><li>Containers </li></ul><ul><li>Bindings </li></ul>A workflow definition describes the workflow process
  5. 5. | Workflow Builder The workflow definition is created in the Workflow Builder and displayed graphically in a network. Transaction: SWDD Menu Path: Tools  Business Workflow  Development  Definition tools  Workflow Builder.
  6. 6. | How are Workflows Created in a System <ul><li>Within workflow templates, there is a key with the following structure: - A WS task abbreviation for the workflow template - An 8-digit sequence number </li></ul><ul><li>From the structure of the 8-digit number, the system knows whether the template is a standard template delivered by SAP or one created by the customer. </li></ul><ul><li>Customer-defined templates start with the prefix number that was defined in Customizing for the system and client. </li></ul>
  7. 7. | Working with Workflow
  8. 8. | Workflow Design
  9. 9. | Workflow Toolbox - SWUS Transaction: SWUS. Menu Path: Tools -> Business Workflow -> Development -> Runtime Tools-> Start Workflow (Test Environment).
  10. 10. | Workflow definition steps <ul><li>Workflow definition is made up of individual steps . When creating a step in a workflow definition, the step type must be specified first. </li></ul><ul><li>There are </li></ul><ul><ul><li>Steps which refer to business activities (activities & user decision) </li></ul></ul><ul><ul><li>Steps which are used for internal process control and monitoring (condition, multiple condition, loop, etc) </li></ul></ul>
  11. 11. | Business Activities Steps <ul><li>Activity </li></ul><ul><ul><li>Can be a single step task with basic business functionality </li></ul></ul><ul><ul><li>Can be a multi-step task, which reference to a workflow definition </li></ul></ul><ul><li>User Decision </li></ul><ul><ul><li>This provides an opportunity for user interaction with the system. </li></ul></ul><ul><ul><li>The response to this decides the selection of the subsequent step. </li></ul></ul><ul><li>Document from template </li></ul><ul><ul><li>PA document is created from a document template using variables in the text that are filled during program execution. </li></ul></ul><ul><li>Web Activity </li></ul><ul><ul><li>Selected container elements are posted using http protocol in XML or SOAP message </li></ul></ul><ul><li>Subworkflow </li></ul><ul><ul><li>An activity which refers to a workflow rather than a task </li></ul></ul>
  12. 12. | <ul><li>Condition </li></ul><ul><ul><li>Branch on the basis of control information from the runtime dependent context of the workflow. </li></ul></ul><ul><ul><li>An attribute of this object can also be accessed for condition evaluation </li></ul></ul><ul><ul><li>Condition evaluation can be done by </li></ul></ul><ul><ul><ul><li>Field comparison e.g constants , object attribute, system fields </li></ul></ul></ul><ul><li>Multiple condition </li></ul><ul><ul><li>In contrast to condition, multiple condition makes it possible for the workflow definition to branch in more than two branches. </li></ul></ul><ul><ul><li>For evaluation of the multiple condition, the value of the basis of comparison is checked at runtime against the comparison values and branched accordingly. </li></ul></ul>Internal process control Steps
  13. 13. | Internal process control (contd.) <ul><ul><li>WHILE Loop </li></ul></ul><ul><ul><li>Steps are processed repeatedly until the conditions contained in the WHILE step no longer apply. </li></ul></ul><ul><li>Until Loop </li></ul><ul><ul><li>Steps are processed repeatedly until the condition contained in the UNTIL step is true. </li></ul></ul><ul><li>Fork </li></ul><ul><ul><li>Used for parallel processing branches. </li></ul></ul><ul><ul><li>Only a part of the parallel processing branches actually has to run to continue the workflow. </li></ul></ul><ul><ul><li>Dynamic parallel processing is also possible </li></ul></ul>
  14. 14. | Internal process control (contd.) <ul><ul><li>Send mail </li></ul></ul><ul><ul><li>Text entered in this step can be used to send a mail to the agent assigned </li></ul></ul><ul><li>Container operations </li></ul><ul><ul><li>Used to perform arithmetic operation of value assignment to workflow container elements using constants and data in the workflow container . </li></ul></ul>
  15. 15. | Internal process control (contd.) <ul><li>Event Creator </li></ul><ul><ul><li>An event is created when this step in the workflow is reached. </li></ul></ul><ul><ul><li>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 tasks and/or templates. </li></ul></ul><ul><li>WAIT for event </li></ul><ul><ul><li>Used to stop the whole execution of the workflow until the event is created in the system. </li></ul></ul><ul><ul><li>Used to wait for events for parallel processing </li></ul></ul>
  16. 16. | Tasks Single step Multistep Standard Task(TS) Customer Task(T) Workflow Template(WS) Workflow Task(WF) Tasks are used to describe a business process
  17. 17. | Similarities and differences of task types 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
  18. 18. | Single and Multistep Tasks Tasks Single step Multistep References one object type method and displays one step in the business process Represents the business process and is a sequence of individual tasks and control steps Transaction : PFTC Menu Path -> Tools -> Business Workflow -> Development -> Definition tools ->Tasks
  19. 19. | Delegation This delegation is powerful because it lets you implement your own business logic without modifying any SAP code. As long as the objects are properly delegated, your method will be executed. Calling Program KNA1 Method: Change password DELEGATE ZKNA1 Method: Change password Transaction: Menu Path: SW01 Tools  Business Workflow - Development - Definition tools - Business Object Builder - Settings - Delegate
  20. 20. | Objects in the workflow
  21. 21. | Business Object Repository (BOR) Transaction: Menu Path: SW01 Tools  Tools - Business Workflow – Defination tool –Busniness Object Builder

×