iam trying to pack materials into HU's in my custom table contrls.
when i select a HU in tab cntrl 1 and the matnr's in TC2
and click on 'PACK' the rows in TC2 should be deleted.
iam able to do this but i see the empty lines in TC2.
can some one help me how to delete those empty rows?
am i doing a very basic mistake?
right now iam doing:
loop at itab1 with control xxxxx.
module fill_screen1.
endloop.
loop at itab2 with control xxxx.
module fill_screen2.
endloop.
and inside the module fill_screen2 iam moving contents of another itab which has the updated contents.
am i supposed to say 'delete itab2' inside the second loop instead? and thats going to take care of the empty rows automatically..
thanks a lot..