For a new RAP business object today, would you still create a DDIC database table? What is a CDS table entity, and what changes for RAP persistence?
Say your answer out loud first.
Practise another way
On a current release I would at least consider a CDS table entity. DEFINE TABLE ENTITY defines the database table in CDS itself, and SAP describes it as the ABAP Cloud successor of the DDIC table, still with some restrictions.
A managed BO can use it as its persistent table. I check the customer's release first: it came with cloud release 2502 and ABAP release 8.16 (ABAP Platform 2025), so older S/4HANA systems still need a DDIC table.
What it is
@ClientHandling.type: #CLIENT_INDEPENDENT
@AbapCatalog.deliveryClass: #APPLICATION_DATA
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Stock blocks'
define table entity zstock_block_te
{
key block_uuid : sysuuid_x16;
material : abap.char(40);
reason_code : abap.char(4);
blocked_qty : abap.quan(13,3);
unit : abap.unit(3);
}
define table entitycreates a database table on SAP HANA from a CDS source, edited in ADT like any other CDS object.- It is also a global structured type you can use in ABAP, but not inside DDIC objects.
- SAP's ABAP cheat sheets call it the ABAP Cloud successor of the classic DDIC database table, with restrictions for now.
- Writable CDS view entities (
define writable view entity) can sit on top of it for ABAP SQL writes.
For RAP
- In a managed BO,
persistent tablecan name a DDIC table or a CDS table entity; SAP documents this as using table entities as active persistence. - The rest of the stack stays the same: view entities on top, BDEF, projection, service.
- Release 2508 added table buffering for table entities (
define table entity buffer on ...), which matters for configuration-like data.
Release check first
- CDS table entities appear in cloud release 2502 and in ABAP release 8.16 (ABAP Platform 2025). A customer on SAP S/4HANA 2023 on-premise does not have them, so a DDIC table is the only choice there.
- Draft tables are a separate question: check the release notes of your target release before you assume a table entity can also hold the draft.
Trade-offs a senior names
- For: one language (CDS) for the whole data model, cloud-ready by design, and the direction SAP is investing in.
- Against today: team familiarity, tools and scripts that expect SE11 tables, older target releases, and mixed models in one application if the rest is DDIC.
- Existing BOs: no reason to migrate a working DDIC-based BO just for this; decide for new objects.
Interview answer in one line: "On ABAP Platform 2025 or the current ABAP environment I would design new persistence as CDS table entities. The exception is when a restriction or the customer's release rules them out, and I would say which."
Knows table entities exist, shows define table entity, ties them to RAP persistence and to the release, and gives a balanced choice.
Has never heard of table entities, or says DDIC tables are obsolete everywhere without checking the customer's release.
Answering with release-free absolutes. Table entities are the direction of travel, but on releases before 2502 / 8.16 they do not exist and a DDIC table is still correct.
- What is a writable CDS view entity, and when would you use one?
- What do you do on a customer system on SAP S/4HANA 2023?
- How does table buffering work for a table entity?
4 official pages. Confidence: high. Checked 3 Dec 2026.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.