Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unicoding problem

Former Member
0 Likes
750

i had a requirement.

Data delivered by mainframe host are read and processed by the above report.

Inputfile could not be read caused by incorrect character encoding.

Data are stored in EBCDIC on the mainframe host and cannot be delivered using UTF-8, only as ISO8859 15 (Latin 9).

following report needs to be changed:

ZDE_ITELLIUM_EINGANG

These reports read files from the application server or write to it as well as using GUI_UPLOAD or GUI_DOWNLOAD.

In each case an encoding option has to be used.

In this context we need SAP-encoding 1164 which is ISO8859-15 (Latin-9).

Please use SPACE as replacement character in case of conversion errors.

We recommend to add a new Parameter for the encoding on the selection-screen.

what needs to be done in the above case

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
613

Hi!

Try this go to se80 put your program name and enter goto attributes check/uncked 'Unicode checks active'

4 REPLIES 4
Read only

Former Member
0 Likes
613

You have been given all the information required, even the exact codepage is given, what problem are you facing in using this codepage?

Read only

Former Member
0 Likes
613

OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. ( deleted )

OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS. ( added )

GUI_UPLOAD / GUI_DOWNLOAD

CODEPAGE should be '1164' instead of SPACE.

Please reply ASAP.

Thanks

Read only

0 Likes
613

You have a code page parameter in GUI_UPLOAD and GUI_DOWNLOAD. Mention the codepage 1164 in that. Even in OPEN DATASET statement you have the code page addition in that. Hit F1 on OPEN DATASET and check the syntax

Read only

Former Member
0 Likes
614

Hi!

Try this go to se80 put your program name and enter goto attributes check/uncked 'Unicode checks active'