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

UC_OBJECTS_NOT_CONVERTIBLE Error

mayank_agarwal7
Explorer
0 Likes
1,502

Hi All,

I am getting the following dump.

UC_OBJECTS_NOT_CONVERTIBLE

I am trying to move the contents of the field symbol to a varibale of type char1024 or type of string.

Is there any way I can move the entire contents of the Field-symbol to string?

Note:- Its a Unicode system

Field symbol is a dynamic work area

Any help on this will be rewarded.

Thanks & Regards,

Mayank agarwal

5 REPLIES 5
Read only

Former Member
0 Likes
986

Show us what you have tried and please check the forum rules once. Phrases such as "Any help on this will be rewarded." are prohibited.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
986

Can you share your code ?

Read only

0 Likes
986

Below is the code:-

FIELD-SYMBOLS:

<fs_all_data> TYPE ANY TABLE,

<fs_wa_all_data> TYPE ANY.

DATA:

l_string TYPE string.

(wa_tables-tabname) - is any table name.

SELECT *

INTO TABLE <fs_all_data>

FROM (wa_tables-tabname).

IF sy-subrc EQ 0.

LOOP AT <fs_all_data> ASSIGNING <fs_wa_all_data>.

move <fs_wa_all_data> to l_string.

ENDLOOP.

ENDIF.

Here i want to move the Field symbol to a variable of type string.

I am getting UC_OBJECTS_NOT_CONVERTIBLE dump.

Edited by: Mayank Agarwal on Apr 26, 2010 2:15 PM

Read only

0 Likes
986

Any updates plz?

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
986

Hello,

This is because in a Unicode environment the types I, P, F cannot be converted to string. I feel the structure must have components which cannot be converted to string.

Anyways why do you want to move the field-symbol to a string variable?

BR,

Suhas