on 01-29-2010 10:16 AM
I have created a Workflow for the BO - BUS1001006 (Material master-MM01).
Now This workflow is getting triggered whenever a new material is created. But I have to trigger this workflow only when a new material is created from a particular login.
Pls help...
But I have to trigger this workflow only when a
new material is created from a particular login.
Instead of trying to define in the basic datd of the workflow , I think its better you raise the Material created event only when SY_UNAME is equal to that login, for which you want to start the workflow.
I hop ein order to start a wrofklow when ever a material is created, you might be using a BADI or user exit where you maight have raise the event CReated by using any of the fm SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT or SAP_WAPI_START_WORKFLOW, so here before calling the above fm try to validate the user and if it is true then only you execute the FM module other wise skip...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In SWU3, check workflow entry against Material BO.
In the details, You can add 'Check Function Module' where you can check the Username.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can specify start conditions in SWDD->Basic data-> start events....after binding icon you have option for start conditions....
clcik that and specify EVT_CREATOR = 'XXXXXX'(login id)
save and activate the workflow...and check...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have given start condition and activated the workflow. but still it's not working.
I have an doubt that after defining condition, is there any symbol will come..?
bcos after defining condition,if i place cursor in that place next to binding icon, it's showing that 'no start condition'.
but if i click on that, it's listing the condition which i have defined.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.