<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=987194817-01022007><FONT face=Arial 
color=#0000ff size=2>Kris,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=987194817-01022007><FONT face=Arial 
color=#0000ff size=2>We have created separate custom flows for idocordersp, 
idocorder, and idocinvoic.&nbsp; We&nbsp;utilize zobject types with virtual 
attributes which use custom function modules to separate the various pieces of 
data from the numerous segments.&nbsp; We then replaced the standard ts with a 
custom ws which displays the items as requested by the business 
area.&nbsp;&nbsp;The custom function module makes use of&nbsp; <FONT 
size=1>IDOC_READ_COMPLETELY.</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=987194817-01022007></SPAN><SPAN 
class=987194817-01022007></SPAN><FONT size=2><FONT face=Arial><FONT 
color=#0000ff>H<SPAN class=987194817-01022007>ope this 
helps.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT><FONT color=#0000ff><SPAN 
class=987194817-01022007></SPAN></FONT></FONT><SPAN 
class=987194817-01022007></SPAN><FONT size=2><FONT face=Arial><FONT 
color=#0000ff>C<SPAN 
class=987194817-01022007>heers,</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT><FONT color=#0000ff><SPAN 
class=987194817-01022007></SPAN></FONT></FONT><SPAN 
class=987194817-01022007></SPAN><FONT size=2><FONT face=Arial><FONT 
color=#0000ff>S<SPAN 
class=987194817-01022007>herie</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=987194817-01022007></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=987194817-01022007>Sherie Munday</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=987194817-01022007>Workflow 
Developer/Analyst</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><FONT color=#0000ff><SPAN 
class=987194817-01022007>Air Products &amp; Chemicals, 
Inc.</SPAN></FONT></FONT></DIV>
<DIV dir=ltr align=left><BR></DIV></FONT>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Kris<BR><B>Sent:</B> 
Thursday, February 01, 2007 11:41 AM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> Need help on correcting idoc segment data 
through work item/work flow.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hello everyone,</DIV>
<DIV>&nbsp;</DIV>
<DIV>My requirement is,<BR><BR>1. IDOC with 500 segments(for Example) is failed 
with two errors. Is there any easy way to inform the users about the 
<BR>incorrect segment name and number so that they can correct the data. Without 
the name and number users are forced to open each <BR>and every segment to find 
out the incorrect data segment which is very time consuming.<BR><BR><BR>This is 
what is tried using workflow,<BR><BR>Whenever the inbound IDOC is failed, Iam 
using standard task TS30000207(BO-IDOCSTATUS, Event-STATUSIDOCERROR) to send the 
Work <BR>item to the user. When the user executes the work item, the method 
ERRORPROCESS displays the 'Display Status Record' screen. In<BR>this screen, 
under the 'Sts details' tab user can see a text message like 'Item number is 
incorrect' and the corresponding <BR>incorrect value in the'1st parameter' 
field. <BR><BR>The above screen has process button. It gives the ability to 
reprocess the idoc after correcting the data using WE19. But still it<BR>does 
not tells the user the failed segment name or number. <BR><BR>If there is a 
change method, users could directly correct the data in this screen and 
reprocess the IDOC. But none exists.<BR><BR>What is the solution for 
this?????<BR>Your input is highly appreciated.......<BR><BR>Thanks in advance 
</DIV></BODY></HTML>