<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Freestyle Script;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: "Arial","sans-serif"; TEXT-DECORATION: none; mso-style-type: personal-reply
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff>Yes, Markus - that's the idea. Except do you
really want to set co_bo_sofm to initial??? That undoes the value settings in
your data statement. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff>If you want to take this further I humbly suggest you
also go for the best practice approach and make CO_BO_SOFM_T a TYPE if you
are needing to use it in multiple places - e.g. for your table and for the
explicit work area you are bound to need inside your methods to fill your
table. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff>Also if you want to use it in multiple classes, the best approach
would be to put it in a type-pool that can be shared by the various classes.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=147205022-27082007><FONT face=Arial
color=#0000ff>But full marks anyway for working it out. </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN
class=147205022-27082007></SPAN></FONT> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=1>Regards,</FONT></SPAN> <BR><SPAN
lang=en-us><B><FONT face=Arial color=#000080 size=1>Jocelyn
Dart</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>Senior Consultant</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial
color=#808080 size=1>SAP Australia Pty Ltd.</FONT></B></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>Level 1/168 Walker
St.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>North Sydney </FONT></SPAN><BR><SPAN lang=en-us><FONT face=Arial
color=#808080 size=1>NSW, 2060</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>Australia</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#808080 size=1>T +61 412 390
267</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#808080
size=1>M + 61 412 390 267</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#808080 size=1>E jocelyn.dart@sap.com</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial color=#808080 size=1><A
href="http://www.sap.com/">http://www.sap.com</A></FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>The
information contained in or attached to this electronic transmission is
confidential and may be legally privileged. It is intended only for the person
or entity to which it is addressed. If you are not the intended recipient, you
are hereby notified that any distribution, copying, review, retransmission,
dissemination or other use of this electronic transmission or the information
contained in it is strictly prohibited. If you have received this electronic
transmission in error, please immediately contact the sender to arrange for the
return of the original documents. </FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Electronic
transmission cannot be guaranteed to be secure and accordingly, the sender does
not accept liability for any such data corruption, interception, unauthorized
amendment, viruses, delays or the consequences thereof.</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Times New Roman" color=#ff0000 size=1>Any views
expressed in this electronic transmission are those of the individual sender,
except where the message states otherwise and the sender is authorized to state
them to be the views of SAP AG or any of its subsidiaries. SAP AG, its
subsidiaries, and their directors, officers and employees make no representation
nor accept any liability for the accuracy or completeness of the views or
information contained herein. Please be aware that the furnishing of any pricing
information/ business proposal herein is indicative only, is subject to change
and shall not be construed as an offer or as constituting a binding agreement on
the part of SAP AG or any of its subsidiaries to enter into any relationship,
unless otherwise expressly stated. </FONT></SPAN></P>
<DIV> </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>Markus
Klein<BR><B>Sent:</B> Monday, 27 August 2007 7:13 PM<BR><B>To:</B> SAP Workflow
Users' Group<BR><B>Subject:</B> AW: Passing a multiline BOR Object to an ABAP OO
class<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2>Hi all,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2>seems i got it :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2>instead of :</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=655230909-27082007><FONT face=Arial
color=#0000ff size=2><!--StartFragment --><FONT size=3><FONT color=#000000><FONT
face="Times New Roman">
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
.L1S31 {
        COLOR: #808080; FONT-STYLE: italic
}
.L1S33 {
        COLOR: #4da619
}
.L1S52 {
        COLOR: #0000ff
}
</STYLE>
</FONT></FONT></FONT><SPAN> <SPAN
class=L1S52>constants</SPAN>:<BR> <SPAN
class=L1S52>Begin</SPAN> <SPAN
class=L1S52>of</SPAN> CO_BO_SOFM,<BR> instid <SPAN
class=L1S52>type</SPAN> sibfboriid <SPAN
class=L1S52>value</SPAN> <SPAN class=L1S52>is</SPAN> <SPAN
class=L1S52>initial</SPAN>,<BR> typid <SPAN
class=L1S52>type</SPAN> sibftypeid <SPAN
class=L1S52>value</SPAN> <SPAN
class=L1S33>'SOFM'</SPAN>,<BR> catid <SPAN
class=L1S52>type</SPAN> sibfcatid <SPAN
class=L1S52>value</SPAN> <SPAN
class=L1S33>'BO'</SPAN>,<BR> <SPAN
class=L1S52>end</SPAN> <SPAN
class=L1S52>of</SPAN> CO_BO_SOFM .</SPAN><FONT size=3><FONT
face="Times New Roman" color=#000000> </FONT></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><!--StartFragment -->
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
.L0S52 {
        COLOR: #0000ff
}
</STYLE>
<SPAN><SPAN
class=L0S52>class-methods</SPAN> BOR_HANDLER<BR> <SPAN
class=L0S52>importing</SPAN><BR> !BO_SOFM <SPAN
class=L0S52>type</SPAN> <FONT color=#0000ff>SIBFLPORB</FONT> <SPAN
class=L0S52>default</SPAN> ZCL_WF_BOR_HANDLER=>CO_BO_SOFM .</SPAN>
</DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><SPAN class=655230909-27082007>i just have to use:</SPAN></DIV>
<DIV><SPAN class=655230909-27082007></SPAN> </DIV>
<DIV><SPAN class=655230909-27082007><!--StartFragment --><FONT size=3><FONT
face="Times New Roman">
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
.L0S33 {
        COLOR: #4da619
}
.L0S52 {
        COLOR: #0000ff
}
</STYLE>
</FONT></FONT><SPAN><SPAN class=L0S52>data</SPAN>:<BR> <SPAN
class=L0S52>Begin</SPAN> <SPAN
class=L0S52>of</SPAN> CO_BO_SOFM_T,<BR> instid <SPAN
class=L0S52>type</SPAN> sibfboriid <SPAN
class=L0S52>value</SPAN> <SPAN class=L0S52>is</SPAN> <SPAN
class=L0S52>initial</SPAN>,<BR> typid <SPAN
class=L0S52>type</SPAN> sibftypeid <SPAN
class=L0S52>value</SPAN> <SPAN
class=L0S33>'SOFM'</SPAN>,<BR> catid <SPAN
class=L0S52>type</SPAN> sibfcatid <SPAN
class=L0S52>value</SPAN> <SPAN
class=L0S33>'BO'</SPAN>,<BR> <SPAN
class=L0S52>end</SPAN> <SPAN
class=L0S52>of</SPAN> CO_BO_SOFM_T .</SPAN><FONT
face="Times New Roman" size=3> </FONT></SPAN></DIV>
<DIV><SPAN class=655230909-27082007></SPAN> </DIV>
<DIV><SPAN class=655230909-27082007><!--StartFragment --><FONT size=3><FONT
face="Times New Roman">
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
.L1S52 {
        COLOR: #0000ff
}
</STYLE>
</FONT></FONT><SPAN> <SPAN
class=L1S52>constants</SPAN>:<BR> co_bo_sofm <SPAN
class=L1S52>like</SPAN> <SPAN class=L1S52>table</SPAN> <SPAN
class=L1S52>of</SPAN> co_bo_sofm_t <SPAN
class=L1S52>value</SPAN> <SPAN class=L1S52>is</SPAN> <SPAN
class=L1S52>initial</SPAN>.</SPAN><FONT face="Times New Roman" size=3>
</FONT></SPAN></DIV>
<DIV><SPAN class=655230909-27082007></SPAN> </DIV>
<DIV><SPAN class=655230909-27082007><!--StartFragment --><FONT size=3><FONT
face="Times New Roman">
<STYLE type=text/css>SPAN {
        FONT-SIZE: 10pt; BACKGROUND: #ffffff; COLOR: #000000; FONT-FAMILY: "Courier New"
}
.L1S52 {
        COLOR: #0000ff
}
</STYLE>
</FONT></FONT><SPAN> <SPAN class=L1S52>class</SPAN>-<SPAN
class=L1S52>methods</SPAN> BOR_HANDLER<BR> <SPAN
class=L1S52>importing</SPAN><BR> !BO_SOFM <SPAN
class=L1S52>type</SPAN> SIBFLPORBT <SPAN
class=L1S52>default</SPAN> ZCL_WF_BOR_HANDLER=>CO_BO_SOFM .</SPAN><FONT
face="Times New Roman" size=3> </FONT></SPAN></DIV>
<DIV><SPAN class=655230909-27082007></SPAN> </DIV>
<DIV><SPAN class=655230909-27082007></SPAN> </DIV>
<DIV><SPAN class=655230909-27082007>regards,</SPAN></DIV>
<DIV><SPAN class=655230909-27082007>Markus</SPAN></DIV>
<DIV align=left>
<DIV class=Section1>
<P style="tab-stops: 36.0pt" align=left><STRONG><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">____________________________________</SPAN></STRONG><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></P>
<P style="tab-stops: 36.0pt"><STRONG><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">Markus
Klein</SPAN></STRONG><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><BR></SPAN><EM><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">SAP Senior
Consultant</SPAN></EM><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial"><BR><BR><STRONG><SPAN
style="FONT-FAMILY: Arial">ABS Team GmbH</SPAN></STRONG></SPAN><B><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">Muehlenweg 65<BR>37120
Bovenden</SPAN><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></P>
<P><SPAN lang=EN-GB
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Tel
+49 551 820 33 0<BR>Mobil +49 151 126 23 047<BR>Email
klein@abs-team.de<o:p></o:p></SPAN></P>
<P><SPAN class=SpellE><B style="mso-bidi-font-weight: normal"><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">www.abs-team.de</SPAN></B></SPAN></P>
<P style="tab-stops: 36.0pt"><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'">Geschäftsführer:
Dr. Andreas Rupprecht - HRB Göttingen 1535</SPAN><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></P>
<P><SPAN
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt">Diese
e-mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche
Informationen enthalten. Sollten Sie diese <SPAN class=SpellE>e-mail</SPAN>
irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine
Vervielfältigung oder Weitergabe der <SPAN class=SpellE>e-mail</SPAN>
ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die
empfangene <SPAN class=SpellE>e-mail</SPAN> Vielen Dank.<o:p></o:p></SPAN></P>
<P><SPAN lang=EN-GB
style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt">This
e-mail may contain trade secrets or privileged, undisclosed or otherwise
confidential information. If you have received this e-mail in error, you are
hereby notified that any review, copying or distribution of it is strictly
prohibited. Please inform us immediately and destroy the original transmittal.
Thank you for your cooperation.<o:p></o:p></SPAN></P></DIV></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>Im Auftrag von </B>Markus
Klein<BR><B>Gesendet:</B> Montag, 27. August 2007 10:51<BR><B>An:</B> SAP
Workflow Users' Group<BR><B>Betreff:</B> Passing a multiline BOR Object to an
ABAP OO class<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007>Hello,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007>i have read Jocelyn's Blog about "Referencing BOR
objetcs in ABAP OO classes". Nice read. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007>My question is, how do i pass a multiline BOR object to
an ABAP OO class?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007>regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=562454708-27082007>Markus</SPAN></FONT></DIV></BODY></HTML>