Actually I am using it_return in loop for getting messages.
LOOP AT it_return INTO wa_return .
wa_message = wa_return.
APPEND wa_message to it_message.
clear wa_message.
ENDLOOP.
so in your case the system will fire an error of header line.
I dont know but the declaration is correct though the runtime error is generated.