The process to activate OData V4 service is a foundational element in establishing standardized data access across various applications. This blog post offers a structured approach to the necessary configuration steps, ensuring a successful activation. The steps provided in this guide is accessible to both developers new to OData V4 and those with prior experience, focusing on the steps required for successful activation.

Steps to activate OData V4 Service
1. Login to SAP S/4HANA system and execute /n/IWFND/V4_ADMIN t-code
2. Click on “Publish Service Groups”

3. Select System Alias and provide Service Group ID if you already know and click on “Get Service Groups”. Select the Group ID from the list and click on “Publish Service Groups”

4. Click on Continue, you will prompted with a message “New service group(s) successfully published”

5. Click on back button to see the published group
6. Expand the “Service Groups” and double click on the group. You can see the Available services under this group

7. To test the service, select any OData service under Available services tab and click on “Service Test”.
8. This is open SAP Gateway Client (/IWFND/GW_CLIENT) in a new session. Click on execute and you will see the status code as 200.

Conclusion
You have successfully learned on how to activate OData V4 service in SAP S/4HANA.
Important Notes
- V4 services activated in the system only be displayed in /IWFND/V4_ADMIN tcode.
- V4 services will not be visible in /IWFND/MAINT_SERVICE tcode
- V4 services won’t be listed in SEGW.
- All V4 services starts with “/sap/opu/odata4/”