<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hello Wuggers,</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Bit of a tricky question I was hoping someone may be able to help with:</div>
<div>&nbsp;</div>
<div>I am using object visualisation for a Z version of the Leave Request Class to launch the Leave Request Approval iView.&nbsp; I have used this approach at a number of customers, and it was working at my current customer last week.</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>The entries I have in SWFVISU are:</div>
<div>&nbsp;</div>
<div>ObjectType: Abap Class</div>
<div>Object Type: Zclass</div>
<div>Method: (no entry)</div>
<div>Visualisation Type: Java WD</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Then for my visualisation I have:</div>
<div>&nbsp;</div>
<div>APPLICATION LeaveRequestApprover</div>
<div>PACKAGE sap.com/ess~lea</div>
<div>SYSTEM_ALIAS SAP_WEBDYNPRO_XSS</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Last week this enabled the object link (NOT THE TASK LINK) in the UWL to call the leave request approver iview .&nbsp; This means I can then use a user decision in the workflow to enable mass approvals, but the user can also access the old screens if they want
to (very nice, you should try it!).</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Obviously I am re-registering and clearing the cache etc.</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Some changes have been made and now when the URL is generated to call the iview it includes: wi_id null.&nbsp; This now creates a &#8216;500 Internal Server Error&#8217; with a type conversion error for the WI_ID.</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>If I remove this WI_ID parameter the iview launches (admittedly without pressing the button next to the relevant item as WI_ID was not passed).</div>
<div>&nbsp;</div>
<div>I can also add in the old style syntax to pass the WI_ID as a DYNPARAM, but in the generated URL this is in addition to the null value, and the null value still creates a &#8216;Type conversion error&#8217; &#8230; if I delete, the iView launches.</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>So, any ideas how I can stop the null value from preventing the iView from launching?</div>
<div>Did anyone ever work out where the object visualisation XML is hidden away?</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Any help much appreciated!</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Mark</div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
</font>
</body>
</html>