Dear All,
Thank you very much all your suggestions. Finally we have resolved the issue with the help of our internal team and also with SAP. To brief you about the background of our issue, we have faced three different concerns.
1.) UWL is not showing New and In Progress tasks but the other tasks are getting displayed properly
2.) When clicking on any of the completed work item, It is not redirecting to the correct page where we can see the Shopping cart details
3.) At the same time, it used to give the Assertion Failed error when opening the work item
1.) UWL is not showing New and In Progress tasks but the other tasks are getting displayed in the UWL
New and In Progress tasks:
Completed Tasks:
2.) When clicking on any of the completed work item, It is not redirecting to the correct page where we can see the shopping cart details
Root Cause:
As we are using the Application controlled workflow and especially the workflow task (TS93107952) instead of the standard one, we haven't made any entry in the specific workflow task initially.
Resolution:
Upon doing the changes in workflow task (TS93107952), The New and In Progress tasks are getting displayed in UWL.
After that, when we are trying to open any of the In Progress work item, it is not redirecting to the Approval/Rejection page wherein it was taking us to the shopping cart details page.
And at the same time, the system used to behave in a haphazard way where it will open the SC details upon clicking the work item for some time and at some time, it will give the Assertion Failed error for the same work item where it has displayed the SC details previously.
Upon further checking, we were able to find that it is due to the Netweaver UWLJWF Patch. We have upgraded it to the latest version available and cleared the UWL cache.
In reference to the concern on shopping cart details page upon clicking the work item, we have made the changes as below to take us to the Approval/Rejection screen.
In the workflow task - TS93107952, we have added the actions of old standard task TS10008126 of application control workflow and re registered the system. Please find the below code for your reference.
<ItemType name="uwl.task.webflow.TS93107952" connector="WebFlowConnector" defaultView="com.sap.pct.srm.core.view.tasks"defaultAction="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.approve" executionMode="default">
<ItemTypeCriteria externalType="TS93107952" connector="WebFlowConnector"/>
<Actions>
<Action reference="com.sap.pct.srm.core.action.oldwfl.approve"/>
<Action reference="com.sap.pct.srm.core.action.oldwfl.reject"/>
<Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.approve"/>
</Actions>
</ItemType>
<ItemType name="uwl.completedtask.webflow.TS93107952" connector="WebFlowConnector" defaultView="com.sap.pct.srm.core.view.tasks"defaultAction="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.display" executionMode="default">
<ItemTypeCriteria externalType="TS93107952" connector="WebFlowConnector"/>
<Actions>
<Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.display"/>
</Actions>
</ItemType>
More importantly, we haven't made any entries in the SWFVISU transaction code.Thanks once again for all your help and suggestions.
Hope this thread will be useful for someone in the future.
Best Regards,
Bharathi