on 05-12-2009 10:36 AM
hi,
I am new to work flow.i have a requirement to modify the user names those who create material in my work flow.I am unable to find the user names in the workflow,so,suggest me where might the logic exists regarding the users.
murali.c
Hello,
It seems to me they want you to change the agent assignment of the workflow.
Go in to PFTC_DIS for that workflow and see how the agents are assigned now in each step.
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
"Yes I have to change the Actual Agent of Work Item.how & where these have been maintained?
how do I proceed further with pftc_dis."
You can change this by going in to the workflow definition using PFTC and opening each step and checking how the agent has been assigned, and changing it to how you want it.
regards
Rick Bakker
Hanabi Technology
hi..
solved thru PPOME
murali.c
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
1 . U can find the initiator of the workflow in the Event container
Select Event step in the starting of the workflow , and check WF_INITIATOR in the workflow container
In the binding map that WF_INITIATOR to our local variable.
2. Next step you change the creator name By assigning the new name to Wf_initiaor variable like
WF_Initiator = 'US*******'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to identify the TOPWI_ID from table SWWWIHEAD correspending to your Workflow Template and change the WF_INITIATOR field either by coding using FM SAP_WAPI_WRITE_CONTAINER or change the container element value from the Workflow Log.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali,
To get the initiator information, you have to check the workitem container.
To check the container,
Go to transaction SWUD
Enter Task type: WS and Task: Your workflow number
Click on u201CTest Environmentu201D
Click on u201CDetermine instances for tasku201D
Now you will get list of Workitem IDs. Select your workitem (Based on Created Date and Created Time you can select your workitem id)
Once workitem id is selected, click on u201CDisplay Work item container (CtrlShiftF6)
You will get the initiator information in this.
User id of initiator will start with u2018USu2019.
You can also check the work item container using transaction SWI1.
Hope this will help you.
Best Regards,
Deepa Kulkarni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murli,
The person who triggers the workflow would be identifed as the workflow initiator and would be available default in the workflow container.
The workflow initiator available would be the SAP user name of the person and would be prefixed with 'US'.
Rgds,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.