Skip to Content
0
Former Member
Sep 07, 2009 at 09:57 AM

dump when trying to update the itab " TABLE_ILLEGAL_STATEMENT"

191 Views

Hi all,

When i try to update an internal table i get the dump TABLE_ILLEGAL_STATEMENT.

My code is as below:

read table l_fieldcat with key fieldname = 'CCARD1' into wa_fieldcat.

wa_fieldcat-seltext_M = 'Credit Card 1'.

wa_fieldcat-seltext_l = 'Credit Card 1'.

wa_fieldcat-seltext_s = 'Credit Card 1'.

Modify l_fieldcat from wa_fieldcat.

do you think i should add the clause sy-index to it ?

thanks,

Gols