Workflow Problem Travel Expenses Approval

Dart, Jocelyn jocelyn.dart at sap.com
Thu Aug 23 14:50:39 EDT 2001


Hi Roland,
Check your bindings.   Make sure you have specified both the recipient type
and the
address strings correctly.  Other than that if you are passing in travel
expense details
double check bindings there - if you are passing an incorrect object
reference that could
be causing the sendtaskdescription step to fail when it tries to replace the
expressions
in your text.
Especially be careful with HR objects which I think travel expenses is?  If
you have just
"unlocked" the travel expense infotype then the current infotype is deleted
and a new one
is created - so that object reference may no longer exist.
Answer is to send out the mail just before doing the unlock, or else before
you unlock
the infotype, use container operations to save all the details you want to
display to container
elements and then pass those to your mail step.
Regards,
 
Jocelyn Dart
Consultant (EBP, BBP, Ecommerce, Internet Transaction Server, Workflow)
SAP Australia
Email  <mailto:jocelyn.dart at sap.com> jocelyn.dart at sap.com
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
-----Original Message-----
From: Roland Chan (EPA) [mailto:Roland.Chan at ericsson.com.au]
Sent: Thursday, 23 August 2001 10:25 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Workflow Problem Travel Expenses Approval
 
 
 
Hello,
 
               We have developed an workflow application for SAP travel
expenses approval - this is the first workflow application we built and we
use SAP Business Object BUS2089 as the basis to build the application.   The
version of SAP we use is 4.5B.   Everything work up to the part we want to
send a mail to the initiator confirming the travel is approved or rejected.
We adopted the SAP model for Notification of Leave Approval as the model to
build the send mail (in 4.5B, there is no Send Mail Icon when creating a
task).   Initially when the message is still displaying the Leave detail,
the workflow worked (with the mail of Leave Id, etc. fields not be converted
to proper values)  but once we changed the description to display the Travel
expense details, the whole task cannot be run and we keep getting error
message 'Work item 000000548128: Object AUSDEV200 SELFITEM  000000548128
method SENDTASKDESCRIPTION cannot be executed'.   This resulted the
initiator is not getting any message that the travel is approved or
rejected.
 
               Has anybody come across this problem ?    We use SWUD to
debug and trace the problem but we cannot identify any reason apart from the
above error message.   Please advise.
 
 
 
        Regards,
Roland Chan
03 9301 3523
Ericsson Business Applications Team
Ericsson Australia (PTy) Ltd
Level 38.29, 360 Elizabeth St
Melbourne 3000
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20010823/8e073b56/attachment.htm


More information about the SAP-WUG mailing list