{"ref":"content:cap-service-to-fetch-create-sales-order-in-s4-hana-public-cloud","page":"/content/cap-service-to-fetch-create-sales-order-in-s4-hana-public-cloud","json":"/content/cap-service-to-fetch-create-sales-order-in-s4-hana-public-cloud.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"cap-service-to-fetch-create-sales-order-in-s4-hana-public-cloud","title":"CAP Service to Fetch + Create Sales Order in S4 HANA Public Cloud","url":"https://community.sap.com/t5/technology-blog-posts-by-members/cap-service-to-fetch-create-sales-order-in-s4-hana-public-cloud/ba-p/13567107","content_type":"blog","published_on":"source:sap-community","explains":["capability:service-integration",{"ref":"capability:destinations","applies_to":{"ecosystems":["btp","cap"]}}],"summary":"A CAP Node.js walkthrough imports SAP S/4HANA Cloud's Sales Order OData API with cds import, adds csrf handling to the generated service definition, and forwards a custom REST action's reads and writes to the remote proxy through cds.connect.to, the pattern [Service integration](capability:service-integration) covers. The mta.yaml binds the SAP S/4HANA Cloud extensibility service and a [SAP Destination service](artifact:btp-destination) instance so the S/4HANA Public Cloud system's address and credentials stay outside the application, per [Destinations](capability:destinations).","short":"CAP Node.js service reading and creating S/4HANA Cloud sales orders","author":"Mujeeb","published":"2023-05-30","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-27"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:destinations (cap, btp)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 42 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap-cloud-sdk/connectivity 4.0.0, 2025-03"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":9601,"unit":"views"},{"value":4,"unit":"comments"},{"value":9,"unit":"likes"}]},"signals":{"views":9601,"likes":9,"comments":4,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}