You paste the following source code for a simple CDS view into ABAP development studio and activate it:
@AbapCatalog.sqlViewName: 'zjerrySQL0208'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'test 233'
@ObjectModel: {
createEnabled,
deleteEnabled,
updateEnabled
}
define view Zjerrytest20160208
as select from spfli association [0..1] to scarr as _scarr
on _scarr.carrid = spfli.carrid {
key spfli.carrid,
key _scarr.carrname,
key spfli.connid,
spfli.cityfrom,
spfli.cityto
}
And you would like to know what objects are automatically generated during CDS view activation.
Automatically generated ABAP objects during CDS view activation
You could query table TADIR with following parameters:
And get answer:
Now we can go through each database table one by one.
Several table entries are inserted to the database tables in package SDDL during view activation.
Query this table by specifying DDLNAME as CDS view name we specified in ABAP development studio, the name after keyword "define view" : Zjerrytest20160208, and we can find view source code stored in field SOURCE.
Text table which stores the view description specified via annotation @EndUserText.label.
It stores all header annotation specified in CDS view source code with corresponding value.
It maintains relationship between the CDS core entity and automatically generated database view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 |