i have written below code.
IF NOT it_final_itab[] IS INITIAL.
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
IF sy-subrc NE 0.
MESSAGE 'Error on output file read' TYPE 'E'.
ELSE.
LOOP AT it_final_itab INTO wa_final_itab.
TRANSFER wa_final_itab TO p_file.
ENDLOOP.
CLOSE DATASET p_file.
ENDIF.
ENDIF.
when i am executing i am getting following error dump
Only character-type data objects are supported at the argument
position "f" for the statement
"TRANSFER f TO ...".
In this case, the operand "f" has the non-character-type "ST_FINAL_ITAB". The
current program is flagged as a Unicode program. In the Unicode context,
type X fields are seen as non-character-type, as are structures that
contain non-character-type components.
kindly help me on this.