<!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:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR><!--[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 name="Street" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="State" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="PostalCode" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="City" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="address" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[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 vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>Thomas,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>Yep! That was it. I figured it out and was 
replying that I resolved it myself. But then </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>I seen your e-mail. (I will give you 2 points 
anyway for the quick reply!)&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>I _knew_ it was something funky and I should 
have&nbsp;figured it out earlier. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>I&nbsp;JUST told a&nbsp;wug'r here not more 
than 2 days ago that the BEFORE/AFTER methods also execute </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>in 'Alpha' order. Not the order in entered in 
the tabs! (Me thinks this is DUMB!)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><FONT 
face="Microsoft Sans Serif" size=2>Thanks all,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=920242017-19062008><!-- Converted from text/plain format -->
<P><FONT size=2>Rick Sample<BR>SAP Business Workflow Developer<BR>Graybar, 
Inc.<BR></FONT></SPAN><BR></P></DIV>
<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>Maue, 
Thomas<BR><B>Sent:</B> Thursday, June 19, 2008 11:51 AM<BR><B>To:</B> SAP 
Workflow Users' Group<BR><B>Subject:</B> RE: Testing FM with swc_get_element not 
getting my valuesin4.6cvia se37<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Rick,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Try putting elements in 
ascending alphanumeric order within ac_container.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thomas 
Maue<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; 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 style="TEXT-ALIGN: center" align=center><FONT face=Tahoma 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; 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 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Microsoft Sans Serif'">Nope! Just passing 
in simple data types. No objects. And "attempting" to set to simple data types. 
</SPAN></FONT></SPAN><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Tahoma 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Tahoma 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Microsoft Sans Serif'">Every swc_get after 
the new addition gives me a sy-subrc 8. </SPAN></FONT></SPAN><FONT face=Tahoma 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Microsoft Sans Serif'">Just not in the 
Test option in SE37. </SPAN></FONT></SPAN><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=ec221572615-19062008><FONT 
face="Microsoft Sans Serif" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Microsoft Sans Serif'">Very 
aggravating!</SPAN></FONT></SPAN><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Tahoma 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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: 12pt"><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; 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 "Test Data 
Directory".<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 style="TEXT-ALIGN: center" align=center><FONT face=Tahoma 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face=Tahoma 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT face=Tahoma size=2><SPAN 
style="FONT-SIZE: 10pt; 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>
<P>
<HR SIZE=1>

<P></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>