PR _PO_Workflow
PR _PO_Workflow
9610,366
Approvers may want to be instantly informed about the documents for approval. There are some standard and non-standard ways
to do this. Some BADIs can be used for this process. Also, the workflow can be copied and a mail step can be added to the new
workflow. But I want to show the standard way for this process. I will try to explain it step by step as much as I can.
Firstly, if the workflows are activated in the system, the workitems on the user’s will fall into the user’s “Business Workplace”.
You can go to the business workplace by clicking the button marked or with the “SBWP” transaction code.
Documents falling into the inbox on the business workplace will look like the following.
1.First of all, there are a few small steps to complete in the “SWU3” transaction code.
2.Then, the workflow belonging to the document(PR/PO) that is requested to drop to the inbox from the “SWDD operation” code
must be activated.
3.Then the mail server must be activated.
In this step, the worklow (WS20000077) belonging to the document (for example PR) to be inboxed must be activated.
The relevant workflow should be entered and the header button should be clicked.
Then the marked yellow button must be clicked.
Then the line should be selected and the “attributes” button should be clicked.
Then come back and click on the “Start Event” tab. The BUS **** object must be activated by clicking on the marked icon.
When saved, Workflow activation process is completed. The workitems that fall into the user’s inbox after the workflow is activated
will be listed as follows.
The second of these is to activate the mail forward operation for all users in the system. With a simple operation, the mail
forwarding process can be activated. It is ensured that the e-mail address defined in the information of the users is used for this
process. This process is explained in detail in 3.2.
With this transaction, mail forwarding from inbox is activated for all users in the system. It is more useful than individual
forwarding. You must go to t-code SO16.
SO16>Send tab
Mail forward activation has been completed. After this stage, the workitem ids and document numbers are expected to flow into
the email entered, but the RSWUWFML program must be run regularly for this flow to occur. For this, a job must be set up.
4. RSWUWFML Program
The mails to be forwarded are triggered by this program. This program determines the way the mail is forwarded (collective or per),
the text of the mail and the workitems of which task ID you will forward.
The task ids of the document types to be forwarded must be entered into the program. If this restriction is not entered, all
workitems falling into the user’s inbox will be forwarded by e-mail. (Task ID: TS20000159-PR, TS20000166-PO, TS20000172-
Contract)
If desired, a new dialog text can be created in the se61 transaction code, thus changing the content of the mail.
new dialog text, example:
This program must be run in order to trigger e-mails falling into the inbox. Therefore, job should be established for the program to
work regularly. The program should be saved as above or as a variant as you wish. This variant job should also be used.
When the program runs, the workitems that fall into the inbox are sent to the approver by mail in the format below.
I hope that will be useful.