<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 http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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 link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>Resolved.
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>Yea,
we need to change to WAPI &#8230; when we get to it or must change it. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>This
was code written in 2002. Our intro into the world of SAP. So a lot of code
could be revisited if you know what mean. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>Findings:
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>I
believe a service pack upgrade flipped on the uni-code check option for an old
4.6c created BOR object. No matter what changed it, we now must address it. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>I
tested the SAP FM in a Local Object (i.e. in a Y test FM) with/without unicode
option turned on.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>-
When &quot;Unicode checks active&quot; option not checked, the runtime does not
abort.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>-
When &quot;Unicode checks active&quot; option is checked, the runtime aborts. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>So,
we have the option to change this to unicode and swap in WAPI calls vs. SWW*.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>Thanks,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'>Rick<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

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

<div>

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

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
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>priyank
dev<br>
<b>Sent:</b> Tuesday, October 05, 2010 2:16 AM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> Re: Short dumps on old FM with obsolete parms<o:p></o:p></span></p>

</div>

</div>

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

<div>

<p class=MsoNormal>Rick,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; why dont you try
with SAP_WAPI* Fm's.Hope this may help you.Most of the time the former
FM's(SWW*) wont work as expected.<o:p></o:p></p>

</div>

<div>

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

</div>

<div>

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

</div>

<div>

<p class=MsoNormal>Regards,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Priyank<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>On Mon, Oct 4, 2010 at 8:33 PM, Sample, Rick &lt;<a
href="mailto:Rick.Sample@graybar.com">Rick.Sample@graybar.com</a>&gt; wrote:<o:p></o:p></p>

<p class=MsoNormal>Hi folks,<br>
<br>
I have an old FM calling SWW_WI_CONTAINER_READ with an old obsolete parm that
is now getting short dumps.<br>
<br>
CALL FUNCTION 'SWW_WI_CONTAINER_READ'<br>
&nbsp;EXPORTING<br>
&nbsp; &nbsp;wi_id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;= l_activewi_id<br>
&nbsp; &nbsp;read_for_update &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 'X'<br>
&nbsp;TABLES<br>
&nbsp; &nbsp;wi_container &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = container<br>
&nbsp;EXCEPTIONS<br>
&nbsp; &nbsp;container_does_not_exist = 1<br>
&nbsp; &nbsp;OTHERS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; = 2.<br>
<br>
SWW_WI_CONTAINER_READ used to have this export parameter called:<br>
&quot;read_for_update&quot; (no longer used and obviously not for a long time
but never caused issues)<br>
The FM compiles without warning, but does show as error in SLIN. When it was
written, was not an issue.<br>
<br>
Now, we are in ECC6 for few years, and did a service pack upgrade over the
weekend. (Gathering details on exactly what moved up)<br>
<br>
Is there some option that could have been turned on stronger checks on
something like the FM interfaces?<br>
<br>
Thanks,<br>
Rick<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Adios,<br>
PRIYANK DEV PATIL<o:p></o:p></p>

</div>

</div>

</body>

</html>