<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Guys,</DIV>
<DIV>&nbsp;</DIV>
<DIV>i am stuck with one issue, regarding a travel management workflow where in, there is a decision step which needs to be displayed in UWL ( works fine in backend ), now my doubt is, is it possible to display the work item&nbsp;- perticularly a decision step in UWL ( object visualization..?) this is related to the template 'WS2000050'.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any help much appreciated.....!</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks,</DIV>
<DIV>Sudhir<BR><BR>--- On <B>Wed, 4/21/10, Griffiths, Mark <I>&lt;mark.griffiths@sap.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Griffiths, Mark &lt;mark.griffiths@sap.com&gt;<BR>Subject: RE: Object visualisation calling Leave Request approval iview<BR>To: "SAP-WUG@mit.edu" &lt;SAP-WUG@MIT.EDU&gt;<BR>Date: Wednesday, April 21, 2010, 7:59 PM<BR><BR>
<DIV id=yiv1893513834>
<STYLE><!--#yiv1893513834 .EmailQuote {margin-left:1pt;padding-left:4pt;border-left:#800000 2px solid;}--></STYLE>
<FONT face="Arial, sans-serif" size=2>
<DIV><FONT color=#0070c0>This issue is now resolved.</FONT></DIV>
<DIV><FONT color=#0070c0>&nbsp;</FONT></DIV>
<DIV><FONT color=#0070c0>I had changed the Task visualisation XML to:</FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" color=#0070c0 size=2>&nbsp;</FONT></DIV>
<DIV><FONT color=#0070c0>defaultAction="viewPreviewDetaill" from defaultAction="viewDetail" to get the item to launch the user decision in the preview pane only … this then broke the object link.&nbsp; </FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" color=#0070c0 size=2>&nbsp;</FONT></DIV>
<DIV><FONT color=#0070c0>So, for all you people out there excited by launching the Leave Request iView from an object link it is still possible!&nbsp; The looks particularly nice when you are using your own leave Request class with a nice default description such as ‘Leave Request: Click Here’ rather than Document Database: (GUID).</FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" color=#0070c0 size=2>&nbsp;</FONT></DIV>
<DIV><FONT color=#0070c0>Regards,</FONT></DIV>
<DIV><FONT color=#0070c0>&nbsp;</FONT></DIV>
<DIV><FONT color=#0070c0>&nbsp;</FONT></DIV>
<DIV><FONT color=#0070c0>Mark</FONT></DIV>
<DIV><FONT face="Tahoma, sans-serif" size=2>_____________________________________________<BR><B>From:</B> Griffiths, Mark <BR><B>Sent:</B> 20 April 2010 13:46<BR><B>To:</B> 'SAP-WUG@mit.edu'<BR><B>Subject:</B> Object visualisation calling Leave Request approval iview</FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" size=2>&nbsp;</FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" size=2>&nbsp;</FONT></DIV>
<DIV>Hello Wuggers,</DIV>
<DIV>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV>Obviously I am re-registering and clearing the cache etc.</DIV>
<DIV>&nbsp;</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 ‘500 Internal Server Error’ with a type conversion error for the WI_ID.</DIV>
<DIV>&nbsp;</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 ‘Type conversion error’ … if I delete, the iView launches.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>Any help much appreciated!</DIV>
<DIV>&nbsp;</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></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="http://us.mc523.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>