Skip to Content
0
Former Member
Nov 09, 2009 at 07:13 AM

Accessing Workflow's Business Object values in UWL

108 Views

Hi all,

I have the requirement to launch the EHP4 Performance Management Appraisal workitems in the WD4A applications instead of the old BSP application.

It seems as if SAP have not fixed this yet.

Now I need to pass the Appraisal ID, which is contained in the APPR_DOC business object, to the HAP_DOCUMENT_MAIN WD4A application.

This attempt did not work, can anyone please advise on how to access the BO's attributes in UWL to pass to the handling application?

<ItemType name="uwl.task.webflow.TS12300096.XSS_UWL_SYSTEM" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynProABAP" executionMode="default">

<ItemTypeCriteria systemId="XSS_UWL_SYSTEM" externalType="TS12300096" connector="WebFlowConnector"/>

<CustomAttributes>

<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="APPR_DOC" cacheValidity="default">

<Attribute name="PartID" type="string" displayName="PartID"/>

<Attribute name="ID" type="string" displayName="ID"/>

</CustomAttributeSource>

</CustomAttributes>

<Actions>

<Action name="launchWebDynProABAP" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">

<Properties>

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

<Property name="WebDynproNamespace" value="sap"/>

<Property name="System" value="SAP_ECC_HumanResources"/>

<Property name="objectType" value="APPR_DOC"/>

<Property name="objectId" value="${item.externalObjectId}"/>

<Property name="PartID" value="${item.PartID}"/>

<Property name="DynamicParameter" value="APPRAISAL_ID=${item.ID}&amp;PART_AP_ID=0000&amp;PLAN_VERSION=01&amp;ADD_ON_APPLICATION=PA&amp;MODE=X&amp;SAP-ACCESSIBILITY=&amp;WDCONFIGURATIONID=HAP_AC_MAIN_DOC"/>

</Properties>

</Action>

</Actions>

</ItemType>

Thanks in advance,

DJ