Yen Symbol Not Displayed Correctly in Text
I am trying to create a text file in the application server using the command "OPEN DATASET IN TEXT MODE", which I am able to do so far. The data to be transferred to the text file contains the Yen Symbol: ¥ or ALT+0165. The symbol is being displayed correctly in SAP, but when I open the text file created my notepad is only displaying a small box or dot:
but when I try to manually type the yen symbol on the notepad I am able to do it correctly! For additional this is the code snippet in question:
LOOP AT i_tag INTO wa_tag. ls_tag = wa_tag. AT NEW grouping. CLEAR v_path. *--- define and open file path for file group CONCATENATE ls_tag-pathextern ls_tag-file INTO v_path. OPEN DATASET v_path FOR OUTPUT IN TEXT MODE. IF sy-subrc <> 0. CLOSE DATASET v_path. CLEAR v_path. ENDIF. ENDAT. CHECK NOT v_path IS INITIAL. PERFORM: prepare_file_data, prepare_file_line CHANGING v_line. IF NOT v_line IS INITIAL AND wa_tag-tag_menge > 0. DO wa_tag-tag_menge TIMES. TRANSFER v_line TO v_path. ENDDO. ENDIF. AT END OF grouping. CLOSE DATASET v_path. CLEAR i_filenames. i_filenames-file = ls_tag-file. APPEND i_filenames. ENDAT. ENDLOOP.
is there any additional preparation i need to transfer the yen symbol properly? By the way the system is 4.6c.
Thanks in advance!