Problem: A table of Workflow Objects (ABAP OO) to be passed as parameter (importing / returning)

Florin Wach (SI) florin.wach at systems-integration.net
Sun Apr 26 16:14:25 EDT 2015


Hi Mike,

nice to hear from you again :-))))


Well, those objects … they come in as an event parameter for a wait step, so there’s some persistency in-between.

… I didn’t mean to create a persistency interface for a collection on that time :-)  … or do you have a more simple idea on that, too?

Plan-B is, to create a background step instead of the container operation. That’ll work without refactoring on the current solution, too much.


With the very best wishes
   Florin



Mit freundlichen Grüßen / With best regards
   Florin Wach
   Senior Workflow Engineer
   Systems-Integration

----------------------------------------------------------------------
www.systems-integration.net <http://www.systems-integration.net/>
> Am 23.04.2015 um 15:29 schrieb Mike Pokraka <wug at workflowconnections.com>:
> 
> Hi Florin, 
> 
> Why not use a collection object to hold the instances? Standard OO pattern to do that sort of thing...
> 
> Regards, 
> Mike
> 
> On 23 Apr 2015, at 12:52, Florin Wach <florin.wach at systems-integration.net <mailto:florin.wach at systems-integration.net>> wrote:
> 
> Dear wuggies,
> 
> 
> 
> I'm somehwat stuck with a problem that didn't seem to any issue at all:
> 
> 
> 
> I've a container elemente based an an ABAP Class, having checked "Multiline" on.
> 
> This is working fine, and I'm using this list in the event type coupling and in other steps.
> 
> 
> 
> Now, when I'm defining a container operation, where one of the import elements is a table of those class instances, i receive the error "Invalid value for parameter 'xyz' (method ... )".
> 
> 
> 
> I doesn't work, when I declare the parameter as a table-type OF class, nor does it work, declaring the type SIBFLPORT (which is the table-type for SIBFLPOR).
> 
> 
> 
> 
> 
> I got another method, which is using the Table-Typ of type-ref-to and which is called by a WORKITEM. And that works. There're no error given that the type mismatches or ... 
> 
> 
> 
> What's wrong with it?
> 
> 
> 
> Florin
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu <mailto:SAP-WUG at mit.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug <http://mailman.mit.edu/mailman/listinfo/sap-wug>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20150426/4acbe8e6/attachment.htm


More information about the SAP-WUG mailing list