2010 Nov 12 1:04 PM
Hi,
i need to convert the internal table into unicode big endian format file and save it in a directory.
i have given
OPEN DATASET W_file FOR OUTPUT IN LEGACY TEXT MODE BIG ENDIAN IGNORING CONVERSION ERRORS.in the w_file i have data .
but when i download this from the application server the format is ansii.
can any one help me in this?
Thanks,
Narmadha M.
Hi,
i need to convert the internal table into unicode big endian format file and save it in a directory.
i have given
OPEN DATASET W_file FOR OUTPUT IN LEGACY TEXT MODE BIG ENDIAN IGNORING CONVERSION ERRORS.in the w_file i have data .
but when i download this from the application server the format is ansii.
can any one help me in this?
Thanks,
Narmadha M.
2010 Nov 16 7:46 AM
Hi,
I have used this func module.
CALL FUNCTION 'SCMS_TEXT_TO_XSTRING'
EXPORTING
* FIRST_LINE = 0
* LAST_LINE = 0
* MIMETYPE = ' '
ENCODING = '4103'
IMPORTING
BUFFER = w_test
TABLES
TEXT_TAB = i_buffer_new1
* EXCEPTIONS
* FAILED = 1
* OTHERS = 2
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.now i am getting in utf-8 format.
but i need it in unicode big endian format..
can i use this class CL_ABAP_CONV_X2X_CE???
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |