Custom workflow problems
Marty Braithwaite
Marty_Braithwaite at cpr.ca
Wed Feb 26 12:47:58 EST 2003
Thanks, I tried that, but everything works just fine when I run the =
workflow from SWUD. Only when it's triggered from within the =
application is there a problem. =20
-----Original Message-----
From: Kjetil Kilhavn [mailto:kjetilk at statoil.com]
Sent: Tuesday, February 25, 2003 11:51 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Custom workflow problems
Go to transaction SWUD, go to =ABTest environment=BB, and test the =
workflow
with workflow trace enabled (=ABSwitch on container monitor=BB the =
choice is
called in our system).
That may reveal the problem.
--
Kjetil Kilhavn
=
=
=20
Marty Braithwaite =
=
=20
<Marty_Braithwaite at c To: =
SAP-WUG at MITVMA.MIT.EDU =
=20
pr.ca> cc: (bcc: Kjetil =
Kilhavn) =
=20
Sent by: SAP Subject: Custom =
workflow problems =
=20
Workflow =
=
=20
<Owner-SAP-WUG at MITVM =
=
=20
A.MIT.EDU> =
=
=20
=
=
=20
=
=
=20
25.02.2003 15:57 =
=
=20
Please respond to =
=
=20
"SAP Workflow Users' =
=
=20
Group" =
=
=20
=
=
=20
=
=
=20
Hi everyone, I am new to workflow, and haven't had any formal training, =
if
you can help out it would be appreciated. We have a custom approval
workflow triggered via the save of an employee expense. One of our =
custom
tasks runs a method that derives the expense statement and binds it into
the method container, which then passes the report on to a sendmail task
and on to the user in an email, who's expense has been approved. The =
users
have requested that I send the expense statement to the approver. The
sendmail task to the approver is at the beginning of the workflow, so I
copied our existing task, and pasted it into the workflow just before =
the
sendmail task to the approver. When I run the workflow from within the
workflow builder, by manually feeding in the proper input data, it all
works great. But if I try to trigger the workflow from the normal =
route,
by saving an employee expense and triggering the event, it doesn't seem =
to
generate the expense form and send it. There are no errors, it just
continues on and sends the approver the email, without the expense form =
in
the email.
Thanks for your help in advance,
Marty Braithwaite
SAP Sustainment Team
-------------------------------------------------------------------
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.
------------------------------ IMPORTANT NOTICE - AVIS IMPORTANT =
------------------------------
Computer viruses can be transmitted via email. Recipient should check =
this email and any attachments for the presence of viruses. Sender and =
sender company accept no liability for any damage caused by any virus =
transmitted by this email.
This email transmission and any accompanying attachments contain =
confidential information intended only for the use of the individual or =
entity named above. Any dissemination, distribution, copying or action =
taken in reliance on the contents of this email by anyone other than the =
intended recipient is strictly prohibited. If you have received this =
email in error please immediately delete it and notify sender at the =
above email address.=20
Le courrier =E9lectronique peut =EAtre porteur de virus informatiques. =
Le destinataire doit donc passer le pr=E9sent courriel et les pi=E8ces =
qui y sont jointes au d=E9tecteur de virus. L=92exp=E9diteur et son =
employeur d=E9clinent toute responsabilit=E9 pour les dommages caus=E9s =
par un virus contenu dans le courriel.
Le pr=E9sent message et les pi=E8ces qui y sont jointes contiennent des =
renseignements confidentiels destin=E9s uniquement =E0 la personne ou =
=E0 l=92organisme nomm=E9 ci-dessus. Toute diffusion, distribution, =
reproduction ou utilisation comme r=E9f=E9rence du contenu du message =
par une autre personne que le destinataire est formellement interdite. =
Si vous avez re=E7u ce courriel par erreur, veuillez le d=E9truire =
imm=E9diatement et en informer l=92exp=E9diteur =E0 l=92adresse =
ci-dessus.
------------------------------ IMPORTANT NOTICE - AVIS IMPORTANT =
------------------------------
More information about the SAP-WUG
mailing list