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

Data issue in Unicode system

Former Member
0 Likes
425

Hi All,

We have recently upgraded client system from 4.6C to ECC 6.0 unicode system.

My program is reading a file from application server. This file contains the name and addresses of vendors. The address has a field '#' in it.

When we try to execute the statement 'READ DATASET filename INTO itab', it is giving a dump.

If we remove the character '#' from the data, the READ DATASET is successful.

But it is not possible to remove # form such a large data.

I want to know that is there any system by which we can read the special character # in unicpde system without dump.

regards,

Gaurav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
399

Hi Gaurav,

  1. may represent horizontal tab (CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB) or a carriage return (CL_ABAP_CHAR_UTILITIES=>CR_LF).

Thanks,

M

2 REPLIES 2
Read only

Former Member
0 Likes
399

DATA: BEGIN OF fs_input,

data(500) TYPE c.

DATA: END OF fs_input.

Read into fs_input and after that move data into your structure

Read only

Former Member
0 Likes
400

Hi Gaurav,

  1. may represent horizontal tab (CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB) or a carriage return (CL_ABAP_CHAR_UTILITIES=>CR_LF).

Thanks,

M