I_LglCntntMCategory

DDL: I_LGLCNTNTMCATEGORY SQL: ILCMCAT Type: view BASIC

Basic view for LCM Categories

I_LglCntntMCategory is a Basic CDS View that provides data about "Basic view for LCM Categories" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCategoryBasic) and exposes 29 fields with key field LglCntntMCategory. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMCategoryBasic I_LglCntntMCategoryBasic from

Associations (2)

CardinalityTargetAliasCondition
[0..1] Sgbt_Nte_Cds_Cont _Note _Note.noteid = $projection.LglCntntMLongTextUUID and _Note.objectnodetype = 'LegalCategory' and _Note.notetype = 'LCM_LONGTEXT'
[1..1] I_LglCntntMParentCatAggrgn _LglCntntMParentCatAggrgn $projection.LglCntntMParentCategory = _LglCntntMParentCatAggrgn.LglCntntMParentCategory

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ILCMCAT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #CLIENT_DEPENDENT view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Basic view for LCM Categories view
VDM.viewType #BASIC view
ObjectModel.representativeKey LglCntntMCategory view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMCategory LglCntntMCategory Category ID
LglCntntMCatLevel LglCntntMCatLevel Category Level
LglCntntMCatType LglCntntMCatType Category Type
LglCntntMCatIsSelect LglCntntMCatIsSelect Is Selectable
LglCntntMCatIsMultiSelection LglCntntMCatIsMultiSelection Multiple Selection
LglCntntMCatIsObsolete LglCntntMCatIsObsolete Obsolete
LglCntntMCatModel LglCntntMCatModel Model for Dnmc. Ctg.
LglCntntMCategoryValue LglCntntMCategoryValue Category Value
LglCntntMCatIsUpdateFromTable LglCntntMCatIsUpdateFromTable Is Update From Table
LglCntntMCreatedByUser LglCntntMCreatedByUser Created By
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime Created On
LglCntntMChangedByUser LglCntntMChangedByUser Changed By
LglCntntMChangedUTCDateTime LglCntntMChangedUTCDateTime Changed On
LglCntntMParentCategory LglCntntMParentCategory Parent Category ID
LglCntntMRootCategory LglCntntMRootCategory Root Category ID
LglCntntMCatPurpose LglCntntMCatPurpose Category Purpose
LglCntntMCatIsSystGenerated LglCntntMCatIsSystGenerated System gen. category
LglCntntMCatConstant LglCntntMCatConstant Category Qualifier
LglCntntMCategoryNameSyst
LglCntntMCategoryNameInEnglish
LglCntntMLongTextUUID LglCntntMLongTextUUID Description UUID
_LglCntntMCategoryText _LglCntntMCategoryText
_LglCntntMParentCategoriesText _LglCntntMParentCategoriesText
_LglCntntMRootCategoriesText _LglCntntMRootCategoriesText
_LglCntntMCategoryTypeText _LglCntntMCategoryTypeText
_Note _Note
_LglCntntMCatPurposeText _LglCntntMCatPurposeText
_LglCntntMCategoryCnstntText _LglCntntMCategoryCnstntText
_LglCntntMParentCatAggrgn _LglCntntMParentCatAggrgn

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 I_LglCntntMCategory.
-- 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: ILCMCAT

CREATE VIEW I_LglCntntMCategory AS
SELECT
  LglCntntMCategory,
  LglCntntMCatLevel,
  LglCntntMCatType,
  LglCntntMCatIsSelect,
  LglCntntMCatIsMultiSelection,
  LglCntntMCatIsObsolete,
  LglCntntMCatModel,
  LglCntntMCategoryValue,
  LglCntntMCatIsUpdateFromTable,
  LglCntntMCreatedByUser,
  LglCntntMCreatedUTCDateTime,
  LglCntntMChangedByUser,
  LglCntntMChangedUTCDateTime,
  LglCntntMParentCategory,
  LglCntntMRootCategory,
  LglCntntMCatPurpose,
  LglCntntMCatIsSystGenerated,
  LglCntntMCatConstant,
  _LglCntntMCategoryText[1: Language = $session.system_language].LglCntntMCategoryName AS LglCntntMCategoryNameSyst,
  _LglCntntMCategoryText[1: Language = 'E'].LglCntntMCategoryName AS LglCntntMCategoryNameInEnglish,
  LglCntntMLongTextUUID
FROM I_LglCntntMCategoryBasic
LEFT OUTER JOIN Sgbt_Nte_Cds_Cont AS _Note ON _Note.noteid = LglCntntMLongTextUUID AND _Note.objectnodetype = 'LegalCategory' AND _Note.notetype = 'LCM_LONGTEXT'  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMParentCatAggrgn AS _LglCntntMParentCatAggrgn ON LglCntntMParentCategory = _LglCntntMParentCatAggrgn.LglCntntMParentCategory  -- association [1..1]
;