on 09-11-2013 7:59 AM
Hello,
Is there any FM or tables to get the latest work item which got executed by giving the workflow number as input.
Thanks,
Saravana
HI Saravan,
Use table SWWWIHEAD you can get the work item numbers of a workflow by giving parent work item id which is parent workflow work item number.You can sort on creation time to get the latest work item if you want so.
Regards,
Jayaraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saravana,
you can try using f.m. SWW_WI_FIND_DEPENDANT_WIS, using the top level workflow ID and uncheking the parameter DIRECT_DEPENDANTS_ONLY.
You can then easily work on the returned table DEPENDENT_WIS to find the latest step in your workflow.
Regards,
Antonio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In my report, I have got the event wise workitem using tables SWWWIHEAD and SWWLOGHIST. Now, the problem is I'm not able to find the table or FM which gives the event status (active/not active) for that specific work item. I checked the table SWFDEVENA, but this is not giving the work item wise event status.
How will I get the work item wise event status?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Could you give an example?
You say you use WI_RH_TASK to get WI_ID, but then you use WI_RH_TASK anyway in SWDD. So why do you need WI_ID?
I still think SWFDEVENA shows you what you need, or at least what you've asked for.
If you're starting with WI_ID then link it to task in SWWWIHEAD and use that task in SWFDEVENA.
regards
Rick
Hi,
You can go to swi1 t-code and view the details of the work item which are executed and their status too. you can also view the details of the work item and their status ...
Hope it helps....
Regards,
Reshma S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have few more queries.....
1. which table stores the workflow event status details (Active/not active)?
2. is it possible to get the event wise last executed work item for a workflow? how to do it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anjan,
In my report, I have got the event wise workitem using tables SWWWIHEAD and SWWLOGHIST. Now, the problem is I'm not able to find the table or FM which gives the event status (active/not active) for that specific work item. I checked the table SWFDEVENA, but this is not giving the work item wise event status.
How will I get the work item wise event status?
Regards,
Saravana
Actually My requirement is....
giving workflow no as input and to get last executed work item with the material list which got executed during the last work item.
is there any tables to relate these?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Also check SAP_WAPI_WORKITEMS_BY_TASK fm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In addition to Jayaraj's advise,
You can also filter using WI_TYPE and WI_AAGENT to find out execution of dialog workitems.
alternatively just use transaction SWI5 to get all info on execution of workflows and tasks etc.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.