Ansicht
Dokumentation
ABENMESH_AMDP_ABEXA - MESH AMDP ABEXA
RFUMSV00 - Advance Return for Tax on Sales/Purchases CPI1466 during BackupThis documentation is copyright by SAP AG.
- Filling a Mesh with SQLScript
This example demonstrates how a mesh is filled with a database procedure.
Source Code
Description
The AMDP class CL_DEMO_AMDP_MESH has a private AMDP method SELECT_HDB called by the public method SELECT if the current standard database is the SAP HANA database. For all other databases, the private method SELECT_ABAP_SQL is called. Both methods return the same results, which is ensured by a unit test in the class.
The methods fill the nodes of a mesh for sales orders whose type is declared in the AMDP class. The number of sales orders is restricted using a ranges table. In both methods subqueries are used that access local data. In ABAP SQL, the subqueries access internal tables.
SQLScript Implementation of the AMDP Method
ABAP Implementation of the Regular Method
Note
This is a syntax example for AMDP. The same function can be achieved with the same efficiency in. AMDP is not needed in simple cases like this.
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 1550 Date: 20240424 Time: 013903 sap01-206 ( 28 ms )