<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Hi Joe,</DIV>
<DIV>&nbsp;</DIV>
<DIV>The issue you described has nothing to do with&nbsp;UWL "Advance with Dialog" - it will happen&nbsp;every time you will open SAP GUI via UWL or even from shortcut file created via RSWUWFML2. It will not happen for workitem execution via SBWP and I'll explain why.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This is SAP standard behaviour however please note for the followings cases:</DIV>
<OL>
<LI>No open SAP sessions and workitem execution creates SAP session - in this case the message you described will appear.</LI>
<LI>Open SAP sessions exists in SAP main menu - workitem execution&nbsp;will use existing session and once done the system will return to&nbsp;SAP main menu (no message).</LI>
<LI>Open SAP sessions exists&nbsp;not in SAP main menu - workitem execution&nbsp;will&nbsp;create new&nbsp;session and once done the system will&nbsp;close this session without displaying the&nbsp;message.</LI></OL>
<P>In most cases I experienced case 1 is the most frequent and users complains about the message. I&nbsp;implemented enhancement to skip the message as happens in case 3. You should place it in program RSWKSTRT (executed&nbsp;via transaction SWK1 whenever you execute workitem via UWL).</P>
<P>&nbsp;</P>
<P>BTW, I highly recommend on using the UWL.</P>
<P>&nbsp;</P>
<P>Good luck,<BR>&nbsp;</P>
<P><FONT face="verdana, helvetica, sans-serif" color=#00007f size=2><STRONG>Regards,<BR>Shai Eyal</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG>SAP Logistics senior consultant<BR>SAP Workflow specialist</STRONG></FONT></P>
<P><FONT face=Verdana color=#000080 size=2><STRONG><A href="http://www.linkedin.com/in/shaieyal" target=_blank rel=nofollow>http://www.linkedin.com/in/shaieyal</A><BR>Mobile: 972-52-5816633</STRONG></FONT></P>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> "sap-wug-request@mit.edu" &lt;sap-wug-request@mit.edu&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> sap-wug@mit.edu<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Saturday, December 13, 2008 19:22:11<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> SAP-WUG Digest, Vol 49, Issue 18<BR></FONT><BR>Send SAP-WUG mailing list submissions to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A><BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>&nbsp;&nbsp;&nbsp; <A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>or, via email, send a message with subject or body 'help' to<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-request@mit.edu" ymailto="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</A><BR><BR>You can reach the person
 managing the list at<BR>&nbsp;&nbsp;&nbsp; <A href="mailto:sap-wug-owner@mit.edu" ymailto="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</A><BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of SAP-WUG digest..."<BR><BR><BR>Today's Topics:<BR><BR>&nbsp; 1. Returning to UWL inbox, after "Advance with Dialog "<BR>&nbsp; &nbsp; &nbsp; execution (<A href="mailto:Joe_Toledo@capgroup.com" ymailto="mailto:Joe_Toledo@capgroup.com">Joe_Toledo@capgroup.com</A>)<BR>&nbsp; 2. David E Zepeda/GTS/CSC is out of the office. (David E Zepeda)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 12 Dec 2008 10:59:08 -0800<BR>From: <A href="mailto:Joe_Toledo@capgroup.com" ymailto="mailto:Joe_Toledo@capgroup.com">Joe_Toledo@capgroup.com</A><BR>Subject: Returning to UWL inbox, after "Advance with Dialog "<BR>&nbsp;&nbsp;&nbsp; execution<BR>To: "SAP Workflow
 Users' Group" &lt;<A href="mailto:sap-wug@mit.edu" ymailto="mailto:sap-wug@mit.edu">sap-wug@mit.edu</A>&gt;<BR>Message-ID:<BR>&nbsp;&nbsp;&nbsp; &lt;<A href="mailto:OFD5DAF680.8E798942-ON8825751D.0066D836-8825751D.0068446A@capgroup.com" ymailto="mailto:OFD5DAF680.8E798942-ON8825751D.0066D836-8825751D.0068446A@capgroup.com">OFD5DAF680.8E798942-ON8825751D.0066D836-8825751D.0068446A@capgroup.com</A>&gt;<BR>&nbsp;&nbsp;&nbsp; <BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Good morning,<BR><BR>Happy Holidays!<BR><BR>We're upgrading to EP 7.0 and we plan on start using UWL when the upgrade <BR>is completed and I'm looking into the&nbsp; UWL customization.&nbsp; One of the <BR>workflows I'm using to test/understand the differences between SBWP/UWL <BR>has several decision steps followed&nbsp; by dialog steps to perform actions <BR>related on the appropriate selected option.&nbsp; This approach, of course, <BR>works nicely in SBWP,&nbsp; but it
 requires that some customization be <BR>performed in UWL, via xml.&nbsp; Thanks to the book by Darren Hague I was able <BR>to have the work items behave in a manner that would be close to what we <BR>want (advance with dialog and on the same window as the UWL)&nbsp; See xml <BR>file below in Figure 2.<BR><BR>The issue I'm having is that after the last step it the advance with <BR>dialog is executed, I'm left with a SAP-GUI window with a message "Close <BR>Window" and I'm forced to click on the "Universal Worklist:" link again to <BR>return to the inbox (Figure 1) <BR><BR>Is there a way to return to the UWL inbox after I execute a WI in SAP-GUI?<BR><BR>Thanks in advance for your help.<BR><BR>Figure 1.<BR><BR><BR><BR><BR>Figure 2.<BR><BR>Custom_TS993000XX.xml <BR><BR>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR><BR>&lt;!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' <BR>'uwl_configuration.dtd'<BR>&nbsp; &gt;<BR>&lt;UWLConfiguration
 version="1.0"&gt;<BR><BR>&lt;ItemTypes&gt;<BR>&nbsp; &lt;ItemType name="uwl.task.webflow.TS99300014" <BR>connector="WebFlowConnector"<BR>&nbsp; defaultView="DefaultView" defaultAction="launchSAPAction"<BR>&nbsp; executionMode="default"&gt;<BR>&nbsp; &lt;ItemTypeCriteria systemId="SMN_CLT350" externalType="TS99300014" <BR>connector="WebFlowConnector"/&gt;<BR>&nbsp; &lt;Actions&gt;<BR>&nbsp; &nbsp; &lt;Action name="launchSAPAction" handler="SAPTransactionLauncher"&gt;<BR>&nbsp; &nbsp; &nbsp; &lt;Properties&gt;<BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;Property name="GUIType" value="WinGui"/&gt;<BR>&nbsp; &nbsp; &nbsp; &lt;/Properties&gt;<BR>&nbsp; &nbsp; &lt;/Action&gt;<BR>&nbsp; &nbsp; &lt;/Actions&gt;<BR>&nbsp; &lt;/ItemType&gt;<BR>&lt;ItemType name="uwl.task.webflow.TS99300002" connector="WebFlowConnector"<BR>&nbsp; defaultView="DefaultView" defaultAction="launchSAPAction"<BR>&nbsp; executionMode="default"&gt;<BR>&nbsp; &lt;ItemTypeCriteria
 systemId="SMN_CLT350" externalType="TS99300002" <BR>connector="WebFlowConnector"/&gt;<BR>&nbsp; &lt;Actions&gt;<BR>&nbsp; &nbsp; &lt;Action name="launchSAPAction" handler="SAPTransactionLauncher"&gt;<BR>&nbsp; &nbsp; &nbsp; &lt;Properties&gt;<BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;Property name="GUIType" value="WinGui"/&gt;<BR>&nbsp; &nbsp; &nbsp; &lt;/Properties&gt;<BR>&nbsp; &nbsp; &lt;/Action&gt;<BR>&nbsp; &nbsp; &lt;/Actions&gt;<BR>&nbsp; &lt;/ItemType&gt;<BR>&lt;ItemType name="uwl.task.webflow.TS99300018" connector="WebFlowConnector"<BR>&nbsp; defaultView="DefaultView" defaultAction="launchSAPAction"<BR>&nbsp; executionMode="default"&gt;<BR>&nbsp; &lt;ItemTypeCriteria systemId="SMN_CLT350" externalType="TS99300018" <BR>connector="WebFlowConnector"/&gt;<BR>&nbsp; &lt;Actions&gt;<BR>&nbsp; &nbsp; &lt;Action name="launchSAPAction" handler="SAPTransactionLauncher"&gt;<BR>&nbsp; &nbsp; &nbsp; &lt;Properties&gt;<BR>&nbsp; &nbsp; &nbsp; &nbsp; &lt;Property
 name="GUIType" value="WinGui"/&gt;<BR>&nbsp; &nbsp; &nbsp; &lt;/Properties&gt;<BR>&nbsp; &nbsp; &lt;/Action&gt;<BR>&nbsp; &nbsp; &lt;/Actions&gt;<BR>&nbsp; &lt;/ItemType&gt;<BR>&lt;/ItemTypes&gt; <BR>&lt;/UWLConfiguration&gt;<BR><BR><BR><BR>Joe Toledo | The Capital Group Companies<BR>Location: IRV | Extension: 55417 | Outside: 949-975-5417<BR>E-mail: <A href="mailto:joat@capgroup.com" ymailto="mailto:joat@capgroup.com">joat@capgroup.com</A><BR>[ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20081212/d45460e7/attachment-0001.htm" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20081212/d45460e7/attachment-0001.htm</A><BR>-------------- next part --------------<BR>A non-text attachment was scrubbed...<BR>Name: not available<BR>Type: image/gif<BR>Size: 7313 bytes<BR>Desc: not
 available<BR>Url : <A href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20081212/d45460e7/attachment-0001.gif" target=_blank>http://mailman.mit.edu/pipermail/sap-wug/attachments/20081212/d45460e7/attachment-0001.gif</A><BR><BR>------------------------------<BR></DIV></DIV></div><br>



      <hr size=1> <a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"> Get your preferred Email name! </a> <br>
Now you can @ymail.com and @rocketmail.com.</body></html>