Hi Reddy,
Regarding your query on how to get segment version and SAP release.
Segment version: you can get it by navigating to we60 tcode in your ECC system. There you can see the segment version.
Coming to SAP release, you can check it by going to system-->status-->Sap system data category-->click on lens button, there you can see the SAP BASIS component version. That will suffice the sap release.
But actually the error you are getting is because of non-existence of the partner profile due to which the system is not able to understand how to process the idoc.