Skip to Content
0
Former Member
Jul 14, 2006 at 09:45 AM

Modifying Internal Table

50 Views

Hi all,

When i try to use modify statement for an internal table.... the sy-subrc after the Modify statement is 4 and hence the internal table is not modified... can you help me how 2 solve this error?

The code is as given below:

<b>loop at g_t_p0014 where lgart eq p_lgart and begda eq p_begda.

if sy-subrc EQ 0.

g_f_chck = 'X'.

Endif.

itab-check = g_f_chck.

MODIFY itab transporting check where check = g_f_chck.

ENDLOOP.

The contents of itab are: pernr and check.</b>

Message was edited by: Abhijith H