Hi Venkatesh,
As mentioned by Christian above, AMDP and CDS can only be created in ADT.
Here some additional information:
As of ABAP 7.4, you can create HANA entities (stored procedures and views) from the ABAP infrastructure using ABAP Managed Database Procedures (AMDP) and ABAP Cored Data Services (ABAP CDS).
AMDP procedures (and functions as of ABAP 7.5) are currently only supported on SAP HANA (primary database). They have to be written with the SQLScript Language.
ABAP CDS is supported on all databases. So, you can create a CDS view from AS ABAP without having HANA as primary database. (... unless you make use of some of the few HANA-specific features" )
Kind regards,
Carine