Hi,
The problem may be in the coding I think first line items details are printed correctly.
1.May be you have used the printing variables two times,
2.Inside loop according to some conditions the values will print,condition satisfied in two places or check the IF... ELSE statements used correctly.
Because,If all the conditions failed they will write this item printing conditions in final ELSE part may be your code will satisfies there also.
Go to SE71->Utilities from file menu,Click , Activate debuger and check it or share that overall loop lines of coding.Hope it is useful,Thanks for understanding.
Regards,
Ravi Shankar L