Hi,
this happens due to RFC destination settings, firstly go to SM%( and check the RFC destination settings i.e. test the connection settings, if it's working then go to SPRO->sap netweaver->odata channel->configuration->connection settings->sap netweaver gateway to sap system->manage sap system alias.
There provide the system alias and rfc destination and other details and select the checkbox under 'For Local App'.
Try this, I got same and it resolved my issue.
Regards
Ashish