ERPClimb logoERPClimb

Fiori / SAPUI5 · Intermediate · Configuration

How to activate and test an SAP Gateway OData V2 service

Expose an approved backend OData V2 service to consuming applications through the correct Gateway system alias.

APPLICABILITY
Classic ABAP Gateway / supported S/4HANA private landscapes
TOOLS / TRANSACTIONS
/IWFND/MAINT_SERVICE · /IWFND/GW_CLIENT

Your project assignment

A UI developer needs a previously implemented V2 service registered in the Gateway of a non-production system. Test its metadata before using it.

Where to start: URLs and transactions

Gateway service maintenance
/IWFND/MAINT_SERVICE
Gateway test client
/IWFND/GW_CLIENT

Prerequisites

  • Backend service implementation exists.
  • Gateway infrastructure and alias are configured.
  • Service and test-user authorizations are approved.

Configuration workflow

Gateway service registration and request

All steps visible. Play or advance one stage at a time.

Gateway service registration and requestABAP backend service: Implemented OData V2 service → /IWFND/MAINT_SERVICE: Register using the correct alias → ICF endpoint: Check required service activation → /IWFND/GW_CLIENT: GET metadata and permitted data1ABAP backend serviceImplemented OData V2 service2/IWFND/MAINT_SERVICERegister using the correct alias3ICF endpointCheck required service activation4/IWFND/GW_CLIENTGET metadata and permitted data
The registered service and system alias determine where Gateway sends the request. ERPClimb original instructional diagram · not a live SAP screenshot.

Hands-on implementation — step by step

Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.

0/4 completed
  1. 1

    Gateway → /IWFND/MAINT_SERVICE

    Choose Add Service. Supply the approved backend alias and fetch available services.

    Gateway → /IWFND/MAINT_SERVICEERPClimb · illustrative screen
    System Alias
    LOCAL only for a correctly configured local Gateway; otherwise assigned alias
    Technical service name
    ZDEMO_SRV (example)

    Expected result: The backend service is found in the list.

    Why this matters: Alias controls which backend is queried.

  2. 2

    Add selected service

    Select the correct service/version, add it, and choose the approved package/transport.

    Add selected serviceERPClimb · illustrative screen
    Service
    ZDEMO_SRV (example)
    Package
    Approved package
    Transport
    Assigned change request

    Expected result: Service appears in the registered service catalog.

    Why this matters: Registration makes the service addressable on Gateway.

  3. 3

    Service catalog / SICF

    Confirm system alias assignment and the necessary ICF activation. Ask Basis to activate only the required node if not active.

    Service catalog / SICFERPClimb · illustrative screen
    Service path
    /sap/opu/odata/sap/ZDEMO_SRV/
    Alias
    Agreed backend alias

    Expected result: Required ICF path is active.

    Why this matters: An inactive or misrouted service cannot serve HTTP requests.

  4. 4

    /IWFND/GW_CLIENT

    Set method GET and request metadata, followed by a permitted read-only entity-set request using a name from metadata.

    /IWFND/GW_CLIENTERPClimb · illustrative screen
    Method
    GET
    Request URI
    /sap/opu/odata/sap/ZDEMO_SRV/$metadata

    Expected result: HTTP 200 with service metadata; permitted read returns expected data.

    Why this matters: Metadata proves service discovery; the read tests business authorization and backend logic.

Project acceptance checklist

Use this checklist to prepare evidence for your project lead.

0 of 3 checks marked. This does not certify the SAP configuration.

Validate your configuration

  • Metadata request returns HTTP 200.
  • An authorized read returns expected data; unauthorized access is rejected.

Common errors and what to check

  • 404: inspect URL, service registration and ICF status.

  • 401/403: check authentication and authorization; inspect /IWFND/ERROR_LOG for backend/Gateway context.

More in the SAP Library

Need help with a configuration error? Open ERPClimb Copilot.

Technical references & further reading

Official documentation for technical verification, release compatibility and further study.