<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.259" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2>I managed to create the URL dynamically in the work item
task description recently: </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2>First I worked out the URL of the Workflow Handler and its
required parameters (look at the method processdialog on object Webservice)
and then to dynamically calculate the values and make them displayable in my
task description, I created some new attributes on a delegated subtype of
the webservice object that read the tables updated by transaction
WF_HANDCUST. This will give you the root of your URL, the other elements
you can get from the Workitem object in your Task. The only thing I
couldn't totally get right was the userid passed in the URL as the
task in this case could go to more than one user, a dummy value seemed to solve
things but if anyone thinks of a better solution then let me
know.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2>Hope that gives you enough information to get this
working.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2>SAP UK</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=373565608-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>pramod
reddy<BR><B>Sent:</B> Wednesday, June 08, 2005 5:28 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE: RSWUWFML2 & BSP: How to execute
workitems from outlook when SAP Gui is not insatlled on
deskop<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Could you please gimme more
details about the 2nd point which you are
suggesting.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Let me give you some more details
about my requirements.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">A workitem is sent to approver
whenever a request is created. Both submitting & approving is through BSP
pages. <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Ok. I can place the approval
URL as a workitem text. But how the data(context of the request) will
move from workitem to approval page. <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In the current approach, when
workitem is executed, Approval page is opened-up in browser
with URL which contains the context of the request which is in
process, through webservice parameter ids. And
when webservice(ie approving the request here) is executed
workitem status becomes completed; And user action
details[approval/rejection] goes into workflow because of the callback
mechanism.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">URL looks like below.
<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><A
href="http://sun081.igate.com:8061/sap(bD1lbiZjPTQwMSZ3PTQwMjExODAr)/bc/bsp/sap/zunix/manager.do?ACCESS_LIST=tt&COMMENTS=tt&EMAIL_MGR=PRAMOD%2eKATKURI%40igate%2eCOM&EMAIL_REQ=tt&FNAME=tt&LNAME=tt&NAME_MGR=m1&Network_ID=tt&REASON=tt&REQUESTOR=tt&REQ_PHONE=tt&REQ_TYPE=A&SAPWFCBURL=http%3a%2f%2f198%2e7%2e1%2e81%3a8061%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000069773%26_saptask%3dTS95107916%26_saplogsys%3digt-401%26_sapuname%3dKATKURIP%26_saplangu%3dE%26_sapxid%3d42A5F392D32755E7E100000064070151%26sap-client%3d401"><FONT
face="Times New Roman"
size=3>http://sun081.igate.com:8061/sap(bD1lbiZjPTQwMSZ3PTQwMjExODAr)/bc/bsp/sap/zunix/manager.do?ACCESS_LIST=tt&COMMENTS=tt&EMAIL_MGR=PRAMOD%2eKATKURI%40igate%2eCOM&EMAIL_REQ=tt&FNAME=tt&LNAME=tt&NAME_MGR=m1&Network_ID=tt&REASON=tt&REQUESTOR=tt&REQ_PHONE=tt&REQ_TYPE=A&SAPWFCBURL=http%3a%2f%2f198%2e7%2e1%2e81%3a8061%2fsap%2fbc%2fwebflow%2fwshandler%3f_sapwiid%3d000000069773%26_saptask%3dTS95107916%26_saplogsys%3digt-401%26_sapuname%3dKATKURIP%26_saplangu%3dE%26_sapxid%3d42A5F392D32755E7E100000064070151%26sap-client%3d401</FONT></A></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Am not sure how all these can be
accomplished in the approach which you are suggesting. Could you please help me
in understanding the same.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Note: Not sure how relevant this
note is but i wanted to let you know, there is no custom business
obj/events associated with this process. </SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank You,</SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Pramod.</SPAN></P><BR><B><I>"Dart,
Jocelyn" <jocelyn.dart@sap.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=860472301-08062005><FONT face=Arial
color=#0000ff size=2>Hi Pramod, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=860472301-08062005><FONT face=Arial
color=#0000ff size=2>Firstly, the sending of an SAP shortcut is an option of
RSWUWFML2 - change your selection criteria to turn it off. There's no point
even going to SAPGUI in your scenario.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=860472301-08062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=860472301-08062005><FONT face=Arial
color=#0000ff size=2>Secondly, use your work item text to generate the URL you
need as a text "http://.... etc." - your mail client should automatically turn
the text into a hyperlink.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN
lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn
Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT
face=Arial color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker
St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial
color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>T +61 412 390
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>M + 61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>E
jocelyn.dart@sap.com</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
color=#808080 size=1><A
href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>*****************************************************************************************</FONT></SPAN>
<BR><SPAN lang=en-au><FONT face="Times New Roman" color=#800000 size=2>The
information contained in or attached to this electronic transmission is
confidential and may be legally privileged. It is intended only for the person
or entity to which it is addressed. If you are not the intended recipient, you
are hereby notified that any distribution, copying, review, retransmission,
dissemination or other use of this electronic transmission or the information
contained in it is strictly prohibited. If you have received this electronic
transmission in error, please immediately contact the sender to arrange for
the return of the original documents.</FONT> </SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#800000
size=2>Electronic transmission cannot be guaranteed to be secure and
accordingly, the sender does not accept liability for any such data
corruption, interception, unauthorized amendment, viruses, delays or the
consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#800000 size=2>Any
views expressed in this electronic transmission are those of the individual
sender, except where the message states otherwise and the sender is authorized
to state them to be the views of SAP AG or any of its subsidiaries. SAP AG,
its subsidiaries, and their directors, officers and employees make no
representation nor accept any liability for the accuracy or completeness of
the views or information contained herein. Please be aware that the furnishing
of any pricing information/ business proposal herein is indicative only, is
subject to change and shall not be construed as an offer or as constituting a
binding agreement on the part of SAP AG or any of its subsidiaries to enter
into any relationship, unless otherwise expressly stated. </FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>*****************************************************************************************</FONT></SPAN><SPAN
lang=en-au></SPAN> </P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>pramod
reddy<BR><B>Sent:</B> Wednesday, 08 June 2005 7:59 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RSWUWFML2 & BSP: How to execute
workitems from outlook when SAP Gui is not insatlled on
deskop<BR></FONT><BR></DIV>
<DIV></DIV>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I understand using
RSWUWFML2, we can enable users to execute/access the work items from outlook.
And as for as my understanding, user should have SAPGui on his machine in
order to execute the work items from outlook. Obvious, as work items
might open SAP Screens. <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In our case, whenever a
work item is executed a BSP page is opened (not SAP screen). Going by this
SAPGui is not required. But RSWUWFML2 sends a mail with attachment which is
nothing but a sap shortcut[not URL] to work items in SAP Inbox. If you observe
properties of these shortcuts, SAPGUI for Win32 is the opening application.
Hence SAPGui is must in order to execute the work items from
Outlook.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1. Is there any way of
<SPAN style="mso-spacerun: yes"> </SPAN>handling this i.e. executing the
work items from Outlook, without having the SAPGui on desktop? I mean is there
any web service which enables this kind of requirement.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">2. In our case, whenever
a work item is being accessed from Outlook, before opening the BSP page, one
SAPGui session is also opened(with sap command prompt enabled) along with it.
<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is there anyway to close
this automatically once the BSP page is opened
up. <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can I restrict user not
to enter any tcode in the sap command prompt. I don't want give the option to
user to enter tcode at all in first place, though we can handle the security
issue with the help of Authorizations.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can anyone please advise
me on this<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">BTW, SAP Version:
6.4<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanking in
advance.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards,</SPAN></P>
<P><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Pramod.<o:p></o:p></SPAN></P>
<P> </P>
<P>
<HR SIZE=1>
<FONT face=Arial size=2>How much free photo storage do you get? Store your
holiday snaps for FREE with Yahoo! Photos. <A
href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/"><B>Get
Yahoo! Photos</B></A></FONT>
_______________________________________________<BR>SAP-WUG mailing
list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE>
<P>
<HR SIZE=1>
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><A
href="http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.messenger.yahoo.com">Yahoo!
Messenger</A> <FONT color=red>NEW</FONT> - crystal clear PC to PC <A
href="http://us.rd.yahoo.com/mail/uk/taglines/default/messenger/*http://uk.beta.messenger.yahoo.com">calling
worldwide with voicemail </A></FONT></BODY></HTML>