Hi Mayank,
Can you please check the size of the fields including control record data in the flat file?
I believe you have created the port which is creating flat file in AL11.Could you please try to create XML file and pick the IDoc XML using sender file adapter and see if it works or not?
Please refer the below link and its corresponding links.I believe the issue with flat file size of fields.
Thanks