Fields (15)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | BusinessPartner | BusinessPartner | 1 |
| KEY | CABPItemNumber | CABPItemNumber | 1 |
| KEY | CABusinessLockObject | CABusinessLockObject | 1 |
| KEY | CABusinessLockReason | CABusinessLockReason | 6 |
| KEY | CABusinessLockValidFrom | CABusinessLockValidFrom | 6 |
| KEY | CABusinessLockValidTo | CABusinessLockValidTo | 6 |
| KEY | CARepetitionItemNumber | CARepetitionItemNumber | 1 |
| KEY | CASubItemNumber | CASubItemNumber | 1 |
| KEY | ContractAccount | ContractAccount | 1 |
| CABusinessLockDuration | CABusinessLockDuration | 1 | |
| CABusinessLockObjectCategory | CABusinessLockObjectCategory | 1 | |
| CABusinessLockSequenceNumber | CABusinessLockSequenceNumber | 4 | |
| CABusinessProcess | CABusinessProcess | 1 | |
| CreationDate | LastChangeDate | 2 | |
| LastChangeDate | LastChangeDate | 5 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LOCK (
BUSINESSPARTNER,
CABPITEMNUMBER,
CABUSINESSLOCKOBJECT,
CABUSINESSLOCKREASON,
CABUSINESSLOCKVALIDFROM,
CABUSINESSLOCKVALIDTO,
CAREPETITIONITEMNUMBER,
CASUBITEMNUMBER,
CONTRACTACCOUNT,
CABUSINESSLOCKDURATION,
CABUSINESSLOCKOBJECTCATEGORY,
CABUSINESSLOCKSEQUENCENUMBER,
CABUSINESSPROCESS,
CREATIONDATE,
LASTCHANGEDATE,
PRIMARY KEY (BUSINESSPARTNER, CABPITEMNUMBER, CABUSINESSLOCKOBJECT, CABUSINESSLOCKREASON, CABUSINESSLOCKVALIDFROM, CABUSINESSLOCKVALIDTO, CAREPETITIONITEMNUMBER, CASUBITEMNUMBER, CONTRACTACCOUNT)
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA