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

Explain why READ DATASET conversion from codepage '4110' to codepage '4102'

Former Member
0 Likes
975

I am unfamiliar with unicode but I am trying to solve a problem in an ABAP program.

Our code is

OPEN DATA p_in FOR INPUT IN TEXT MODE ENCODING DEFAULT.

DO.

READ DATASET p_in INTO i_tab.

The program gives me the error 'At the conversion of a text from codepage '4110' to codepage '4102'. The program abends on a line in the file that contains the special character '#'.

Does this mean that the file I am reading is in codepage '4110' and the internal format of i_tab is codepage '4102'? If so, how do the codepages get assigned to unix files and internal structures How can I make the both codepage '4110' or codepage '4102'? Also, what is the difference between these two codepages?

thanks.

Ryan

My

2 REPLIES 2
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
571

Hi,

Declare

data G_DELIM TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.

Do the process as required if i_tab contains g_delim.

Read only

former_member194669
Active Contributor
0 Likes
571

Hi,

Use


open dataset DSN in text mode for input encoding utf-8.