Ansicht
Dokumentation

ABENAMDP_CHANGING_ABEXA - AMDP CHANGING ABEXA

ABENAMDP_CHANGING_ABEXA - AMDP CHANGING ABEXA

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

- SQLScript with Tabular CHANGING Parameter

This example demonstrates how an SQLScript procedure is implemented using AMDP with a tabular CHANGING parameter.

Source Code

Execute

Description

The following SQLScript procedure is implemented in the AMDP method GET_CARRIERS of the AMDP class CL_DEMO_AMDP_CHANGING:

The tabular CHANGING parameter carriers can be used in this way in the procedure in read positions and write positions. Internally, the database procedure uses an identically named output parameter to which the initial value of the CHANGING parameter is assigned at the beginning of the execution of the procedure using the invisible IN parameter carriers__in__ (see SQLScript for the SAP HANA Database).

A further method CALL_GET_CARRIERS demonstrates how the SQLScript procedure implemented in GET_CARRIERS is called from a different SQLScript procedure.

In this case, the implicit IN parameter carriers__in__ must be filled explicitly with the actual parameter to be modified.

Note

This is a syntax example. The same function can be achieved with the same efficiency in . AMDP is not needed in simple cases like this.






TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1747 Date: 20240426 Time: 143226     sap01-206 ( 39 ms )