Ansicht
Dokumentation

ABENBDL_INTERNAL - BDL INTERNAL

ABENBDL_INTERNAL - BDL INTERNAL

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- internal

... internal ...

Effect

Defines a RAP BO operation as internal. That means that the operation in question can only be accessed from within the ABAP behavior pool, for example from an action, a validation, or a determination. When an external RAP BO consumer tries to execute an internal RAP BO operation, a runtime error occurs.

internal can be applied to the following operations:

This feature is provided by the RAP framework. No implementation in the ABAP behavior pool is required.

Notes

  • If an operation is marked as internal, feature control is not supported. Feature control is for external access control and is not required for internal operations.
  • precheck is not available for internal operations.

Example

The following example shows a managed BDEF that defines the internal action calculateTotalAmount and the on modify determination calcTotal.

The internal action multiplies the value of field Quantity with the value of field Amount and inserts the result into field Total per entity instance. It is executed from the ABAP behavior pool by the on modify determination calcTotal.

Code snippet: determination that triggers the internal action:

For the full ABAP behavior pool implementation, see BP_DEMO_RAP_INTERNAL==========CCIMP.

The ABAP program DEMO_RAP_INTERNAL uses EML to access the RAP business object:

  • It creates five new entity instances by specifying values for the fields Amount and Quantity.
Code snippet:
  • Using the SELECT statement, the content of the underlying database table is displayed.

Result: for each entity instance, the value of the field Total is calculated.

IMAGE @@ABDOC_INTERNAL.png@@433@@135@@




BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5173 Date: 20240424 Time: 095309     sap01-206 ( 50 ms )