Who Will Create Workflow Templates And Workflow Tasks In Sap
Workflow
SAP Business Workflow is a tool for the automation of the business process, consisting of sequence of steps, tasks or upshot.
I similar instance to workflow is the automatic lines in the manufacturing manufacture with station points or loading points.
You can accommodate and manage the dependency of tasks. Users can be sent notification for the task waiting in the SAP inbox for approving or activeness. Users can exist informed of milestones in the process.
By automating the procedure, you free the users from having to know what to do when. Work items are sent to the participants notifying them of what they have to practice, and a single click on the notification calls the correct transaction and navigates to the relevant screen.
WebFlow is the internet functionality of SAP Business Workflow.
Components:
Organizational Plan: to manage the hierarchy of reporting and message menses
Workflow Builder: To generate the Workflow. The Workflow Builder provides a graphical view of the workflow definition.
Events
Business Workplace: SAP Inbox
Role Resolution
| Components | |
| Organizational Plan | – Organizational Unit of measurement (a functional unit in your enterprise) – Position (Represents a post) – Job (classifications of functions in an enterprise) – Staff Assignments/Assignment of User-id'due south |
| Standard Task | – Task (A description of an activeness) |
| Workflow Architect | – Overview – Footstep types – Tasks – Messages |
| Events | – Triggering Events – Terminating Events |
Example:
– The scenario starts when an employee fills out a request for exit.
– The filled-out course is then automatically sent to that employee'due south supervisor.
– If the supervisor rejects the application, the employee is informed and asked to decide whether he/she wants to re-submit the application or withdraw information technology completely.
– If the employee decides to revise the awarding, the form is forwarded to his/her inbox for re-submit.
– If the supervisor approves the request, the employee is informed and the workflow can end.
Steps:
1. Define Organization Programme (T-lawmaking PPOCE)
2. Create Workflow template: (T-code PFTC_INS) to create a basic template of workflow,
(T-code SWDD) to build the workflow in the workflow architect
3. Ascertain 1st task (T-code PFTC_INS) (Create notification of
absence)
4. Add action > showtime task in the workflow
5. 1st Examination in SAP Inbox (T-code SBWP)
6. Define 2d job (Check notification of absenteeism)
7. Add activity > second task in workflow
8. 2nd Test
nine. Integrate User Decision for Re-submit
x. 3rd Test
11. Define 3rd chore (Revise notification of absence)
12. Add action > 3rd job to the workflow
13. Add 4th Customer Task (Ship Notification for approving of leave)
Steps:
Step1: Define Organization Plan or Orgn. Unit (Tcode PPOCE)
Step 2:a: Create Workflow Template (T-code PFTC_INS)
Using Tcode PFTC_INS yous can create workflow template and tasks also. This take you to the Job: Maintain.
In the Task type field, choose the Workflow template for Workflow Template.
For Creating tasks: Cull Standard Task in the Task type field.
Step2:b : View the workflow in T-lawmaking SWDD (Workflow Builder)
In the eye we have overview graphic/catamenia-chart. And on the right side on the bottom we have diverse pocket-size buttons/icons called footstep types. This we can drag and drib and insert into our worflow. We will exist using the first step blazon which is like the
play button chosen activity for our Pace 3: Create Notification of Absence.
Step3: Define 1st task (Create notification of absence)
Get to the T-code PFTC_INS : Tasks: Maintain
Choose Standard Task in the Task type field.
Give the following values and Save the task. On saving it volition requite a code Id: like 99500654
Name: Form_created
Abbr: create_form
Work Item Text: vik_notif_absence-create
Object Type: FORMABSENC
Method: CREATE
Checkbox Synchronous object method, Object method with dialog checked.
Footstep 4: Add activity > commencement job in workflow
Add the Step: Activity to your workflow.
in place of undefined footstep.
We take created Task TS99500654 separately using PFTC_INS.
Note the checkbox Advance with Immediate dialog. This means that the piece of work detail of the workflow is made available for processing immediately. The user who starts the workflow is also 1 of the recipients of this beginning work item. This is the case here because you entered the container element _WF_Initiator as the amanuensis in the step definition.
Note the Binding button. The bounden _WI_ObjectId -> &ABSENCEFORM& has been automatically defined here by the system. This bounden ensures that the reference to the notification of absenteeism created is non merely known in this chore, only also in the workflow.
Now the Workflow Builder screen looks like
Step 5: 1st Test in SAP Inbox (T-lawmaking SBWP)
When the workflow runs it creates work items which are like e-mails in the SAP Inbox. When it is executed it calls the respective task or transaction screen with the correct information.
Execute your workflow:
The notification of absence form is displayed.
Do non make whatever entries and do Not Save. Instead, cull Cancel.
You take now started the workflow but canceled the processing of its starting time step.
Your workflow inbox now contains one work particular for processing. This is the work particular for creating a notification of absence, the processing of which you canceled previously. You lot have to select your work detail with the subject area as the work item text you have given.
Select the work detail, and choose execute (F8).
Y'all return to the Create notification of absence screen where the notification of absence form is displayed. Fill out the course and cull Save. The work particular disappears from your workflow inbox.
Stride 6: Define 2nd Customer task (Check notification of absenteeism)
This form formabsenc-create you created before will now be sent to supervisor for approving using the object formabsenc-corroborate object.
Create another chore using PFTC_INS:
Note the checkbox Confirm stop of processing.
Step seven: Add together activity > 2d task in worflow
Include Task: Check Notification of Absence in the Workflow. Nosotros have Task code as TS99500545.
Cheque the binding properties
We need to create the Approver variable in the workflow container. (left side – bottom, y'all will encounter a bill of fare selection Workflow container– <double click to create>)
Make the following entries for object &Approver&: Element : Approver, Name: Approver, Description: Approver of the absence request, Reference tabular array: WFSYST, Reference field: AGENT .
and use the object &absenceform& already there.
For Agents Choose Position. Select your position by the proper name you lot have created in the system. You can note down the id of your position from your organisation (Tcode – PPOCE) as S50001707. (Don't provide S in the text field).
We can also implement deadline in activities using Latest end, Requested First, Latest start, Requested terminate. For e.m. If the superior has not fabricated the decision near the go out request, the requester should exist notified. Once the deadline (for eastward.g. latest end) passes, a work item for missed deadlines appears in your Business Workplace notifying yous of the missed borderline.
Now, You will see that two branches are now inserted in your workflow definition for the 2 marked outcomes Approved and Rejected.
Step viii: 2nd Test
Choose execute the workflow. Y'all get to the screen Create Notification of Absence.
When the workflow is started, the work item for creating the notification of absence is provided to yous directly for processing. This is because of advancing with immediate dialog. You were introduced to this in the commencement test. Fill up out the form and choose Save.
Y'all at present get to the screen of Business Workplace > Inbox through the user-id of superior/supervisor (head).
The piece of work items for you to process are displayed with their work particular texts and sure other attributes.
Select your piece of work item for checking the notification of absenteeism and Choose execute.
Either reject or corroborate the request. Observe the two buttons Approve and Reject.
Pace ix: Integrate User Decision for Re-submit
Y'all tin can see that check Notification has two branches – Approved, Rejected. We volition be adding a user decision to the issue Rejected. With the user decision, the requester can decide to revise and resubmit the exit request if the head of department/supervisor rejects information technology.
Add the footstep type : User decision to the workflow.
Now your workflow looks like
Step x: Tertiary Test
Again execute your workflow. Fill out the Form and Salvage information technology. The work item volition disappear from your inbox.
As a superior: Pass up the application.
If the request is not canonical, the next step in the workflow definition is the user conclusion. The requester (&WF_INITIATOR&) was entered as the amanuensis for the stride. The decision is therefore offered to yous once more as the requester.
There will be two options: Revise asking or Withdraw request.
If you cull Revise request, that should take you to the re-submit grade. That is our adjacent step.
Footstep 11: Define tertiary Customer task (Revise notification of absence) and add together to undefined footstep at outcome – Revise later on the user decision.
Utilise FORMABSENC-UPDATE every bit object.
In the binding give
_WI_Object_ID <= &ABSENCEFORM&
In the Agents > expression give &_WF_INITIATOR& in the field.
Stride 13: Add 4th Customer Job (Ship Notification)
You accept created a complete workflow template with which a notification of absence can be created, approved and revised.
Now you volition insert a footstep in the workflow definition that sends a notification to the requester after the request has been approved.
Cull Step "Send post". Elevate it to the Undefined Footstep subsequently the event approved of the step Check notification of absence.
Cull Recipient type – Organizational object,
Cull Agents > Expression Choose &_WF_INITIATOR&.
Enter the subject – < Leave Approved >.
Enter the post text – < Beloved Colleague, your leave was canonical. >
Cull Enter. You volition exist asked for the name and abridgement of a task. Fill up up the fields.
Other features that can exist used in this example:
Integrate Stride: Until loop to the workflow,
Adding Container Operations which sets the value of flag,
Modify Customer Tasks (Confirm terminate of processing),
Implement deadlines in activities.
Other types of pace types which tin can be used in the workflow are Activeness, Procedure Command, Condition, User decision, Document from template, Container functioning, Event creator, Multiple condition, Fork, Undefined step, Loop (Until), Wait step, Loop(While).
For more than information, visit SAP Workflow – help homepage.
—–
Who Will Create Workflow Templates And Workflow Tasks In Sap,
Source: https://blogs.sap.com/2012/11/26/sap-workflow-my-first-workflow/
Posted by: exleysuired.blogspot.com

0 Response to "Who Will Create Workflow Templates And Workflow Tasks In Sap"
Post a Comment