Start workitem immediately within the application

Dart, Jocelyn jocelyn.dart at sap.com
Sun Jun 22 20:23:46 EDT 2003


Hi Werner,=20
I think event Q actually means EVENT QUEUE.
If you don't know the difference between synchronous and asynchronous =
event handling then I suggest its time to go back to your BC610 course =
notes - or to attend the course if you can.  Otherwise it is explained =
in detail in the SAP Library help and in the book (as is the event =
queue).  It comes down to how do you know that the work item has been =
completed correctly - is it enough to have executed the method =
(synchronous) or do you need an event to confirm that something was =
done (asynchronous).=20
Please read up on it - it makes a significant difference!
Regards,
        Jocelyn Dart=20
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"=20
SAP Australia
email: jocelyn.dart at sap.com=20
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
-----Original Message-----
From: Werner K=F6=DFl [mailto:werner.koessl at hirschvogel.de]=20
Sent: Friday,20 June 2003 9:10 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: Start workitem immediately within the application
 
 
Thanks Kjetil & Phil for your quick response!
 
I use the standard triggering event DRAW->CHANGED with receiver type
'DOKST'.
 
In the customizing i have the possibility to enter a workflow template =
for
every document type and for every document status.
Now when somebody changes exactly the given status the CHANGED-event is
raised.
 
I don't know how to do that.
 
Can you explain me what synchronous and asynchronous event handling =
means?
And what is event Q?
I never heard this before.
 
Thank you so much!!!
Werner.
 
 
 
-----Urspr|ngliche Nachricht-----
Von: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Im Auftrag von
Soady, Phil
Gesendet: Freitag, 20. Juni 2003 10:39
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: Start workitem immediately within the application
 
 
Lieber Werner,
 
if the event is processed and the wf started by WF-BATCH ( a background =
)
user,
then how can the workflow connect back to your modi ?
And interesting security issue.
 
The workflow must be started by the current user. Ie no asynchronous
handling.
 
Any chance of calling swe_event_create synchronously ?
See the flag on the Function call.
 
That implies no event Q ? Well, I've never tried synchronous and event =
q.
 
At least now, the user should get the user decision.
 
hth / htw
 
Cheers
 
 
Phil Soady
Senior Consultant
Business Technologies
SAP Australia
* : 0412 213 079
* : phil.soady at sap.com
 
 
 
 
 
-----Original Message-----
From: Werner Kv_l [mailto:werner.koessl at hirschvogel.de]
Sent: Friday, June 20, 2003 5:35 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Start workitem immediately within the application
 
 
Hi everyone,
 
we start one workflow when someone changes the status of a document. =
But the
first workitem should be executed immediately after the change of the
status. (Not only created, but executed!)
 
The first workitem is a user decision, and the receiver of the first
workitem is WF_INITIATOR. The "Advance with immediate dialog"-field is
marked in the workflow template and in the first step.
 
But the workitem does not execute!
 
Does anybody have an idea?
 
Regards,
Werner.
 


More information about the SAP-WUG mailing list