<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Rick,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We&#8217;re on SAP_Basis #13.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>SAP has not gotten back to me.&nbsp; The last I
heard was that the issue was sent to Development for analysis.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I think I&#8217;ve tried everything I can
think of&#8230;.I guess I&#8217;ll have to wait on SAP.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your help.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Regards,</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><em><b><i><font size=5 color=green face="Monotype Corsiva"><span
style='font-size:18.0pt;font-family:"Monotype Corsiva";color:green;font-weight:
bold'>Sue T. Doughty</span></font></i></b></em><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>SAP Workflow Specialist</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Old Dominion Freight Line, Inc.</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=1
  color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
  color:navy'>500 Old Dominion Way</span></font></st1:address></st1:Street><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=1
  color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
  color:navy'>Thomasville</span></font></st1:City><font size=1 color=navy
 face=Arial><span style='font-size:7.5pt;font-family:Arial;color:navy'>, <st1:State
 w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></span></font></st1:place><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Phone:&nbsp; (336) 822-5189</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Toll Free (800 ) 432-6335, ext. 5189</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Email:&nbsp; <a
href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</a></span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Sample, Rick<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, March 04, 2008
10:13 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Results Processing
step not working in Workflow</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>I also
have not created any new WFs (except that test snip for this issue) in ECC6.<br>
<br>
What SvPack you on?<br>
I would think the only relevant one would be SAP_BASIS.&nbsp; We are on #12.<br>
<br>
SAP get back with you yet?<br>
<br>
Rick Sample<br>
SAP Business Workflow Developer<br>
Graybar, Inc.<br>
<br>
<strong><b><font face="Times New Roman"><a href="mailto:rick.sample@gbe.com"><font
size=4><span style='font-size:13.5pt'>rick.sample@gbe.com</span></font></a></font></b></strong></span></font><strong><b><font
size=4 color=blue face="Times New Roman"><span style='font-size:13.5pt;
color:blue'> </span></font></b></strong><font size=2><span style='font-size:
10.0pt'><br>
<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [<a href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>]
On Behalf Of <st1:PersonName w:st="on">Sue Doughty</st1:PersonName><br>
Sent: Monday, March 03, 2008 10:24 AM<br>
To: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><br>
Subject: RE: Results Processing step not working in Workflow<br>
<br>
Rick,<br>
<br>
You have described the issue perfectly.<br>
<br>
I wonder what could be different from our ECC6 system and yours that it<br>
works for you but not for me.&nbsp; I have been wondering if it could be an<br>
upgrade issue as I don't think I've created any new workflows from<br>
scratch since the upgrade - I've just copied from old workflows.<br>
<br>
Regards,<br>
Sue T. Doughty<br>
SAP Workflow Specialist<br>
Old Dominion Freight Line, Inc.<br>
<st1:Street w:st="on"><st1:address w:st="on">500 Old Dominion Way</st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on">Thomasville</st1:City>, <st1:State
 w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></st1:place><br>
Phone:&nbsp; (336) 822-5189<br>
Toll Free (800 ) 432-6335, ext. 5189<br>
Email:&nbsp; sue.doughty@odfl.com<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [<a href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>]
On Behalf<br>
Of Sample, Rick<br>
Sent: Friday, February 29, 2008 4:24 PM<br>
To: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><br>
Subject: RE: Results Processing step not working in Workflow<br>
<br>
Sheldon,<br>
<br>
And Sue, correct me if I miss state anything.<br>
<br>
The original issue (before creating test flow,task,method)<br>
<br>
When the Task completes, for even a simple literal 'F' set in container,<br>
<br>
it is setting the Task container value but NOT the WF container.<br>
<br>
The kicker is when she executes with sending the value 'T', it sets the<br>
Task AND WF container<br>
after the task completes.<br>
<br>
So, all MUST be set correctly in bindings, data type, etc. Otherwise,<br>
the value 'T' would not be passed back to and set the WF container.<br>
<br>
At this point, we are just evaluating what is getting set (or not set)<br>
from the completion of the task and binding back to the WF Template.<br>
<br>
I created the same type scenario on both 4.6c and ECC6 and works for me.<br>
<br>
<br>
Rick Sample<br>
SAP Business Workflow Developer<br>
Graybar, Inc.<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [<a href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>]
On Behalf<br>
Of Sheldon Oxenberg<br>
Sent: Friday, February 29, 2008 1:53 PM<br>
To: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><br>
Subject: RE: Results Processing step not working in Workflow<br>
<br>
Hi Sue,<br>
<br>
1. If you are just trying to send a 'T' or 'F' to the next step of the<br>
workflow, then you do not need a Condition Step.&nbsp; You only need to<br>
Configure the next step of the workflow to receive the 'T' or 'F'<br>
element<br>
in the binding.<br>
<br>
2. If you want the workflow to have two different routes, one for 'T'<br>
and<br>
one for 'F', then you only need a simple Condition Step with the<br>
condition<br>
logic checking for one of the values (e.g. 'T'), and with the Outcomes<br>
True<br>
and False providing the two different workflow routes.<br>
<br>
Then try this to define your Condition - When you Create the new<br>
Condition<br>
Logic, try defining the Constant (e.g. 'T') as Expression 2 by clicking<br>
on<br>
the drop-down arrow at the far right of the Constant entry box, clicking<br>
Enter on the Information box &quot;The system cannot display possible entries<br>
here&quot;, enter your Constant (e.g. T) and click Enter, then hit Enter, so<br>
Expression 2 contains T.<br>
<br>
3. If you are using the Multiple Condition Step, then you will have at<br>
least three different routes, one for 'T', one for 'F', and the Other<br>
values default.<br>
<br>
Then try this to define your Condition - When you define the Comparison<br>
values Constant (e.g. 'T', 'F') as Val., try clicking on the drop-down<br>
arrow at the far right of the Val. entry box, double-clicking on<br>
Constant/fixed value, clicking Enter on the Information box &quot;The system<br>
cannot display possible entries here&quot;, enter your Constant (e.g. T) and<br>
click Enter, so Val. contains T.&nbsp; Then enter an Outcome name for each<br>
Val.<br>
and enter an Outcome name for Other values.<br>
<br>
Note1:&nbsp; If you do not enter Constants using the drop-down steps,<br>
sometimes<br>
the routing does not work.<br>
Note2:&nbsp; Also be sure that your workflow container element definition for<br>
ImageFound is only defined as 1 Character in length.&nbsp; Otherwise you may<br>
get<br>
into problems with leading or trailing spaces when filling the element<br>
and<br>
when workflow is reading the element.<br>
<br>
Regards,<br>
Sheldon C. Oxenberg<br>
<br>
Computer Sciences Corporation<br>
Registered Office: <st1:Street w:st="on"><st1:address w:st="on">2100 East Grand
  Avenue</st1:address></st1:Street>, El Segundo <st1:State w:st="on"><st1:place
 w:st="on">California</st1:place></st1:State> 90245,<br>
<st1:country-region w:st="on"><st1:place w:st="on">USA</st1:place></st1:country-region><br>
Registered in <st1:country-region w:st="on"><st1:place w:st="on">USA</st1:place></st1:country-region>
No: C-489-59<br>
<br>
------------------------------------------------------------------------<br>
------------------------------------------------------------------------<br>
----------------------------------------------------------------<br>
<br>
This is a PRIVATE message. If you are not the intended recipient, please<br>
delete without copying and kindly advise us by e-mail of the mistake in<br>
delivery.<br>
NOTE: Regardless of content, this e-mail shall not operate to bind CSC<br>
to<br>
any order or other contract unless pursuant to explicit written<br>
agreement<br>
or government initiative expressly permitting the use of e-mail for such<br>
purpose.<br>
------------------------------------------------------------------------<br>
------------------------------------------------------------------------<br>
----------------------------------------------------------------<br>
<br>
<br>
<br>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;<st1:PersonName
w:st="on">Sue Doughty</st1:PersonName>&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;Sue.Doughty@odfl<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.com&gt;<br>
To<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent
by:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot;<st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName>&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
sap-wug-bounces@m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;sap-wug@mit.edu&gt;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it.edu<br>
cc<br>
<br>
<br>
<br>
Subject<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
02/29/2008 01:57&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RE:
Results Processing step not<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
working in Workflow<br>
<br>
<br>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Please
respond to<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot;SAP Workflow<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Users' Group&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;sap-wug@mit.edu&gt;<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Hi Rick,<br>
<br>
Thank you for your response and your help.<br>
<br>
It is a bare bones test workflow, only the task and then a condition<br>
checking for T or F.<br>
<br>
For the Results processing, I sent you a separate email with screen<br>
prints of what I'm talking about.&nbsp; Let me know if you did not get it.<br>
<br>
The task is set up like you detail below...SWC_SET_ELEMENT...The task<br>
says that it is completed for the 'F', but will not go to the next step.<br>
It will go to next step if the output from the task is 'T'.<br>
<br>
Nothing shows up in ST22, no events are triggered.&nbsp; Consistency checks<br>
are fine.&nbsp; No FMs are being called...it is just reading a table.&nbsp;
Here's<br>
the code in the method:<br>
<br>
BEGIN_METHOD CHECKEMPFORA2IMAGE CHANGING CONTAINER.<br>
<br>
DATA:&nbsp; DOCTYPE(10),<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEDATE LIKE SY-DATUM,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEFOUND(1).<br>
*TABLES:&nbsp; TOA01.<br>
<br>
SWC_GET_ELEMENT CONTAINER 'DocType' DOCTYPE.<br>
SWC_GET_ELEMENT CONTAINER 'ImageDate' IMAGEDATE.<br>
<br>
SELECT * FROM TOA01<br>
&nbsp; WHERE SAP_OBJECT = 'PREL'<br>
&nbsp;&nbsp;&nbsp; AND OBJECT_ID&nbsp; =&nbsp; OBJECT-KEY<br>
&nbsp;&nbsp;&nbsp; AND AR_OBJECT&nbsp; =&nbsp; DOCTYPE<br>
&nbsp;&nbsp;&nbsp; AND AR_DATE&nbsp;&nbsp;&nbsp; &gt;= IMAGEDATE.<br>
ENDSELECT.<br>
IF SY-SUBRC = 0.<br>
&nbsp; SWC_SET_ELEMENT CONTAINER 'ImageFound' 'T'.<br>
ELSE.<br>
&nbsp; SWC_SET_ELEMENT CONTAINER 'ImageFound' 'F'.<br>
ENDIF.<br>
<br>
<br>
END_METHOD.<br>
<br>
<br>
<br>
<br>
Regards,<br>
Sue T. Doughty<br>
SAP Workflow Specialist<br>
Old Dominion Freight Line, Inc.<br>
<st1:Street w:st="on"><st1:address w:st="on">500 Old Dominion Way</st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on">Thomasville</st1:City>, <st1:State
 w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></st1:place><br>
Phone:&nbsp; (336) 822-5189<br>
Toll Free (800 ) 432-6335, ext. 5189<br>
Email:&nbsp; sue.doughty@odfl.com<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [<a href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>]
On Behalf<br>
Of Sample, Rick<br>
Sent: Friday, February 29, 2008 12:34 PM<br>
To: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><br>
Subject: RE: Results Processing step not working in Workflow<br>
<br>
Hi Sue,<br>
<br>
More suggestions and thoughts. (Ignore if you already put it aside)<br>
<br>
Is this the 'bare bones' test WF you are speaking of, or<br>
an existing Wf with other possible tasks executing in another fork,<br>
events triggering - passing values into the WF via event listeners<br>
(wiping out the value), etc.?<br>
At this point, I would drop back and create the 'simplest' possible<br>
scenario to test. Then, start adding in logic.<br>
<br>
I keep reading &quot;the Result processing does not get executed in the
log&quot;.<br>
What processing?<br>
If you have your simple test WF/Task/Method, you don't need anything but<br>
the WF/Task/Method.<br>
When the task completes, it will or will not set the WF container with<br>
the values.<br>
<br>
You don't even need to create Export prams on your method because the<br>
SET_ will do it.<br>
(I know of some developers, that don't unit test their work very well,<br>
that<br>
never use Import/Export prams on the methods) But in this case,<br>
don't create prams on method so we can keep it as simple as possible.<br>
<br>
Just have one new test Task in your new test WF.<br>
Simple method to pass back literal 'T' or 'F' per a one line<br>
SWC_SET_ELEMENT CONTAINER 'ImageFound' 'F'. (and same test with 'T')<br>
If that works, start adding in the other pieces until you hit your<br>
issue.<br>
<br>
Stuff to look at if this don't work: (Because I am stumped if it does<br>
not!)<br>
- Anything show up in st22?<br>
- SWEL Event Trace to see what if any events are triggering for that BOR<br>
that could be setting that WF value.<br>
- Turn on WF Debugging / Tracing<br>
- Run consistency check to see what if any errors that are in the<br>
template / tasks<br>
- Run extended Checks on FMs called from the Method<br>
<br>
Rick Sample<br>
SAP Business Workflow Developer<br>
Graybar, Inc.<br>
rick.sample@gbe.com<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [<a href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>]
On Behalf<br>
Of <st1:PersonName w:st="on">Sue Doughty</st1:PersonName><br>
Sent: Friday, February 29, 2008 10:15 AM<br>
To: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><br>
Subject: RE: Results Processing step not working in Workflow<br>
<br>
Well, something interesting.<br>
<br>
I created another method in the BOR and copied the code from the other<br>
method, added the parameters and generated it.&nbsp; Created a new task for<br>
the new method...set up the same way as the other task.&nbsp; Took out the<br>
old task in the WF and put in the new Task.&nbsp; Now, when I execute it,<br>
NEITHER the T or F will work (the Result processing does not get<br>
executed in the log).&nbsp; It does not get to the next step in the workflow.<br>
I can still see the method has the T or F in Imagefound, but it does not<br>
get returned to the workflow (the binding from the task back to the<br>
workflow container).<br>
<br>
SAP did respond back that the message has been sent to the developers<br>
for analysis.<br>
<br>
Regards,<br>
Sue T. Doughty<br>
SAP Workflow Specialist<br>
Old Dominion Freight Line, Inc.<br>
<st1:Street w:st="on"><st1:address w:st="on">500 Old Dominion Way</st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on">Thomasville</st1:City>, <st1:State
 w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></st1:place><br>
Phone:&nbsp; (336) 822-5189<br>
Toll Free (800 ) 432-6335, ext. 5189<br>
Email:&nbsp; sue.doughty@odfl.com<br>
<br>
-----Original Message-----<br>
From: sap-wug-bounces@mit.edu [<a href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</a>]
On Behalf<br>
Of Mike Pokraka<br>
Sent: Friday, February 29, 2008 8:35 AM<br>
To: <st1:PersonName w:st="on">SAP Workflow Users' Group</st1:PersonName><br>
Subject: RE: Results Processing step not working in Workflow<br>
<br>
Hi Sue,<br>
Do your values come from outside the object? If they are available in<br>
your<br>
object, you'd be better off using a virtual attribute here. Otherwise<br>
there's nowt wrong with your code.<br>
<br>
GET_PROPERTY IMAGEEXISTS.<br>
&nbsp; if object-imageexists is initial. &quot;Only read once<br>
&nbsp;&nbsp;&nbsp; select....<br>
&nbsp;&nbsp;&nbsp;&nbsp; if found object-imageexists = X else ' '<br>
&nbsp; endif.<br>
&nbsp; swc_set_element container 'ImageExists' object-imageexists.<br>
END_PROPERTY.<br>
<br>
On Fri, February 29, 2008 12:46 pm, <st1:PersonName w:st="on">Sue Doughty</st1:PersonName>
wrote:<br>
&gt; Hi Mike,<br>
&gt;<br>
&gt; It is just a regular parameter NOT a result parameter.&nbsp; I tried using<br>
&gt; the result parameter, but got the same results.&nbsp; It is called<br>
&gt; 'ImageFound'.<br>
&gt;<br>
&gt; Hi Rick,<br>
&gt;<br>
&gt; I don't have a 4.6c system to reproduce it.&nbsp; Thank you for trying to<br>
&gt; help me.&nbsp; At this point, I don't know what else to do.&nbsp; I've
recreated<br>
&gt; the method in the BOR, recreated the task, and recreated the workflow.<br>
&gt; I've tried using the Result parameter and tried just sending out the<br>
&gt; ImageFound parameter.&nbsp; I've tried using Y and N instead of T and F.<br>
&gt;<br>
&gt; Below is the code in the method.&nbsp; Please remember that I'm NOT an<br>
ABAPer<br>
&gt; so I only do simple code :-).&nbsp; There might be a better way to do
this.<br>
&gt; I just don't know why a T would work and an F does not work&nbsp; :-(<br>
&gt;<br>
&gt; BEGIN_METHOD CHECKEMPFORA2IMAGE CHANGING CONTAINER.<br>
&gt;<br>
&gt; DATA:&nbsp; DOCTYPE(10),<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEDATE LIKE SY-DATUM,<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEFOUND(1).<br>
&gt; TABLES:&nbsp; TOA01.<br>
&gt;<br>
&gt; SWC_GET_ELEMENT CONTAINER 'DocType' DOCTYPE.<br>
&gt; SWC_GET_ELEMENT CONTAINER 'ImageDate' IMAGEDATE.<br>
&gt;<br>
&gt; SELECT * FROM TOA01<br>
&gt;&nbsp;&nbsp; WHERE SAP_OBJECT = 'PREL'<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; AND OBJECT_ID&nbsp; =&nbsp; OBJECT-KEY<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; AND AR_OBJECT&nbsp; =&nbsp; DOCTYPE<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; AND AR_DATE&nbsp;&nbsp;&nbsp; &gt;= IMAGEDATE.<br>
&gt; ENDSELECT.<br>
&gt; IF SY-SUBRC = 0.<br>
&gt;&nbsp;&nbsp; IMAGEFOUND = 'T'.<br>
&gt; ELSE.<br>
&gt;&nbsp;&nbsp; IMAGEFOUND = 'F'.<br>
&gt; ENDIF.<br>
&gt;<br>
&gt; SWC_SET_ELEMENT CONTAINER 'ImageFound' IMAGEFOUND.<br>
&gt;<br>
&gt; END_METHOD.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Sue T. Doughty<br>
&gt; SAP Workflow Specialist<br>
&gt; Old Dominion Freight Line, Inc.<br>
&gt; <st1:Street w:st="on"><st1:address w:st="on">500 Old Dominion Way</st1:address></st1:Street><br>
&gt; <st1:place w:st="on"><st1:City w:st="on">Thomasville</st1:City>, <st1:State
 w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></st1:place><br>
&gt; Phone:&nbsp; (336) 822-5189<br>
&gt; Toll Free (800 ) 432-6335, ext. 5189<br>
&gt; Email:&nbsp; sue.doughty@odfl.com<br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
****************************<br>
CONFIDENTIALITY NOTICE: The information contained in this message may be<br>
confidential, privileged, proprietary, or otherwise legally exempt from<br>
disclosure. If the reader of this message is not the intended recipient,<br>
or an employee or agent responsible for delivering this message to the<br>
intended recipient, you are hereby notified that you are not authorized<br>
to read, print, retain, copy or disseminate this message, any part of<br>
it, or any attachments. If you have received this message in error,<br>
please delete this message and any attachments from your system without<br>
reading the content and notify the sender immediately of the inadvertent<br>
transmission. Thank you for your cooperation.<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
****************************<br>
CONFIDENTIALITY NOTICE: The information contained in this message may be<br>
confidential, privileged, proprietary, or otherwise legally exempt from<br>
disclosure. If the reader of this message is not the intended recipient,<br>
or<br>
an employee or agent responsible for delivering this message to the<br>
intended recipient, you are hereby notified that you are not authorized<br>
to<br>
read, print, retain, copy or disseminate this message, any part of it,<br>
or<br>
any attachments. If you have received this message in error, please<br>
delete<br>
this message and any attachments from your system without reading the<br>
content and notify the sender immediately of the inadvertent<br>
transmission.<br>
Thank you for your cooperation.<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
****************************<br>
CONFIDENTIALITY NOTICE: The information contained in this message may be
confidential, privileged, proprietary, or otherwise legally exempt from
disclosure. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you are not authorized to read, print,
retain, copy or disseminate this message, any part of it, or any attachments.
If you have received this message in error, please delete this message and any
attachments from your system without reading the content and notify the sender
immediately of the inadvertent transmission. Thank you for your cooperation.<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></span></font><o:p></o:p></p>

</div>

<p></p><p>**************************** <br>CONFIDENTIALITY NOTICE: The information contained in this message may be confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. Thank you for your cooperation.</body>

</html>