Create an ABAP Database Table in ADT or SE11: Keys, Activation and Checks
Preview · a free account unlocks the full lesson
Learn the complete, edition-aware workflow for creating a transparent ABAP Dictionary table. Design row identity and client handling, enter the definition in ADT or SE11, maintain technical settings, activate and prove that the table behaves as designed.
In this lessonShow sectionsHide sections
Visual overview
Explanation
KEY POINTS
A custom ABAP database table is created by defining its persistent fields and primary key in the ABAP Dictionary, maintaining appropriate table properties and technical settings, and activating the object. ADT is the natural source-based editor on supported releases; SE11 remains relevant in many classic on-premise landscapes. Creating an internal table with TYPES or DATA does not create persistence.
Start with a specific business need, not the SE11 screen
Imagine a controlled approval service that must remember the latest processing status for a synthetic purchasing request. The service needs a stable request identifier, an owning client, a two-character status, creation date and last-change timestamp. It does not need to store supplier bank details, passwords or entire document payloads.
In that case a custom persistence table may be appropriate—provided the target SAP edition supports the chosen extensibility mechanism. Before you create an object, identify who owns the lifecycle, expected number of records, read/write frequency, retention period and which APIs should be allowed to expose the data.
In S/4HANA Cloud Public Edition, first check whether key-user extensibility or a released business object already covers the requirement; do not assume you can extend SAP standard tables or use unrestricted classic DDIC tools.
Decide the key and client dependence
For an illustrative ZEC_APR_REQ table, (CLIENT, REQUEST_ID) is a plausible unique key only if a request ID is unambiguous within a client. If the business generates the same external request number for different purchasing organizations, this key is wrong: include an ownership discriminator in the design or use a genuinely unique generated identifier.
Key choice is difficult to repair once data and consumers exist. In a client-dependent DDIC table, the first key component is normally a client field of type ABAP.CLNT; regular ABAP SQL access is client-aware. That behavior is not a substitute for application authorization.
If the same record must be shared across clients, a cross-client table is a significantly different governance decision and should never be chosen merely to make test data easier to see.
Define semantics, not just lengths
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Related SAP topics
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.