Skip to Content
0
Former Member
Sep 12, 2007 at 04:40 PM

sy-tabix

37 Views

hi guys ..

my requirement is i shud onli get item numbers 20 and 30

when iam writing the following logic iam getting 10 and 20

this is the logic

LOOP AT lt_bomitem WHERE item_categ = 'N'.

IF sy-tabix GT 2.

DELETE lt_bomitem.

ENDIF.

ENDLOOP.

  • item category L = solution

LOOP AT lt_bomitem WHERE item_categ = 'L'.

IF sy-tabix GT 1 .

DELETE lt_bomitem.

ENDIF.

ENDLOOP.

how can i get it...plz advise

thanks