<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Times New Roman","serif";
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Lalitha,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Tables SWW_CONTOB &amp; SWW_CONT are used in Basis 640 onwards, but
only if you choose the 'old' container persistence. When using XML persistence
in your workflow no entries will be written to these tables.&nbsp; You can change
the settings for the persistence profile of a workflow via the builder =&gt;
Basic Data =&gt; Version Dependent =&gt; Control tab. Look in the 'Persistence
profile' tab and you can change the settings (But I would not recommend
changing it).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Entries with XML persistence are stored in table SWWCNTP0. The only
issue will be if you have some custom code that reads directly from tables
SWW_CONTOB &amp; SWW_CONT.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As Sue has detailed below there are several standard reports to
find work items related to an object or if doing it via custom code please use
the WAPI&#8217;s.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Eddie<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Keohan,
Susan - 1140 - MITLL<br>
<b>Sent:</b> 01 December 2009 21:44<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> RE: SWW_CONTOB entries missing<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'>Hi Lalitha,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'>The first thing I
wonder is why would you be doing lookups in SWW_CONTOB?&nbsp; You should <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'>probably be using
SAP_WAPI_READ_CONTAINER rather than doing table lookups.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'>You said you want
to track the history of this document thru workflow; don&#8217;t the standard reports
provide enough information? Swi2_freq, or, from the object, you can use Generic
Object Services.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'>As for archiving,
if you archived the data for the workflow &#8211; then you would not find the same
data related to the PS object in SWW_CONTOB.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'>You can read
about the affects of archiving on workflow data starting with the SAP Help (<a
href="http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e704c462a11d189000000e8323d3a/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e704c462a11d189000000e8323d3a/content.htm</a>)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'><br>
Good luck,<br>
Sue<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>----</span><span
style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>Susan R. Keohan</span><span
style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>SAP Workflow
Specialist</span><span style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>Enterprise
Applications</span><span style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>Information
Services Department</span><span style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>MIT Lincoln
Laboratory</span><span style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>244 Wood Street,
LI-200</span><span style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>Lexington, MA.
02420</span><span style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>781-981-3561</span><span
style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;color:black'>keohan@LL.MIT.EDU</span><span
style='color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:black'>&nbsp;</span><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Lalitha
Sankaran<br>
<b>Sent:</b> Tuesday, December 01, 2009 3:55 PM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> SWW_CONTOB entries missing</span><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Hi,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>How do we view an archived workflow log ?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>We have a document which went thru the approval process and
was posted by WFBATCH, but am not able to find an entry<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>in the sww_contob table. The same document in the PS system
has an entry in SWW_CONTOB and also am able to<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>view the workflow log.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Could the WF be archived, if yes, then is the entry removed
from the sww_contob table?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Or could the support pack have deleted any entries from the
table.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>How do I track the WF history of this document ?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>We are using ECC 6.0 , SP SAPKA70103<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Please advise.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Thank you<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Lalitha<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

</div>

</body>

</html>