Skip to Content
0
Jul 05, 2006 at 09:09 AM

syntax of FIND command ?

2170 Views

Hi

During upgrade to WAS 7.0 I have to convert a SEARCH command to a FIND command.

int_edidd is a standard tabel.

Old:

SEARCH int_edidd FOR 'E1EDK04'.

New:

DATA: l_segment TYPE STRING VALUE 'E1EDK04'.

FIND FIRST OCCURRENCE OF l_segment IN TABLE int_edidd

MATCH LINE sy-tabix.

Syntax error:

Als Zeilentyp der Tabelle "INT_EDIDD" wurde im CHAR MODE ein zeichenartiges bzw. im BYTE MODE ein byteartiges Feld erwartet.

What is wrong ? Is it a unicode problem ?

best regards

Thomas Madsen Nielsen