LCM_CONTEXT
Context
LCM_CONTEXT is an SAP database table in S/4HANA. Context. It contains 24 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| E_LglCntntMContext | view | from | EXTENSION | Extended View for Legal Context |
| I_LglCntntMContextBasic | view | from | BASIC | LCM Context Basic |
Fields (24)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | mandt | Client | |||
| KEY | lglcntntmcontextuuid | lcm_uuid | Universal Unique ID | |||
| lglcntntmcontext | lcm_context_id | Context ID | ||||
| lglcntntmcontextversion | lcm_context_version | Context Version | ||||
| lglcntntmcontextstatus | lcm_context_status | Status | ||||
| lglcntntmstsprfl | lcm_status_profile | Status Profile | ||||
| lglcntntmcontextowner | lcm_owner | Owner | ||||
| lglcntntmcontextvalidfromdate | lcm_valid_from | Valid From | ||||
| lglcntntmcontextvalidtodate | lcm_valid_to | Valid To | ||||
| lglcntntmcntxtlanguage | lcm_language | Language | ||||
| lglcntntmcontexttitle | lcm_title | Title | ||||
| lglcntntmprevcntxtvers | lcm_uuid | Universal Unique ID | ||||
| lglcntntmcntxtisreadonly | lcm_read_only | Read Only | ||||
| lglcntntmprofile | lcm_profile_id | Profile | ||||
| isendofpurposeblocked | eopblocked | Busin. Purp. Cmpltd. | ||||
| lglcntntmgovlaw | lcm_gov_law | Governing Law | ||||
| lglcntntmcntxtaccesslvl | lcm_access_lvl | Acs. Level | ||||
| lglcntntmmainorgtype | lcm_entitytec_type | Entity Techn. Type | ||||
| lglcntntmmainorgcocode | lcm_entity_id | Entity ID | ||||
| lglcntntmmainorgsalesorg | lcm_entity_id | Entity ID | ||||
| lglcntntmmainorgpurorg | lcm_entity_id | Entity ID | ||||
| lglcntntmlongtextuuid | lcm_longtext_id | Description UUID | ||||
| lglcntntmintegrationtype | lcm_integration_type | Integration Variant | ||||
| lglcntntmarchivestatus | lcm_archive_status | Data Arch Status |
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
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LCM_CONTEXT (
MANDT, -- Client [mandt]
LGLCNTNTMCONTEXTUUID, -- Universal Unique ID [lcm_uuid]
LGLCNTNTMCONTEXT, -- Context ID [lcm_context_id]
LGLCNTNTMCONTEXTVERSION, -- Context Version [lcm_context_version]
LGLCNTNTMCONTEXTSTATUS, -- Status [lcm_context_status]
LGLCNTNTMSTSPRFL, -- Status Profile [lcm_status_profile]
LGLCNTNTMCONTEXTOWNER, -- Owner [lcm_owner]
LGLCNTNTMCONTEXTVALIDFROMDATE, -- Valid From [lcm_valid_from]
LGLCNTNTMCONTEXTVALIDTODATE, -- Valid To [lcm_valid_to]
LGLCNTNTMCNTXTLANGUAGE, -- Language [lcm_language]
LGLCNTNTMCONTEXTTITLE, -- Title [lcm_title]
LGLCNTNTMPREVCNTXTVERS, -- Universal Unique ID [lcm_uuid]
LGLCNTNTMCNTXTISREADONLY, -- Read Only [lcm_read_only]
LGLCNTNTMPROFILE, -- Profile [lcm_profile_id]
ISENDOFPURPOSEBLOCKED, -- Busin. Purp. Cmpltd. [eopblocked]
LGLCNTNTMGOVLAW, -- Governing Law [lcm_gov_law]
LGLCNTNTMCNTXTACCESSLVL, -- Acs. Level [lcm_access_lvl]
LGLCNTNTMMAINORGTYPE, -- Entity Techn. Type [lcm_entitytec_type]
LGLCNTNTMMAINORGCOCODE, -- Entity ID [lcm_entity_id]
LGLCNTNTMMAINORGSALESORG, -- Entity ID [lcm_entity_id]
LGLCNTNTMMAINORGPURORG, -- Entity ID [lcm_entity_id]
LGLCNTNTMLONGTEXTUUID, -- Description UUID [lcm_longtext_id]
LGLCNTNTMINTEGRATIONTYPE, -- Integration Variant [lcm_integration_type]
LGLCNTNTMARCHIVESTATUS, -- Data Arch Status [lcm_archive_status]
PRIMARY KEY (MANDT, LGLCNTNTMCONTEXTUUID)
);
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