on 06-10-2014 1:57 PM
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
Hi Anurag,
Please change the DYNPARAM =sap-wd-configId=HRESS_AC_PTARQ_LEAVREQ&LRF_WITEM_ID=${item.externalId}&LRF_REQUEST_ID=${item.REQUESTID}&LRF_ARQ_MODE=A
After doing the changes Re-register the UWL connector. Hope it helps i am maitaining the same parameters and its working fine and also check the RFC destination in the NWA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suman,
The work item is present in ECC inbox for the agent.
So, I suspect that there is something wrong with the UWL connection.
System Alias in UWL is pointing to the correct backend system.
The same system alias (SAP_ECC_HumanResources) is being used for other ESS / MSS functionality which are working fine.
So, the issue here is that the work item itself is not coming in the UWL.
Please suggest what else can be done.
Regards,
Anurag
Hi Anurag,
Try giving more authorization to this user in the backend and check.
By saying, The same system alias (SAP_ECC_HumanResources) is being used for other ESS / MSS functionality which are working fine. Did you mean that the work items are coming to UWL from other workflows used in ESS/MSS to the same user?
Regards,
Suman
Hi Suman,
Thanks for the reply!!!
Do you mean to assign more authorizations to the RFCUSER or the actual MSS User.
If possible, Could you please list down the required roles to be assigned for the above user so that I can verify the same.
No, I meant that the system alias is connected to the correct back end system.
It is defined in the alias of the same system object which is being used for SSO for the ESS / MSS functionality.
Thanks,
Anurag
Hi Anurag,
Are you not able to get the workitem in the UWL? or
Are you facing issues while clicking on the work item?
If the workitem is not coming in the UWL. Check the ECC inbox if this work item exist over there?
If the work item is not there in ECC inbox the problem is with the workflow.
If the work item is there in ECC inbox and not appearing in the portal UWL it is the UWL Connection issue.
For UWL Connection check the System Alias in UWL is added to the correct System Connections in the System Landscape.
If your problem is with launching the leave approval application try this XML, it might help.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
>
<UWLConfiguration version="1.0">
<ItemTypes>
<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" cacheValidity="final">
<Attribute name="REQUESTID" type="string" displayName="Request ID"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="defaultAction" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="Operation" value="approveleaverequest"/>
<Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<Property name="openInNewWindow" value="true"/>
<Property name="ObjectName" value="employee"/>
<Property name="System" value="SAP_ERP_HumanResources"/>
</Properties>
<Descriptions default="defaultAction"/>
</Action>
</Actions>
</ItemType>
<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" cacheValidity="final">
<Attribute name="REQUESTID" type="string" displayName="Request ID"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="defaultAction" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="Operation" value="approveleaverequest"/>
<Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<Property name="openInNewWindow" value="true"/>
<Property name="ObjectName" value="employee"/>
<Property name="System" value="SAP_ERP_HumanResources"/>
</Properties>
<Descriptions default="defaultAction"/>
</Action>
</Actions>
</ItemType>
</ItemTypes>
</UWLConfiguration>
Regards,
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
9 | |
8 | |
7 | |
7 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.