Skip to Content
0
Former Member
Feb 23, 2011 at 03:08 PM

REG: Unicode Error "cannot be converted to a character-type field"

832 Views

Hi Friends,

I have executed the UCCHECK T Code and got the following error :

"GT1" cannot be converted to a character-type field.

The Code Syntax where i got the Error is as follows:

READ LINE sy-index
         FIELD VALUE gt1-markfield gt1.

gt_l is as follows:

TYPES: BEGIN OF gt_l,
       matnr    LIKE mara-matnr,
       werks LIKE mast-werks,
       stlnr LIKE mast-stlnr,
       stlal LIKE mast-stlal,
       maktx    LIKE makt-maktx,
       zztife   LIKE mara-zztife,
       zztpal   LIKE mara-zztpal,
       zztenf   LIKE mara-zztenf,
       zzcodb   LIKE mara-zzcodb,
       zzfeca   LIKE mara-zzfeca,
       zztext   LIKE mara-zztext,
       zzpmin   LIKE mara-zzpmin,
       zzpmax   LIKE mara-zzpmax,
       zzpume   LIKE mara-zzpume,
       zzepro   LIKE mara-zzepro,
       mhdhb    LIKE mara-mhdhb,
       dedes    LIKE zpp_esqprod-dedes,
       ztpald   LIKE makt-maktx,
       ztenfd   LIKE zpp_tipoenf-zdesc,
       markfield,
       END OF gt_l.

gt1 is as follows:

DATA: gt1   TYPE gt_l OCCURS 0 WITH HEADER LINE,

Can i get any advice in this regards or any way to resolve the Error.

Thanks and Regards

Srikanth