Below are steps related to connection settings to sap netweaver gateway.
Go to SPRO >> SAP Reference IMG
Expand SAP Netweaver >> Gateway >> ODATA Channel >> Configuration >> Connection Settings >> SAP Netweaver Gateway to SAP System.
Execute “Mange RFC Destination”
Create a new ABAP RFC Connection to SAP Backend Systems (ERP, SRM, CRM etc.).
If you choose Hub Deployment, create a RFC connection to connect to SAP ERP system.
If you choose Embedded Deployment, create a RFC connection to itself.