Go to SPRO >> SAP Reference IMG
Expand SAP Netweaver >> Gateway >> ODATA Channel >> Configuration >> Activate or Deactivate SAP Netweaver Gateway
Click on Activate or Deactivate button to activate or deactivate SAP Netweaver Gateway. In this case gateway is already activated.