<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html 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" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>ABAP Objects can make use of strings, and xml containers don&#8217;t
live in SWCONT. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Come join us in the 21<sup>st</sup> century :-)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Mike Gambier<br>
<b>Sent:</b> 21 November 2008 16:01<br>
<b>To:</b> sap-wug@mit.edu<br>
<b>Subject:</b> RE: SWCONT's limitations with long values...<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>Apologies for the spam :P<br>
&nbsp;<br>
So, OK it decomposes the structures element by element (but only up to 255
chars for each). Hence a container becomes quite full of 'sub' elements
belonging to the parent element.<br>
&nbsp;<br>
I think I knew this...been a while since I've neeeded to care about it XD<br>
&nbsp;<br>
But...I still don't think this is&nbsp;ideal where the parameter will be
extended a lot...<br>
&nbsp;<br>
I know that&nbsp;I can pass a multi-line table based on SWCONT into an
SWCONT-based container (so setting a container into a container as a table), so
I'm leaning towards suggesting an unstructured 'table of elements + values'
instead of a complex structure...<br>
<br>
Pity BoR can't cope with ABAP_PARMBIND though...<br>
&nbsp;<br>
MGT<o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center id=stopSpelling>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><br>
From: madgambler@hotmail.com<br>
To: sap-wug@mit.edu<br>
Subject: RE: SWCONT's limitations with long values...<br>
Date: Fri, 21 Nov 2008 15:40:37 +0000<br>
<br>
Hi again,<br>
&nbsp;<br>
I forgot to mention that the example they provide where an importing parameter
structure is already longer than 255 is BoR Object Method
ISUCONTRCT.ChangeFromData where parameter ContractData is based on
BAPIISUCONTRACT which is 386 chars long in our system.<br>
&nbsp;<br>
So, it must be able to cope somehow...presumably if I could be bothered to
debug it I'd find out how&nbsp;;)<br>
&nbsp;<br>
MGT<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center id="EC_stopSpelling">

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><br>
<br>
From: madgambler@hotmail.com<br>
To: sap-wug@mit.edu<br>
Subject: SWCONT's limitations with long values...<br>
Date: Fri, 21 Nov 2008 15:30:31 +0000<br>
<br>
<br>
<o:p></o:p></span></p>

<div>

<p class=MsoNormal>Hi,<span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal>I'm trying to convince SAP that using a
really&nbsp;long&nbsp;structure-based single line&nbsp;importing&nbsp;parameter
for a BApI,&nbsp;that might&nbsp;grow and grow, isn't a smart idea because
SWCONT is limited to 255 chars. My fear is that we'll hit some sort of limit
somewhere which will cause problems, whether that will be in BoR elsewhere like
a BAdI.<span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal>They've come back and said that swc* macros can cope with
longer strings at runtime and no truncation will result. Personally I'm not
convinced and can only assume that the SAP code flicks into set/get table mode
to cope somehwere, but I can't seem to find where..does anyone here know
whether it can do this and how?<span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal>Regardless of their suggested approach, I want to try and
impress upon them that a nested unstructured approach is more suitable to our
needs and something more akin to SAP's Master Data Generator table EPRODA
(which assigns a type definition to an element) has more of a future in our
system. <span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal>But they're being a bit stubborn about this and any
ammuntion from the WUG about pitfalls when using long parameter definitions
like this would be useful.<span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal>Thanks in advance,<span style='font-size:10.0pt;font-family:
"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal>Mike GT<span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>BigSnapSearch.com
- 24 prizes a day, every day. <a
href="http://clk.atdmt.com/UKM/go/117442309/direct/01/">Search now</a><o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Win
£1000 John Lewis shopping sprees with BigSnapSearch.com <a
href="http://clk.atdmt.com/UKM/go/117442309/direct/01/">Search now</a><o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Get
the best wallpapers on the Web - FREE. <a
href="http://wallpapers.msn.com/?ocid=%5bB001MSN42A0716B%5d" target="_new">Click
here!</a><o:p></o:p></span></p>

</div>

</div>

</body>

</html>