<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Guys,</DIV>
<DIV> </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 - perticularly a decision step in UWL ( object visualization..?) this is related to the template 'WS2000050'.</DIV>
<DIV> </DIV>
<DIV>Any help much appreciated.....!</DIV>
<DIV> </DIV>
<DIV>thanks,</DIV>
<DIV>Sudhir<BR><BR>--- On <B>Wed, 4/21/10, Griffiths, Mark <I><mark.griffiths@sap.com></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 <mark.griffiths@sap.com><BR>Subject: RE: Object visualisation calling Leave Request approval iview<BR>To: "SAP-WUG@mit.edu" <SAP-WUG@MIT.EDU><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> </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> </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. </FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" color=#0070c0 size=2> </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! 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> </FONT></DIV>
<DIV><FONT color=#0070c0>Regards,</FONT></DIV>
<DIV><FONT color=#0070c0> </FONT></DIV>
<DIV><FONT color=#0070c0> </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> </FONT></DIV>
<DIV><FONT face="Calibri, sans-serif" size=2> </FONT></DIV>
<DIV>Hello Wuggers,</DIV>
<DIV> </DIV>
<DIV>Bit of a tricky question I was hoping someone may be able to help with:</DIV>
<DIV> </DIV>
<DIV>I am using object visualisation for a Z version of the Leave Request Class to launch the Leave Request Approval iView. I have used this approach at a number of customers, and it was working at my current customer last week.</DIV>
<DIV> </DIV>
<DIV>The entries I have in SWFVISU are:</DIV>
<DIV> </DIV>
<DIV>ObjectType: Abap Class</DIV>
<DIV>Object Type: Zclass</DIV>
<DIV>Method: (no entry)</DIV>
<DIV>Visualisation Type: Java WD</DIV>
<DIV> </DIV>
<DIV>Then for my visualisation I have:</DIV>
<DIV> </DIV>
<DIV>APPLICATION LeaveRequestApprover</DIV>
<DIV>PACKAGE sap.com/ess~lea</DIV>
<DIV>SYSTEM_ALIAS SAP_WEBDYNPRO_XSS</DIV>
<DIV> </DIV>
<DIV>Last week this enabled the object link (NOT THE TASK LINK) in the UWL to call the leave request approver iview . 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> </DIV>
<DIV>Obviously I am re-registering and clearing the cache etc.</DIV>
<DIV> </DIV>
<DIV>Some changes have been made and now when the URL is generated to call the iview it includes: wi_id null. This now creates a ‘500 Internal Server Error’ with a type conversion error for the WI_ID.</DIV>
<DIV> </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> </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> </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> </DIV>
<DIV>Any help much appreciated!</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Mark</DIV>
<DIV><FONT face="Calibri, sans-serif" size=2> </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>