2007 Jun 26 3:36 AM
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
2007 Jun 26 3:41 AM
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.
2007 Jun 26 4:14 AM
Hi,
Use
open dataset DSN in text mode for input encoding utf-8.
a®