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

UCCHECK

Former Member
0 Likes
398

hello every body

i need a HELP

pleas

after starting UCCHECK

i get for a Programm the flowing Message (GT_KNA1 cannot be converted to a charachter-type field.)

DATA:

GT_KNA1 LIKE KNA1 OCCURS 1000 WITH HEADER LINE,

GT_KNA1_OLD LIKE KNA1 OCCURS 1000 WITH HEADER LINE,

.

LOOP AT GT_KNA1.

READ TABLE GT_KNA1_OLD WITH KEY KUNNR = GT_KNA1-KUNNR.

IF GT_KNA1 = GT_KNA1_OLD.

DELETE GT_KNA1.

ELSE.

WRITE / GT_KNA1.

WRITE / GT_KNA1_OLD.

ULINE.

ENDIF.

ENDLOOP.

what can i do

hello every body

i need a HELP

pleas

after starting UCCHECK

i get for a Programm the flowing Message (GT_KNA1 cannot be converted to a charachter-type field.)

DATA:

GT_KNA1 LIKE KNA1 OCCURS 1000 WITH HEADER LINE,

GT_KNA1_OLD LIKE KNA1 OCCURS 1000 WITH HEADER LINE,

.

LOOP AT GT_KNA1.

READ TABLE GT_KNA1_OLD WITH KEY KUNNR = GT_KNA1-KUNNR.

IF GT_KNA1 = GT_KNA1_OLD.

DELETE GT_KNA1.

ELSE.

WRITE / GT_KNA1.

WRITE / GT_KNA1_OLD.

ULINE.

ENDIF.

ENDLOOP.

what can i do

1 REPLY 1
Read only

Former Member
0 Likes
365

Hi Zouhair

The problem is with the WRITE statement. In Unicode Enabled systems, we can not write the STRUCTURE or WA directly to the screen. To avoid, we have to explicitly write field by field. Make use of field-symbols to make things simpler.

Kind Regards

Eswar