Component: BC-ESI-RAP
Component Name: RESTful ABAP Programming Model
Description: An action that can only be executed from the business logic inside the same business object the action is assigned to, such as from a determination or another action.
Term: Internal Action
Component: BC-ESI-RAP RESTful ABAP Programming Model
Definition: An internal action in the context of the RESTful ABAP Programming Model (RAP) is a backend operation or method defined within a business object that performs specific logic or processing internally, without exposing it as a direct external service or user-invoked action. It is typically used to encapsulate reusable business logic that supports other actions or processes within the RAP framework.
How It’s Used: Internal actions are used in RAP business objects to implement complex business logic that should not be directly triggered by end users or external systems. For example, an internal action might calculate derived values, validate data, or update related entities as part of a larger transactional process initiated by a public action or service. They help keep the business logic modular and maintainable by separating internal processing steps from externally visible operations.
Important Configuration:
define action <name> internal in the behavior definition language).