Returning to UWL inbox, after "Advance with Dialog "

Joe_Toledo@capgroup.com Joe_Toledo at capgroup.com
Tue Dec 16 13:08:10 EST 2008


Thanks for the reply Shai.

I guess I was not clear on my initial question.   I understand the 
behavior that Advance with Dialog has nothing to with how it returns to 
the UWL, but rather the SAP GUI is what causes the "Close Window" to 
appear.

The question is:  Can I automatically return to UWL inbox after I execute 
a workitem that has the SAP GUI settings?

Thanks.

Joe Toledo | The Capital Group Companies
Location: IRV | Extension: 55417 | Outside: 949-975-5417
E-mail: joat at capgroup.com
[ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]




Shai Eyal <shai.eyal at yahoo.com> 

Sent by: sap-wug-bounces at mit.edu
12/13/2008 10:27 AM
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>


To
sap-wug at mit.edu
cc

Subject
Re: Returning to UWL inbox, after "Advance with Dialog "






Hi Joe,
 
The issue you described has nothing to do with UWL "Advance with Dialog" - 
it will happen 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.
 
This is SAP standard behaviour however please note for the followings 
cases:
1.      No open SAP sessions and workitem execution creates SAP session - 
in this case the message you described will appear.
2.      Open SAP sessions exists in SAP main menu - workitem execution 
will use existing session and once done the system will return to SAP main 
menu (no message).
3.      Open SAP sessions exists not in SAP main menu - workitem execution 
will create new session and once done the system will close this session 
without displaying the message.
In most cases I experienced case 1 is the most frequent and users 
complains about the message. I implemented enhancement to skip the message 
as happens in case 3. You should place it in program RSWKSTRT (executed 
via transaction SWK1 whenever you execute workitem via UWL).
 
BTW, I highly recommend on using the UWL.
 
Good luck,
 
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow specialist
http://www.linkedin.com/in/shaieyal
Mobile: 972-52-5816633


From: "sap-wug-request at mit.edu" <sap-wug-request at mit.edu>
To: sap-wug at mit.edu
Sent: Saturday, December 13, 2008 19:22:11
Subject: SAP-WUG Digest, Vol 49, Issue 18

Send SAP-WUG mailing list submissions to
    sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
    sap-wug-request at mit.edu

You can reach the person managing the list at
    sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

  1. Returning to UWL inbox, after "Advance with Dialog "
      execution (Joe_Toledo at capgroup.com)
  2. David E Zepeda/GTS/CSC is out of the office. (David E Zepeda)


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 Dec 2008 10:59:08 -0800
From: Joe_Toledo at capgroup.com
Subject: Returning to UWL inbox, after "Advance with Dialog "
    execution
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
    <
OFD5DAF680.8E798942-ON8825751D.0066D836-8825751D.0068446A at capgroup.com>
 
Content-Type: text/plain; charset="us-ascii"

Good morning,

Happy Holidays!

We're upgrading to EP 7.0 and we plan on start using UWL when the upgrade 
is completed and I'm looking into the  UWL customization.  One of the 
workflows I'm using to test/understand the differences between SBWP/UWL 
has several decision steps followed  by dialog steps to perform actions 
related on the appropriate selected option.  This approach, of course, 
works nicely in SBWP,  but it requires that some customization be 
performed in UWL, via xml.  Thanks to the book by Darren Hague I was able 
to have the work items behave in a manner that would be close to what we 
want (advance with dialog and on the same window as the UWL)  See xml 
file below in Figure 2.

The issue I'm having is that after the last step it the advance with 
dialog is executed, I'm left with a SAP-GUI window with a message "Close 
Window" and I'm forced to click on the "Universal Worklist:" link again to 

return to the inbox (Figure 1) 

Is there a way to return to the UWL inbox after I execute a WI in SAP-GUI?

Thanks in advance for your help.

Figure 1.




Figure 2.

Custom_TS993000XX.xml 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 
'uwl_configuration.dtd'
  >
<UWLConfiguration version="1.0">

<ItemTypes>
  <ItemType name="uwl.task.webflow.TS99300014" 
connector="WebFlowConnector"
  defaultView="DefaultView" defaultAction="launchSAPAction"
  executionMode="default">
  <ItemTypeCriteria systemId="SMN_CLT350" externalType="TS99300014" 
connector="WebFlowConnector"/>
  <Actions>
    <Action name="launchSAPAction" handler="SAPTransactionLauncher">
      <Properties>
        <Property name="GUIType" value="WinGui"/>
      </Properties>
    </Action>
    </Actions>
  </ItemType>
<ItemType name="uwl.task.webflow.TS99300002" connector="WebFlowConnector"
  defaultView="DefaultView" defaultAction="launchSAPAction"
  executionMode="default">
  <ItemTypeCriteria systemId="SMN_CLT350" externalType="TS99300002" 
connector="WebFlowConnector"/>
  <Actions>
    <Action name="launchSAPAction" handler="SAPTransactionLauncher">
      <Properties>
        <Property name="GUIType" value="WinGui"/>
      </Properties>
    </Action>
    </Actions>
  </ItemType>
<ItemType name="uwl.task.webflow.TS99300018" connector="WebFlowConnector"
  defaultView="DefaultView" defaultAction="launchSAPAction"
  executionMode="default">
  <ItemTypeCriteria systemId="SMN_CLT350" externalType="TS99300018" 
connector="WebFlowConnector"/>
  <Actions>
    <Action name="launchSAPAction" handler="SAPTransactionLauncher">
      <Properties>
        <Property name="GUIType" value="WinGui"/>
      </Properties>
    </Action>
    </Actions>
  </ItemType>
</ItemTypes> 
</UWLConfiguration>



Joe Toledo | The Capital Group Companies
Location: IRV | Extension: 55417 | Outside: 949-975-5417
E-mail: joat at capgroup.com
[ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081212/d45460e7/attachment-0001.htm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 7313 bytes
Desc: not available
Url : 
http://mailman.mit.edu/pipermail/sap-wug/attachments/20081212/d45460e7/attachment-0001.gif


------------------------------

Get your preferred Email name! 
Now you can @ymail.com and @rocketmail.com.
_______________________________________________
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/20081216/3fe6e8fb/attachment.htm


More information about the SAP-WUG mailing list