Object visualisation calling Leave Request approval iview

sudhi k sudhi_k123 at yahoo.com
Wed Apr 28 06:49:23 EDT 2010


Hi Guys,
 
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'.
 
Any help much appreciated.....!
 
thanks,
Sudhir

--- On Wed, 4/21/10, Griffiths, Mark <mark.griffiths at sap.com> wrote:


From: Griffiths, Mark <mark.griffiths at sap.com>
Subject: RE: Object visualisation calling Leave Request approval iview
To: "SAP-WUG at mit.edu" <SAP-WUG at MIT.EDU>
Date: Wednesday, April 21, 2010, 7:59 PM





This issue is now resolved.
 
I had changed the Task visualisation XML to:
 
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.  
 
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).
 
Regards,
 
 
Mark
_____________________________________________
From: Griffiths, Mark 
Sent: 20 April 2010 13:46
To: 'SAP-WUG at mit.edu'
Subject: Object visualisation calling Leave Request approval iview
 
 
Hello Wuggers,
 
Bit of a tricky question I was hoping someone may be able to help with:
 
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.
 
The entries I have in SWFVISU are:
 
ObjectType: Abap Class
Object Type: Zclass
Method: (no entry)
Visualisation Type: Java WD
 
Then for my visualisation I have:
 
APPLICATION LeaveRequestApprover
PACKAGE sap.com/ess~lea
SYSTEM_ALIAS SAP_WEBDYNPRO_XSS
 
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!).
 
Obviously I am re-registering and clearing the cache etc.
 
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.
 
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).
 
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.
 
So, any ideas how I can stop the null value from preventing the iView from launching?
Did anyone ever work out where the object visualisation XML is hidden away?
 
Any help much appreciated!
 
Regards,
 
 
Mark
 
-----Inline Attachment Follows-----


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100428/960c9345/attachment.htm


More information about the SAP-WUG mailing list