<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Book Antiqua";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="#606420">
<div class="Section1">
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">Dear WUG,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">Need your advice!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">We have a requirement where we need to use both the deadlines &#8220;Requested End&#8221; and &#8220;Latest End&#8221; in the invoice approval step. A reminder mail
 has to go in case of &#8220;requested end&#8221; and the work item has to be logically deleted in case of &#8220;latest end&#8221;.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">In the invoice approval step, the reference date/time is the &#8220;work item creation&#8221; and the time for &#8220;requested end&#8221; is &#43;3 days and for &#8220;latest
 end&#8221; is &#43;5 days.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">Now &#8211; the business asks us to use factory calendars in this regard &#8211; to make sure they do not get notification on week ends / holidays.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">I have created a ZFactoryDeadline object as suggested in the book &#8220;Practical Workflow for SAP&#8221;.
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">My questions:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">1) Is there a table that I can refer where we can find the Factory Calendar ID based on the company code?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">2) Will the function module &#8216;END_TIME_DETERMINE&#8217; always returns a working day / non holiday &#8211; even when the OFFSET &amp; TIME unit are empty? [Since
 offset is not fixed here as we have &#43;3 and &#43;5 for requested and latest ends respectively]. I mean I just pass the factory calendar ID and the offset (&#43;3 / &#43;5) I would anyhow be providing at the workflow step level &#8211; will it still work?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">Br,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">Hari<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Book Antiqua"><span style="font-size:
11.0pt;font-family:&quot;Book Antiqua&quot;">&nbsp;<o:p></o:p></span></font></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="2">This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original.
 Any other use of the email by you is prohibited.<br>
</font>
</body>
</html>