<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Workflow Problem Travel Expenses Approval</TITLE>
 
<META content="MSHTML 5.00.3103.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>Hi
Roland, </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>Check
your bindings.&nbsp;&nbsp; Make sure you have specified both the recipient type
and the </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=251444618-23082001>address strings correctly.&nbsp; Other than that if you
are passing in travel expense details</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>double
check bindings there - if you are passing an incorrect object reference that
could</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>be
causing the sendtaskdescription step to fail when it tries to replace the
expressions</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>in
your text.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=251444618-23082001>Especially be careful with HR objects which I think
travel expenses is?&nbsp; If you have just</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=251444618-23082001>"unlocked" the travel expense infotype then the current
infotype is deleted and a new one</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>is
created - so that&nbsp;object reference may no longer exist.&nbsp;
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>Answer
is to send out the mail just before doing the unlock, or else before you unlock
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>the
infotype, use container operations to save all the details you want to display
to container</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=251444618-23082001>elements and then pass those to your mail step.
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=251444618-23082001>Regards,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=251444618-23082001>
<DIV style="HEIGHT: 90px; WIDTH: 374px"><FONT size=2>
<TABLE>
  <TBODY>
  <TR>
    <TD></TD></FONT>
    <TD>
      <DIV><FONT size=2><FONT color=#0000ff>Jocelyn Dart</FONT> <BR><FONT
      color=#0000ff>Consultant (EBP, BBP, Ecommerce, Internet Transaction
      Server, Workflow)</FONT> <BR><FONT color=#0000ff>SAP
      Australia</FONT></FONT></DIV>
      <DIV><FONT color=#0000ff><FONT size=2>Email </FONT><A
      href="mailto:jocelyn.dart@sap.com"><FONT
      size=2>jocelyn.dart@sap.com</FONT></A><BR><FONT size=2>Tel: +61<SPAN
      class=153385400-09052000> 412 390 267</SPAN><BR>Fax: +61&nbsp;2 9935
      4880</FONT></FONT></DIV></TD></TR></TBODY></TABLE></DIV></SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
  size=2>-----Original Message-----<BR><B>From:</B> Roland Chan (EPA)
  [mailto:Roland.Chan@ericsson.com.au]<BR><B>Sent:</B> Thursday, 23 August 2001
  10:25 AM<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Workflow
  Problem Travel Expenses Approval<BR><BR></DIV></FONT>
  <P><FONT face=Arial size=2>Hello,</FONT> </P>
  <P><FONT face=Arial
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  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.&nbsp;&nbsp; The version of SAP
  we use is 4.5B.&nbsp;&nbsp; Everything work up to the part we want to send a
  mail to the initiator confirming the travel is approved or
  rejected.&nbsp;&nbsp; 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).&nbsp;&nbsp; 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)&nbsp; 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&nbsp; 000000548128 method SENDTASKDESCRIPTION cannot be
  executed'.&nbsp;&nbsp; This resulted the initiator is not getting any message
  that the travel is approved or rejected.</FONT></P>
  <P><FONT face=Arial
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  Has anybody come across this problem ?&nbsp;&nbsp;&nbsp; We use SWUD to debug
  and trace the problem but we cannot identify any reason apart from the above
  error message.&nbsp;&nbsp; Please advise.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </FONT></P>
  <P><FONT face=Arial
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </FONT></P>
  <UL>
    <P><B><FONT color=#0000ff face=Arial>Regards,</FONT></B> <BR><B><FONT
    color=#0000ff face=Arial>Roland Chan </FONT></B><BR><B><FONT color=#0000ff
    face=Arial>03 9301 3523</FONT></B> <BR><FONT color=#000080
    face=Arial>Ericsson Business Applications Team</FONT> <BR><FONT
    color=#000080 face=Arial>Ericsson Australia (PTy) Ltd</FONT> <BR><FONT
    color=#000080 face=Arial>Level 38.29, 360 Elizabeth St</FONT> <BR><FONT
    color=#000080 face=Arial>Melbourne 3000</FONT>
</P><BR></UL></BLOCKQUOTE></BODY></HTML>