Sap Workflow Training[1][1]

download Sap Workflow Training[1][1]

of 111

  • date post

    10-Apr-2015
  • Category

    Documents

  • view

    1.149
  • download

    9

Embed Size (px)

Transcript of Sap Workflow Training[1][1]

Sap Workflow TrainingContent:Sap

workflow introduction workflow customizing

Automatic Creation Creation Creation

of business objects of events of tasks of organizational management

Integration

Sap Workflow TrainingWorkflow

Execution: SAP Business Workflow Runtime System Point for a User: Integrated Inbox

Central Access

Sap business workflow introductionSAP Workflow is a tool to automate complex business processes where there is more than one user involved. SAP workflow maps the position in organization because SAP believes that Positions are more stable than the people. SAP Workflow is a process tool that is designed to facilitate and automate 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.

The SAP workflow can be linked to other software tools such as Microsoft Outlook or Lotus Notes. Using SAP Workflow, each step of a business transaction can be easily monitored throughout the initiation and completion of the business processes.

Sap business workflow introductionSAP Business Workflow is the R/3 tool for handling the process automation within R/3 or between R/3 systems and other systems involved in the business process. It is flexible enough to handle ad hoc processes such as the circulation of an electronic document. Using SAP Workflow, each step of a business transaction can be easily monitored throughout the initiation and completion of the business processes. 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.

Sap business workflow introductionWhen do I need workflow? It is particularly beneficial: when different people are involved in different parts of the process. when a process only occurs periodically and the users need to be reminded of what they need to do. when the duration of the process is critical and deadlines have to be met.

Sap business workflow introductionHow does it work? When the workflow runs it creates work items which are like e-mails, ebut

they have the advantage that they contain the intelligence needed to execute the relevant task with the correct data when the operational user executes them,

they provide their own functionality so that the operational user has access to everything that is useful to improve the flow of the process,

Sap business workflow introductionHow does it work? they disappear on their own when they have been executed by someone else or made obsolete. These work items can be received in the R/3 business workplace, MS Outlook (or any other MAPI compatible client), Lotus Notes, or work item notifications can be distributed by e-mail e-

Sap business workflow introductionAdvantages of sap business workflow: combines integrated organizational management with flexible assignment of tasks and responsibilities to locations, positions, jobs, groups, or individuals,

actively supports a quick implementation of workflow technologies through predefined workflow templates, Workflow Wizards and flexible adjustment options,

interfaces to other mail clients such as Lotus Notes and MS Outlook

Automatic workflow customizing

Automatic Customizing covers all the activities that concern the technical basic settings. The following standard settings are amongst those made: Configuring a client-specific RFC destination Maintaining a workflow system administrator Scheduling all background jobs for the workflow system Setting an active plan version Classifying SAP tasks and SAP workflows as general tasks

Automatic workflow customizingPath: ABAP Workbench->Development->SAP Business Workflow ->Utilities->Automatic Workflow Customizing-code: SWU3

Automatic workflow customizing

Automatic workflow customizing

Creation of business objectsThe

business object types are identified and described with their object methods in the Business Object Repository (BOR) of the R/3 System.

Creation of business objects

Creation of business objectsObject Type: Its a data with which you want to work in a workflow (e.g. Material, Customer) Objects are created at runtime and are specific instances of defined object types. Many object types are delivered by SAP.

the customer can create new object types or extend SAP objects by creating subtypes (child objects).

New customer objects or subtypes may be desired if the delivered SAP object does not contain all the characteristics (attributes) or processing options (methods) desired.

Creation of business objectsHands On An Existing Object Type Transaction Code: SWO1 for Object type: a) New Custom Business Object

b) Enhancement of existing BO (Delegation Required) Internal technical key of a business object in the Business Object Repository (BOR).

Business objects are identified in the BOR by object type (for example BUS2000270) and a descriptive English name (for example CRM Grantor application). Both identifiers must be unique across all object types.

Creation of business objects

Creation of business objects

Creation of business objectsInterfaces:

Interfaces are a combination of attributes, methods, and events to be used in common among multiple object types. The purpose of interfaces is to define common functionality in one object type, and to assign that common functionality via an interface to multiple object types across the Business Object Repository. This avoids redundancy of data and functionality definition.

Creation of business objects

Creation of business objectsKey Fields: Key fields are designed to uniquely identify the object type.

Creation of business objects

Creation of business objectsAttributes: Carries the properties for the key field. It provides access to data. The majority of attributes are data-dictionary fields (for example, the current user status attribute is defined by CRMT_STATUS_INFO-USER_STAT). When you access an attribute of an object, you execute a SQL statement that retrieves the corresponding field in the database.

Creation of Sub objects typeA subtype of an object is another object whose creation is based upon a parent object (see the preceding manager/employee example). The subtype maintains references to all the attributes and methods of its parent object. This means that any methods and attributes defined on the parent can be executed and accessed on the child object If a subtype object were merely a copy of its parent, then all the code contained within the parent would be physically copied to the child. This is not the case. The subtype simply maintains references to its parents methods and attributes. The real difference is that the subtype lets you redefine these methods and attributes. You can easily add your own business rules to the parent methods by redefining the subtypes method. In the following example, I will show why this distinction is so important.

Creation of sub object typeCreate sub business object type: Path: ABAP Workbench ->Development->Business Object Builder T-code: SWO1. Enter standard business object name for which you need to create sub type.

Creation of sub object type

Creation of sub object typeDelegation: Now that you have implemented a new zrmsfmwfgetdetails method, you need to tell the SAP system to use the defined version of zrmsfmwfgetdetails and not the version that was delivered on the bus2000270 object. This is similar to objectoriented inheritance but the two concepts do have fundamental differences. 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.

Creation of sub object type

Creation of sub object type

Creation of business objects

Creation of business objectsMethods: the methods of an object represent the actions you take with objects attributes. . Methods usually refer to existing ABAP functions, such as function modules, transactions and dialog modules. They are called using a standard interface, which is determined basically by the method ID and the method parameters. The actual implementation of a method is not externally apparent.

Creation of business objects

Creation of methods

Creation of methods

Creation of methods

Creation of methods

Creation of methods

Creation of methods

Creation of methods

Creation of methods

Creation of methods

Creation of eventsEvents An event may start, terminate or continue tasks and workflows. The list of possible events is defined with the relevant object type in the Business Object Builder. This list can be extended according to customer requirements using the delegation concept. The actual creation of the events added must be catered for. Each event carries information from its creation context in its event container. This information is available to the receiver of the event and can be used for event-driven control and communication mechanisms..

Creation of eventsTypes of event creation method: Creation of Events Upon Status Changes Creation of Events When Change Documents are Written Creation of Events via Message Control Creation of Events Upon LIS Exceptions Creation of Events via Business Transaction Events Creation of Events by Calling a Function Module Creation of Events by Using ABAP Classes

Creation of eventsCreation of Events Upon Status Changes:Event creation can be connected to changes in system status or user status without mod