Skip to Content
0
Former Member
Apr 19, 2007 at 04:12 PM

Delete entrys frim itab by condition

18 Views

Hello All...

some coding

LOOP AT t_fkkcoll.

  • Check Amount border low <= BETRW

If ht_betrw_range-LOW <= t_fkkcoll-BETRW and h_count = 1.

h_count = h_count + 1.

delete t_fkkcoll[].

clear t_fkkcoll.

endif.

endloop.

Clear h_count.

-


t_fkkcoll

Key Value

001 100

002 200

003 500

-


my Questions:

-


How can i leave the Loop at the Value 500 and delete all other entry from the l_tkkcol ???

my goal.

-


1. each individual voucher of a VK/a GP does not lie below the border -- a delivery

2. mind. 1 voucher lies over the lower bound -- all vouchers are delivered

BSp : The Border ist 5 the values are 1 2 3 4 - do nothing

The Border ist 5 the values are 1 3 5 6 - all vouchers are delivered

Thanks for Help.

Chris