<!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.2900.2995" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV dir=ltr align=left><SPAN class=772183809-14122006><FONT face=Arial
color=#0000ff size=2>Hello Kjetil,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=772183809-14122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=772183809-14122006><FONT face=Arial
color=#0000ff size=2>if you are talking about passing parameters from the
workflow to the Web Dynpro Application via the Workflow-Definition you are
right, you cant pass them. But thats not a problem at all, as the Workitem ID is
passed.. Thats all you need... In your WD Application get the url parameter
wi_id and retrieve the current WI ID. Then use FM
SAP_WAPI_READ_CONTAINER to access any container element you
need....</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=772183809-14122006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=772183809-14122006><FONT face=Arial
color=#0000ff size=2>cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=772183809-14122006><FONT face=Arial
color=#0000ff size=2>Markus</FONT> </SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=772183809-14122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV class=Section1>
<P style="tab-stops: 36.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">_________________<BR><BR></SPAN><B
style="mso-bidi-font-weight: normal"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Markus Klein</SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><BR>SAP Senior
Consultant<BR><BR></SPAN><STRONG><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">ABS Team GmbH</SPAN></STRONG><B><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Muehlenweg 65<BR>37120
Bovenden<o:p></o:p></SPAN></P>
<P style="tab-stops: 36.0pt"><SPAN lang=EN-GB
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Tel +49 551
820 33 0<BR>Mobil +49 151 126 23 047<BR>Email
klein@abs-team.de<o:p></o:p></SPAN></P>
<P style="tab-stops: 36.0pt"><B style="mso-bidi-font-weight: normal"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><A
href="http://www.abs-team.com/"><SPAN
style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none">www.abs-team.com</SPAN></A><o:p></o:p></SPAN></B></P></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de 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>Kjetil
Kilhavn<BR><B>Sent:</B> Thursday, December 14, 2006 9:37 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE: ERP2005: step type Web Activity and
Web Dynpro<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=784093408-14122006><FONT face=Arial
color=#0000ff size=2>Ahhh... e-mails crossing each other
here.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=784093408-14122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=784093408-14122006>My
main concern is now parameters, and it worries me a bit that you say a dummy
method will do. I hope that doesn't mean that there is no possibility to pass
parameters. This may turn into an opportunity to create an ABAP Objects based
workflow! That's a piece of good news among the bad
news :-)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=784093408-14122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=784093408-14122006>I'll
have to look into things.</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil OFT GBS
BAS DEV SAP</FONT></DIV></FONT></DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<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>Markus
Klein<BR><B>Sent:</B> Thursday, December 14, 2006 9:23 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE: ERP2005: step type Web Activity
and Web Dynpro<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=326351508-14122006><FONT face=Arial
color=#0000ff size=2>Hello Kjetil,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=326351508-14122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=326351508-14122006><FONT face=Arial
color=#0000ff size=2>actually you dont need a own business object. All you
need is for your Workfow-task which calls a WebDynpro Application a dummy
method which does do anything. You could use a simple abap class which
implements the interface if_workflow. Very easy to design. Take the
standard task 12300097, which the absence request workflow uses for the
Approveal activity (its a WebDynpro application). The rest of config is done,
as Jocely already stated, with transaction swfvisu.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=326351508-14122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=326351508-14122006><FONT face=Arial
color=#0000ff size=2>cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=326351508-14122006><FONT face=Arial
color=#0000ff size=2>Markus</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV class=Section1>
<P style="tab-stops: 36.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">_________________<BR><BR></SPAN><B
style="mso-bidi-font-weight: normal"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Markus Klein</SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><BR>SAP Senior
Consultant<BR><BR></SPAN><STRONG><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">ABS Team
GmbH</SPAN></STRONG><B><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Muehlenweg
65<BR>37120 Bovenden<o:p></o:p></SPAN></P>
<P style="tab-stops: 36.0pt"><SPAN lang=EN-GB
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Tel +49
551 820 33 0<BR>Mobil +49 151 126 23 047<BR>Email
klein@abs-team.de<o:p></o:p></SPAN></P>
<P style="tab-stops: 36.0pt"><B style="mso-bidi-font-weight: normal"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><A
href="http://www.abs-team.com/"><SPAN
style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none">www.abs-team.com</SPAN></A><o:p></o:p></SPAN></B></P></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de 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>Kjetil
Kilhavn<BR><B>Sent:</B> Thursday, December 14, 2006 9:07 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE: ERP2005: step type Web Activity
and Web Dynpro<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2>Bijay, I forgot to inform about our reason for trying
this approach: our Guided Procedure system won't be available
until it is too late for the first release cycle. You know how managers
sometimes like to brag about things they don't have a clue about? This is
one of these cases, where someone high above us working ants has promised
delivery in February.</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2>And sometimes (workflow) developers like to brag that
"anything can be done" in workflow. That's me in this case
:-(</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2>Jocelyn, you just ruined my day... and probably next
week. But thanks anyway ;-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=783133707-14122006><FONT face=Arial
color=#0000ff size=2>Not good news at all, as it seems I will have to create
my own business object if we are going down this road. At least I can't seem
to find anything relevant in SWO1.</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil OFT GBS
BAS DEV SAP</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT face=Arial
size=2></FONT><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<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>Dart,
Jocelyn<BR><B>Sent:</B> Thursday, December 14, 2006 12:04 AM<BR><B>To:</B>
SAP Workflow Users' Group<BR><B>Subject:</B> RE: ERP2005: step type Web
Activity and Web Dynpro<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=550190223-13122006><FONT face=Arial
color=#0000ff size=2>Actually you don't need Guided Procedures to call a
WebDynpro application. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=550190223-13122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=550190223-13122006><FONT face=Arial
color=#0000ff size=2>You can do that easily enough from transaction SWFVISU,
UWL XML configuration of the launch mechanism for that task, or transaction
WF_EXTSRV.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=550190223-13122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=550190223-13122006><FONT face=Arial
color=#0000ff size=2>The "web activity" step is to do with WF-XML - and is
not relevant to simply calling a WebDynpro application. </FONT></SPAN></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></P><FONT color=#ff0000 size=1></FONT><FONT color=#ff0000
size=1></FONT><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>Shrestha,
Bijay<BR><B>Sent:</B> Thursday, 14 December 2006 5:57 AM<BR><B>To:</B> SAP
Workflow Users' Group<BR><B>Subject:</B> RE: ERP2005: step type Web Activity
and Web Dynpro<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Kjetil,</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>If you're going to make a new workflow by calling a Web Dynpro
application, I think it's better to design in Guided Procedure.
The prerequisite is Netweaver Portal. </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>It's lot easier to design a Guided Procedure which will give you
possiblility to call any webie program e.g. Webdynpro ABAP, WebDynpro Java,
iView, iView from Visual composer etc. </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>Bijay</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B>
sap-wug-bounces@mit.edu on behalf of Kjetil Kilhavn
<BR><B>Sent:</B> Wed 12/13/2006 11:59 AM <BR><B>To:</B> SAP Workflow
User's Group <BR><B>Cc:</B> <BR><B>Subject:</B> ERP2005: step type Web
Activity and Web Dynpro<BR><BR></FONT></DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial size=2>My intuition
tells me it should be possible to call a Web DynPro screen from a web
activity step - and preferrably even a Web DynPro for ABAP and not just
the Java version.</FONT></SPAN></DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial size=2>However,
during my attempt in our sandbox system I have become quite
depressed. I can't even get a simple workflow where the URL is fixed (<A
href="http://www.google.com/">http://www.google.com/</A>) working. The
single-test of the step works, but not the workflow.</FONT></SPAN></DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial size=2>When I try to
test it fails with error message SWP135 (Unable to determine work item
type for step at node 0000000004). That message looks just plain stupid in
my eyes, I thought I pretty much defined the step type when I selected the
"Web activity" icon, but perhaps there is something I have
missed.</FONT></SPAN></DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=229371717-13122006><SPAN class=229371717-13122006><FONT
face=Arial size=2>Our config seems OK, transaction SWU3
shows green lights everywhere it should matter (definition
environment and runtime environment).</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=229371717-13122006><SPAN class=229371717-13122006><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial size=2>The OSS search
doesn't help me, nothing is returned for «SWP135», nothing was returned
for «"determine work item type"». When searching for «determine work item
type» a lot of messages about other items and types were found. So I
restricted it to area BC-BMT and got it reduced to 16 messages, of which
zero were relevant when we don't consider "Analysis for workflow problems"
(322526) and other generic notes relevant.</FONT></SPAN></DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial size=2>I have
also tried SWUD with the trace on. Unfortunately, I can't really say I
felt enlightened after looking at the trace.</FONT></SPAN></DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=229371717-13122006><FONT face=Arial size=2>Anyone care to
help a clueless beginner? Not that I think this WWW thing is here to
stay anyway...</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil
OFT GBS BAS DEV
SAP</FONT></FONT></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE>
<P></P>
<P><FONT
size=1>-------------------------------------------------------------------<BR>The
information contained in this message may be CONFIDENTIAL and is<BR>intended
for the addressee only. Any unauthorised use, dissemination of
the<BR>information or copying of this message is prohibited. If you are not
the<BR>addressee, please notify the sender immediately by return e-mail and
delete<BR>this message.<BR>Thank you.</FONT> </P></BLOCKQUOTE>
<P></P>
<P><FONT
size=1>-------------------------------------------------------------------<BR>The
information contained in this message may be CONFIDENTIAL and is<BR>intended for
the addressee only. Any unauthorised use, dissemination of the<BR>information or
copying of this message is prohibited. If you are not the<BR>addressee, please
notify the sender immediately by return e-mail and delete<BR>this
message.<BR>Thank you.</FONT> </P></BODY></HTML>