C_LglCntntMCategoryItem
Manage Categories
C_LglCntntMCategoryItem is a Consumption CDS View that provides data about "Manage Categories" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCategoryItemTP) and exposes 33 fields with key field LglCntntMCategory. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LglCntntMCategoryItemTP | I_LglCntntMCategoryItemTP | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_LglCntntMCategory | _LglCntntMCategory | $projection.LglCntntMParentCategory = _LglCntntMCategory.LegalCategory |
| [0..1] | C_LglCntntMCatModValueHelp | _LglCntntMCatModValueHelp | $projection.LglCntntMCatModel = _LglCntntMCatModValueHelp.LglCntntMCatModel |
| [0..1] | C_LglCntntMCatTypeValueHelp | _LglCntntMCatTypeValueHelp | $projection.LglCntntMCatType = _LglCntntMCatTypeValueHelp.LglCntntMCatType |
| [0..1] | I_LCMUserContactCard | _CreatedByContactCard | _CreatedByContactCard.ContactCardType = 'User' and _CreatedByContactCard.ContactCardID = $projection.LglCntntMCreatedByUser and _CreatedByContactCard.ContactCardRole = 'Creator' |
| [0..1] | I_LCMUserContactCard | _ChangedByContactCard | _ChangedByContactCard.ContactCardType = 'User' and _ChangedByContactCard.ContactCardID = $projection.LglCntntMChangedByUser and _ChangedByContactCard.ContactCardRole = 'Creator' |
| [0..1] | I_LglCntntMCatChildren | _LglCntntMCatChildren | $projection.LglCntntMCategory = _LglCntntMCatChildren.LglCntntMParentCategory |
| [1..1] | I_LglCntntMCategory | _LglCntntMParentCategory | $projection.LglCntntMParentCategory = _LglCntntMParentCategory.LglCntntMCategory |
| [1..1] | C_LglCntntMCategoryPurposeVH | _LglCntntMCategoryPurposeVH | $projection.LglCntntMCatPurpose = _LglCntntMCategoryPurposeVH.LglCntntMCatPurpose |
| [0..1] | C_LCMUserValueHelp | _CreatedBy | $projection.LglCntntMCreatedByUser = _CreatedBy.UserID |
| [0..1] | C_LCMUserValueHelp | _ChangedBy | $projection.LglCntntMChangedByUser = _ChangedBy.UserID |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLCMCATEGITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.semanticKey | LglCntntMCategory | view | |
| ObjectModel.representativeKey | LglCntntMCategory | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Category | view | |
| UI.headerInfo.typeNamePlural | Categories | view | |
| UI.headerInfo.title.value | LglCntntMCategoryName | view | |
| UI.headerInfo.description.value | LglCntntMCategory | view | |
| EndUserText.label | Manage Categories | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMCategory | LglCntntMCategory | Category | |
| LglCntntMCategoryName | LglCntntMCategoryName | Name | ||
| LglCntntMCatIsSelect | LglCntntMCatIsSelect | Selectable | ||
| LglCntntMCatIsObsolete | LglCntntMCatIsObsolete | Obsolete | ||
| LglCntntMCatPurpose | LglCntntMCatPurpose | Purpose | ||
| LglCntntMCatConstant | LglCntntMCatConstant | Qualifier | ||
| LglCntntMCatLevel | LglCntntMCatLevel | Level | ||
| LglCntntMCatType | LglCntntMCatType | Type | ||
| LglCntntMCatChildrenNumber | _LglCntntMCatChildren | LglCntntMCatChildrenNumber | Children | |
| LglCntntMCatIsMultiSelection | LglCntntMCatIsMultiSelection | Multi-Selectable | ||
| LglCntntMCatModel | LglCntntMCatModel | Table for Generation of Categories | ||
| LglCntntMCatIsUpdateFromTable | LglCntntMCatIsUpdateFromTable | Automatically Update Table | ||
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | Created On | ||
| LglCntntMCreatedByUser | LglCntntMCreatedByUser | Created By | ||
| LglCntntMCreatedByFullName | ||||
| LglCntntMChangedUTCDateTime | LglCntntMChangedUTCDateTime | Changed On | ||
| LglCntntMChangedByUser | LglCntntMChangedByUser | Changed By | ||
| LglCntntMChangedByFullName | ||||
| LglCntntMParentCategory | LglCntntMParentCategory | Parent | ||
| LglCntntMParentCategoryName | _LglCntntMParentCategory | LglCntntMCategoryName | Category Name | |
| LglCntntMLongText | LglCntntMLongText | Description | ||
| LglCntntMLongTextMimeType | LglCntntMLongTextMimeType | MIMETYPE | ||
| _LglCntntMCategory | _LglCntntMCategory | |||
| _LglCntntMCatModValueHelp | _LglCntntMCatModValueHelp | |||
| _LglCntntMCatTypeValueHelp | _LglCntntMCatTypeValueHelp | |||
| _LglCntntMCatModelText | _LglCntntMCatModelText | |||
| _LglCntntMCategoryTypeText | _LglCntntMCategoryTypeText | |||
| _LglCntntMCatPurposeText | _LglCntntMCatPurposeText | |||
| _CreatedByContactCard | _CreatedByContactCard | |||
| _ChangedByContactCard | _ChangedByContactCard | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy | |||
| _LglCntntMCategoryPurposeVH | _LglCntntMCategoryPurposeVH |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_LglCntntMCategoryItem.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CLCMCATEGITEM
CREATE VIEW C_LglCntntMCategoryItem AS
SELECT
LglCntntMCategory,
LglCntntMCategoryName,
LglCntntMCatIsSelect,
LglCntntMCatIsObsolete,
LglCntntMCatPurpose,
LglCntntMCatConstant,
LglCntntMCatLevel,
LglCntntMCatType,
_LglCntntMCatChildren.LglCntntMCatChildrenNumber AS LglCntntMCatChildrenNumber,
LglCntntMCatIsMultiSelection,
LglCntntMCatModel,
LglCntntMCatIsUpdateFromTable,
LglCntntMCreatedUTCDateTime,
LglCntntMCreatedByUser,
cast('' as ad_namtext) AS LglCntntMCreatedByFullName,
LglCntntMChangedUTCDateTime,
LglCntntMChangedByUser,
cast('' as ad_namtext) AS LglCntntMChangedByFullName,
LglCntntMParentCategory,
_LglCntntMParentCategory.LglCntntMCategoryName AS LglCntntMParentCategoryName,
LglCntntMLongText,
LglCntntMLongTextMimeType
FROM I_LglCntntMCategoryItemTP
LEFT OUTER JOIN C_LglCntntMCategory AS _LglCntntMCategory ON LglCntntMParentCategory = _LglCntntMCategory.LegalCategory -- association [1..1]
LEFT OUTER JOIN C_LglCntntMCatModValueHelp AS _LglCntntMCatModValueHelp ON LglCntntMCatModel = _LglCntntMCatModValueHelp.LglCntntMCatModel -- association [0..1]
LEFT OUTER JOIN C_LglCntntMCatTypeValueHelp AS _LglCntntMCatTypeValueHelp ON LglCntntMCatType = _LglCntntMCatTypeValueHelp.LglCntntMCatType -- association [0..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _CreatedByContactCard ON _CreatedByContactCard.ContactCardType = 'User' AND _CreatedByContactCard.ContactCardID = LglCntntMCreatedByUser AND _CreatedByContactCard.ContactCardRole = 'Creator' -- association [0..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _ChangedByContactCard ON _ChangedByContactCard.ContactCardType = 'User' AND _ChangedByContactCard.ContactCardID = LglCntntMChangedByUser AND _ChangedByContactCard.ContactCardRole = 'Creator' -- association [0..1]
LEFT OUTER JOIN I_LglCntntMCatChildren AS _LglCntntMCatChildren ON LglCntntMCategory = _LglCntntMCatChildren.LglCntntMParentCategory -- association [0..1]
LEFT OUTER JOIN I_LglCntntMCategory AS _LglCntntMParentCategory ON LglCntntMParentCategory = _LglCntntMParentCategory.LglCntntMCategory -- association [1..1]
LEFT OUTER JOIN C_LglCntntMCategoryPurposeVH AS _LglCntntMCategoryPurposeVH ON LglCntntMCatPurpose = _LglCntntMCategoryPurposeVH.LglCntntMCatPurpose -- association [1..1]
LEFT OUTER JOIN C_LCMUserValueHelp AS _CreatedBy ON LglCntntMCreatedByUser = _CreatedBy.UserID -- association [0..1]
LEFT OUTER JOIN C_LCMUserValueHelp AS _ChangedBy ON LglCntntMChangedByUser = _ChangedBy.UserID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA