‎2008 Jan 30 12:24 PM
HI,
Iam geeting error in ECC 6.0 saying that wa_return CANNOT BE a reference or reference type.
below is the code, plz recitfy this.
data : Wa_RETURN TYPE ssfcrescl
EXPORT output_data = wa_return
TO MEMORY ID 'ZL_OTF_TABLE'.
regards
Parthu
‎2008 Jan 30 12:33 PM
Hi,
Try assigning a default value to the wa.
Regards,
Renjith Michael.
‎2008 Jan 30 12:42 PM
AFAIK you are not allowed to EXPORT object or data references. I. e. fields like these cannot be EXPORTed:
DATA:
lr_dref TYPE REF TO data,
lr_iref TYPE REF TO if_ixml_document,
lr_oref TYPE REF TO cl_abap_runtime.The structure type you are referencing with your work area, contains a component carrying an interface reference:
SSFCRESCL-XMLOUTPUT-XSFDOCPTR, and XSFDOCPTR is of type IF_IXML_DOCUMENT, unfortunately
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jan 30, 2008 5:25 PM
‎2008 Jan 30 12:51 PM
Pls Try,
data : Wa_RETURN TYPE table of ssfcrescl.
EXPORT ( wa_return)
TO MEMORY ID 'ZL_OTF_TABLE'.
(append values to Wa_RETURN )