on 02-08-2010 12:05 PM
Hi Folks,
I have a peculiar scenerio in Production, I have a function module which is getting triggered through button handling in update task mode of CJ20N. For a scenerio this Button is clicked and the CJ20N is saved. In update task however, the Custom is triggered twice, Due to which the event is triggered twice an two work items are waiting in the Agent inbox. But however, tried to replicate the issue which failed.
Every day number of WBS Elements are created by clicking the button and every time in update task only one Custom event is triggered.
Please help if the system Commited work might have happened to twice due to any error in the system.
Thanks and Regards,
Mukthineni Krishna
Hi,
Check if there is some user-exit or badi active that calls the event creation function module. If yes, deactivate them and try again. Also check if there are two workflows active for the same created event in SWE2.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Folks,
Thanks for the reply, the issue happened only once during runtime. The Same event is not getting triggered every day. There is no BADI and other enhancement which can trigger an extra work item.
I have a doubt, weather there is any chance of commit happening during runtime twice if system has incurred any error.
Thanks and Regards,
Mukthineni Krishna
Does the event gets triggered twice at the same time. If no you can use an attribute that will check whether there is any Workflow instance already triggered. You can use SAP_WAPI_WORKITEM_TO_OBJECT to find workitem created. If created this attribute will be set to X and this you can use in the start condition of Wflow from SWB_COND.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
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.