Hi Sandeep,
For LSMW you need to create 3 structures for Header,Item and footer. You can google it , i am sure you will find many way to do it ,once you get identifier in file.
Could you please paste sample data , which you are getting in file?
so i could be able to share best approach.
Thanks
Deependra