Sap business workflow tool




















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. When you access an attribute of an object, you execute a SQL statement that retrieves the corresponding field in the database. 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. Add the step type : User decision to the workflow. Now your workflow looks like.

Again execute your workflow. Fill out the Form and Save it. The work item will disappear from your inbox. If the request is not approved, the next step in the workflow definition is the user decision. The decision is therefore offered to you again as the requester. There will be two options: Revise request or Withdraw request. If you choose Revise request, that should take you to the re-submit form.

That is our next step. Step Define 3rd Customer task Revise notification of absence and add to undefined step at outcome — Revise after the user decision. You have created a complete workflow template with which a notification of absence can be created, approved and revised. Now you will insert a step in the workflow definition that sends a notification to the requester after the request has been approved. Drag it to the Undefined Step after the outcome approved of the step Check notification of absence.

Choose Enter. You will be asked for the name and abbreviation of a task. Fill up the fields. For more information, visit SAP Workflow — help homepage. This really good guidance for beginners, Further it will be great if you can share how to create Task for a User Decision Work Flow. I am working with a group of people, who all have access to Workflow - grouped according to task, however in my case nothing appears there, while others see the specific tasks on it.

Skip to Content. Technical Articles Former Member. November 26, 8 minute read. Workflow SAP Business Workflow is a tool for the automation of the business process, consisting of sequence of steps, tasks or event. Components: Organizational Plan: to manage the hierarchy of reporting and message flow Workflow Builder: To generate the Workflow.

Steps: 1. Define 2nd task Check notification of absence 7. Integrate User Decision for Re-submit Define 3rd task Revise notification of absence In the Task type field, choose the Workflow template for Workflow Template. Give the following values and Save the task.

Execute your workflow: The notification of absence form is displayed. Select the work item, and choose execute F8. Step 6: Define 2nd Customer task Check notification of absence This form formabsenc-create you created before will now be sent to supervisor for approval using the object formabsenc-approve object.

We have Task code as TS Check the binding properties We need to create the Approver variable in the workflow container. Step 8: 2nd Test Choose execute the workflow. Now your workflow looks like Step Third Test Again execute your workflow. As a superior: Reject the application. Step Add 4th Customer Task Send Notification You have created a complete workflow template with which a notification of absence can be created, approved and revised.

Users can also navigate directly to any step definition from the list of steps. This is also used to edit the workflow from the context menu. You can call workflow builder using different options.

You can navigate between the change mode and the display mode by using the option. Note that a workflow start is represented using an indicator symbol Start workflow.

When you call a new workflow from the definition of multistep task in which triggering events are defined, it is shown using the symbol. In the Graphical workflow definition, you can add a new workflow definition using an undefined step with an outcome and is shown by the symbol.

The end of the workflow definition is indicated by. You can also import and export workflows using XML files. Meta-language BPM0. You can use this file while importing under Workflow option at the top. A Step is used in the workflow to execute a task or also to control the workflow. A Step is always created inside a block and a block always contains a step and its outcome. A Step can be created by changing an undefined step in graphical mode or you can also add a new step.

To change an undefined step in the workflow, double-click on the undefined step and this will open Step Selection. Select a Step Type as shown in the following screenshot. There are different Step types you can select as per the requirement. Following are some common step types, their symbols in the workflow and description. When you insert a new step in an existing workflow, its position depends on the step or the outcome previously selected.

When a wait step is waiting for an event, it is terminated when a specific event occurs. The event ends all the wait steps waiting for that specific event.

You can also create, change or display an object available in Business Object repository using the Business Object Builder.

To change an object, you should know the name, ID or description of the object. An object in the workflow represents a business entity in SAP system. To call the Business Object Repository Browser from the Business Object Builder, you have to select Business Object Repository and select the number of object types to be displayed in the dialog box.

Once you click Create, in the next window you have to define the object Super type. All these steps are defined in the previous topic under Business Object definition. To switch directly to the maintenance of an object type, you need to enter the ID of the object type and click Display or Change button in the initial screen.

Following screenshot shows a Business Object and how to change the status of an object in the repository. It includes the release or approval processes and also complex processes such as creating a Purchase Order, etc. SAP WebFlow Engine is mostly used for the processes, which are repeated in nature or involves actions from large number of agents in a predefined order.

A WebFlow Engine can also be used to handle errors in the existing processes and workflows. Using WebFlow Engine, you can also start a workflow when predefined events occur. This interface includes method that creates specific prerequisites such that the object can be used within the SAP WebFlow Engine. When you move to the Methods tab and you will see some methods of these interfaces have been automatically inherited to ABAP Class. An ABAP class is automatically released to be used with the implementation of this interface.

You can also configure SAP Workflows to extend the notifications to users that they have work to perform and this can be done using email notifications in MS Outlook or Lotus Notes. You can also ease the work item selection by providing a simplified view of work items. This can be used to check different performance parameters such as Average Processing Time of Tasks, etc. With the use of extended notification for SAP Business Workflow, you can notify the users about work items that need to be processed.

You can send work items to groupware. For example, MS Outlook or Lotus Notes with backend transactions that the user can directly access and take actions. You can run this report periodically. You can select any dialog structure and click New Entries to add an entry for notification configuration in SAP system. When you run this T-code, you will be prompted as below.

Once you click Allow, you will be navigating to the page: Administration of extended notification of the workflow. In this window, you can define extended notifications for your workflows. You can also integrate your workflows with non-SAP workflow apps using external service calls, web service and API calls.

This transaction is used to maintain WebFlow Services. You can either manually register a web service by entering all the data of the web service manually. Define the Call mode of the Web service. Here, you determine whether a dialog or a background Web service is involved and whether and then how a callback is performed. The parameters determine the interface of the Web service.

The task container is created from the parameters in the subsequent task generation. Enter all the Web service parameters.

Make sure you also assign the service ID of your Web service to the parameters. The assignment as import element and export element is required for the subsequent creation of the task container. Universal Worklist UWL is a centralized tool to add alerts, notifications, approvals and ad-hoc tasks for the workitems. All the workitems are created as a part of the business processes and can be easily managed using Universal Worklist.

UWL provides a uniform central access to all the workitems. You can also customize UWM views that meets your requirement. You can easily access additional information from object repositories such as attachments, notifications, etc.

You can easily delegate your tasks to other users in your absence. This is totally xml based configuration. You can set up a new connector, if you do not have a connector in the system connected to the system alias, otherwise you can also use an existing one. You can create your workflows in SAP system to automate the business processes that contains sequence of tasks, steps, and events. You can set notifications in the user SAP inbox about pending workitems and with a single click, it calls the correct transaction and navigates to the relevant screen.

Let us see how to create a Workflow, when an employee raises a leave request in the system. This transaction is the easiest way to define an organization plan in SAP system. In the Task type field, choose the Workflow template. In the Workflow Builder, you have different options called Step types, you can drag and drop and insert into the Workflow.

Enter the following values and Save the task. In Step Properties, you can select different options as per the requirement. Here, let us select the checkbox - Advance with dialog as shown in the above screenshot. It shows that the workitem of the workflow is made available for processing immediately.

Now the workflow is executed, it creates workitems such as e-mails in the SAP Inbox. When it is executed, it calls the respective task or the transaction screen. When you run this workflow, it shows the notification of absence form. Click Cancel to cancel the processing of the first notification. The workflow inbox holds one item for processing - creating a notification of absence. Select the workitem and click Execute F8. Enter the details in the form and click Save.

This will remove the Workitem from the inbox. The form that has been created will be sent to the supervisor for approval using the object formabsenc-approve object. You have to create the Approver variable in the workflow container.

Navigate to the left side menu at the bottom, you will see a menu option Workflow container. Double-click the option to create. In the Position field, you have to enter the position ID as per the organization plan.

Next is to execute the workflow and you will be moved to the workitem for creating notification of absence for processing. This is because of Advancing with immediate dialog option selected at the time of creating a task.



0コメント

  • 1000 / 1000