Hello Team,
Thanks for all your support for this issue i found that space between the host name is not the real problem, it is just shows the message like that actual problem is JCO connection is not properly configured and below are the following corrections that i made in my IDOC to File scenario so that IDOC can pass successfully from SAP to PI system
1)Add necessary authentications to your user so that it could pass the IDOC.
2)using the imported IDOC in place of sender side service interface or creating the sender side service interface with the IDOC name.
3)Make sure that the program ID that you are using in the IDOC adapter is not used in the RFC adapter because while sending the IDOC it is not possible for the system to identify the IDOC adapter and if you don't want to use different program id then make sure that all the RFC channels are stopped while working with IDOC adapter.
4)Make sure that you do not create any JCO connection with the same name of the program ID of inboundRA because JCO connection act as program ID in RFC destinations in ECC system.
5)While creating the JCO connections make sure that you have given proper configuration of the target system in it.
6)And also make sure that in inboundra the maximum thread count matches the logged on client connections in SMGW tcode and it should be 5 to 10 connections.
above are not only the reasons for the error there may be other reasons also and thanks every one for there support.
Regards
Avinash.