Hi Sinha,
Thank you for the response, I might not have written the issue correctly.
Please refer the above blog, we are facing a simmilar issue, when we remove those spaces the file works correctly. But when the files are transmitted we have a single stream of characters and there is a space after the IEA segment and the next ISA Segment.
Regards,
Pranay