on 05-11-2009 4:27 AM
Hi All,
I have a ABAP webdynpro which is launch from a work item. The work item is an action step.
In the webdynpro there would be a button, after the user had click on the button i would call the FM 'SAP_WAPI_EXECUTE_WORKITEM'. But the workitem is still in the UWL and the user can click on the workitem again and it would launch the Webdynpro again. Only when the user refresh the UWL then the workitem would disappear.
Is there a way to refresh the UWL after the user had click on the button in my ABAP Webdynpro, so that the workitem would disappear. Or make the workitem disappear from the UWL after the user click the button.
Thanks
Regards,
wl
Actually there is a refresh time set for the UWL, it will refresh after that.
You can have check in the Web Dynpro application whether the workitem is valid or not using
SELECT SINGLE wi_stat INTO lv_wistat FROM swwwihead
WHERE wi_id = workitemid AND
wi_stat NOT IN ('ERROR','COMMITTED','COMPLETED','CANCELLED').
if sy-subrc ne 0.
throw an error that workitem is not exists.
endif.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you all. I've used Abhi solution to do a check on the status of the workitem before showing the content.
Thanks and Regards
wl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
To control the refresh of UWL items, it can be done through portal for this you need to login with Admin rights in portal, Navigate to System Administration->System Configuration->Universal Worklist-Administration in that page Edit your relevent System Alias
set the value for this parameter "Delta Pull Channel Refresh Period (in Seconds):" save it and reregister the same.
This will set the refresh time for UWL Items.
Regards
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.