2010 Apr 26 12:42 PM
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
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.
2010 Apr 26 12:44 PM
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.
2010 Apr 26 12:45 PM
2010 Apr 26 1:03 PM
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
2010 Apr 26 6:25 PM
2010 Apr 26 6:57 PM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |