2008 Nov 21 6:58 AM
hi,
In unicode i am getting the error while reading a table .
" The key of internal table "EDYNPRO" contains components of type "X" or
"XSTRING". The "READ TABLE EDYNPRO" statement is not permitted for such tables
in a Unicode context"
The EDYNPRO structure contains a filed a datatype RAW.
can anybody worked on unicode pls help me?
2008 Nov 21 7:50 AM
2008 Nov 21 7:59 AM
Hi Mohammed,
In unicode environment you cannot use X or XSTRING, Convert those elements of the structure as TYPE C.
For e.g.
BEGIN OF ABC,
VAR1 TYPE X,
VAR2 TYPE XSTRING,
END OF ABC.
Change it to:
BEGIN OF ABC,
VAR1 TYPE C,
VAR2 TYPE STRING,
END OF ABC.
Also you may have to use CL_ABAP_CHAR_UTILITIES, Please search in SDN with this class name.
Before Unicode Checks are Active.
DATA: wa_string(255) TYPE c.
CONSTANTS: con_tab TYPE x VALUE '09'.
*If the Unicode checks are active in program attributes then you have to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
Let me know if you need further info on this.
Thanks,
Sai
2008 Nov 21 12:46 PM
2008 Nov 21 12:49 PM
Hi Mohammed,
Please check if the data is getting populated correctly. I have faced some problems previously using field symbols.
Thanks,
Sai