OData Services and APIs in SAP S/4HANA
Course quiz
OData Services and APIs in SAP S/4HANA
Keep this: job aid
OData service test card
- Start with $metadata: keys, mandatory fields, lengths, navigation names.
- Reads: $filter, $select, $expand, $orderby, $top/$skip and counts; compare with the app.
- Writes: fetch the CSRF token, POST (201), PATCH (204 or 200), DELETE (204); check the document in the app.
- Concurrency: update with a stale ETag (expect 412) and with none where required (expect 428).
- Security: no credentials (401), no role or no token (403), other customers' data not visible.
- Errors: user mistakes return clear 4xx messages; a 500 is a defect.
- Activation: V2 in /IWFND/MAINT_SERVICE, V4 service groups in /IWFND/V4_ADMIN; check ICF node and system alias.
- Failures: read /IWFND/ERROR_LOG and /IWBEP/ERROR_LOG; replay in the Gateway Client.
- Prefer released APIs from the SAP Business Accelerator Hub; check state and successor.
- Rerun the automated API pack after transports and before every upgrade.