<!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.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=678103312-10042006><FONT face=Arial 
color=#0000ff size=2>IDOC error handling is split into 2 
parts.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=678103312-10042006><FONT face=Arial 
color=#0000ff size=2>technical and application.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=678103312-10042006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=678103312-10042006><FONT face=Arial 
color=#0000ff size=2>Technical: See we40.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=678103312-10042006><FONT face=Arial 
color=#0000ff size=2>Per technical problem you can start a task or 
WS.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=678103312-10042006><FONT face=Arial 
color=#0000ff size=2>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B 
style="mso-bidi-font-weight: normal"><I 
style="mso-bidi-font-style: normal"><FONT size=3><FONT color=#000000><FONT 
face="Times New Roman">Special note for Workflows or Tasks to be triggered by 
ALE inbound processing via WE40.<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" 
/><o:p></o:p></FONT></FONT></FONT></I></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" 
color=#000000 size=3>Workflows MUST contain an inbound parameter called 
IDOC_PACKET of type IDOC or IDOCAPPL.<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>Tasks must also have IDOC or 
IDOCAPPL as the object.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" 
color=#000000 size=3>You can delegate IDOC or IDOCAPPL to get greater control of 
error handling.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Times New Roman" 
color=#000000 size=3>&nbsp;</FONT></o:p></P></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006>Application:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>The 
application should throw either the generic event IDOCAPPL.INPUTERROROCCURRED or 
it may throw an object specific error.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>In the 
case of COND_A you should see the event IDOCCOND_A.INPUTERROROCCURRED&nbsp; 
.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>You 
can use your own workflows to handle the event.&nbsp; ( a standard TS is already 
waiting there..)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>Now, 
one of Workflows little tricks comes into play.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006>Standard tasks... in this case TS900062 could have been 
/ should have been started.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>Recall 
agent assignments on Tasks.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>BUT 
now the big trick.&nbsp; A&nbsp; task can have a default 
rule.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>In 
this case the agent default rule is 134.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>So did 
teh task rule result in an agent ? If not then the task will not event start 
from the event.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>You 
can now solve the issue in many ways.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>Own 
TASK, Own WS. etc..</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=678103312-10042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=678103312-10042006>Just a 
tip on rule 134.</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=678103312-10042006>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The default rule 134 
reads the default customizing on the partner profile. (from we20)</SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">If there is no entry 
there , rule 134 <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>uses the system 
wide setting in we46.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I actually use the rule 
at customers, and place and org unit or position, in WE46 
normally.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial"><SPAN 
style="mso-spacerun: yes"><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><SPAN 
class=678103312-10042006><FONT face=Arial color=#0000ff 
size=2>...</FONT></SPAN></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><SPAN 
class=678103312-10042006><FONT face=Arial color=#0000ff size=2>good 
luck</FONT></SPAN></o:p></P></SPAN></FONT></DIV><!-- Converted from text/rtf format -->
<P><B><SPAN lang=en-us><FONT face=Arial color=#000080 size=1>Phil 
Soady</FONT></SPAN></B><SPAN lang=en-us></SPAN> <BR><SPAN lang=en-us><FONT 
face=Arial color=#808080 size=1>Solution Architect</FONT></SPAN> <BR><SPAN 
lang=en-us><FONT face=Arial color=#808080 size=1>Netweaver 
Consulting</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial color=#808080 
size=1>SAP Australia </FONT></B></SPAN><BR><SPAN lang=en-us><FONT face=Arial 
color=#808080 size=1>M&nbsp; +61 412 213 079</FONT></SPAN> <BR><SPAN 
lang=en-us><FONT face=Arial color=#808080 size=1>F&nbsp; +61 2 9957 7263 
</FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1>E&nbsp; 
</FONT></SPAN><A href="mailto:phil.soady@sap.com"><SPAN lang=en-us><U><FONT 
face=Arial color=#0000ff size=1>phil.soady@sap.com</FONT></U></SPAN></A><SPAN 
lang=en-us></SPAN> </P>
<DIV>&nbsp;</DIV><BR>
<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>Kjetil 
Kilhavn<BR><B>Sent:</B> Monday, 10 April 2006 4:59 PM<BR><B>To:</B> SAP Workflow 
Users' Group<BR><B>Subject:</B> RE: E-mail notification for error 
idoc's<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=863085806-10042006><FONT face=Arial 
color=#0000ff size=2>I guess it is too late now since it was so urgent, so I 
won't bother you with information now that you can't use now 
anyway.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=863085806-10042006><FONT face=Arial 
color=#0000ff size=2>Hope you solved your problem.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Kjetil Kilhavn, Statoil ØFT KTJ 
BAS&nbsp;DEV SAP</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <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>a.v.n.r 
  kumar<BR><B>Sent:</B> 7. april 2006 22:03<BR><B>To:</B> SAP Workflow Users' 
  Group<BR><B>Subject:</B> RE: E-mail notification for error 
  idoc's<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>Hi,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; We don't want to set at partenr profile level.</DIV>
  <DIV>&nbsp; We need to provide at the error event .</DIV>
  <DIV>&nbsp; Please let me know.<BR><BR><B><I>"Subramanian, Radha" 
  &lt;radha.subramanian@sap.com&gt;</I></B> wrote:</DIV>
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
    <META content="MSHTML 6.00.2900.2802" name=GENERATOR>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
    class=743055115-07042006>Have you tried setting the agent who would receive 
    the error &nbsp;in the Partner profiles associated with the new 
    idoc.</SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
    class=743055115-07042006></SPAN></FONT>&nbsp;</DIV><FONT face=Arial 
    color=#0000ff size=2></FONT><BR>
    <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>a.v.n.r 
    kumar<BR><B>Sent:</B> 05 April 2006 15:36<BR><B>To:</B> 
    sap-wug@mit.edu<BR><B>Subject:</B> E-mail notification for error 
    idoc's<BR></FONT><BR></DIV>
    <DIV></DIV>
    <DIV>Hi,</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp; We have extended the standard Idoc COND_A and when ever Idoc is 
    generatedwith error I need to send an email notification to an user.</DIV>
    <DIV>&nbsp; How can I do this.</DIV>
    <DIV>&nbsp; i think i cannot use the standard task as the Idoc is 
    extended.</DIV>
    <DIV>&nbsp; Please let me know as this is urgent.</DIV>
    <DIV>&nbsp;</DIV>
    <DIV>Regards</DIV>
    <DIV>Raghavendra</DIV>
    <DIV>&nbsp;</DIV><BR><BR>
    <DIV><FONT face="comic sans ms" color=#4040ff>A.V.N.Raghavendra 
    Kumar</FONT></DIV>
    <DIV><FONT face="Comic Sans MS" color=#4040ff></FONT>&nbsp;</DIV>
    <DIV>
    <HR SIZE=1>
    Jiyo cricket on <A 
    href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! 
    India cricket</A><BR><A 
    href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! 
    Messenger Mobile</A> Stay in touch with your buddies all the time. 
    _______________________________________________<BR>SAP-WUG mailing 
    list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></DIV></BLOCKQUOTE><BR><BR><BR>
  <DIV><FONT face="comic sans ms" color=#4040ff>A.V.N.Raghavendra 
  Kumar</FONT></DIV>
  <DIV><FONT face="Comic Sans MS" color=#4040ff></FONT>&nbsp;</DIV>
  <P>
  <HR SIZE=1>
  Jiyo cricket on <A 
  href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! 
  India cricket</A><BR><A 
  href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! 
  Messenger Mobile</A> Stay in touch with your buddies all the time.</BLOCKQUOTE>
<P></P>
<P><FONT 
size=1>-------------------------------------------------------------------<BR>The 
information contained in this message may be CONFIDENTIAL and is<BR>intended for 
the addressee only. Any unauthorised use, dissemination of the<BR>information or 
copying of this message is prohibited. If you are not the<BR>addressee, please 
notify the sender immediately by return e-mail and delete<BR>this 
message.<BR>Thank you.</FONT> </P></BODY></HTML>