Method parameter issue
Ramki Maley
rmaley at erpworkflow.com
Wed Jul 8 16:15:47 EDT 2015
Hi Dan,
I have done something similar in OO-ABAP context. I used the table type
SIBFLPORBT to hold my BOR object references as an attribute of a custom
class. It might work in a BOR context as well.
Cheers,
Ramki.
On 7/8/15, 1:42 PM, Dan Stoicof wrote:
> Hello,
> I have an issue getting parameter data into and out of a method.
> I have a workflow container defined as type object (BUS2009) -
> multiline. It contains a list of Purchase Requisition objects.
> I wrote a method that takes this container "in" for processing. The
> parameter definition for this container is "Import/Multiline and of
> reference type "Object Type" (BUS2009).
> In the method, the data definition for the container is of type
> swc_object.
> Here is the issue I'm facing: when I test run the method, when the
> parameter comes up (supposedly for data entry) it is not modifiable.
> It actually has a value of zero, as if it is the result of an output
> parameter. More, this parameter does not looks as if it's defined as
> multiline (with the "multiline icon").
> On the same line, I have defined an output parameter using the exact
> same criteria. I populate this parameter in the method. Upon
> testing, this parameter displays the multiline icon, but it's always
> empty, even though I populate it with data using the SWC_SET_TABLE
> CONTAINER macro.
> So, it seems I cannot input a table of objects and I cannot output a
> table of objects.
> Any suggestions on what I'm doing wrong?
> Thanks and Best Regards,
> Dan Stoicof
>
>
> _______________________________________________
> 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/20150708/d1c0b373/attachment.htm
More information about the SAP-WUG
mailing list