enter image description here enter image description here
I have to generate text file as above but value should be on specific position. above excel data coming from SP.