Starting a Task from a Function module

Michael Pokraka workflow at quirky.me.uk
Thu Jun 5 05:54:37 EDT 2003


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,
> the WI is created but it contains no data.  _WI_OBJECT_ID is empty so
> the WI can not be executed.
>
> It seems to me that I doing something wrong which causes no
> 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.
> ____________________________________________________________________________________________
 


More information about the SAP-WUG mailing list