Ansicht
Dokumentation
ABENCALL_DB_PROCEDURE_ABEXA - CALL DB PROCEDURE ABEXA
TXBHW - Original Tax Base Amount in Local Currency rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
SAP HANA, Database Procedure Proxy
This example demonstrates how a database procedure created in the program is called.
Source Code
Description
ADBC is used in the method create_db_procedure to create the same database procedure as in the executable example ADBC, Stored Procedure. Here, however, the procedure is called using the statement CALL DATABASE PROCEDURE and not using ADBC.
The database procedure proxy required for this is created temporarily in the program itself using the associated API.
- The API is created using the factory method GET_PROXY_PUBLIC_API from the factory class CL_DBPROC_PROXY_FACTORY.
- The proxy is created using the method CREATE_PROXY of the interface IF_DBPROC_PROXY_PUBLIC_API.
- Here, the internal table params filled previously is used to define the mapping between the parameter interface and ABAP data types. The parameter names are also modified.
The executable example AMDP, simple procedure call shows how the procedure can be managed and called as an ABAP Managed Database Procedure.
Addresses (Business Address Services) SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 1972 Date: 20240419 Time: 213622 sap01-206 ( 28 ms )