Leave Request UWL Trouble shooting

Leave Request Approval screen is popping with blank header.
Remove task TS12300097 from UWL.
Calling WebDynpro ABAP application as work item through workflow.
Error: Opening Leave Request from Manager UWL.

The Solution is :


1) First Configure the UWL as in the following LINK.

UWL Configuration SAP EP 7.3


2) Check the following System aliases whether created.
       a) SAP_ERP_HumanResources
       b) SAP_WebDynpro_XSS
       c) SAP_ECC_HumanResources

3) Check the Webdynpro launch System alias WAS property.


4) Check whether proper roles are assigned in backend.


5) Check whether proper authorizations assigned to enduser for PCD objects.

6) Please check the note 1618269 and 1600953.



7) Also check the sap.com/ess~lea




  Development Components are available .
( check under the SAP_ESS Software Component )

There are two things,

If you are using POWL, you need to use MSS ADD ON business package and activate business switches to activate WD ABAP.

If you are still using MSS with JAVA , you can continue using UWL for approval and apply the  notes 1618269 and 1600953.
Use correct portal roles for MSS


Customize TS21500003 in SWFVISU:

DYNPARAM:  LRF_REQUEST_ID=${item.REQUESTID}.


 The solution has two options:

1)    Try the execution with below xml entry for task 21500003. (assume you are using standard workflow).

*********************************************************************************

<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="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
<Property name="Operation" value="approveleaverequest"/>
<Property name="ObjectName" value="employee"/>
<Property name="openInNewWindow" value="true"/>
<Property name="System" value="SAP_ERP_HumanResources"/>
<Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
</Properties>
<Descriptions default="defaultAction"/>
</Action>
</Actions>
</ItemType>

**********************************************************************************

The solution is to insert above object based values in two xml files. com.sap.pct.erp.mss.addon and your default xml.

2)    If the solution doesn't work after applying above changes too then upload com.sap.pct.erp.mss.addon.xml file instead of zip.

Above will surely help.

SAP would advise you to implement note 1720040. which can also be a solution. this is a known bug which also can be resolved by applying patch.


Note 1753027 clearly mentions that on UWLJWF patch 04 on 7.31 this issue would occur. with empty header issue if you check your log then you will see an error in portal log that shows below description.

"Problem in performing  action <markAsLaunched>: unknown action: <markAsLaunched>"


Remove task TS12300097  from UWL

1) The absences in V_t554s_web, from here the Work Flow task should be removed.
2) As per standard leave request customizing SAP have provided the standard task TS21500003 to be used as workflow task.
3) For leave request application to be called ,Specify the parameters
in transaction SWFVISU through which the application is called when
processed from universal worklist (UWL).

4) It is requested to use standard leave request task TS21500003 and replace the existing visualization parameter
DYNPARAM :
From >   WI_ID=${item.externalId}
 To >   LRF_REQUEST_ID=${item.REQUESTID}.
 This can be done from transaction SWFVISU.

Note:
The workflow WS12300111 is a standard workflow for Webdynpro Java leave
request application where it would call the standard task TS12300097.
This is used in Java Scenarios.

For Webdynrpo ABAP leave request application, SAP
recommend's to use the workflow WS21500001 with the visualization
parameters for task TS21500003 pointing to Webdynpro application as
follows.

APPLICATION:  HRESS_A_PTARQ_LEAVREQ_APPL
DYNPARAM:  LRF_REQUEST_ID=${item.REQUESTID}

Also update the leave request configuration in SPRO
transaction to point to new workflow 21500001 instead of 12300111.

There is no difference in both Work Flow
But difference is the UI, one is based on WD JAVA WS12300111 and the other new one WS21500001 is more tuned to the WD ABAP.

The workflow WS12300111 is a standard workflow for Webdynpro Java leave
request application where it would call the standard task TS12300097.
This is used in Java Scenarios. SO if you use JAVA ESS you can stick with this one

BUT if you would be using webdynrpo abap leave request application, we
recommend to use the workflow WS21500001 with the visualization
parameters for task TS21500003 pointing to webdynpro application as
follows.


The meaning for warning "WebDynproNamespace value not found for task TS21500003 in system XXX" is that in SWFVISU the parameters are not maintained.




No comments:

Post a Comment