ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Release 7.40 → Changes in Release 7.40, SP08
AMDP in Release 7.40, SP08
1. Tabular CHANGING
parameters for SQLScript procedures
2. Handleable exceptions in AMDP methods
4. Secondary database connections
5. Suppressing syntax error messages
6. Support for the language L on SAP HANA
Other versions:
7.31 | 7.40 | 7.54
Modification 1
Tabular CHANGING Parameters for SQLScript Procedures
In Release 7.40, SP08, the restriction that SQLScript procedures managed using AMDP cannot have tabular input/output parameters is lifted. The technical restriction that SQLScript procedures do not support INOUT parameters is bypassed by generating a pair of IN and OUT parameters. Here, the OUT parameter is assigned the value of the IN parameter at the start of the procedure and hence can be used like an INOUT parameter.
Modification 2
Handleable Exceptions in AMDP Methods
From Release 7.40, SP08, the exception classes specified under AMDP - Exceptions can be declared in the interface of an AMDP method using RAISING and handled when the method is called. Before Release 7.40, SP08, the exception situations in question raised a non-handleable exception and always produced a runtime error.
Modification 3
AMDP BAdIs
From Release 7.40, SP08, special AMDP BAdIs were introduced for AMDP methods. These apply the effect of the switches from Switch Framework to the implementation of database procedures in the current database. When an AMDP procedure calls an AMDP procedure managed by an AMDP BAdI, the implementation is executed that matches the current switch setting.
Modification 4
Secondary Database Connections
From Release 7.40, SP08, an input parameter with the previously invalid parameter name connection
can be created for an
AMDP method. This makes it possible to use a
secondary database connection with the central
AS ABAP database. Only the standard database connection or service connections R/3*name with the standard SAP database.
Modification 5
Suppressing Syntax Error Messages
When an AMDP method is implemented after the addition OPTIONS
of the statement
METHOD
, the new option
SUPPRESS SYNTAX ERRORS
can be specified (for internal use at SAP only). This
suppresses any syntax errors caused by database objects addressed in the AMDP procedure but that do not yet exist in the syntax check.
Modification 6
Support for the Language L on SAP HANA
For internal use at SAP only, AMDP methods can be implemented in SAP's own low-level programming language L. See AMDP - L for the SAP HANA Database.