<div>G'day Yifat,</div>
<div>&nbsp;</div>
<div>There have been a few responses that suggest you're working with a normal container when using this function but you're not. It's just a table of name/value pairs as you've indicated. I'm not sure that what I'm suggesting is best practice, but I've just done it in an ECC 
5.0 system and it seems to behave.</div>
<div>&nbsp;</div>
<div>DATA: LV_OBJ TYPE SWOTOOJID.</div>
<div>&nbsp;</div>
<div>LV_OBJ-OBJTYPE = 'BUS1065'.</div>
<div>LV_OBJ-OBJKEY = P0001-PERNR.&nbsp;&nbsp; (or where ever you have the PERNR stored)</div>
<div>&nbsp;</div>
<div>You can then set the container with&nbsp;name to be whatever you called the BUS1065 object in your flow container and the value to equal LV_OBJ. </div>
<div>&nbsp;</div>
<div>LV_OBJ does also have LOGSYS and DESCRIBE fields, but leaving these blank seems fine. </div>
<div>&nbsp;</div>
<div>Have fun,<br>Mark</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/26/06, <b class="gmail_sendername">Yifat Bar</b> &lt;<a href="mailto:YIFATB@il.ibm.com">YIFATB@il.ibm.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>hello!<br>i created a program using this FM<br>when using it i receive return code 2, eventogh<br>i didn't use the container table.
<br>when i tried to use the table by assigning the element name and the value<br>i keep getting this RC = 2.<br>since there is no event what do i have to do in order to pass the value of<br>the fields to WS CONTAINER.<br>
I used business object BUS1065 with subtype of the additional fields,<br>but they don't have any values.<br>how do i assign values to them through my program?<br><br>regards<br>yifat<br>Yifat Bar<br>Sap developer IBM<br>mail-:&nbsp;&nbsp; 
<a href="mailto:yifatb@il.ibm.com">yifatb@il.ibm.com</a><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">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br></blockquote></div><br>