on 11-17-2011 7:44 AM
Hi All,
I have create a customized workflow task TS90000041 to change the travel expenses (similar to std task TS20000189).
This task calls the method CHANGEINTERACTIVE of BUS2089.
Workflow is working ok and the user receives the work-item to change the travel expenses in UWL in SAP portal.
But, when it is clicked it is showing following error:
Value null of URL parameter SAP_FITV_PERSNO has the wrong type.
I have maintained following parameter in SWFVISU for task TS90000041 (Visu. Type: ABAP Web Dynpro)
APPLICATION: FITE_EXPENSES
DYNPARAM: SAP_FITV_TRIPNO=${item.TripNumber}&SAP_FITV_PERSNO=${item.EmployeeNumber}
NAMESPACE: SAP
SYSTEM_ALIAS: SAP_ERP
Following is the code from XML file in portal.
<ItemType name="uwl.task.webflow.TS90000041.SAP_ERP" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
<ItemTypeCriteria systemId="SAP_ERP" externalType="TS90000041" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="WebDynproApplication" value="FITE_EXPENSES"/>
<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
<Property name="DynamicParameter" value="SAP_FITV_TRIPNO=${item.TripNumber}&SAP_FITV_PERSNO=${item.EmployeeNumber}"/>
<Property name="openInNewWindow" value="yes"/>
<Property name="System" value="SAP_ERP"/>
<Property name="WebDynproNamespace" value="SAP"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
I have already applied the XML configuration as OSS note 1076144. Also, note 1239932 is implemented.
If I pass the hard-coded values in Employee Number or Trip Number, then it is working ok.
But, when I pass the parameters, both fields has value = NULL.
And it is shows the error as below:
Value null of URL parameter SAP_FITV_PERSNO has the wrong type.
or
Value null of URL parameter SAP_FITV_TRIPNO has the wrong type (If I pass hard-coded value for Employee number)
Can anyone help me how to resolve this issue?
Thanks & Regards,
Devendra
Could you please implement note 1076144 and 1239932?
probably the visualtion is missing for your custom tasks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved by self.
Added Custom Attributes in XML file as follows:
-
<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>
-
Hello Devendra ,Sidharth
We are also facing the same issue.
In the xml file also we have custom attributes as below;
<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>
-
But still we are facing the issue. we have implimented the note 1076144 but not 1239932.
Is it mandatory to impliment both notes .
Please suggest.
BR,
Harthi
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.