cancel
Showing results for 
Search instead for 
Did you mean: 

Leave request - Issue with workflow/task

Former Member
0 Kudos

I set the task TS21500003 pointing to webdynpro application in configuration (parameter also set to DYNPARAM#LRF_REQUEST_ID=${item.REQUESTID}.) and trying to re-register UWL configuration, but getting warning message "WebDynproNamespace value not found for task TS21500003 in system".  Even I don't find the task in UWL configuration.  I can see the workflow in SWFVISU but not in portal.  MSS Add On 1.0 is also installed and also installed business function HCM_MSS_WDA_1, am I missing anything?


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kiran,

First let me know are you configured the workflow correctly,Once if possible can you check logging with that Manager user ID in R3 if it exist and check in the T code SBWP and can check in the inbox whether any request has came, if the request has came here which the employee applies, this might be technical problem UWL. Register the correct task with UWL and if possible clear the cache in the UWL once and check the task is coming or not in Manager inbox in portal.

Regards,

Jwala,

SAP-HR.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

did you install the latest XML as per note 1600953

this XML should be used, I heard there were some errors after re registering the connectors, latest changes of SWFVISU were not reflected in XML. So you need to ensure that your XML is set to High Priority and correct one is being picked

also, lpd_cust for MSS should be correct

Former Member
0 Kudos

As per note 1600953, I have changed xml and set high priority.  Request sent to manager's inbox (UWL) without any problem but it is giving blank page when manager selects the work item in inbox.  It is not giving any run time error and page is displaying blank.

I set parameters under role MSS NAV in LPD_CUST:

Business object - employee

Operation - approveleaverequest

System alias - SAP_ERP_HumanResources

Application alias - LEAVE_REQUEST_APPROVAL

Application parameter - LRF_ARQ_MODE=A

OBN type - Object based navigation

I set parameters at task level TS21500003:

APPLICATION - hress_a_ptarq_leavreq_appl

DYNPARAM - LRF_REQUEST_ID=${item.REQUESTID}

Experts - Am I missing anything out of it?

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

are you sure this is the correct XML being launched?

please check if the correct UWL XML file is taken into account when
opening a leave request from UWL. This can be obtained via enabling the
UWL support information in the UWL administration with following steps:

  1. Log on to the portal
  2. Navigate to the following path: system administration > system
     configuration
  3. In detailed navigation click on the UWL & Workflow folder
     to expand out
  4. Then click on the Universal Worklist Administration link
  5. Scroll down to the bottom of the page:
     Optional Universal Worklist Service Configuration
     Open the Tray for the Optional UWL Service Configuration
     Click on the button to open the tray for the optional UWL service
     configuration
  6. Scroll down again
  7. Go into edit mode
  8. Display Support Information: Set the parameter to true
  9. Click save
  10. Open the UWL and select any of the leave request workitems

11. check the "Item type configuration name" used?

At portal side please clear the UWL cache and re register the work

items. THIS IS VERY IMPORTANT .

I didn't see in SWFVISU

We are define TS21500003 task as follows:

TS21500003 WEB DYNPRO ABAP

   APPLICATION#hress_a_ptarq_leavreq_appl
   DYNPARAM#sap-wd-
configId=HRESS_AC_PTARQ_LEAVREQ&LRF_WITEM_ID=${item.externalId}
&LRF_REQUEST_ID=${item.REQUESTID}&LRF_ARQ_MODE=A

   NAMESPACE#SAP
   SYSTEM_ALIAS#SAP_ECC_HumanResources

if correct XML is uploaded, the settings from SWFVISU are irrelevant.
the SWFVISU settings are for creating the XML in the first place. In
fact later on the settings are only called from the XML not from the
backend, as I was told by UWL experts.

Therefore if you the correct XML is taken, it should work.

Former Member
0 Kudos

Siddharth - Here is my xml content, I don't see any issue with it and I also verified it is taken in to account when I open a leave request from UWL, still getting blank page.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN" "uwl_configuration.dtd">

<UWLConfiguration version="1.0">

<ItemTypes>

<ItemType name="uwl.task.webflow.TS21500003.SAP_WebDynpro_XSS" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="defaultAction" executionMode="default">

<ItemTypeCriteria systemId="SAP_WebDynpro_XSS" 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>

</ItemTypes>

</UWLConfiguration>

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

YOUR system id is SAP_WebDynpro_XSS,is this system alias too?

typically we have SYSTEM_ALIAS#SAP_ECC_HumanResources

So you need to check your aliases, either make this in SWFVISU or the xml you use and it ll work