Execution of work items
Hello,
we have some unprocessed work items in workflow with status Error. we would like to post, is there any standard job to process all Errro items at a single time !!
Regards,
Ramesh.
Hello,
This transaction SWPR didn't pick up the work items, we executed through SWI1 still the process and workflow log did not completed. Below error has occured "Fork from node 362 has not been released again yet"
Please suggest
Regards,
Ramesh.
Similar Messages
-
RBBP_OFFLINE_EVAL No e-mails exist for execution of work items
Hi ,
We are trying to implement SRM offline approval. The system is able to send the email to the approvers, but when they click on approve, the work item does not get updated.
When i try to run report RBBP_OFFLINE_EVAL it says that No e-mails exist for execution of work items. No Work Item Found for Processing. What do i need to check to resolve this. If I approve thru SRM, it is working.
Thanks,
JogradHi
refer related links too
SRM : Offline approval process
Offline approval not working?
Check WF-BATCH user id has email ID?
regards
Muthu
Edited by: muthuraman on Aug 18, 2008 8:00 AM -
Execution of work item programatically
Hi All,
I need a function module which can execute a work item programmatically. like if the work item has two user decisions say approve or reject...
programatically if i pass the value it should be executed with that value....
Thanks,
SiddarthThanks for your quick reply,
But I have already seen this... this asks the user to select the decision...
but what I want is even the decision i.e. approve or reject should be passed through the FM and that will execute it automatically without asking the user for selecting the decision...
Thanks,
Sid
Thanks Sanju,
I found the funcion module by my own, which does the task....
FM : SAP_WAPI_DECISION_COMPLETE
Edited by: Siddharth Chordia on May 8, 2009 12:18 PM
Edited by: Siddharth Chordia on May 8, 2009 12:19 PM -
Collect Idocs - Work Item Execution Time
I have created an integration process that includes a collect process which follows the BpmPatternCollectTime pattern. Everything works great. I have one question though. When monitoring the process in SXMB_MONI and looking at the technical details for the collect block work item the execution time continues to grow, despite the work item having a status of completed with a creation date and latest end date. Why does this work item's execution time continue to grow, despite being in a completed status? Will this cause a problem? Does the SWWCLEAR job clean this up? I don't want to have workflow items out there with execution times climbing into days. I fear that will cause a performance issue, even though they show as completed status. By the way, this is in a PI 7.1 environment.
hi Chris,
>>>Your blog does provide some interesting points when collecting to generate a single file.
file is only of of 5 possibilities that mz blog mentiones
the point is that BPM is the worst approach out of those 5 and all other 4
can easily replace your BPM IDOC collect pattern
this way not only the vendor's system will work more efficienlty but also yours
but you will do as you like/prefare and you can come back
to the forum everytime you get an issue with a BPM - no problem
Regards,
Michal Krawczyk -
Invalid execution GUID. Work item could not be completed.
Hi People,
Lately, users have been complaining a lot of Invalid execution GUID. Work item could not be completed. What does it mean exactly, in a general sense, as I know it depends on the error. But what is the general consensus of such an occurence?John,
check this link
http://mailman.mit.edu/pipermail/sap-wug/2007-February/025056.html
Thanks
Bala Duvvuri -
Not navigating to display/edit screen on execution of a work item
Hi Friends,
I have created a work flow to display/edit a material, but on execution of the work item I am not navigating to the material EDIT/DISPLAY transactions. Can someone please let me know where I am going wrong
Many thanks,
BalajiHi,
Drill down to the code of the method in your task, and copy past it here. Or if it is a standard method, just tell us the business object & method. Otherwise it might be possible to help you.
Regards,
Karri -
Work item 000000001881: Work item or task TS20000797 locked for execution
Hello Gurus I need your help, I'm trying to configure a WF for ECM (Engineering Change Management) but I can't do this work at all it give this error and I don't know what to do... any suggestion?
Work item 000000001881: Work item or task TS20000797 locked for execution
Thanks in advanceHi,
I'm trying to configure a WF for ECM (Engineering Change Management)
While testing you're getting this error right.
Check using the Same Object key are you testing in another session.
Regards,
Surjith -
Error:Work item 000000001099:Object FLOWITEM method EXECUTE cannot be execu
Hello experts,
I have created a Sales order workflow whr after creation sales order will go to 1 person inbox and he will check the SO thoroughly and thn i hv added a user decision step for APPROVED or REJECTED for same person.
Now after creation of sales order it goin to the person inbox for checkin SO but when he is saving it thn decision screen with button APPROVED or REJCTED is not coming and m getting error :Work item 000000001099: Object FLOWITEM method EXECUTE cannot be executed. and error: Error when processing node '0000000024' (ParForEach index 000000)
i checked the agent mapping for both step....and thr is no error in agent mappin...in both steps i have mapped same rule with responsibility IDs
PLz suggest urgently wht can be cause of error.
Regards
NitinHi Nitin,
I think this seems to be an agent assignment issue.
To debug this issue go to the workflow log and check if the agents are correctly being picked by the rule or not. Simulate the rule and check for the agents being picked.
In the workflow log, check the agent for the User Decision step. If there is no agent found then there might be some issue with the data passed to rule.
Hope this helps!
Regards,
Saumya -
Urgent help req : work item id not getting passed in the method
Hi ,
I have created a subtype zcats of business object CATS and delegated it .
I have created a new method Approve1 ( with attributes SYNCRONUS & DIALOG ) in zcats which is similar in coding to Approve method of CATS ( DIALOG) .
I have include the method Approve1 of business object zcats in a standard task .
The problem is that when the eorkflow gets triggered , the workitem id is not getting passed in the method APProve1 of zcats.
Can someone please help me with this .
Points would surely be awarded .BEGIN_METHOD APPROVE1 CHANGING CONTAINER.
DATA: WORKITEMID_IMP LIKE OBJECT-KEY-ITEMID.
DATA: WI_CHCKWI LIKE SWWWIHEAD-WI_ID.
DATA: WORKITEM TYPE SWC_OBJECT.
<u> WORKITEMID_IMP = OBJECT-KEY-ITEMID</u>.
SWC_GET_ELEMENT CONTAINER '_WORKITEM' WORKITEM.
SWC_GET_PROPERTY WORKITEM 'WorkitemReference' WI_CHCKWI.
IF SY-SUBRC EQ 0 AND NOT WI_CHCKWI IS INITIAL.
WORKITEMID_IMP = WI_CHCKWI.
ENDIF.
CALL FUNCTION 'CATS_WF_APPROVAL'
EXPORTING
WORKITEMID_IMP = WORKITEMID_IMP
TABLES
CONT_IMP = CONTAINER.
END_METHOD.
hi ,
the above is the code in the method .
At the first step of execution underlined above , the work item id is appearing blank .
I think that the value is not passed to the container , but i am not sure og how to pass data to this conatiner -
Workflow is in process due to locking of work item
Hi,
I checked for one invoice document, workflow is in process. I saw it is stuck in one send mail step and analyse the workflow log, it is showing work item is locked against execution. I tried to execute the work item using SWIA, still it is not going to completed status still it is in ready status.
Can anybody tell me how to complete this work item so that workflow will be completed?
Best Regards,
PadhyHi,
It's resolved.
Thanks -
How to transfer GOS attachment to my work item
Hi Friends,
I have the following requirement. The user while creating a Appropriation request in tcode IMA1N will create an attachment using Generic Object Services(GOS). once he saves my workflow will trigger and it will go to approval. I need to show the attachment created using GOS in my Work item. How to achieve this. Please advice.I have some annotations:
The object type ARCHIVE is for archived Data Files from the DataArchiving. The object type for ArchiveLink documents is IMAGE
The default method is .Display to display the document.
The GOS-Attachment is not a SAP ArchiveLink document. This attachment is stored in SOOD and linked via the GOS-relationship table SRGBTBREL
The business object, that can be used here is: SOFM
The object instance needs to be found with a custom self-made background method, to find the correct link and create an object instance.
After that, this instance can be used as a secondary method in the work item's execution or attached to the ADHOCOBJECTS as already mentioned here.
Good luck,
Florin
P.S.: Similar reply cross-posted to SAP-WUG -
Error in Fork Step causing issue in generating next work items
All,
We have ECC 6.0 with the following SP:
SAP_BASIS 700 0012 SAPKB70012 SAP Basis Component
SAP_ABA 700 0012 SAPKA70012 Cross-Application Component
I have this strange issue. In one of my custom workflows, i am using a Fork step with 02/ 02 necessary outcomes. In branch 1, i am sending a mail to a user's e-mail id. In branch 2, i have 3 activity steps for another user. Step 1 is to display an invoice and step 2 is a user decision to apprve/deny this invoice.
I know that during runtime, at the Fork step, the work item for branch 1 and the 1st work item for activity step 1 in branch 2 get generated almost simultaneously(though with some small time difference). This is OK. But the issue is, when the sendmail in branch 1 errors out due to some error, and when step 1 is finished successfully by another user, the work item for 2nd activity step in branch 2 is not getting created.
As i understand, in the Fork, the 2 branches, execution should be independent of each other, that means, the work item creation and execution of branch 1 and 3 steps in branch 2 should be happening independently. But, this doesn't seem to be the case.
I understand when the sendmail in branch failed, the wflow is set to 'Error' Status.But there is already an open workitem for step 1 of branch 2. When this workitem is completed successfully, I expect the work item for 2nd step should get generated.But this is not happening. But, when i restart the whole workflow using SWPR, it generates the witem for 2nd step in branch 2. And still the wflow is in 'Error' status.
When the user finishes the 2nd workitem of branch 2, the next work item for 3rd step is not getting generated. Instead i needed to restart the whole wflow again and this time, it generated the 3rd witem in ranch 2.
To my understanding, when a Fork is there, if i specify 02/02 outcomes necessary, these 2 branches should go in parallel, both creation and execution of workitems, until they are joined. And at this point, if the whole Fork step is successful, then workflow will proceed further with steps below the Fork. Shouldn't this be the case ?
Anybody had similar issue? Pl share your thoughts on this. I'd really appreciate if somebody can clarify whats going on in the above case and how to fix this.
Thank you in advance
Regards,
venu
Edited by: Venugopal Jogi on Jun 10, 2009 5:58 PMHi Arghadip,
Thanks for your reply. You said
"When a Workflow goes into error the processing should stop whether it is in same branch or in different.".
If this is correct, then as i explained earlier, when i restart the workflow without fixing the errored branch, then also, the next work item should not be created..Right ? But, it is. I didn't fix the errored branch but simply restarted the workflow. Then it created the witem for 2nd step, in the branch 2 that is not errored.
How can this be, the branch 1 is still in ERROR status only. So, can you pl clarify if something else might be going on here.
Also, fixing the issue is fine. But, the SendMail step in branch 1 is just an information only and per business requirement, this should not be holding up the approval process. And if we don't process the invoice in time, just because of some informational mail errored out, this will not be a feasible solution to the client,Right ? That's the whole reason i am using Fork step, so that they both proceed parallelly (independently).
If step 1 is a pre-requisite for step 2, then it makes sense to fix error in step 1 so that we can proceed with step 2.
Any other thoughts on this.....
Regards,
venu -
Urgent - How to get a pop up after executing a work item?
Hi Gurus,
I am working on a PO Approval workflow which is designed to approve multilevel POs depending upon its amount.
Now the requirement is that I need to provide a pop up with list of second level approvers to the user immediately when the user executes the work item of first level approval in his/her SAP Inbox.
Waiting for responses ASAP. Let me know if scenario needs to be clarified in more depth.Hi Shaurya
You can create a method to send a second workitem to the agent with a list of agents for the second level, and pass the selection back to your workflow container. Set the new task as "Advance with Dialog" and you should be fine.
Alternately you could set your new method as a secondary method AFTER workitem execution call, but don't forget to check the result of the first approval so the popup is only involed if they have approved the first step.
Regards -
Hello,
Here is the scenario:
I have a task in a workflow. I have defined possible agents (in task definition) and responsible agents (in WF definition). The task attribute is "General Forwarding Allowed".
In the scenario, a responsible agent receives work item in his inbox. He then forwards it to the user who is NOT a possible agent of the task. The system gives the warning message but allows the forwarding. This forwarded agent then executes the work item.
Question
Is there a way to ALLOW forwarding of the work item to any user who is not a possible agent. But to PREVENT that user from executing the work item.
Any help would be appreciated and will be rewarded!
Regards,
SandeepHi Sandeep
If you want to Allow general forwarding but restrict execution to only the users allowed, You need to rely on SAP's Authorizations.
If an action is allowed or not for a specific user, should not ("<i>can not</i>") be based on your workflow design. It must be based on your SAP security design (Your SAP Roles).
Remember that Forwarding isn't the only that another user can gain access to a workitem. If a user assigns a substitute that's not allowed to execute you will face the same problem, or even if an administrator executes the workitem from transaction SWIA.
If you are using SAP Standard functionality, the SAP Standard authorization check, for the called functionality, would be checked. In order to find out exactly which objects has been checked, you can use the trace functionality in transaction ST01.
If it's your own development you need to include the nescesarry checks in the ABAP code.
Regards
Morten Nielsen -
Work item is in WAITING status
Hi All,
from the past 2 months we are getting so many work items in waiting status in our system. We are able to see different work flow work items in 'WAITING' status.
What would be reason to be in waiting status.
All this work items are having message as ' Work item submitted for execution' in log but it is not reaching agents inbox for approval.
Is SAP Note 962488 will help me in this issue.
Regards,
Kusuma K.Hi ,
There can be some event which is either inactive or incomplete, check for them in the Log and do the needul.
Hope it shd help.
DP
Maybe you are looking for
-
Hi, I am new with OAAM. In one of the models executed at pre-auth time I see a rule checking if the authentication mode of user is "Full Keypad". My question is: where I can change/read the authentication mode of a user? Directly in the the "VCRYPT_U
-
Change the Account Determination In As22
Dear Friend's The Asset Class account determination is wrongly tagged but some transaction value are made. So I want to change the Account determination in OAOA transaction code. For this transaction should not allow to change the Accoun
-
Error while starting services in SAP MMC
Hi Everybody, I had Installed SAP ECC6 version in my laptop, after installation(not restarted laptop) services are already on, i had installed sap gui, and everything i configured, user id and access key of abap developer. But when i want to stop or
-
Is there a way to get password for seamless login? Our company policy prohibits hardcoding password into any program. WE need to load data using sql*loader and we are unable to automate the process in unix since we need the password to connect. Appre
-
Can i use "disk" on this one? 802.11n ???
can i even use the airport as a disk server? how does one setup the function?