1. SAP Glossary
  2. RESTful ABAP Programming Model
  3. internal action


What is 'internal action' in SAP BC-ESI-RAP - RESTful ABAP Programming Model?


internal action - Overview

  • 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.


internal action - Details

  • 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 internal actions in the RAP behavior definition (behavior implementation class) using ABAP methods marked as internal.
    • Use the RAP behavior annotation syntax to specify internal actions within the behavior definition (e.g., define action <name> internal in the behavior definition language).
    • Implement the internal action logic in the ABAP class associated with the behavior, ensuring it is not exposed as a public API.
    • No separate T-code is used for internal actions; they are configured and coded within the ABAP development environment (SE24, SE80).

    Already have an account? Login here!





internal action - Related SAP Terms

Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author