Get Example source ABAP code based on a different SAP table
Database Procedure Proxies for SQLScript Procedures in the SAP HANARepository (Obsolete) ABAP_NOTE SAP HANA XSA> replaces SAP HANA XSC>. The access methods> designed specifically for XSC objects are not suitable for XSA objects. After all XSC objects have been migrated to XSA, the access methods designed for XSC became mostly obsolete. Database procedure proxies represent one such access method and have become obsolete. More information can be found in SAP Notes 2465027> and 3116165>. When calling SQLScript procedures > in the SAP HANA Repository>, the Native SQL> and AMDP> methods exist alongside the special statement CALL DATABASE PROCEDURE>>, which can be used to access the database procedure using a database procedure proxy> stored in the ABAP Dictionary. The database procedure proxy maps the database types of the interface parameters of the database procedures to ABAP data types. A database procedure interface> is generated for these data types. The calling ABAP program can reference the types of this global interface.
Database procedure proxy>
CALL DATABASE PROCEDURE>>
Latest notes:
ABAP Managed Database Procedures> (AMDP) offers an alternative way of managing and calling database procedures in ABAP. It is far easier to handle database procedures using AMDP than with the calls using database procedure proxies described here, which is why AMDP is recommended whenever the standard database> of the current AS ABAP is an SAP HANA database and no secondary connection> to another SAP HANA database is needed.
Calling SQLScript procedures in SAP HANA XS>:
SQLScript procedures in SAP HANA XSC> are stored in the SAP HANA Repository and database procedure proxies can be used to call them from ABAP.
SQLScript procedures in SAP HANA XSA>, the successor to SAP HANA XSC>, are usually HDI objects> for which no database procedure proxies can be created. Alternative methods such as AMDP> or ADBC> must be used for these calls instead. SAP HANA XSC> is not supported by a SAP HANA Cloud database> and database procedure proxies cannot be used there.
Database procedure proxies> are obsolete, see SAP Note 3116165>. ABAP_HINT_END