Hi All,
We are facing issues with the leave request approval tasks as those are not appearing in the Portal UWL.
We've NW Portal 7.4 with ECC 6 EHP 7 as backend.
We've installed MSS ADD On 1.0 and have assigned the relevant MSS role to the user.
We've maintained the task IDs TS21500003 and TS90000043 in SWFVISU.
Please note that the task: TS21500043 is custom one and is compatible with TS21500003 (standard).
We've also created a custom xml (com.xxxx.pct.erp.mss.addon) with the following code:
<!-- OBN Navigation -->
<ItemType name="uwl.task.webflow.TS21500003.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="defaultAction" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType=" TS21500003" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="WebflowContainer">
<Attribute name="REQUESTID" type="string" displayName="Request ID"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="defaultAction" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="WebDynproConfiguration" value="HRESS_AC_PTARQ_LEAVREQ"/>
<Property name="Operation" value="approveleaverequest"/>
<Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}" />
<!-- Parameter associated with OBN being passed -->
<Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<Property name="ObjectName" value="employee"/>
<Property name="System" value="SAP_ERP_HumanResources"/>
<Property name="openInNewWindow" value="true"/>
</Properties>
<Descriptions default="defaultAction"/>
</Action>
</Actions>
</ItemType>
<ItemType name="uwl.forwardedtask.webflow.TS21500003" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.ForwardedTimeApp" defaultAction="viewDetail"/>
<ItemType name="uwl.futuretask.webflow.TS21500003" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.FutureTaskTimeApp" defaultAction="viewDetail"/>
<ItemType name="uwl.completedtask.webflow.TS21500003" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.CompletedTimeApp" defaultAction="viewDetail"/>
<!-- OBN Navigation -->
<ItemType name="uwl.task.webflow.TS90000043.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="defaultAction" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType=" TS90000043" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="WebflowContainer">
<Attribute name="REQUESTID" type="string" displayName="Request ID"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="defaultAction" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="WebDynproConfiguration" value="HRESS_AC_PTARQ_LEAVREQ"/>
<Property name="Operation" value="approveleaverequest"/>
<Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}" />
<Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<!-- Parameter associated with OBN being passed -->
<Property name="ObjectName" value="employee"/>
<Property name="System" value="SAP_ ERP_HumanResources"/>
<Property name="openInNewWindow" value="true"/>
</Properties>
<Descriptions default="defaultAction"/>
</Action>
</Actions>
</ItemType>
<ItemType name="uwl.forwardedtask.webflow.TS90000043" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.ForwardedTimeApp" defaultAction="viewDetail"/>
<ItemType name="uwl.futuretask.webflow.TS90000043" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.FutureTaskTimeApp" defaultAction="viewDetail"/>
<ItemType name="uwl.completedtask.webflow.TS90000043" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.CompletedTimeApp" defaultAction="viewDetail"/>
We've also followed SAP Note : 1600953 - Modifications to UWL configuration file in BP MSS Add-On 1.0
But still, it is not working out for us. We are not sure on what are we missing here.
Attaching the screenshots for SWFVISU for the above mentioned Task IDs.
Please note that we've already re-registered the connectors several times and have checked the SSO connections.
Any pointers will be highly apprecaited.
Regards,
Anurag