Starting a Task from a Function module

Verlaat, Robert Robert.Verlaat at PWN.NL
Fri Jun 6 03:32:51 EDT 2003


Hi Mike,
 
Thanks, I've used an event and it works fine.=20
 
Met vriendelijke groet,
=20
Robert Verlaat
Accenture Technology Solutions
0031 (0) 6 113 676 96=20
 
 
-----Oorspronkelijk bericht-----
Van: Michael Pokraka [mailto:workflow at quirky.me.uk]=20
Verzonden: donderdag 5 juni 2003 11:55
Aan: SAP-WUG at MITVMA.MIT.EDU
Onderwerp: Re: Starting a Task from a Function module
 
 
I may be stating the obvious, but why not raise an event, or call
whatever the task does directly? One method provides separation and the
other integration, starting a task OTOH is neither and possibly less
reliable. Cheers Mike
 
On Thu, Jun 05, 2003 at 10:30:42AM +0200, Verlaat, Robert wrote:
> Dear All,
>
> I'am trying to start a (single step) Task from a function module
> (SWW_WI_START(_SIMPLE) and some others, the functionality is all the
> same....)
> The Task is a "Display" Method for an Object.
>
> As container values I pass:
> element: _WI_OBJECT_ID
> value:    key for the Object (GUID in CRM)
> also length,type and handle...
>
> When I assign myself as agent to execute this task, it works fine. The
 
> Object is displayed immediately. However when I assign another agent,=20
> the WI is created but it contains no data.  _WI_OBJECT_ID is empty so=20
> the WI can not be executed.
>
> It seems to me that I doing something wrong which causes no=20
> Object-instance is created when I first send the WI to an Inbox??
>
> Any help would be very appreciated.
>
> Regards,
>
> Met vriendelijke groet,
>
> Robert Verlaat
> Accenture Technology Solutions
> 0031 (0) 6 113 676 96
>
>
>
> ______________________________________________________________________
> _______________________
> This outbound message from KPN has been checked for all known viruses
by KPN IV-Scan, powered by MessageLabs.
>
________________________________________________________________________
____________________
 
________________________________________________________________________
_____________________
This inbound message from KPN has been checked for all known viruses by
KPN IV-Scan, powered by MessageLabs.=20
 
________________________________________________________________________
_____________________
 
__________________________________________________________________________=
___________________
This=20outbound=20message=20from=20KPN=20has=20been=20checked=20for=20all=20=
known=20viruses=20by=20KPN=20IV-Scan,=20powered=20by=20MessageLabs.=20
__________________________________________________________________________=
__________________
 


More information about the SAP-WUG mailing list