Skip to Content
0
Former Member
Jul 02, 2007 at 02:07 AM

Picking a record from internal table

16 Views

Hi Friends,

I want to pick the second record from the internal table and modify it,

I have used the following code to do that but it is not working pls tell me what to do.,

LOOP AT lt_check INTO lw_check.

  • read table lt_check into lw_check with key xblnr where sy-tabix = 2.

IF sy-tabix = 2.

itab_temp-trans = lw_check-trans.

itab_temp-lifnr = lw_check-lifnr.

itab_temp-xblnr = lw_check-xblnr.

itab_temp-bukrs = lw_check-bukrs.

itab_temp-usnam = lw_check-usnam.

itab_temp-procese = lw_check-procese.

itab_temp-appdate = lw_check-appdate.

itab_temp-status = lw_check-status.

MOVE 'CL' TO itab_temp-clear.

endloop.

Thank in advance,

Line