ABAP Dictionary: Tables, Buffering and Indexes
Practical Dictionary development, table lifecycle and evidence-led HANA performance work.
Overview
Practical Dictionary development, table lifecycle and evidence-led HANA performance work.
Lessons in this topic
- ABAP Dictionary Domains and Data Elements: Fixed Values, Semantics and Safe ReuseCreate reusable business field types rather than scattering CHAR lengths across tables and reports. A domain answers the technical question—type, length and allowed-value model. A data element gives a field its business meaning, labels and documentation. Neither by itself performs every authorization or business-r
- Create an ABAP Database Table in ADT or SE11: Keys, Activation and ChecksLearn 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.
- ABAP Dictionary Search Helps and Foreign Keys: Value Help Versus Data IntegrityDesign usable F4 value help without confusing it with persistent referential integrity. A user choosing a valid plant or code through F4 is a different concern from all write paths respecting a valid relationship. The ABAP Dictionary offers check tables, foreign-key relationships and search helps; Fior
- ABAP Lock Objects: ENQUEUE, DEQUEUE and Concurrent Update ProtectionPrevent lost updates to a shared business object using SAP's logical lock contract. Two users can read the same order and independently decide that it is ready for update. A database transaction isolation level alone does not give an application-level edit reservation across a user interaction. ABA
- SAP Table Buffering: Single, Generic or Full? A Practical ABAP Decision GuideUnderstand which reads use the ABAP application-server table buffer, how single-record, generic and full buffering differ, and why cross-server invalidation and changing data can make an apparently faster table incorrect.
- ABAP Change Documents: SCDO Setup, CDHDR/CDPOS and Auditable UpdatesCapture who changed customer business data and what changed through a governed application write path. Application logs, change documents, table logging and external audit trails solve related but different problems. A change document object represents business-field changes made through its supported change-document
- ABAP Number Ranges with SNRO: Intervals, Buffering and Gap ExpectationsChoose reliable document numbering without promising nonexistent gapless behavior. A business document ID might be generated by a number range object, a UUID, an external numbering contract or an application-specific sequence. SNRO and classic NUMBER_GET_NEXT are relevant in authorized classic ABA
- ABAP Table Maintenance Generator and SM30: Authorization, Recording and Safe ChangesMaintain approved customizing without making transactional data editable through an unrestricted dialog. SE54/table maintenance generator and SM30 can provide controlled classic maintenance of a customer table or view. They are not a general substitute for a business transaction, validation API or workflow. Authorizati
- ABAP Secondary Indexes on SAP HANA: When to Create One and How to Prove ItUse SQL evidence, predicate selectivity and actual SAP HANA access plans before proposing a secondary index. Walk through index creation in an authorized landscape and validate the cost of reads, writes and maintenance.
Interview questions covered
- A project team asks you to implement this requirement: Design usable F4 value help without confusing it with persistent referential integrity. Explain setup, version boundaries, validation, production failure handling and release controls.
- A project team asks you to implement this requirement: Capture who changed customer business data and what changed through a governed application write path. Explain setup, version boundaries, validation, production failure handling and release controls.
- How would you investigate inconsistent reads after a team enabled generic buffering?
- Describe how you would create and verify a customer-owned table for a purchase-approval extension.
- A project team asks you to implement this requirement: Maintain approved customizing without making transactional data editable through an unrestricted dialog. Explain setup, version boundaries, validation, production failure handling and release controls.
- A project team asks you to implement this requirement: Create reusable business field types rather than scattering CHAR lengths across tables and reports. Explain setup, version boundaries, validation, production failure handling and release controls.
- A project team asks you to implement this requirement: Prevent lost updates to a shared business object using SAP's logical lock contract. Explain setup, version boundaries, validation, production failure handling and release controls.
- A project team asks you to implement this requirement: Choose reliable document numbering without promising nonexistent gapless behavior. Explain setup, version boundaries, validation, production failure handling and release controls.
- A manager asks you to create an index because a custom report is slow. How do you decide?
How to study ABAP Dictionary: Tables, Buffering and Indexes
ABAP Dictionary: Tables, Buffering and Indexes has 9 lessons (2 beginner, 6 intermediate, 1 advanced) with about 82 minutes of reading in total. Start with the lesson that matches your level, then read the real project scenario and common mistakes in each one before moving on. After the lessons, say the 9 interview questions out loud in your own words, then check yourself against the model answer in each question (shown once you open it). Use the 15 mock questions to check recall. Finish with the 1 code lab scenario: read the buggy code first, say what is wrong, and only then open the optimized version.
Mock test questions covered
Try answering each one before you open the mock test; the answer options and scoring are in the Mock Questions tab.
- Which object supplies the business field labels?
- Which statement about SAP HANA scans is safest?
- What is the main purpose of an ABAP lock object?
- What should determine whether SM30 maintenance is suitable?
- Why can a SELECT still reach the database for a buffered table?
- Why can valid F4 search help be insufficient for data integrity?
- Why may number range sequences contain gaps?
- Why is an extra index not free?
- Why must the primary key be designed from business identity?
- Which buffered unit is selected by generic buffering?
- What should precede creating a custom secondary index?
- Which action is unsafe for customer change-document implementation?
- What is a critical risk of full buffering for an often-updated status table?
- Which statement about the client field is correct?
- Which action creates physical persistence for a DDIC database table?
Code lab scenarios
- ABAP DDIC: Internal Table Is Not Database PersistenceA developer reports that approval request 0000004711 was saved, but the record disappears after the user leaves the report. Identify why the code only changes process memory and sketch a controlled persistence workflow against a previously activated customer-owned DDIC table.