Key Fields of Database Tables (2024)

SAP NetWeaver AS ABAP Release 752, ©Copyright 2017 SAP AG. All rights reserved.

ABAP - Keyword Documentation→ABAP - Dictionary→Classic Objects in ABAP Dictionary→Database Tables→Semantic Attributes of Database Tables→Table-Specific Semantic Attributes of Database Tables→

Key Fields of Database Tables

At least one table field must be flagged as a key field in the structure of a database table. The table fields flagged as the key field become theprimary key of the table.The key fields of a table must be located together at the beginning of the table, which means that nonon-key fields are allowed between two key fields. The primary key comprising the key fields is a uniqueidentification for a table row. If other combinations of table rows identify a table row uniquely, they are called key candidates. Theprimary index is createdfor the primary key of the table. This index provides optimized key access to the table rows when values are specified for the key fields.

There can be a maximum of 16 key fields in each table. The total of the number of bytes in the non-character-likekey fields and the number of characters in the character-like key fields must not exceed 900. If the total is greater than 120, however, the following restrictions apply:

  • Table content cannot be transported by specifying the complete key values. Instead, the generic key values must be specified with a maximum total of 120 bytes or characters.
  • The table cannot be used as the basis table of a lock object.

The following predefined data types are not allowedfor key fields: DF16_SCL and DF34_SCL (both obsolete) plus FLTP, STRING, RAWSTRING, LCHAR, and LRAW. A key field with the type RAW must not be longer than 69 bytes.

Notes

  • The key fields are restricted in such a way that the requirements of all supported database platformsare met. At SAP, tables can be flagged to allow these restrictions to be exceeded in the case of features.When tables flagged in this way are accessed using Open SQL, a syntax check warning occurs. The warning indicates that a cross-platform replacement implementation must be made. The classCL_ABAP_DBFEATURES can be used to identify which restrictions are supported by the current database system.
  • In the case of key fields, the flag for initial values is always set automatically.
Key Fields of Database Tables (2024)
Top Articles
Do You Have To Go Through Customs On A Layover: Detailed Guide
The Orthodox Faith - Volume IV - Spirituality - The Beatitudes - Poverty in Spirit
Pollen Count Centreville Va
What to Do For Dog Upset Stomach
South Park Season 26 Kisscartoon
Health Benefits of Guava
Tx Rrc Drilling Permit Query
His Lost Lycan Luna Chapter 5
How Far Is Chattanooga From Here
Embassy Suites Wisconsin Dells
Craigslist Greenville Craigslist
Jasmine Put A Ring On It Age
The Binding of Isaac
Hca Florida Middleburg Emergency Reviews
Dexter Gomovies
Dc Gas Login
Chic Lash Boutique Highland Village
Colorado mayor, police respond to Trump's claims that Venezuelan gang is 'taking over'
065106619
WEB.DE Apps zum mailen auf dem SmartPhone, für Ihren Browser und Computer.
Kayky Fifa 22 Potential
Curver wasmanden kopen? | Lage prijs
1989 Chevy Caprice For Sale Craigslist
Knock At The Cabin Showtimes Near Alamo Drafthouse Raleigh
Cardaras Funeral Homes
Free T33N Leaks
Hrconnect Kp Login
4.231 Rounded To The Nearest Hundred
Craigslist Efficiency For Rent Hialeah
His Only Son Showtimes Near Marquee Cinemas - Wakefield 12
Himekishi Ga Classmate Raw
FREE Houses! All You Have to Do Is Move Them. - CIRCA Old Houses
Tmj4 Weather Milwaukee
Salons Open Near Me Today
Solve 100000div3= | Microsoft Math Solver
Pitco Foods San Leandro
Why Gas Prices Are So High (Published 2022)
Heelyqutii
Thor Majestic 23A Floor Plan
Courses In Touch
6576771660
Why Are The French So Google Feud Answers
Costco The Dalles Or
Sinai Sdn 2023
5103 Liberty Ave, North Bergen, NJ 07047 - MLS 240018284 - Coldwell Banker
Bismarck Mandan Mugshots
Pelican Denville Nj
Campaign Blacksmith Bench
Optimal Perks Rs3
7 Sites to Identify the Owner of a Phone Number
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 6679

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.