LCM_CTX_RELSHP
Context Relationships for Legal Transactions
LCM_CTX_RELSHP is an SAP database table in S/4HANA. Context Relationships for Legal Transactions. It contains 8 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_LCMContextRelationship | view | from | BASIC | Basic view for LCM Context Relationship |
Fields (8)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | mandt | Client | |||
| KEY | lglcntntmcntxtrelshpuuid | lcm_uuid | Universal Unique ID | |||
| lglcntntmcontextuuid | lcm_uuid | Universal Unique ID | ||||
| lglcntntmrelshplgltransuuid | lcm_uuid | Universal Unique ID | ||||
| lglcntntmcntxtrelshplgltrans | lcm_legaltr_id | Legal Transaction ID | ||||
| lglcntntmrelshptype | lcm_relation_type | Relationship Type | ||||
| lglcntntmismandatory | lcm_is_mandatory | Is Mandatory | ||||
| lglcntntmisintegrelevant | lcm_is_integ_relevant | Integrated |
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.
-- Context Relationships for Legal Transactions
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LCM_CTX_RELSHP (
MANDT, -- Client [mandt]
LGLCNTNTMCNTXTRELSHPUUID, -- Universal Unique ID [lcm_uuid]
LGLCNTNTMCONTEXTUUID, -- Universal Unique ID [lcm_uuid]
LGLCNTNTMRELSHPLGLTRANSUUID, -- Universal Unique ID [lcm_uuid]
LGLCNTNTMCNTXTRELSHPLGLTRANS, -- Legal Transaction ID [lcm_legaltr_id]
LGLCNTNTMRELSHPTYPE, -- Relationship Type [lcm_relation_type]
LGLCNTNTMISMANDATORY, -- Is Mandatory [lcm_is_mandatory]
LGLCNTNTMISINTEGRELEVANT, -- Integrated [lcm_is_integ_relevant]
PRIMARY KEY (MANDT, LGLCNTNTMCNTXTRELSHPUUID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- 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