<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Microsoft Sans Serif";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Rick,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try putting elements in ascending
alphanumeric order within ac_container.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thomas Maue<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

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

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Mike Gambier<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 19, 2008
11:15 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Testing FM with
swc_get_element not getting my values in4.6cvia se37</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Very strange. I presume you have tried the usual 'Update
Navigation index' trick on the FM and activated it again just in case the
runtime version of the program you're testing is slightly different than that called
in the background?<br>
&nbsp;<br>
The only other thing I can think of is perhaps your role is properly
initialising the new element whereas your test script is merely passing a saved
string. Don't suppose your role is defaulting a value&nbsp;for the new element
is it?<br>
&nbsp;<br>
MGT<o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>

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

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>Subject: RE: Testing FM with
swc_get_element not getting my values in 4.6cvia se37<br>
Date: Thu, 19 Jun 2008 10:36:40 -0500<br>
From: Rick.Sample@graybar.com<br>
To: sap-wug@mit.edu<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>Nope!
Just passing in simple data types. No objects. And &quot;attempting&quot; to set
to simple data types. </span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>Tried,
swcont-value (since that is what they are in the container), tried simple
myvar(14) type c, tried the actual data type in Fm, </span></font></span><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>tried
upper/lower case and matched what was being passed in to name in the
swc_get_element.</span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>99%
of the time, I have no issues. This FM was working perfect until I add a new
container value initiator. Same type as my zlastagent. </span></font></span><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>Every
swc_get after the new addition gives me a sy-subrc 8. </span></font></span><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>I
created a brand new Test and added in all the elements one at a time. I
commented out ALL other code except the swc_get_element, and just does not get
the container values.</span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>As
I stated, I can see all my values in the ac_container. The are there and same
name with the values in the ac_container. swc_get_element just simple will not
get all my values in the test via se37. But, when I call the FM via roles res
in task, it gets all just fine. </span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>Just
not in the Test option in SE37. </span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=ec221572615-19062008><font size=2
face="Microsoft Sans Serif"><span style='font-size:10.0pt;font-family:"Microsoft Sans Serif"'>Very
aggravating!</span></font></span><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>

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

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Mike Gambier<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 19, 2008
10:00 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Testing FM with
swc_get_element not getting my values in 4.6cvia se37<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>Just a thought Rick but if your
element values are actually object instance keys (which judging&nbsp;by their
names they probably are) are you sure there's not something dodgy going on with
your delegated objects and their internal buffering? Perhaps the sy-subrc
8&nbsp;is crawling out of their existence check methods...<br>
&nbsp;<br>
Or, maybe the keys are case-sensitive whereas the Test Variant has converted
your entries to UPPER case without you realising it? That has happened to me
nefore when messing around with keys based on GUIDs.<br>
&nbsp;<br>
Mike GT<br>
<br>
&gt; Subject: Testing FM with swc_get_element not getting my values in 4.6c via
se37<br>
&gt; Date: Thu, 19 Jun 2008 09:45:18 -0500<br>
&gt; From: Rick.Sample@graybar.com<br>
&gt; To: Rick.Sample@graybar.com; sap-wug@mit.edu<br>
&gt; <br>
&gt; In 4.6c, I have a FM and I am passing in 6 elements via the<br>
&gt; ac_container.<br>
&gt; Every great once and a while, I can not get all my elements no matter<br>
&gt; what data type I assign.<br>
&gt; <br>
&gt; I add my values in the correct order via the &quot;Test Data
Directory&quot;.<br>
&gt; I do my gets in same order. (again, no matter what order, data type,<br>
&gt; etc.)<br>
&gt; <br>
&gt; Like so, <br>
&gt; swc_get_element ac_container 'ZPONUMBER' l_po_num_in.<br>
&gt; swc_get_element ac_container 'ZLASTAGENT' zlastagent.<br>
&gt; swc_get_element ac_container 'ZINITIATOR' zinitiator.<br>
&gt; swc_get_element ac_container 'ZROLERESERROR' zrolereserror.<br>
&gt; <br>
&gt; The second two elements in the container sy-subrc 8 on swc_get_element <br>
&gt; even though I look at the container and see them in the container. <br>
&gt; <br>
&gt; Anyone have ideas? And I mean anyone with any far fetched ideas. <br>
&gt; This is getting VERY annoying!!!<br>
&gt; <br>
&gt; Rick Sample<br>
&gt; SAP Business Workflow Developer<br>
&gt; Graybar, Inc.<br>
&gt; <st1:Street w:st="on"><st1:address w:st="on">11885 Lackland Dr</st1:address></st1:Street>.<br>
&gt; <st1:place w:st="on"><st1:City w:st="on">St. Louis</st1:City>, <st1:State
 w:st="on">MO.</st1:State> <st1:PostalCode w:st="on">63146</st1:PostalCode></st1:place><br>
&gt; 314-573-5822<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
<o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>

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

</span></font></div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Miss your Messenger buddies when on-the-go? <a
href="http://clk.atdmt.com/UKM/go/msnnkmgl0010000001ukm/direct/01/"
target="_blank">Get Messenger on your Mobile!</a> <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>

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

</span></font></div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Miss your Messenger buddies when on-the-go? <a
href="http://clk.atdmt.com/UKM/go/msnnkmgl0010000001ukm/direct/01/"
target="_new">Get Messenger on your Mobile!</a><o:p></o:p></span></font></p>

</div>

</body>

</html>

<HTML><BODY><P><hr size=1></P>
<P><STRONG>
This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
</STRONG></P></BODY></HTML>