Container element of type BAPIRETURN does not get set

Sample, Rick Rick.Sample at gbe.com
Wed Aug 1 11:39:33 EDT 2007


ok, you have data at point of method completion.
now, is your binding from your method to you task set and same type?
i.e. go to the Task, basic data tab down in the Object Method and check 
those binding there.

Rick Sample
SAP Business Workflow Developer
Graybar, Inc.

 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Dan Stoicof
Sent: Wednesday, August 01, 2007 9:25 AM
To: sap-wug at mit.edu
Subject: RE: Container element of type BAPIRETURN does not get set

The method is synchronous.  XXXXXX (in swc_set_TABLE container XXXXX) is
of type BAPIRETURN which is not a table, so I cannot use swc_set_TABLE).

>>> "Sample, Rick" <Rick.Sample at gbe.com> 8/1/2007 10:04 AM >>>
If you have BAPIRETURN as table, swc_get_TABLE container XXXXX?
Should be synchronous, Multiline, result parm as table all the way from
Method to task. 
Task should have element same data type.

Also, can only send back a Result parm in synchronous.

Rick Sample
SAP Business Workflow Developer
Graybar, Inc.



-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Dan Stoicof
Sent: Wednesday, August 01, 2007 8:01 AM
To: sap-wug at mit.edu
Subject: Re: Container element of type BAPIRETURN does not get set

I tried, as suggested, a different name . . . same result: both
container and parameter are blank after execution.

Regards,

Dan

>>> Mike Pokraka <asap at workflowconnections.com> 8/1/2007 6:16 AM >>>
Just a shot in the dark, but try naming it something else. "Return" is
too close to having other meanings.

On Tue, July 31, 2007 11:28 pm, Dan Stoicof wrote:
> Hello,
>
> I have defined a container element, "Return", of type BAPIRETURN.  
> Also, I created an export parameter with the same name and type.
>
> In my code I set it like this:
>
>   SWC_SET_ELEMENT CONTAINER 'Return' ls_return
>
>  . . . where ls_return is of the same type, BAPIRETURN.
>
> When I debug the code, ls_return has data in it (so technically my 
> container element should get the same value), but after execution, the

> parameter and the container element are blank.
>
> Is there something about BAPIRETURN that the SWC_SET_ELEMENT does not 
> like?
>
> Thanks!
>
> Dan Stoicof
> HopkinsOne Project
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


--
Mike Pokraka
Senior Consultant
Workflow Connections
Mobile: +44(0)7786 910855

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
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 


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu 
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





More information about the SAP-WUG mailing list