0% found this document useful (0 votes)
62 views14 pages

Worflow Configuration

Uploaded by

tuan.anh.ng.7.91
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views14 pages

Worflow Configuration

Uploaded by

tuan.anh.ng.7.91
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

T-code Description

SWU3 Cấu hình prefix number cho workflow (phải cấu


hình trước mới configure được workflow)
SWDD Toàn bộ workflow sẽ được cầu hình ở đây
SBWP Bussiness workplace: Nơi nhận các thông tin về
chứng từ, luồng phê duyệt…
OBWA Tạo workflow variant cho parked document
OBWJ Gán workflow variant cho company code
SWE4/SWEL Kích hoạt các events
I. Định nghĩa trước prefix number ( Nếu không lúc config workflow sẽ báo lỗi)

T-code: SWU1

II. Cofigure workflow

T-code : SWDD

Scenario:

1. Tạo chứng từ parked document


2. Khi chứng từ parked document thì luồng phê duyệt kích hoạt, 1 mail sẽ tự động gửi về người tạo
rằng chứng từ đã được gửi đến người phê duyệt
3. Người phê duyệt nhận được thông tin về chứng từ cần phê duyệt, có thể review, reject hoặc
post chứng từ
4. Nếu chứng từ bị reject thì mail sẽ được gửi về cho người tạo rằng chứng từ đã bị từ chối phê
duyệt

Bước 1:

- Tạo element: Cấu hình loại chứng từ cần phê duyệt

Chọn oject Type: BOR object type/FIPP: Parked document (khi chứng từ trạng thái parked luồng phê
duyệt sẽ tự động kích hoạt)
Save

- Vào Basic setting để kích hoạt event


Chọn Oject Type: FIPP (parked document)

Event of the object: CREATED

Kích vào active, binliding để luồng phê duyệt được kích hoạt  Save

Khi luồng duyệt đã được kích hoạt thì cấu hình luồng phê duyệt theo thiết kế

Bước 2: Khi chứng từ parked document thì luồng phê duyệt kích hoạt, 1 mail sẽ tự động gửi về người
tạo rằng chứng từ đã được gửi đến người phê duyệt

Chọn người nhận mail, tiêu đề và nội dung mail

Bước 3: Người duyệt sẽ nhận được thông báo về workflow và có thể review, reject hoặc post chứng
từ
Chọn người phê duyệt, có thể 1 hoặc 1 nhóm người

Các trạng thái review, reject, post

Tạo các activity post, review, reject

Post

 Create new task


Review
Reject: Thông báo sẽ gửi lại người tạo là chứng từ đã bị từ chối phê duyệt
III. Gán luồng phê duyệt đã tạo cho company code
1. Tạo workflow variant cho parked document

T- Code: OWJA

2. Gán workflow variant cho company code

T-Code: OBWJ
IV. Nhận thông tin liên quan đến phê duyệt _ Business workplace

T-Code: SBWP
1.What is the tcode to define/create and modify workflow ?
SWDD

2.When does a workflow starts in the system ?


Workflow is generally triggered by events.

3.How does users interact with workflows ?


Users interact with workflow system through work items which are
accessible by using SAP Inbox(SBWP).

4.What are different ways of defining possible agents of a


task ?
Job, Positions, Rule and direct SAP User ID.

5.What is the tcode to transport task attributes to different


systems ?
Transaction Code: RE_RHMOVE30 and Program Name: RHMOVE30
6.What are different types of Workflow containers and how
many are they ?
There are 5 containers in workflow.
Workflow container(global),
Task container
Rule container
Event container
Method container. For more details types of containers in sap workflow.

7.Will you maintain workflow number ranges in Quality and


Production system ?
No. Number ranges are defined only in development system because
we create workflows only in development system.

8.What is the tcode to check error workflows/workitems ?


SWI2_DIAG

9. What is the tcode to restart the error workflows/workitems ?


SWPR

10. I have a Task,i need to know in which workflows these task


is used,how do i know it ?
By using the tcode SWI11(Where-Used List of Task) you can identify it.

11. My workflow is not getting triggered, What are the


possible cases of it ?
No Start Events for the workflow.
Start Condition of the Start Event is not satisfied.

12. What is the tcode to test the workflows ?


SWUS
13. In Send Mail step i want to insert dynamic data, can i ?
Yes, you can include dynamic data in the email subject and body by
using the container elements. A button called “Insert Expression” is
available to insert the container elements.

14. What is the tcode to create custom Business Object ?


SWO1

15.Which step you will choose to check multiple conditions at 1


time?
Multiple Condition Step

16. How can i store multiple records in a container element in


sap workflow ?
If you make any container element as “Multiline” you can store
multiple records.To know more about different types of containers

17.If i want to use a container element in multiple steps in the


workflow, where should i declare the element ?
In Workflow Container

18.I have two task which are available for user execution as
workitems.I want to show the second workitem immediately
after executing the first one for the same user. What should i
do ?
Check the “Advance with dialog” in the first task. For more details click
here

19. I need send emails to some users when workflow in


completed, but i don’t want use email step in the workflow.
Can i achieve this ?
Yes, In workflow header we have a tab called “Notification“. Provide
the receipts and email text here, once the workflow is completed all
the user will get emails. Try it yourself.

20. What is the tcode for Workflow Customization ?


SWU3

21. What is the tcode for event linkages ?


SWE2 or SWETYPV

Definition of Binding
Use
At definition time you create binding definitions for the workflow. This involves specifying
the assignment rules for how data is exchanged between two containers. At runtime these
binding definitions are executed making workflow execution possible.
Note
If a target container from a source container element is to be filled with a binding at runtime
and if the source container element is initial or unavailable, then determine in the options of
the binding instruction whether the content of the target container element is changed by
the binding.
You can also allocate values to container elements using initial value assignment at
definition time.
Example
Application
Within the transaction for creating an accounting document (object
type AccountingDocument), an event is generated created), which indicates that a
document has been successfully created. This event is to be thetriggering event of a
workflow.
Event
The event container is passed with this event. This container always contains an
element _Evt_Object with a reference to the object created.
Workflow container
In the container of the workflow that is to be started by the event created of the object
typeAccountingDocument, you have created a mandatory import element (under the
ID AccountingDocumentfor example) with a data type reference to the object
type AccountingDocument. The element can therefore hold the reference to the object
created (type AccountingDocument) at runtime.
Binding to workflow
The event parameter (= element in event container) _Evt_Object can be passed in
a binding to the workflow container of the workflow that is to be started in response to the
event. You define the following binding for this:
_Evt_Object (event container) AccountingDocument (workflow container)
Features
The graphic below illustrates which bindings can be defined.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy