Hi Sai,
For file to IDOC interface u can use business component to File and Business system to IDOC.
You have to folow below steps .....
1. Go to SLD and check the logical system Name in Business System.
2. GO to ID and open the Business system and check the Adapater Specific attributes tab then u have checksld button there it has to reflect the logical system name that we have created i Business system.
Before that check your interface in ESR using payload.
please let me know still if u facing any issues.
Cheers,
Cnu.