Calling a workflow task in program
Ananth
write2ananth at gmail.com
Fri Dec 3 14:59:28 EST 2004
Hi Lyal,
Just after I sent the rephrased question, I got your reply. What you
had mentioned as reply is what i wanted.
Thanks Kjetilk for replying :)
Regards
Ananth
On Fri, 3 Dec 2004 16:20:55 +0100, Kjetil Kilhavn <kjetilk at statoil.com> wrote:
> Then you will find what you need in the mentioned include (or <cntn01>).
>
> 1) You need to create your object using swc_create_object - or calling
> function SWO_CREATE directly if you have to.
>
> 2) Fill the method's parameter container using swc_set_element and
> swc_set_table.
>
> 3) Call the method using swc_call_method.
>
> 4) Read the method's parameter container (if it returns anything).
> --
> Kjetil Kilhavn
>
> Ananth
> <write2ananth at gmail. To: SAP-WUG at MITVMA.MIT.EDU
> com> cc: (bcc: Kjetil Kilhavn)
> Sent by: SAP Subject: Re: Calling a workflow task in program
> Workflow
> <Owner-SAP-WUG at MITVM
> A.MIT.EDU>
>
> 03.12.2004 12:45
> Please respond to
> "SAP Workflow Users'
> Group"
>
>
>
>
> Hi Richard,
>
> Thanks for replying.
>
> Let me rephrase the question. I want to know to execute a workflow
> task from ABAP program. I dont want to trigger an event. I want to
> execute the method, which is underlying the task.
>
> Thanks
> Ananth
>
> On Fri, 3 Dec 2004 05:32:41 -0600, Richard Marut <rvmarut at earthlink.net>
> wrote:
> > Ananth,
> >
> > You can use function module SWE_EVENT_CREATE. You will also need the
> include
> > <CNTAIN> if you need to use the macros to populate the container. Look at
> > one of the SAP delivered business object methods for examples of using
> the
> > set and get macros.
> >
> > Richard...
> >
> >
> >
> > -----Original Message-----
> > From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
> Ananth
> > Sent: Friday, December 03, 2004 4:30 AM
> > To: SAP-WUG at MITVMA.MIT.EDU
> > Subject: Calling a workflow task in program
> >
> > Hi All,
> >
> > I have created a customised method which will be triggered by an
> > event. I want to execute this task from ABAP program. Can any one pls
> > let me know how to do this.
> >
> > Thanks in advance,
> > Ananth
> >
>
>
> -------------------------------------------------------------------
> The information contained in this message may be CONFIDENTIAL and is
> intended for the addressee only. Any unauthorised use, dissemination of the
> information or copying of this message is prohibited. If you are not the
> addressee, please notify the sender immediately by return e-mail and delete
> this message.
> Thank you.
>
More information about the SAP-WUG
mailing list