SAP_CAPintermediate
Remote services and resilience
Connect S/4 APIs via destinations remote service and timeouts
Overview
Connect S/4 APIs via destinations remote service and timeouts
Lessons in this topic
- Remote services and resilience — SAP Guided TutorialConsuming SAP S/4HANA and other OData APIs from CAP: importing the API definition, binding it through BTP destinations, mocking it locally, and designing timeouts, retries and caching so a slow backend does not take your app down.
Interview questions covered
- How do you consume an S/4HANA OData API in CAP and make it production-ready?
- When would you replicate S/4HANA data into your CAP app instead of reading it live?
How to study Remote services and resilience
Remote services and resilience has 1 lesson (1 intermediate) with about 5 minutes of reading in total. Start with the lesson that matches your level, then read the real project scenario and common mistakes in each one before moving on. After the lessons, say the 2 interview questions out loud in your own words, then check yourself against the model answer in each question (shown once you open it). Use the 4 mock questions to check recall.
Mock test questions covered
Try answering each one before you open the mock test; the answer options and scoring are in the Mock Questions tab.
- What does `cds import API_BUSINESS_PARTNER.edmx` do?
- Where should a CAP app on Cloud Foundry get the URL and credentials of an on-premise S/4HANA system?
- Users must see only S/4HANA data they are authorized for in S/4HANA itself. What connectivity approach is needed?
- Which retry policy is safe for remote calls?