<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>RE: Escalation & sending external Mail (outlook)</TITLE>
</HEAD>
<BODY dir=ltr>
<DIV>Hi Guys,</DIV>
<DIV> </DIV>
<DIV> Thanks for your reply.</DIV>
<DIV> </DIV>
<DIV> But any one please let me the process to do external mail(
i.e., once the approver approves the mail with content should go to the
outlook of the requestor )?</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Gopi.</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B>
sap-wug-bounces@mit.edu on behalf of Zavier, Johnson
<BR><B>Sent:</B> Thu 5/26/2005 3:58 AM <BR><B>To:</B> sap-wug@mit.edu
<BR><B>Cc:</B> <BR><B>Subject:</B> RE: Escalation & sending external Mail
(outlook)<BR><BR></FONT></DIV>
<P><FONT size=2>If you want to calculate say '3' working days after work item
creation</FONT> <BR><FONT size=2>date, you may use following functions as
below. l_calid is factory</FONT> <BR><FONT size=2>calendar id, l_createdate =
workitem creation date. L_days = number of</FONT> <BR><FONT size=2>days(eg 3)
and l_result is the working date according to the factory</FONT> <BR><FONT
size=2>calendar.</FONT> </P>
<P><FONT size=2>To notify the creator about the approval, you may use
'notification' tab</FONT> <BR><FONT size=2>in the approval task and use
expression. However you need to have the</FONT> <BR><FONT size=2>external
e-mail address for the initiator populated before this task. I</FONT>
<BR><FONT size=2>normally add a e-mail step after the approval and send
appropriate text</FONT> <BR><FONT size=2>based on the result of the
approval.</FONT> </P>
<P><FONT size=2>Hope it helps.</FONT> </P>
<P><FONT size=2>Regards</FONT> <BR><FONT size=2>Johnson Zavier</FONT> </P><BR>
<P><FONT size=2>FORM f_get_working_day USING
l_calid
</FONT><BR><FONT
size=2>
l_CREATEDATE
</FONT><BR><FONT
size=2>
l_days
</FONT><BR><FONT
size=2>
l_result.
</FONT><BR><FONT size=2> data: l_factdate like
SCAL-FACDATE.
</FONT><BR><FONT size=2> CALL FUNCTION
'DATE_CONVERT_TO_FACTORYDATE'
</FONT><BR><FONT size=2>
EXPORTING
</FONT><BR><FONT size=2>
DATE
= l_createdate </FONT><BR><FONT
size=2>
FACTORY_CALENDAR_ID
= l_calid
</FONT><BR><FONT size=2>
IMPORTING
</FONT><BR><FONT size=2>
FACTORYDATE
= l_factDate </FONT><BR><FONT
size=2> .</FONT> </P>
<P><FONT size=2>IF SY-SUBRC <> 0.</FONT> </P>
<P><FONT size=2>* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO</FONT>
</P>
<P><FONT size=2>* WITH
SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.</FONT> </P>
<P><FONT size=2>ENDIF.</FONT> </P>
<P><FONT size=2></FONT></P>
<P><FONT size=2>l_factdate = l_factdate + l_days.</FONT> </P>
<P><FONT size=2>CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE'</FONT> </P>
<P><FONT size=2> EXPORTING</FONT> </P>
<P><FONT size=2>
FACTORYDATE
= l_factdate</FONT> </P>
<P><FONT size=2>
FACTORY_CALENDAR_ID
= l_calid</FONT> </P>
<P><FONT size=2> IMPORTING</FONT> </P>
<P><FONT size=2>
DATE
= l_result</FONT> </P>
<P><FONT size=2>
.
</FONT><BR><FONT size=2>IF SY-SUBRC <>
0.
</FONT><BR><FONT size=2>* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER
SY-MSGNO
</FONT><BR><FONT size=2>* WITH
SY-MSGV1 SY-MSGV2 SY-MSGV3
SY-MSGV4.
</FONT><BR><FONT
size=2>ENDIF.
</FONT><BR><FONT
size=2>
</FONT><BR><FONT
size=2>
</FONT><BR><FONT
size=2>ENDFORM.
"
f_get_working_day
</FONT></P><BR><BR>
<P><FONT size=2>From: sap-wug-bounces@mit.edu [<A
href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</A>] On
Behalf</FONT> <BR><FONT size=2>Of Gopinath Addepalli Prasad</FONT> <BR><FONT
size=2>Sent: May 24, 2005 10:38 PM</FONT> <BR><FONT size=2>To:
sap-wug@mit.edu</FONT> <BR><FONT size=2>Subject: Escalation & sending
external Mail (outlook)</FONT> </P><BR>
<P><FONT size=2>Hi,</FONT> <BR><FONT size=2>=20</FONT> <BR><FONT
size=2> Could any one tell me how to find the day as a working day
for giving</FONT> <BR><FONT size=2>reminder to the=20</FONT> <BR><FONT
size=2> approver to approve ?</FONT> <BR><FONT size=2>=20</FONT>
<BR><FONT size=2> Could any one tell me how to send the
external mail (outlook) from</FONT> <BR><FONT size=2>the task approved to
request creator..?</FONT> <BR><FONT size=2>=20</FONT> <BR><FONT
size=2> Thier help is greatly appriciated.</FONT> <BR><FONT
size=2>=20</FONT> <BR><FONT size=2>Regards,</FONT> <BR><FONT
size=2>Gopi.</FONT> </P><BR>
<P><FONT
size=2>------------------------------------------------------------------------</FONT>
<BR><FONT size=2>This e-mail contains confidential information. If you
are not the intended recipient or have received this e-mail in error, please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the e-mail or the information it
contains, is strictly forbidden.</FONT></P><BR>
<P><FONT size=2>_______________________________________________</FONT>
<BR><FONT size=2>SAP-WUG mailing list</FONT> <BR><FONT
size=2>SAP-WUG@mit.edu</FONT> <BR><FONT size=2><A
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></FONT>
</P></BLOCKQUOTE>
</BODY>
</HTML>