ERPClimb logoERPClimb
Login
All topics
RAP_CDS_ODATAintermediate

Service Definitions

Learn RAP service definitions as the explicit list of projection entities exposed by one business service. Focus on keeping the public contract minimal, naming entities clearly and separating consumer-facing projections from internal CDS models.

Overview

Learn RAP service definitions as the explicit list of projection entities exposed by one business service. Focus on keeping the public contract minimal, naming entities clearly and separating consumer-facing projections from internal CDS models.

Lessons in this topic

Interview questions covered

  • How do you decide which entities go into a service definition?
  • What is a RAP service definition, and how does it differ from a service binding?
  • Which changes to a consumed RAP service are breaking, and how do you handle them?
  • A developer renamed a field in an API projection and an external import failed overnight. What process changes do you introduce?
  • $expand on a supplier association fails in a RAP service, although the association exists in the projection. What is the cause?
  • An action exists in the base BDEF and works in DEV tests, but it is missing from the service metadata. What do you check?
  • Should a Fiori app and an external integration share one RAP service? Explain your design.
  • How do you expose related master data and value helps in a RAP service without bloating it?
  • Write a service definition for an order app with header, items and a customer link, and explain each line.
  • Describe the complete path from a RAP business object to a running OData service.
  • You inherit several RAP services. What do you review in their service definitions?

How to study Service Definitions

Service Definitions has 6 lessons (1 beginner, 3 intermediate, 2 advanced) with about 43 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 11 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 11 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 a RAP service definition specify?
  • When does a navigation property appear in a RAP OData service?
  • An action exists in the base BDEF and works in DEV tests, but QAS metadata does not show it. What is the most likely cause?
  • A service definition does not activate: "entity ZC_PurchReqItem not found". What should you do first?
  • A batch integration reuses a draft-enabled Fiori service and keeps failing on draft actions. What is the best fix?
  • One service is shared by an internal UI and a partner integration. UI changes keep breaking the partner. What should the team do?
  • Which change to a consumed API service is compatible?
  • Which binding type fits a system-to-system integration using a RAP service?
  • Which object should normally be exposed in a RAP service definition?
  • A service exposes 18 helper entities "because every association might be needed". What is the best correction?
  • A project exposed base interface entities directly in its services. What is the main risk?

Related topics

Interview questions on this topic