Hi Kamal
Inside the loop use AT END function for KUNNR and also use Delete function such that once the valua has been printed on smartform, that custmer get deleted form internal table.
Or debug the program in order to find exact bug.
try and revert.