AW: Starting workflow from a program

Swami Bala swam_in at hotmail.com
Wed Oct 9 08:18:44 EDT 2002


Hello Jose,
 
if your needs are just starting the workflow through
a program, why not use sww_wi_start fmodule ?.
 
Swami Bala
 
 
>From: "Becker Stephan (extern)" <Stephan.Becker.ext at mchw.siemens.de>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: AW: Starting workflow from a program
>Date: Wed, 9 Oct 2002 13:54:22 +0200
>MIME-Version: 1.0
>Received: from cherry.ease.lsoft.com ([209.119.0.109]) by
>mc6-f15.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 9 Oct
>2002 04:56:24 -0700
>Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com
>(LSMTP for Digital Unix v1.1b) with SMTP id
><21.00761AB1 at cherry.ease.lsoft.com>; Wed, 9 Oct 2002 7:56:23 -0400
>Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release
>1.8d)          with spool id 9794 for SAP-WUG at MITVMA.MIT.EDU; Wed, 9 Oct
>2002          07:56:07 -0400
>Received: from MITVMA (NJE origin SMTP at MITVMA) by MITVMA.MIT.EDU (LMail
>      V1.2d/1.8d) with BSMTP id 1142; Wed, 9 Oct 2002 07:54:46 -0400
>Received: from goliath.siemens.de [192.35.17.28] by mitvma.mit.edu (IBM VM
>SMTP          Level 320) via TCP with ESMTP ; Wed, 09 Oct 2002 07:54:45 EDT
>Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by
>    goliath.siemens.de (8.11.6/8.11.6) with ESMTP id g99BsQb08595 for
>    <SAP-WUG at MITVMA.MIT.EDU>; Wed, 9 Oct 2002 13:54:26 +0200 (MEST)
>Received: from mchw631x.mchw.siemens.de (mchw631x.mchw.siemens.de
>[139.23.174.39]) by mail2.siemens.de (8.11.6/8.11.6) with ESMTP id
>g99BsQ817594 for <SAP-WUG at MITVMA.MIT.EDU>; Wed, 9 Oct 2002 13:54:26
>  +0200 (MEST)
>Received: by mchw631x.mchw.siemens.de with Internet Mail Service
>(5.5.2653.19)          id <4PYS0XA0>; Wed, 9 Oct 2002 13:54:25 +0200
>X-Comment: mitvma.mit.edu: Mail was sent by goliath.siemens.de
>X-Mailer: Internet Mail Service (5.5.2653.19)
>Approved-By:  "Becker Stephan (extern)"
><Stephan.Becker.ext at MCHW.SIEMENS.DE>
>Message-ID:
><EEBDD42FE306E6439B55E2809B4EBCF83FC1EA at mchw601x.mchw.siemens.de>
>Sender:       SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
>Return-Path: owner-sap-wug at MITVMA.MIT.EDU
>X-OriginalArrivalTime: 09 Oct 2002 11:56:24.0990 (UTC)
>FILETIME=[E48533E0:01C26F8A]
>
>the starting of the workflow is a logical unit of work, contains db
>updates, and therefore needs a commit work..
>
>-----Urspr|ngliche Nachricht-----
>Von: Jose Burgman [AST] [mailto:jose.burgman at ast.co.za]
>Gesendet: Mittwoch, 9. Oktober 2002 13:47
>An: SAP-WUG at MITVMA.MIT.EDU
>Betreff: Re: Starting workflow from a program
>
>
>Hi there
>
>No. I'm not doing any database updates.
>
>Jose
>
>-----Original Message-----
>From: Zmudzin,Tomasz,VEVEY,GL-DS/DM [mailto:Tomasz.Zmudzin at nestle.com]
>Sent: Wednesday, October 09, 2002 1:37 PM
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Starting workflow from a program
>
>
>Just to make sure -- do you COMMIT WORK after the call?
>
>Kind regards,
>Tomasz
>
>-----Original Message-----
>From: Jose Burgman [AST] [mailto:jose.burgman at ast.co.za]
>Sent: Wednesday,9. October 2002 12:23
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Starting workflow from a program
>
>
>Hi every-one
>
>I've created a dialogue program in which one of the facilities the user has
>is to start a workflow. I've created the subtype ZKNA1 (with status
>released) with an event called ZAPPROVE and delegated it system wide to
>KNA1. The event has a multiline element. I've created the event container
>and initialised it and loaded my internal table into the event container
>using the relevant macros. I then call the FM SWE_EVENT_CREATE. The
>interface needs the object type (tried KNA1 and then ZKNA1 - used literal),
>the object key (customer number - used FM definition) and the event
>(ZAPPROVE - used literal) and pass the event container. The workflow is
>active and the event linkage is in place (checked using SWETYPV). When I
>execute the program nothing happens - no event is triggered in swel. I've
>run it in debug mode and everything _SEEMS_ to be OK in the FM - return
>code
>is 0 when it completes - I've also tested it using SE37 and the event
>container does get filled - but still no event trigger.
>
>So ... any-one have any ideas?
>
>Regards
>
>Jose
>______________________________________________
>
>"This information is intended only for the person or entity to which it is
>addressed and
>may contain private, confidential, proprietary and/or privileged material
>and may be subject
>to confidentiality agreements.
>
>Any review, retransmission, dissemination, or any other use of or taking of
>any action in
>reliance upon this information, by persons or entities other than the
>intended recipient,
>is prohibited.
>
>If you received this in error, please contact the sender and delete the
>material from all
>storage media.
>
>The company is neither liable for proper, complete transmission of the
>information contained
>in this communication, any delay in its receipt or that the mail is
>virus-free"
>______________________________________________
>
>"This information is intended only for the person or entity to which it is
>addressed and
>may contain private, confidential, proprietary and/or privileged material
>and may be subject
>to confidentiality agreements.
>
>Any review, retransmission, dissemination, or any other use of or taking of
>any action in
>reliance upon this information, by persons or entities other than the
>intended recipient,
>is prohibited.
>
>If you received this in error, please contact the sender and delete the
>material from all
>storage media.
>
>The company is neither liable for proper, complete transmission of the
>information contained
>in this communication, any delay in its receipt or that the mail is
>virus-free"
 
 
 
 
Swaminathan
 
 
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
 


More information about the SAP-WUG mailing list