on ‎2009 Apr 27 5:54 AM
Dear all,
I have some workflow which are working fine when I test these in SWDD t-cdoe. But on doing actual transaction these workflow are not triggering automatically.
If I go in t-code SWUE I am again able to trigger it manual for a particular document. But I do not I understand why it is automatically not triggering.
Objects are:BUS2005-CREATED AND MKPF-ASSIGNED
Please give u r ideas to sove this.
Thanks,
Dhananjaya
Request clarification before answering.
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1 . Please check the Triggering event given are not to start the workflow if Yes then Check it is Active Or Not ( IF every thing OK here) then
2. activate trace in the trasctinon SWELS and execute the transaction.
3 . Go to transaction SWEL and execute it and check there must be the WORKFLOW with YOUR business object if it is getting triggerd.
IF Not workflow not triggerd then check the linkage in transaction SWE2.
IF above all steps are OK
Then CHECK configuration in SWU3 transaction (customise workflow setting must be done ) .
.Thanks
Deepanker Dwivedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do the following
Check in the SWE2 Txn whether the event linkage is active or not for the standard workflow.If it is not active make it active.
Check whether, are maintining any agents or not to the workflow . to do this goto PFTC Txn select workflow template give the template number with out WS and open in the dispay mode and on menu click on Additonal Assigment ---. Maintain Agent ---> select General Task
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dananjay,
First try to find the Event trace, you can do the event trace in three steps
1.Go to Txn SWELS switch on the vent Trace
2.Run your scenario
3.Goto SWEL, find the even log and analyse the error.
Before this please cross check the configuration part of your scenario in SPRO for workflow.
Hope this will help you.
Regards
Kiran
This is not standard workflow I have created the simple for workflow for Creation of Production order a intimitation should go to the person assigned to the task. Every this is working fine when we are doing testing.
But when we create Prodcution order Workflow not triggering.
Object type used to trigget is BUS2005-CREATED.
Same problem is there for MIGO POSTING also
Please guide
Thanks
Dhananjay
how are you trying to trigger the event i mean by using any function module or what.
See When you are saying it is a custom workflow, then in the start events of the workflow did you assigened the event name and actiavted the event binding .
Secondly, When any event is occured then there should be a receiver you can check this by using the Txn SWUE where give all the relevant data and click on the button EVENT Receiver it shows you whether any receiver is ready to handle the event. Here the term Receiver , I mean Workflow.
You can trigger the workflow by using the FM SAP_WAPI_CREATE_EVENT.
Hi,
In the event trace you need to check for the evnet (the start event of your worklfow) not the BOR number.
Please check for the event in SWEL.
Note: once you go to the SWEL sort the record as per date (Ascending) you will have your start event there. Then you can select the event and see its log.
Regards,
Deepa Kulkarni
In start event I have assigned the BUS2005 and Event of the object as Created and Binding is done and activated, all are showing green color.
In SWUE after assinging any object key (Production order number created) with object number as BUS2005 and EVENT as Created it triggers the workflow but it is not activating automaticaly when I create the Production order.
Now see it is clear that when you are executing from SWUE it is receving the event , that means from the Transaction ( Production order) you are not rasing the Event , I mean find any exit or badi , where you can rasie the BUS2005 event by using the FM SAP_WAPI_CREATE_EVENT. When ever you click on create or saving the PO
Please let us know the txn how are you creating the production order. so that we can help you to find the USer Exit or BADI
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.