2008 Jan 23 3:10 PM
Hi All,
I got the following error in upgradation.
"C_DEL" must be a character-type data object (data type C, N, D, T or STRING) .
The code is like this.
data: v_string(1022), " String to read the data from
" the file
constants: C_DEL TYPE X VALUE '09', " Delimiter
split v_string at c_del into v_temp "Temporary subitem
v_cuname "component unit name
v_etcdata. " Extra data like #...
Please help me to fix this issue.
Thanks,
Naveen
2008 Jan 23 3:13 PM
Hi,
To avoid this problem dont declare any variable of type x, you can use CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB instead.
which means
split v_string at CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB into v_temp "Temporary subitem
v_cuname "component unit name
v_etcdata. " Extra data like #...
Hope this will solve your problem
Rgds,
Bujji
Hi Bujji,
Thanks for reply. It is working.
Naveen.
2008 Jan 23 3:13 PM
Hi,
To avoid this problem dont declare any variable of type x, you can use CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB instead.
which means
split v_string at CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB into v_temp "Temporary subitem
v_cuname "component unit name
v_etcdata. " Extra data like #...
Hope this will solve your problem
Rgds,
Bujji
2008 Jan 23 3:19 PM
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |