<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Arial">
<DIV>Like I said, what I am trying to do is figure out how to use an AFTER method call. </DIV>
<DIV>Seems to be a very simple thing. Call a method and set a WF Container after the task is </DIV>
<DIV>executed by a user. That's it! </DIV>
<DIV>Little baby steps here... Nothing more at this time until I figure out "how-to". </DIV>
<DIV> </DIV>
<DIV>I tried with / without the parameters and nothing seems to work "as expected" anyway.</DIV>
<DIV> </DIV>
<DIV>Have you ever used an AFTER method or know of any examples in 4.6c to look at?</DIV>
<DIV> </DIV>
<DIV>Thanks and Happy Friday.</DIV>
<DIV> </DIV>
<DIV><BR><BR>>>> mark.pyc@gmail.com 4/22/2005 9:21 >>><BR>G'day Rick,<BR><BR>I'm willing to be blown out of the water on this one, but I'll reply<BR>since it's Friday arvo and you might not get many other responses.<BR><BR>I don't think you can reliably use import or export parameters on<BR>secondary methods. They are intended really only for display methods<BR>as far as I'm aware. This is another one of those cases where ugliness<BR>in the builder can't be avoided.<BR><BR>Again, I'm far from confident on this one....<BR><BR>Have fun,<BR>Mark<BR><BR>On 4/22/05, Rick Sample <<U> <A href="mailto:Rick.Sample@gbe.com">Rick.Sample@gbe.com</A></U> > wrote:<BR>> I never used "Methods AFTER work item execution" but I have a case<BR>> where I think I may be able to use but need some assistance.<BR>> <BR>> Here is what I have and what I want to do:<BR>> I have a task with several Outcomes.<BR>> I need to update a Workflow template container to a simple value after<BR>> every outcome.<BR>> Different outcomes execute different background methods after the task<BR>> is called and may<BR>> change the value. Depends on what outcome.<BR>> What I am trying to avoid is putting the same Container Operation on<BR>> every outcome except one.<BR>> <BR>> So, I have my business object with a method called SetMyValue with<BR>> a parm same as the WF Template container and a simple one line of code<BR>> <BR>> SWC_SET_ELEMENT CONTAINER 'zMyValue' 'Y'.<BR>> I have the task container same as WF Template container and all binding<BR>> set.<BR>> <BR>> When I inspect the WF Template container after execution of the task,<BR>> the Wf Template<BR>> container is missing. Which tells me that the binding is set correct<BR>> but not being set<BR>> by the called method. i.e. any time binding are defined and no values<BR>> are set the<BR>> WF containers get blown out. At least this is what I notice in 4.6c.<BR>> <BR>> I read page 470 In Practical Workflow for Sap but no examples and not a<BR>> real in depth topic.<BR>> I want to know how to use the "Method After execution" call so don't<BR>> get hung up on the logic.<BR>> <BR>> Any help is appreciated.<BR>> 4.6C<BR>> <BR>> Rick Sample<BR>> SAP Workflow / Developer<BR>> Graybar, Inc.<BR>> 11885 Lackland Rd.<BR>> 63146-4208<BR>> 314.573.5822<BR>> <U><A href="mailto:Rick.Sample@GBE.com">Rick.Sample@GBE.com</A></U> <BR>> _______________________________________________<BR>> SAP-WUG mailing list<BR>> <U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR>> <U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR>><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR><U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR><BR></DIV></BODY></HTML>