Component: BC-ESI-RAP
Component Name: RESTful ABAP Programming Model
Description: A RAP BO entity which is not part of the BO composition tree for which it is defined. Defining a foreign entity in the behavior definition enables cross-BO message mapping between the two BOs.
Term: RAP foreign entity
Component: BC-ESI-RAP RESTful ABAP Programming Model
Definition: In the context of the SAP RESTful ABAP Programming Model (RAP), a 'foreign entity' refers to a business object or data entity that is external or outside the immediate scope of the current RAP service or behavior definition. It typically represents data that is managed by another service or system but is referenced or consumed within the current RAP scenario.
How It’s Used: RAP foreign entities are used when a RAP service needs to interact with or display data that belongs to another service or domain without duplicating or owning that data. For example, a RAP service for managing sales orders might reference a foreign entity representing customer master data maintained in a separate service. This allows seamless integration and reuse of existing data models while maintaining clear boundaries between services.
Important Configuration: