0% found this document useful (1 vote)
1K views

AMDP Works Only With HANA As The Primary Database

CDS views allow logic and calculations to be performed directly in the database rather than the application server. When a CDS view is created and activated, two objects are generated: a DDIC SQL view for design time and a HANA view for run time. AMDP stands for ABAP Managed Database Procedure and allows storing procedures on SAP HANA DB. AMDP uses a top-down approach like CDS views. AMDPs are available starting from ABAP 7.4 SP05 and require HANA as the primary database. AMDP classes are identified by the IF_AMDP_MARKER_HDB interface and AMDP methods use the BY DATABASE PROCEDURE keyword.

Uploaded by

mania
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views

AMDP Works Only With HANA As The Primary Database

CDS views allow logic and calculations to be performed directly in the database rather than the application server. When a CDS view is created and activated, two objects are generated: a DDIC SQL view for design time and a HANA view for run time. AMDP stands for ABAP Managed Database Procedure and allows storing procedures on SAP HANA DB. AMDP uses a top-down approach like CDS views. AMDPs are available starting from ABAP 7.4 SP05 and require HANA as the primary database. AMDP classes are identified by the IF_AMDP_MARKER_HDB interface and AMDP methods use the BY DATABASE PROCEDURE keyword.

Uploaded by

mania
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

*************************************************************************************

CDS Views:
What is CDS view?
--CDS stands for Core Data Services
--HANA is an in-memory database which enable high speed processing of data.
--With CDS views all the logic calculations are performed in the database instead of application server.
This new programming design is known as Code-to-Data paradigm which means code push down into
the database for processing.
--CDS is an enhancement to standard SQL language. It has all SQL features:
1. DDL -Data Definition Language. Used to CREATE table, MODIFY table etc.
2. DQL—Data Query Language. Used to READ data.
3. DCL—Data Control Language. Used to configure ‘SECURITY’
4.Expression Language -Mathematical Calculations, Conditions, Case..EndCase etc.

What happens whenever a CDS view is activated?


--Whenever a CDS view is created and Activated, 2 objects gets generated: 1. DDIC SQL view –it is a
design time object and can be seen in t.code SE11.
2. HANA view –it is a run time object and gets created in HANA DB.

*************************************************************************************
AMDP:

What is AMDP?
--AMDP stands for ABAP Managed Database Procedure
--AMDP is Database Procedure which is managed by ABAP.
--AMDP works only with HANA as the primary database.
--AMDP is used to create and call stored procedures on SAP HANA DB. AMDP uses top-down approach
like CDS views.
--as of now AMDP is database dependent. But AMDP is conceptually designed to work in
any database and any language.
--AMDP is one of the most recommended patterns used for code optimization within the context of
ABAP on HANA.
--AMDPs are transported in the same way as normal ABAP objects.

From which version of SAP NW, it is available?


--from ABAP 7.4 SP05 version
--We need to be in ABAP system which is on release 7.4 SP05 and higher and
HANA is the primary database.

What should we need when we define AMDP method?


--we need to let the Method know the database and language.
--For HANA, the database is HDB and language is SQLScript.
How to identify an AMDP class?
--If a class has Marker Interface “IF_AMDP_MARKER_HDB” then it is an AMDP class.
--if one or more METHOD of AMDP class has the keyword “BY DATABSE PROCEDURE”, then it is AMDP
method.

What does the suffix ‘XXX’ in IF_AMDP_MARKER_XXX indicates?


--XXX indicates database system for which the AMDPs (Database Procedures) can be implemented.
--We can have more than one “IF_AMDP_MARKER_XXX” in the class.

The IMPORTING and EXPORTING parameters of AMDP method should be VALUE reference only.

How do you confirm whether the method is really AMDP method?


--in the method implementation we find “BY DATABASE PROCEDURE” then it is AMDP method.
Important Note: --Database Procedures managed by ABAP can only be defined in the classes that
implement the marker interface IF_AMDP_MARKER_HDB.
Syntax:

Am I audible or not? Any audio issues? Shall I repeat? Did we miss anything?

*************************************************************************************
ALE IDOCS
*************************************************************************************

*************************************************************************************

*************************************************************************************

*************************************************************************************

*************************************************************************************

*************************************************************************************

*************************************************************************************

*************************************************************************************

*************************************************************************************
*************************************************************************************

*************************************************************************************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy