<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<TITLE>Business object delegation</TITLE>
 
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>Hi
Arpad, </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>It's
possible you don't really need two delegates - but can just use your other
subtype directly. </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2>Especially if it is used in a separate workflow, you could simply use the
subtype as the object </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>of the
new workflow.&nbsp;&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>If you
want to use a parent event to trigger your workflow, or you only want to use
your subtype</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>in
certain steps of your workflow, you can add a workflow container element
referring to your subtype,</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>and
use a step linked to a task based on SYSTEM.GENERICINSTANTIATE method to convert
from one object type to the other. </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>Then
you would have both object types available in your workflow and could use
whichever one suits the situation best. </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>It's
quite legitimate to have true subtypes that aren't delegates - e.g..
representing special cases in the child object type and</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>the
more generic situation at the parent level. </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>You
only really need to use delegation where you want to extend the provided SAP
business object for the generic situation to your</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>own
business object for the generic situation.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>E.g.
You might delegate BUS1001 representing materials to your own ZMATERIAL object
type representing materials, </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>but if
you want a ZRAWMAT object type representing "raw" materials that would be a
subtype of BUS1001 but not delegated, </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>and
ZRAWMAT would simply be used directly in your tasks or workflows.
</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff size=2>Hope
that helps. </FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=784283113-13032002>
<DIV style="WIDTH: 374px; HEIGHT: 90px"><FONT size=2>
<TABLE>
  <TBODY>
  <TR>
    <TD></TD></FONT>
    <TD>
      <DIV><FONT size=2><FONT color=#0000ff>Jocelyn Dart</FONT> <BR><FONT
      color=#0000ff>Consultant (EBP, BBP, Ecommerce, Internet Transaction
      Server, Workflow)</FONT> <BR><FONT color=#0000ff>SAP
      Australia</FONT></FONT></DIV>
      <DIV><FONT color=#0000ff><FONT size=2>Email </FONT><A
      href="mailto:jocelyn.dart@sap.com"><FONT
      size=2>jocelyn.dart@sap.com</FONT></A><BR><FONT size=2>Tel: +61<SPAN
      class=153385400-09052000> 412 390 267</SPAN><BR>Fax: +61&nbsp;2 9935
      4880</FONT></FONT></DIV></TD></TR></TBODY></TABLE></DIV></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
  size=2>-----Original Message-----<BR><B>From:</B> de Valensart Schoenmaeckers,
  Patrick [mailto:deValensartSchoenmaeckers.Patrick@pmintl.ch]<BR><B>Sent:</B>
  Tuesday, 12 March 2002 8:28 PM<BR><B>To:</B>
  SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Re: Business object
  delegation<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=427551109-12032002>It
  looks quite natural that you cannot do this : if you had for example the same
  virtual attribute (=same names) in your two subtypes, but with a different
  code. How would the system react when you would call that attribute from the
  main object type?</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN
  class=427551109-12032002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=427551109-12032002>A
  workaround for this could be :</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=427551109-12032002>1.
  Create all attributes and methods in the same subtype, but use them only for
  one project, and use a naming convention that shows clearly which project they
  are related to (e.g. if you want to have the same kind of attribute for both
  projects, you would have to create it twice with a different
  name).</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
  class=427551109-12032002>or</SPAN></FONT></DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
  class=427551109-12032002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
  class=427551109-12032002>2. Make a subtype of a subtype (e.g. bus2081
  delegates to zbus2081, and zbus2081 delegates to ybus2081). I have not tried
  this, but I do not see any reason why it would not work.</SPAN></FONT></DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
  class=427551109-12032002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
  class=427551109-12032002>Kind regards,</SPAN></FONT></DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
  class=427551109-12032002></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN
  class=427551109-12032002>Patrick</SPAN></FONT></DIV>
  <DIV><FONT face="Arial CE" color=#0000ff size=2><SPAN
class=427551109-12032002>
  <P><FONT face=Arial
  size=2>---------------------------------------------------------</FONT>
  <BR><FONT face=Arial size=2>Patrick de Valensart</FONT> <BR><FONT face=Arial
  size=2>Information Services</FONT> <BR><FONT face=Arial size=2>Philip Morris
  S.p.A.</FONT> <BR><FONT face=Arial size=2>Via Salandra, 18, 00187 Roma,
  Italy</FONT> <BR><FONT face=Arial
  size=2>---------------------------------------------------------</FONT>
  </P></SPAN></FONT></DIV>
  <BLOCKQUOTE>
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
    size=2>-----Original Message-----<BR><B>From:</B> Vincze Arpad
    [mailto:Arpad.Vincze@itelligence.hu]<BR><B>Sent:</B> Tuesday, March 12, 2002
    10:09 AM<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Business
    object delegation<BR><BR></DIV></FONT>
    <UL>
      <P><FONT face="Arial CE">Hello,</FONT> </P><BR><BR>
      <P><FONT face="Arial CE">Let us say I would like create a business object
      subtype, like</FONT> </P>
      <P><FONT face="Arial CE">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      image&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt;&nbsp; zimage&nbsp; or</FONT>
      <BR><FONT face="Arial CE">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bus2081&nbsp;
      -&gt;&nbsp; zbus2081. </FONT></P>
      <P><FONT face="Arial CE">I can create as many subobject as I would, but<I>
      I can delegate only one</I>.</FONT> <BR><FONT face="Arial CE">I don't
      understand why?</FONT> </P>
      <P><FONT face="Arial CE">Sometimes it would be appreciated if I can use
      separate sub object (different project can work separately). I can create
      it but at the end I can delegate only one.</FONT></P><BR>
      <P><FONT face="Arial CE">Any idea?</FONT> </P>
      <P><FONT face="Arial CE">Regards:</FONT> </P>
      <P><FONT face="Arial CE">&nbsp;&nbsp;&nbsp;&nbsp; Arpad</FONT> </P><BR></UL>
    <P><FONT face="Arial CE" size=2>Vincze Arpad</FONT> <BR><FONT face=Arial
    size=2>itelligence Hungary Kft.</FONT> <BR><FONT face=Arial size=2>H-1138
    Budapest, Vaci zt 141</FONT> <BR><FONT face=Arial size=2>Tel.:&nbsp;&nbsp;
    (+36 1) 452 382</FONT><FONT face="Arial CE" size=2>2</FONT> <BR><FONT
    face=Arial size=2>Fax:&nbsp;&nbsp;&nbsp; (+36 1) 452 3839</FONT> <BR><FONT
    face="Arial CE" size=2>Mobil:&nbsp;&nbsp; (+36 20) 9 533 578</FONT>
    <BR><U><FONT face=Arial color=#0000ff
    size=2>arpad.vincze@itelligence.hu</FONT></U>
</P><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>