Methods AFTER work item execution - how-to?

Mark Pyc mark.pyc at gmail.com
Fri Apr 22 11:20:38 EDT 2005


How are you setting the container elements if you are not parameter passing?

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



More information about the SAP-WUG mailing list