Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
1,053
Issue Background:

We are using SAP Netweaver portal Version 7.4. There is a requirement to implement Leave request for Employees, which can be activated by deploying Business Packages of HR Renewal 2.0. When all the necessary configurations are done, work items for leave request is triggered. It comes to Approver Inbox for approval or rejection. Approver rejects the request and it goes back to the employee who raised it. When employee opens the work item from UWL, a 404 error page is displayed.





Solution: Correct the broken link

  1. The task called “Process Leave Request by Employee” is TS12300116.

  2. is generated from WS12300111 when the request is rejected by approver.

  3. The task currently exists in uwl.webflow.SAP_ECC.

  4. The entry in uwl.webflow.SAP_ECC looks like:


<ItemType name="uwl.task.webflow.TS12300116.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">

<ItemTypeCriteria systemId="SAP_ECC" externalType="TS12300116" connector="WebFlowConnector"/>

<Actions>

<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">

<Properties>

<Property name="display_order_priority" value="5"/>

<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>

<Property name="WebDynproApplication" value="com.sap.xss.hr.lea.appl"/>

<Property name="WebDynproDeployableObject" value="LeaveRequest"/>

<Property name="openInNewWindow" value="yes"/>

<Property name="DynamicParameter" value="wi_id=${item.externalId}"/>

</Properties>

<Descriptions default=""/>

</Action>

</Actions>

</ItemType>

5. This entry highlighted in bold red color, is faulty because the application and deployable object has been inter-changed.

6. We could fix this by creating an xml file that effectively points to:

<Property name="WebDynproApplication" value="LeaveRequest"/>

<Property name="WebDynproDeployableObject" value="sap.com/ess~lea"/>

</ItemType>

Result: The work item open in new window without any error.



 

 
Labels in this area