05-12-2014 3:19 PM
hello,
i have one string : lt_str TYPE STANDARD TABLE OF string.
And there is one structure as:
begin of ty_data
field1
field2
field 3
end of ty_data.
* table declaration:
gt_data TYPE STANDARD TABLE OF ty_data WITH HEADER LINE.
In old ECC we have write like gt_data = lt_str. Now we are shifting it to new version but it is not working in ECC 6.0.It is giving unicode error regarding conversion.
In our case there are many structure like ty_data but we want unique solution to gt_data = lt_str.
so how can i do it?
05-12-2014 3:25 PM
Hi Tushar,
Please refer below link for all commoun Unicode conversion error.
http://wiki.scn.sap.com/wiki/display/SI/UCCHECK+(Unicode+Complaince)+-+Common+Errors+and+Solutions
Move string to Structure:
call method cl_abap_container_utilities=>read_container_c
exporting
im_ container = data_string
importing
ex_ value = struc_umsetz
exceptions
illegal_parameter_type = 1
others = 2.
Regrads,
Jyoti Singh