<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Wingdings;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle18 {
        COLOR: black; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0in
}
UL {
        MARGIN-BOTTOM: 0in
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>Vinodh,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>Thanks for the input, unfortunately </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>1)  I</FONT></SPAN><SPAN 
class=694195413-28062007><FONT face=Arial color=#0000ff size=2> cannot bind 
the SelTab, as the method to build the SelTab is not the primary task, it is the 
BEFORE method.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>2)  As I stated previously, the SelTab is being built 
correctly with all the necessary data via the BEFORE method.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>3)  The primary task, execute report, is running fine 
but without the SelTab input.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>4)  As I stated previously, the execute report runs 
fine with the SelTab if we make the Build SelTab a step rather than a BEFORE 
method.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>Lastly... I cannot use the secondary method, because the 
Build SelTab has to occur Before the execute report, not at the same time in a 
different window.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>Any additional suggestions anyone????  Any ideas why 
the primary task is not "seeing/using" the SelTab from the task container when 
performing the "execute" method?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=694195413-28062007><FONT face=Arial 
color=#0000ff size=2>Sherie</FONT></SPAN><BR></DIV>
<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>Vinodh Kumar (Numero Uno 
Solutions Inc)<BR><B>Sent:</B> Wednesday, June 27, 2007 6:30 PM<BR><B>To:</B> 
'SAP Workflow Users' Group'<BR><B>Subject:</B> RE: Method Before and Task 
Container<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black">Hello Sherie,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black">I don’t see why the Before Method is not 
working. I did a quick test in my system (ECC 5.0) and was able to run the 
report in before method.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black">Couple of things that I can think off (you 
may have done it, just in case):<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<OL style="MARGIN-TOP: 0in" type=1>
  <LI class=MsoNormal style="COLOR: black; mso-list: l0 level1 lfo2"><FONT 
  face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt">Ensure 
  the binding of SelTeb in your Primary task exists (at the task level). That’s 
  how the Before and After methods get their data.<o:p></o:p></SPAN></FONT> 
  <LI class=MsoNormal style="COLOR: black; mso-list: l0 level1 lfo2"><FONT 
  face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt">If you 
  are able to execute the report, then ensure that the values that you are 
  passing in SelTab is correct (like P for parameter, I for Inclusive …those 
  basic stuff )<o:p></o:p></SPAN></FONT> 
  <LI class=MsoNormal style="COLOR: black; mso-list: l0 level1 lfo2"><FONT 
  face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt">Can 
  you confirm this – When you execute the primary task, the before method gets 
  executes the report and you are able to see the outcome of report (though it’s 
  not using your selection values). I wanted to rule that you don’t have any 
  auth issue in running the before and after method. <o:p></o:p></SPAN></FONT>
  <LI class=MsoNormal style="COLOR: black; mso-list: l0 level1 lfo2"><FONT 
  face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt">I 
  would also recommend you to run that report in SWO1 with the values for 
  testing to see if that report runs fine via the 
  object.<o:p></o:p></SPAN></FONT> </LI></OL>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black">Lastly – When there is requirement to run 
the report I use secondary method. The secondary method is method of the same 
object as primary method. In that method we use simply Submit/Call as may be. 
Not sure if that will suffice your requirement. But thought will 
share.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black">Rgds,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black">Vinodh<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" color=black size=3><SPAN 
style="FONT-SIZE: 12pt; COLOR: black"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
Munday,Sherie J. [mailto:MUNDAYSJ@airproducts.com] <BR><B><SPAN 
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, June 27, 2007 4:58 
PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> SAP Workflow Users' 
Group<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Method Before 
and Task Container</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Hello Fellow 
Wuggers,</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"> I am hoping 
someone can provide some guidance.  </SPAN></FONT><o:p></o:p></P>
<UL type=disc>
  <LI class=MsoNormal 
  style="mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT 
  face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">We have a workflow 
  with a step that runs a custom report.  </SPAN></FONT><o:p></o:p>
  <LI class=MsoNormal 
  style="mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT 
  face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The object used is an 
  extension/child of REPORT.  </SPAN></FONT><o:p></o:p>
  <LI class=MsoNormal 
  style="mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT 
  face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">We added a method 
  (BuildSelTab) which creates the required lines and fills the SelTab 
  element in the task container.  </SPAN></FONT><o:p></o:p>
  <LI class=MsoNormal 
  style="mso-list: l1 level1 lfo1; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><FONT 
  face=Arial color=blue size=2><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">We entered 
  BuildSelTab as a method Before Work Item Execution on the step that 
  executes the report.</SPAN></FONT><o:p></o:p> </LI></UL>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The method works fine 
and we can see the SelTab in the container for that step is holding the correct 
data.  However, when the report is being run, it is not using the data from 
the SelTab.  </SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Note:  With 
previous designs, we ran the BuildSelTab as a separate background task, and 
then bound the SelTab from the WS container into the Execute Report step.  
In that instance the report ran using the SelTab.  The problem with that 
was that the flow would not advance from dialog from the start form to 
the report screen, due to the background step in-between.  We do not 
want the users to have to start the flow and then enter the SBWP to execute the 
report.  </SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Note also:  Web is 
not an option with this particular flow.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Many Thanks in Advance 
for any suggestions!!</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Regards,</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Sherie</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Sherie 
Munday</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Workflow 
Developer/Analyst</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Air Products & 
Chemicals, Inc.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV></BODY></HTML>