<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
 </head><body>
 
  <p>Hi Mike,<br /></p>
  <p><br /></p>
  <p>well yes ... and no ... I&#39;m currently using a workaround by calling the functional method through a background tasks, which is working fine.<br /></p>
  <p>Nevertheless the list of objects doesn&#39;t work with a container-like function-method.<br /></p>
  <p><br /></p>
  <p>I don&#39;t know, where you get it from, that the events are processed synchronously, keeping the instances alive without going through the persistency interface, because the SWW_WI_START_VIA_EVENT_IBF is transfers the event container through the XML-container, which has turned the instances through the LPOR-interfac, making them SIBLFPORB&#39;s (with B).<br /></p>
  <p><br /></p>
  <p>From there, the instances are picked up again and made unpersistent again, using a separate task. ... And the tRFC is always used on event processing, in order to change the user-context to WF-BATCH.<br /></p>
  <p><br /></p>
  <p>But aside from this, a parameter for a method call cannot hold currently a list of objects, regardless of how you specifiy them, and yes, ... the list is context-wise created, so I don&#39;t want to store them away just for a single-shot :-)<br /></p>
  <p><br /></p>
  <p>Thx for addressing that again, ... and there&#39;s no time here to create OSS-Messages, but maybe someone from the group likes to have some fun, chatting with the SAP Support about it :-)<br /></p>
  <p><br /></p>
  <p class="io-ox-signature">Mit freundlichen Gruessen / With kind regards<br /> Florin Wach<br /> Senior Workflow Engineer<br /> SAP Certified Development Associate for Workflow<br /><br />------------------------------​--------------------<br />http:​//www.​systems-integration.​net​</p>
  <blockquote type="cite">
   <p>Mike Pokraka &#60;wug@workflowconnections.com&#62; hat am 4. Mai 2015 um 14:11 geschrieben:<br /><br /><br />Hi Florin,<br /><br />Sorry about late reply, you&#39;ve probably solved this by now, but...<br /><br />OK, I wasn&#39;t aware that this was in an event binding. However it may still<br />work, as most instance linkage events are processed synchronously - this<br />is why your table of ref-to&#39;s works. I suspect it may break down under<br />heavy load when the system decides to shift stuff into TRFC.<br /><br />I would debug the error message too, and possibly raise it with OSS. This<br />should normally work, and the table approach as you have it would be my<br />choice too for an instance linkage.<br /><br />Of course, persisting a collection object is also easy if the data already<br />exists in the DB. An order header is basically a collection of items, so<br />the sam logic may apply? If on the other hand the data is completely<br />transient (e.g. something a user has just hilighted in a dialog), then<br />it&#39;s probably overkill to write that to the DB.<br /><br />Regards,<br />Mike<br /><br /><br />On Sun, April 26, 2015 9:14 pm, Florin Wach (SI) wrote:<br />&#62; Hi Mike,<br />&#62;<br />&#62; nice to hear from you again :-))))<br />&#62;<br />&#62;<br />&#62; Well, those objects &#226;€&#166; they come in as an event parameter for a wait<br />&#62; step, so there&#226;€™s some persistency in-between.<br />&#62;<br />&#62; &#226;€&#166; I didn&#226;€™t mean to create a persistency interface for a collection on<br />&#62; that time :-) &#226;€&#166; or do you have a more simple idea on that, too?<br />&#62;<br />&#62; Plan-B is, to create a background step instead of the container operation.<br />&#62; That&#226;€™ll work without refactoring on the current solution, too much.<br />&#62;<br />&#62;<br />&#62; With the very best wishes<br />&#62; Florin<br />&#62;<br />&#62;<br />&#62;<br />&#62; Mit freundlichen Gr&#195;&#188;&#195;Ÿen / With best regards<br />&#62; Florin Wach<br />&#62; Senior Workflow Engineer<br />&#62; Systems-Integration<br />&#62;<br />&#62; ----------------------------------------------------------------------<br />&#62; www.systems-integration.net &#60;http://www.systems-integration.net/&#62;<br />&#62;&#62; Am 23.04.2015 um 15:29 schrieb Mike Pokraka<br />&#62;&#62; &#60;wug@workflowconnections.com&#62;:<br />&#62;&#62;<br />&#62;&#62; Hi Florin,<br />&#62;&#62;<br />&#62;&#62; Why not use a collection object to hold the instances? Standard OO<br />&#62;&#62; pattern to do that sort of thing...<br />&#62;&#62;<br />&#62;&#62; Regards,<br />&#62;&#62; Mike<br />&#62;&#62;<br />&#62;&#62; On 23 Apr 2015, at 12:52, Florin Wach<br />&#62;&#62; &#60;florin.wach@systems-integration.net<br />&#62;&#62; &#60;mailto:florin.wach@systems-integration.net&#62;&#62; wrote:<br />&#62;&#62;<br />&#62;&#62; Dear wuggies,<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; I&#39;m somehwat stuck with a problem that didn&#39;t seem to any issue at all:<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; I&#39;ve a container elemente based an an ABAP Class, having checked<br />&#62;&#62; &#34;Multiline&#34; on.<br />&#62;&#62;<br />&#62;&#62; This is working fine, and I&#39;m using this list in the event type coupling<br />&#62;&#62; and in other steps.<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; Now, when I&#39;m defining a container operation, where one of the import<br />&#62;&#62; elements is a table of those class instances, i receive the error<br />&#62;&#62; &#34;Invalid value for parameter &#39;xyz&#39; (method ... )&#34;.<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; I doesn&#39;t work, when I declare the parameter as a table-type OF class,<br />&#62;&#62; nor does it work, declaring the type SIBFLPORT (which is the table-type<br />&#62;&#62; for SIBFLPOR).<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; I got another method, which is using the Table-Typ of type-ref-to and<br />&#62;&#62; which is called by a WORKITEM. And that works. There&#39;re no error given<br />&#62;&#62; that the type mismatches or ...<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; What&#39;s wrong with it?<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62;<br />&#62;&#62; Florin<br />&#62;&#62;<br />&#62;&#62; _______________________________________________<br />&#62;&#62; SAP-WUG mailing list<br />&#62;&#62; SAP-WUG@mit.edu &#60;mailto:SAP-WUG@mit.edu&#62;<br />&#62;&#62; http://mailman.mit.edu/mailman/listinfo/sap-wug<br />&#62;&#62; &#60;http://mailman.mit.edu/mailman/listinfo/sap-wug&#62;<br />&#62;&#62; _______________________________________________<br />&#62;&#62; SAP-WUG mailing list<br />&#62;&#62; SAP-WUG@mit.edu<br />&#62;&#62; http://mailman.mit.edu/mailman/listinfo/sap-wug<br />&#62;<br />&#62; _______________________________________________<br />&#62; SAP-WUG mailing list<br />&#62; SAP-WUG@mit.edu<br />&#62; http://mailman.mit.edu/mailman/listinfo/sap-wug<br />&#62;<br /><br />_______________________________________________<br />SAP-WUG mailing list<br />SAP-WUG@mit.edu<br />http://mailman.mit.edu/mailman/listinfo/sap-wug<br /></p>
  </blockquote>
 
</body></html>