Testing SAP Interfaces: IDoc, OData and API Basics for Testers
Course quiz
Testing SAP Interfaces: IDoc, OData and API Basics for Testers
Keep this: job aid
Interface testing card
- Sketch each interface: hops, technology, direction, sync or async, trigger, monitor per hop.
- IDoc statuses: 03 sent to port, 30 ready for dispatch, 02 port error, 64 waiting, 53 posted, 51 not posted, 56 added with errors, 69 edited (original 70).
- IDoc tools: WE02/WE05 display, WE09 search by content, BD87 monitor and reprocess, WE19 test, WE20 partner profiles.
- Status 53 is not enough: compare the created document with the IDoc content.
- OData: check HTTP status, then values field by field; mind string amounts and V2 dates.
- Changing OData requests need a CSRF token (403 without it); updates send the ETag in If-Match (412 if stale).
- Test categories: mapping, value mapping, mandatory, invalid, duplicates, sequence, volume, receiver down.
- Good error handling: safe, visible, understandable, notified, recoverable.
- Monitors: SM58, SMQ1/SMQ2, SBGRFCMON, /IWFND/ERROR_LOG, SRT_UTIL, the PO or Integration Suite message monitor, Cloud ALM.
- Mocks early for SAP-side logic; connected end-to-end tests before go-live.