I’ve seen a weird scenario in the UWL concerning workitems which do exist at the backend, but when being launched from the UWL show the following error in the popup displayed after clicking:
“The item is not longer valid. Select another item or refresh the item list view”
It appears as it follows:
When checking the HTTP Watch trace from the click in the link within the workitem, following behavior can be found:
You can see that there is a redirect which happens.
This redirect is the ROOT CAUSE for the problem, because in the second call to the UWLDetail application all the POST parameters which have been sent in the first call are lost, causing the problem as in the first screenshot.
It can be seen that in the first URL the webdynpro call is made in the path /webdynpro/dispatcher, and in the second URL it is made in the path /webdynpro/resources
If you are wondering why this redirect happens which causes the problem in the UWL, then go to the following SAP KBA:
1886765 – Webdynpro java iviews like UWL iview does not appear correctly
Although the symptom section of the note does not speak about this UWL specific scenario, checking the Cause section you will find the very same symptom as we’re speaking about in this discussion!
Still according to note 1886765, “Applying the latest patches for the Web Dynpro Runtime component” should resolve the issue.