<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=127223817-20122001><FONT face=Arial color=#0000ff size=2>Hi
Sue,</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=127223817-20122001>Try</SPAN> SWL_GET_PROTOCOL_EXTERN<SPAN
class=127223817-20122001> and just pass in the ID of the top level workitem.
Table steps gives you want you need.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=127223817-20122001>Stephan</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Susan R. Keohan
[mailto:skeohan@MIT.EDU]<BR><B>Sent:</B> Thursday, December 20, 2001 5:18
PM<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Workitem w/too many
steps - how to find them ?<BR><BR></FONT></DIV>Hi gang,<BR><BR>We have a
workflow that is causing some problems with archiving. <BR><FONT
size=3>The workitem archiving is performed with transaction 'SARA', using the
'WORKITEM' archiving object.<BR>This calls the ABAP: 'RSWWARCA', which gets
the following short dump: TSV_TNEW_PAGE_ALLOC_FAILED.<BR><BR>SAP has looked
iinto this and concluded we have a workflow with too many items. I
believe I know the workflow name which is causing this problem. (This is
a workflow, that calls a workflow, that also calls another workflow) What I
need to know is if I can get some kind of report on workitem ids that has all
subordinate workitem ids, so that we can identify the workitems that are
problems and delete them before running archiving. I've found table
SWPSTEPHIST has some of the info I need, but I don't think it can report down
to the level I need.<BR><BR>Any ideas ?<BR><BR>Many thanks, and happy holidays
to all,<BR>Sue</FONT> </BLOCKQUOTE></BODY></HTML>