Calling a workflow task in program

Chatterjee, Partha (US - San Ramon) pchatterjee at deloitte.com
Tue Dec 7 16:33:55 EST 2004


Better hope the animal rights activists don't read this board ... LOL!=20
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
Lyal Schumann, RMC UK Ltd
Sent: Friday, December 03, 2004 3:42 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Calling a workflow task in program
 
Hi Ananth
 
To run a method, you need to instantiate the object and then call the
method. Something like:
 
INCLUDE <cntn01>.
swc_container obj_cont .
DATA : obj_name TYPE swc_object ,
       obj_key  TYPE swo_typeid .
 
* Set your Object Key
MOVE '1234567890' TO obj_key .
 
* Instantiate the Object
swc_create_object obj_name 'BUSxxxx' obj_key .
 
* Set your Input Parameters in the Container
swc_set_element obj_cont : 'ShoeSize' '15' .
 
* And then call the Method
swc_call_method obj_name 'zKickMyDog' obj_cont .
 
And any Output Parameters will be stuck into your container.
 
Good Luck!
 
Lyal
 
 
-----Original Message-----
From: Ananth [mailto:write2ananth at gmail.com]
Sent: 03 December 2004 10:30
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
 
 
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager.
 
This email is sent by a member of the RMC Group p.l.c. group of
Companies.
RMC Group p.l.c. is registered in England under company no. 249776. The
registered office address of RMC Group and its UK subsidiaries is RMC
House, Coldharbour Lane, Thorpe, Egham, Surrey TW20 8TD.
 
This footnote also confirms that this email has been swept by
MIMEsweeper for the presence of computer viruses.
 
www.mimesweeper.com
**********************************************************************
 
 
This message (including any attachments) contains confidential =
information intended for a specific individual and purpose, and is =
protected by law.  If you are not the intended recipient, you should =
delete this message.  Any disclosure, copying, or distribution of this =
message, or the taking of any action based on it, is strictly =
prohibited.
 


More information about the SAP-WUG mailing list