on 07-22-2005 12:35 PM
hello every body,
I am new to workflow i have done the practicals, but i got a problem in real time..
Could you please tell me how to develop a workflow to trigger whenever a basic salary of employee changes. The workflow sends a notification to the manager for approval.
The manager can either approve it or reject. and how to develop a workflow that triggers automatically when an employee gets a promotion. A work item should be sent to all the employees in the company.
it would be greatful we u can provide me with workflow transaction codes also.
thanks in advance
madhu.
Hi Madhu,
I've just completed once such workflow for Infotype 8 and subty 11. It is pretty simple. You'll need to just take care of these
1) Object creation in SWO1, use the superclass <b>basicpay</b>.
2) Use the method <b>CHANGE</b> of this object you created with the supertype <b>basicpay</b>
3) Use the event <b>CHANGED</b> as the triggering event
4) In the agent assignment, select the USER or Group and edit the ids which needs to approve
5) If deadline monitoring is needed, activate that too.
Hope I've given you the Best of the clues.
Cheers,
Sam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
thanks for the help... i am completly confused. please help in understanding workflow clearly.. if i want to develop a workflow what are the basic steps..(transaction codes)
i have used ppoc_old for maintaining organization plant by which i have created an emplyeer requesting a leave from the manager. and i have used pftc_ins for creating tasks, but i never used swo1. just tell what should we do initially to develop a workflow i mean all the steps.. like which transaction codes should be used.
Do we neeed to write any abap code.
Thanks
Madhu
Hi Madhu,
You'll need to follow these steps. Sorry that I assumed that you are aware of the TCodes.
1) Use SWO1 for creation of Object.
2) Use PFTC for creation of Tasks.
3) Use PFTC for creation of WF Templates.
In objects, you define your methods and events and superclass if any exits.
In Tasks u define the agents to be involved, the triggering methods and events etc.
In WF Template, u'll need to create the flow as to what should be done in various stages of the workflow.
Hope you gotit.
Cheers,
Sam.
Hi Sam,
the info was very helpful. but still little bit confusion. what are the basic steps to develop a workflow,
should i start by using ppoc_old for creating a leave request by an employee, after that swo1 for object creation, but y do we need to create a object, there are sap provided objects which we use while creating the task.(formabsenc, basicpay)
again some more ques's..
how to edit or change a workflow.
how does the manager knows about the change in salary done or about the leave request. i have used sbwp to check the request made by an employeer.
Many thanks
Madhu.
Hi Madhu,
1) It depends dude. If there are no standard objects existing already (in case of zreports and ztransactions) then we need to create our own Zobject deriving the characteristics (methods and events) from other superclass objects.
2) You can edit the workflow by going to the workflow builder in (PFTC WFTemplate) and changing it in the builder screen.
3) The manager's inbox will have the WF items listed in it. He can perform an action for each of them. You can also send an e-mail for notifying him about the same.
Hope I've answered your questions.
Cheers,
Sam
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.