Hi,
I'm not sure what your question is.. the RFC code you've shown here looks fine; it builds a table ET_RETURN which has the structure BAPIRET2_TAB.
It would seem you need to do some work on the receiving side, in the external system.
cheers
Paul