fetch data from single table using cds views

 

@AbapCatalog.sqlViewName: 'ZST_DETAILS'

@AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'student deatils'

define view zstu_details as select from zajay_stu

{

key zst_id as Student_Id,

zst_name as Student_tName,

zst_dept as Student_Dept,

zst_fee as Student_Fee

}


Comments

Popular posts from this blog

Pf status and user command in factory method - OOPS ALV in ABAP

fetch the data from table and send an email in ABAP

Enhancements in abap