Folks,
I need to pass a table that is of type LISTZEILE to a subroutine.
form mytest using myTable LIKE LISTZEILE.
loop at myTable.
write: / myTable.
endloop.
endform.
Syntax checker flags this declaration as an error. Can someone please suggest me the right way to declare this?
Just some background info. This subroutine is invoked from a custom RFC:
FUNCTION Z_MYRFC.
*"----
""Local Interface:
*" IMPORTING
blah
*" EXPORTING
blah
*" TABLES
*" RETURNTABLE STRUCTURE LISTZEILE
*"----
perform MyTest using returntable.
blah.
endfunction.
Thank you in advance for your help.
Regards,
Peter