LCM_CTX_ENTITY
Context Entity
LCM_CTX_ENTITY is an SAP database table in S/4HANA. Context Entity. It contains 9 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_LCMContextEntity | view | from | BASIC | Basic view for LCM Context Entity |
Fields (9)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | lglcntntmcntxtentityuuid | LCM_UUID | Universal Unique ID | |||
| lglcntntmcontextuuid | LCM_UUID | Universal Unique ID | ||||
| lglcntntmentity | LCM_ENTITY_ID | Entity ID | ||||
| lglcntntmrank | LCM_RANK | Seq No | ||||
| lglcntntmentitytype | LCM_ENTITY_TYPE | Entity Type | ||||
| lglcntntmismandatory | LCM_IS_MANDATORY | Is Mandatory | ||||
| lglcntntmismainentity | LCM_IS_MAIN_ENTITY | Main Entity | ||||
| 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 Entity
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LCM_CTX_ENTITY (
MANDT, -- Client [MANDT]
LGLCNTNTMCNTXTENTITYUUID, -- Universal Unique ID [LCM_UUID]
LGLCNTNTMCONTEXTUUID, -- Universal Unique ID [LCM_UUID]
LGLCNTNTMENTITY, -- Entity ID [LCM_ENTITY_ID]
LGLCNTNTMRANK, -- Seq No [LCM_RANK]
LGLCNTNTMENTITYTYPE, -- Entity Type [LCM_ENTITY_TYPE]
LGLCNTNTMISMANDATORY, -- Is Mandatory [LCM_IS_MANDATORY]
LGLCNTNTMISMAINENTITY, -- Main Entity [LCM_IS_MAIN_ENTITY]
LGLCNTNTMISINTEGRELEVANT, -- Integrated [LCM_IS_INTEG_RELEVANT]
PRIMARY KEY (MANDT, LGLCNTNTMCNTXTENTITYUUID)
);
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