ABAP Rollout CDS View Entities ABAPConf
ABAP Rollout CDS View Entities ABAPConf
Public
Agenda
DDIC artifact
CDS entity
No DDIC artifact
• Only ONE name for CDS view
entities (and not three names any
more)
• One object less that can become
inconsistent
• Faster activation
Improved architecture
• Checks of key elements
• Amount / quantity handling
• Improved buffer handling using CDS tuning objects
// complex case with expressions as operands and with new statement ELSE NULL
case when a.seatsmax * 2 = case 500 when 7 then 1 end
then 'x'
else null
end as Arith_on_left_side_of_case,
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'CDS view entity, calculated quantity'
Data Preview:
@AbapCatalog.entityBuffer.definitionAllowed: true
Entity buffer:
Incompatibility by design
• CDS view entities by design incompatible to the existing CDS views.
• No automatic migration.
Helper tools
RUT_WHERE_USE_SQLVIEW
Video tutorial that demonstrates the migration analysis tool (0:56 min)
F1
Manual migration
Tool-based migration
• Steps of the migration tool:
▪ Initial consistency
▪ Precheck – same checks as migration candidates report
▪ Generate inactive version of the migrated DDLS (currently
more than 20 rules for adjustment)
▪ Check activation of the generated source
Embedded help: Execute RUTDDLSV2MIGRATION > More >
Program Documentation
Video tutorial that demonstrates the migration tool (1:51 min)
www.sap.com/contactsap