Hi All,
We are using portal 7.4 and r/3 Ecc 6.0 ehp7.
We have create a customized workflow task TS90000026 to create the travel request (similar to std task TS20000118).
Workflow is working ok and the Manager receives the work-item to approve the travel request , in UWL in SAP portal.
But, when we click on the work item in portal uwl , it is showing following error:
Value null of URL parameter SAP_FITV_PERSNO has the wrong type.
We followed the note 1076144 and uploaded the zip file given in the note, to portal using " upload new configuration" option.
<!-- Approve Travel Request -->
<ItemType name="uwl.task.webflow.decision.TS90000026.SAP_ECC_HumanResources" connector="WebFlowConnector"
defaultView="com.sap.pct.erp.mss.tra.view.RequestApprovalView"
defaultAction="com.sap.pct.erp.mss.tra.action.DisplayRequestForm">
<ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType="TS90000026" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="final">
<Attribute name="TripNumber" displayName="Trip Number"/>
<Attribute name="EmployeeNumber" displayName="Employee Number"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<!--Display Travel Request Form -->
<Action name="com.sap.pct.erp.mss.tra.action.DisplayRequestForm" referenceBundle="com.sap.pct.erp.mss.tra.DisplayForm"
handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="toolbar=no,menubar=no">
<Properties>
<Property name="WebDynproApplication" value="FITV_TRIP_FORM"/>
<Property name="WebDynproNamespace" value="sap"/>
<Property name="SAP_FITV_TRIPNO" value="0000000046"/> ( trip no and persno hard coded , then it works fine)
<Property name="SAP_FITV_PERSNO" value="00014979"/>
<Property name="System" value="SAP_ECC_HumanResources"/>
<Property name="SAP_FITV_TRIPCMP" value="R"/><!-- Display Travel Request -->
<Property name="display_order_priority" value="10"/><!-- Shift to left side -->
</Properties>
</Action>
If we hard code the Trip number and persno , then it successfully displays a PDF form , when a manager clicks on the workitem in uwl inbox.
please suggest a way to sort out this, without hardcoding the trip no and persno.
BR,
Harthi