C_LglCntntMCategoryItem

DDL: C_LGLCNTNTMCATEGORYITEM SQL: CLCMCATEGITEM Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_LglCntntMCategoryItemTP I_LglCntntMCategoryItemTP from

Associations (10)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;