HELP, serious problem! , starting wf explicitly in user exit

MacEachern, Ian IMacEachern at nbpower.com
Tue Dec 9 13:28:03 EST 2003


Sunni,
 
There's an input parameter in SWW_WI_START:
 
VALUE(DO_COMMIT) LIKE  SWWCOMMIT-COMMITFLAG DEFAULT 'X'
 
Have you tried setting this flag to SPACE instead of the default value?
 
Ian M.
 
-----Original Message-----
From: Sunni sunni [mailto:sunnilondon at hotmail.com]
Sent: December 09, 2003 2:22 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: HELP, serious problem! , starting wf explicitly in user exit
 
 
Hi all
 
Thought I'd finished my development only, but hit by serious setback.
I've written a function module that triggers a workflow explicitly by
calling
sww_wi_start.  Created a workflow to be called by it and pass it the
necessary parameters in a user exit.
 
Problem is that within sww_wi_start, there is a 'commit work' so user =
exit
falls over as you can't have a commit work in a user exit!!
 
How do I get around this, any suggestions will be greatly appreciated, =
this
is a showstopper.
 
Thanks...
Sunni
 
 
>From: "Brice, Andrew" <Andrew.Brice at AirservicesAustralia.com>
>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Re: Worklfow stops at background task in a single client
>Date: Mon, 8 Dec 2003 09:05:10 +1100
>
>Sunni
>
>Check your customising transaction SWU3.
>The workflow RFC connection is client specific.
>
>Regards
>
>Andrew Brice
>Airservices Australia
>
>-----Original Message-----
>From: Sunni sunni [mailto:sunnilondon at hotmail.com]
>Sent: Saturday, 6 December 2003 1:06 AM
>To: SAP-WUG at MITVMA.MIT.EDU
>Subject: Worklfow stops at background task in a single client
>
>Hi all,
>
>I have a very strange problem.
>I am working in a multi client environment.  Workflow changes made in
>master
>development client 100 are picked up in client 200.  The strange thing
>is
>that in client 100 my workflow suddenly stops on a task which calls a
>background method, and hangs there.  The workflow log states, =
background
>method started, but never completes.
>
>In client 200 the same workflow is fine.  The strange thing is that =
the
>development isnot client specific so it should work in both clients =
the
>same.
>
>I have tried running SWU_OBUF, I've tried re-activating the workflow,
>I've
>tried reactivating the object being called in the hanging task, I've
>tested
>the object method in SWO1 & its fine in both clients; .....
>
>So I'm all out of ideas, can anyone suggest what may be causing this??
>
>Many thanks
>Sunni
>
>_________________________________________________________________
>Find a cheaper internet access deal - choose one to suit you.
>http://www.msn.co.uk/internetaccess
 
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
 
-------------------------=20
This e-mail communication (including any or all attachments) is =
intended
only for the use of the person or entity to which it is addressed and =
may
contain confidential and/or privileged material. If you are not the =
intended
recipient of this e-mail, any use, review, retransmission,  =
distribution,
dissemination, copying, printing, or other use of, or taking of any =
action
in reliance upon this e-mail, is strictly prohibited. If you have =
received
this e-mail in error, please contact the sender and delete the original =
and
any copy of this e-mail and any printout thereof, immediately. Your
co-operation is appreciated.=20
 
Le pr=E9sent courriel (y compris toute pi=E8ce jointe) s'adresse =
uniquement =E0
son destinataire, qu'il soit une personne ou un organisme, et pourrait
comporter des renseignements privil=E9gi=E9s ou confidentiels. Si vous =
n'=EAtes
pas le destinataire du courriel, il est interdit d'utiliser, de revoir, =
de
retransmettre, de distribuer, de diss=E9miner, de copier ou d'imprimer =
ce
courriel, d'agir en vous y fiant ou de vous en servir de toute autre =
fa=E7on.
Si vous avez re=E7u le pr=E9sent courriel par erreur, pri=E8re de =
communiquer avec
l'exp=E9diteur et d'=E9liminer l'original du courriel, ainsi que toute =
copie
=E9lectronique ou imprim=E9e de celui-ci, imm=E9diatement. Nous sommes
reconnaissants de votre collaboration.=20
 


More information about the SAP-WUG mailing list