<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY><!-- Converted from text/plain format -->
<P><FONT size=2>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. 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><A href="mailto:rick.sample@gbe.com"><FONT
size=4>rick.sample@gbe.com</FONT></A><FONT color=#0000ff size=4>
</FONT></STRONG><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 Sue Doughty<BR>Sent: Monday, March 03, 2008 10:24 AM<BR>To: SAP
Workflow Users' Group<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. 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>500 Old
Dominion Way<BR>Thomasville, NC 27360<BR>Phone: (336) 822-5189<BR>Toll
Free (800 ) 432-6335, ext. 5189<BR>Email:
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: SAP
Workflow Users' Group<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:
SAP Workflow Users' Group<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.
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 "The system cannot
display possible entries<BR>here", 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 "The system<BR>cannot display possible entries
here", enter your Constant (e.g. T) and<BR>click Enter, so Val. contains
T. Then enter an Outcome name for each<BR>Val.<BR>and enter an Outcome
name for Other values.<BR><BR>Note1: If you do not enter Constants using
the drop-down steps,<BR>sometimes<BR>the routing does not work.<BR>Note2:
Also be sure that your workflow container element definition for<BR>ImageFound
is only defined as 1 Character in length. 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: 2100 East
Grand Avenue, El Segundo California 90245,<BR>USA<BR>Registered in USA 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>
"Sue
Doughty"<BR><BR>
<Sue.Doughty@odfl<BR><BR>
.com><BR>To<BR>
Sent
by:
"SAP Workflow Users'
Group"<BR><BR>
sap-wug-bounces@m
<sap-wug@mit.edu><BR><BR>
it.edu<BR>cc<BR><BR><BR><BR>Subject<BR>
02/29/2008 01:57 RE:
Results Processing step
not<BR><BR>
PM
working in
Workflow<BR><BR><BR><BR><BR><BR>
Please respond
to<BR><BR>
"SAP
Workflow<BR><BR>
Users'
Group"<BR><BR>
<sap-wug@mit.edu><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. 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. Consistency
checks<BR>are fine. No FMs are being called...it is just reading a
table. Here's<BR>the code in the method:<BR><BR>BEGIN_METHOD
CHECKEMPFORA2IMAGE CHANGING CONTAINER.<BR><BR>DATA:
DOCTYPE(10),<BR> IMAGEDATE LIKE
SY-DATUM,<BR>
IMAGEFOUND(1).<BR>*TABLES: TOA01.<BR><BR>SWC_GET_ELEMENT CONTAINER
'DocType' DOCTYPE.<BR>SWC_GET_ELEMENT CONTAINER 'ImageDate'
IMAGEDATE.<BR><BR>SELECT * FROM TOA01<BR> WHERE SAP_OBJECT =
'PREL'<BR> AND OBJECT_ID =
OBJECT-KEY<BR> AND AR_OBJECT =
DOCTYPE<BR> AND AR_DATE >=
IMAGEDATE.<BR>ENDSELECT.<BR>IF SY-SUBRC = 0.<BR> SWC_SET_ELEMENT CONTAINER
'ImageFound' 'T'.<BR>ELSE.<BR> 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>500 Old
Dominion Way<BR>Thomasville, NC 27360<BR>Phone: (336) 822-5189<BR>Toll
Free (800 ) 432-6335, ext. 5189<BR>Email:
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: SAP
Workflow Users' Group<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 "the Result processing does not get executed in the
log".<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 Sue Doughty<BR>Sent: Friday, February 29, 2008 10:15 AM<BR>To: SAP
Workflow Users' Group<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. Created a new task for<BR>the new method...set up the same
way as the other task. Took out the<BR>old task in the WF and put in the
new Task. Now, when I execute it,<BR>NEITHER the T or F will work (the
Result processing does not get<BR>executed in the log). 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>500 Old Dominion Way<BR>Thomasville, NC
27360<BR>Phone: (336) 822-5189<BR>Toll Free (800 ) 432-6335, ext.
5189<BR>Email: 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: SAP
Workflow Users' Group<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> if object-imageexists is
initial. "Only read once<BR>
select....<BR> if found object-imageexists = X else '
'<BR> endif.<BR> swc_set_element container 'ImageExists'
object-imageexists.<BR>END_PROPERTY.<BR><BR>On Fri, February 29, 2008 12:46 pm,
Sue Doughty wrote:<BR>> Hi Mike,<BR>><BR>> It is just a regular
parameter NOT a result parameter. I tried using<BR>> the result
parameter, but got the same results. It is called<BR>>
'ImageFound'.<BR>><BR>> Hi Rick,<BR>><BR>> I don't have a 4.6c
system to reproduce it. Thank you for trying to<BR>> help me. At
this point, I don't know what else to do. I've recreated<BR>> the
method in the BOR, recreated the task, and recreated the workflow.<BR>> I've
tried using the Result parameter and tried just sending out the<BR>>
ImageFound parameter. I've tried using Y and N instead of T and
F.<BR>><BR>> Below is the code in the method. Please remember that
I'm NOT an<BR>ABAPer<BR>> so I only do simple code :-). There might be
a better way to do this.<BR>> I just don't know why a T would work and an F
does not work :-(<BR>><BR>> BEGIN_METHOD CHECKEMPFORA2IMAGE CHANGING
CONTAINER.<BR>><BR>> DATA:
DOCTYPE(10),<BR>> IMAGEDATE LIKE
SY-DATUM,<BR>>
IMAGEFOUND(1).<BR>> TABLES: TOA01.<BR>><BR>> SWC_GET_ELEMENT
CONTAINER 'DocType' DOCTYPE.<BR>> SWC_GET_ELEMENT CONTAINER 'ImageDate'
IMAGEDATE.<BR>><BR>> SELECT * FROM TOA01<BR>> WHERE
SAP_OBJECT = 'PREL'<BR>> AND OBJECT_ID =
OBJECT-KEY<BR>> AND AR_OBJECT =
DOCTYPE<BR>> AND AR_DATE >=
IMAGEDATE.<BR>> ENDSELECT.<BR>> IF SY-SUBRC = 0.<BR>>
IMAGEFOUND = 'T'.<BR>> ELSE.<BR>> IMAGEFOUND = 'F'.<BR>>
ENDIF.<BR>><BR>> SWC_SET_ELEMENT CONTAINER 'ImageFound'
IMAGEFOUND.<BR>><BR>> END_METHOD.<BR>><BR>> Regards,<BR>> Sue T.
Doughty<BR>> SAP Workflow Specialist<BR>> Old Dominion Freight Line,
Inc.<BR>> 500 Old Dominion Way<BR>> Thomasville, NC 27360<BR>>
Phone: (336) 822-5189<BR>> Toll Free (800 ) 432-6335, ext. 5189<BR>>
Email:
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><BR></FONT></P></BODY></HTML>