Skip to Content
0
Former Member
May 14, 2008 at 05:07 PM

File transfer in unicode system

513 Views

Experts,

Could anyone validate if the below code is unicode compliant? The system used is a unicode system.

PARAMETERS: p_file LIKE rlgrap-filename.

DATA: BEGIN OF table OCCURS 100,

matnr LIKE vbap-matnr,

arktx LIKE vbap-arktx,

datum(8) TYPE c,

END OF table.

OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

LOOP AT table.

TRANSFER table TO p_file.

CLEAR table.

ENDLOOP.

CLOSE DATASET p_file.

Material texts are not appearing ok in the target system.

Thanks,

UV