<!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.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009>Florin:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009> So this is what I
understand: When I tested my task I entered the key attributes into the variable
that represents my class. This object reference is bound to the
wi_Object_ID. The persistent object reference is passed to
find_by_lpor and the constructor is executed to create the instance of the
class. My instance method then executes. As part of this execution I
fill the me->zanek table with the results from the function module. I
then use me->zanek in another method.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=397405118-21012009>When the task is
complete and I look at the workflow log, the wi_object_ID, containing
the instant object of the class has the key attribute filled but not the
table zanek. In the method I changed the value of the key
attribute belnr and it showed up in the container reference to the class
instance. So as the task completed and executed my method it
must of called bi_persistent-lpor and updated the result parameter with my new
value for me->belnr. It then ran find_by_lpor and created a
new instance with a different value in the key parameter and passed it
back to the wi_Object_ID reference in the
container. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=397405118-21012009></SPAN></FONT><FONT
face=Arial size=2><SPAN class=397405118-21012009></SPAN></FONT><FONT face=Arial
size=2><SPAN class=397405118-21012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=397405118-21012009>Thank
you,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=397405118-21012009>Tom
Simon</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=397405118-21012009><!--StartFragment --><FONT size=3><FONT
face="Times New Roman">
<STYLE type=text/css>
SPAN {
font-family: "Courier New";
font-size: 10pt;
color: #000000;
background: #FFFFFF;
}
.L1S33 {
color: #4DA619;
}
.L1S52 {
color: #0000FF;
}
</STYLE>
</FONT></FONT><SPAN><SPAN
class=L1S52>METHOD</SPAN> retrieve_anek.<BR><BR> <SPAN
class=L1S52>CALL</SPAN> <SPAN class=L1S52>FUNCTION</SPAN> <SPAN
class=L1S33>'ANEK_READ_MULITPLE'</SPAN><BR> <SPAN
class=L1S52>EXPORTING</SPAN><BR> i_belnr = me->belnr<BR> i_bukrs = me->bukrs<BR> <SPAN
class=L1S52>TABLES</SPAN><BR> t_anek = me->zanek.<BR><BR> <SPAN
class=L1S52>IF</SPAN> me->zanek <SPAN
class=L1S52>is</SPAN> <SPAN class=L1S52>not</SPAN> <SPAN
class=L1S52>initial</SPAN>.<BR><BR> me->updatelink(<BR> im_archiveid = im_archiveid<BR> im_archdocid = im_archdocid<BR> im_object_id = im_object_id<BR> im_anek = ex_anek ).<BR><BR> <SPAN
class=L1S52>ENDIF</SPAN>.</SPAN><FONT face="Times New Roman" size=3>
</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=397405118-21012009>
me->belnr = '4545454545454'.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009>endmethod.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=397405118-21012009></SPAN></FONT> </DIV></BODY></HTML>