C_LglCntntMCategory
Manage Categories
C_LglCntntMCategory is a Consumption CDS View that provides data about "Manage Categories" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCategoryTP) and exposes 46 fields with key field LegalCategory. It has 14 associations to related views. Part of development package ODATA_LCM_CAT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LglCntntMCategoryTP | I_LglCntntMCategoryTP | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_LglCntntMCategoryItem | _LglCntntMCategoryItem | $projection.LegalCategory = _LglCntntMCategoryItem.LglCntntMParentCategory |
| [0..1] | C_LglCntntMCatModValueHelp | _LglCntntMCatModValueHelp | $projection.LglCntntMCatModel = _LglCntntMCatModValueHelp.LglCntntMCatModel |
| [0..1] | C_LglCntntMCatTypeValueHelp | _LglCntntMCatTypeValueHelp | $projection.LglCntntMCatType = _LglCntntMCatTypeValueHelp.LglCntntMCatType |
| [1..1] | I_LglCntntMCategoryTP | _LglCntntMParentCategory | $projection.LglCntntMParentCategory = _LglCntntMParentCategory.LglCntntMCategory |
| [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] | C_LCMUserValueHelp | _CreatedBy | $projection.LglCntntMCreatedByUser = _CreatedBy.UserID |
| [0..1] | C_LCMUserValueHelp | _ChangedBy | $projection.LglCntntMChangedByUser = _ChangedBy.UserID |
| [0..1] | C_LCMBooleanValueHelp | _CatIsSelect | $projection.LglCntntMCatIsSelectFilter = _CatIsSelect.LglCntntMIsChecked |
| [0..1] | C_LCMBooleanValueHelp | _CatIsObsolete | $projection.LglCntntMCatIsObsoleteFilter = _CatIsObsolete.LglCntntMIsChecked |
| [0..1] | C_LglCntntMCatValueHelp | _LglCntntMCatValueHelp | $projection.LegalCategory = _LglCntntMCatValueHelp.LglCntntMCategory |
| [0..*] | C_LglCntntMChangeLog | _LglCntntMChangeLog | $projection.ChangeDocObject = _LglCntntMChangeLog.ChangeDocObject |
| [1..1] | C_LglCntntMExportCategory | _LglCntntMExportCategory | $projection.LegalCategory = _LglCntntMExportCategory.LegalCategory |
| [1..1] | C_LglCntntMCategoryPurposeVH | _LglCntntMCategoryPurposeVH | $projection.LglCntntMCatPurpose = _LglCntntMCategoryPurposeVH.LglCntntMCatPurpose |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLCMCATEG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.semanticKey | LegalCategory | view | |
| ObjectModel.representativeKey | LegalCategory | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.compositionRoot | 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 | |
| EndUserText.label | Manage Categories | view | |
| UI.headerInfo.typeName | Category | view | |
| UI.headerInfo.typeNamePlural | Categories | view | |
| UI.headerInfo.title.value | LglCntntMCategoryName | view | |
| UI.headerInfo.description.value | LegalCategory | view | |
| Search.searchable | true | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalCategory | LglCntntMCategory | Category | |
| LglCntntMCategoryName | LglCntntMCategoryName | Name | ||
| LglCntntMCategoryNameSyst | ||||
| LglCntntMCategoryNameInEnglish | ||||
| LglCntntMCatType | LglCntntMCatType | Type | ||
| LglCntntMCatIsSelect | LglCntntMCatIsSelect | Selectable | ||
| LglCntntMCatIsSelectFilter | LglCntntMCatIsSelect | Selectable | ||
| LglCntntMCatIsObsolete | LglCntntMCatIsObsolete | Obsolete | ||
| LglCntntMCatIsObsoleteFilter | LglCntntMCatIsObsolete | Obsolete | ||
| LglCntntMCatPurpose | LglCntntMCatPurpose | Purpose | ||
| LglCntntMCatIsMultiSelection | LglCntntMCatIsMultiSelection | Multi-Selectable Values | ||
| LglCntntMCatLevel | LglCntntMCatLevel | Category Level | ||
| LglCntntMCatModel | LglCntntMCatModel | Table for Generation of Categories | ||
| LglCntntMCatConstant | LglCntntMCatConstant | Qualifier | ||
| LglCntntMCatIsSystGenerated | LglCntntMCatIsSystGenerated | System gen. category | ||
| 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 | |
| LglCntntMParCatIsObsolete | _LglCntntMParentCategory | LglCntntMCatIsObsolete | Obsolete | |
| ChangeDocObject | ||||
| LglCntntMLongText | LglCntntMLongText | Description | ||
| LglCntntMLongTextMimeType | LglCntntMLongTextMimeType | MIMETYPE | ||
| LglCntntMSystemType | ||||
| _LglCntntMCategoryItem | _LglCntntMCategoryItem | |||
| _LglCntntMCatModValueHelp | _LglCntntMCatModValueHelp | |||
| _LglCntntMCatTypeValueHelp | _LglCntntMCatTypeValueHelp | |||
| _LglCntntMCatModelText | _LglCntntMCatModelText | |||
| _LglCntntMCategoryTypeText | _LglCntntMCategoryTypeText | |||
| _LglCntntMCatPurposeText | _LglCntntMCatPurposeText | |||
| _LglCntntMCategoryCnstntText | _LglCntntMCategoryCnstntText | |||
| _CreatedByContactCard | _CreatedByContactCard | |||
| _ChangedByContactCard | _ChangedByContactCard | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy | |||
| _CatIsSelect | _CatIsSelect | |||
| _CatIsObsolete | _CatIsObsolete | |||
| _LglCntntMCatValueHelp | _LglCntntMCatValueHelp | |||
| _LglCntntMChangeLog | _LglCntntMChangeLog | |||
| _LglCntntMExportCategory | _LglCntntMExportCategory | |||
| _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_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: CLCMCATEG
CREATE VIEW C_LglCntntMCategory AS
SELECT
LglCntntMCategory AS LegalCategory,
LglCntntMCategoryName,
_LglCntntMCategoryText[1: Language = $session.system_language].LglCntntMCategoryName AS LglCntntMCategoryNameSyst,
_LglCntntMCategoryText[1: Language = 'E'].LglCntntMCategoryName AS LglCntntMCategoryNameInEnglish,
LglCntntMCatType,
LglCntntMCatIsSelect,
LglCntntMCatIsSelect AS LglCntntMCatIsSelectFilter,
LglCntntMCatIsObsolete,
LglCntntMCatIsObsolete AS LglCntntMCatIsObsoleteFilter,
LglCntntMCatPurpose,
LglCntntMCatIsMultiSelection,
LglCntntMCatLevel,
LglCntntMCatModel,
LglCntntMCatConstant,
LglCntntMCatIsSystGenerated,
LglCntntMCatIsUpdateFromTable,
LglCntntMCreatedUTCDateTime,
LglCntntMCreatedByUser,
cast('' as ad_namtext) AS LglCntntMCreatedByFullName,
LglCntntMChangedUTCDateTime,
LglCntntMChangedByUser,
cast('' as ad_namtext) AS LglCntntMChangedByFullName,
LglCntntMParentCategory,
_LglCntntMParentCategory.LglCntntMCategoryName AS LglCntntMParentCategoryName,
_LglCntntMParentCategory.LglCntntMCatIsObsolete AS LglCntntMParCatIsObsolete,
cast ( concat( 'CATEGORY', LglCntntMCategory ) as cdobjectv ) AS ChangeDocObject,
LglCntntMLongText,
LglCntntMLongTextMimeType,
cast('' as lcm_system_classification) AS LglCntntMSystemType
FROM I_LglCntntMCategoryTP
LEFT OUTER JOIN C_LglCntntMCategoryItem AS _LglCntntMCategoryItem ON LegalCategory = _LglCntntMCategoryItem.LglCntntMParentCategory -- association [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_LglCntntMCategoryTP AS _LglCntntMParentCategory ON LglCntntMParentCategory = _LglCntntMParentCategory.LglCntntMCategory -- association [1..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 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]
LEFT OUTER JOIN C_LCMBooleanValueHelp AS _CatIsSelect ON LglCntntMCatIsSelectFilter = _CatIsSelect.LglCntntMIsChecked -- association [0..1]
LEFT OUTER JOIN C_LCMBooleanValueHelp AS _CatIsObsolete ON LglCntntMCatIsObsoleteFilter = _CatIsObsolete.LglCntntMIsChecked -- association [0..1]
LEFT OUTER JOIN C_LglCntntMCatValueHelp AS _LglCntntMCatValueHelp ON LegalCategory = _LglCntntMCatValueHelp.LglCntntMCategory -- association [0..1]
LEFT OUTER JOIN C_LglCntntMChangeLog AS _LglCntntMChangeLog ON ChangeDocObject = _LglCntntMChangeLog.ChangeDocObject -- association [0..*]
LEFT OUTER JOIN C_LglCntntMExportCategory AS _LglCntntMExportCategory ON LegalCategory = _LglCntntMExportCategory.LegalCategory -- association [1..1]
LEFT OUTER JOIN C_LglCntntMCategoryPurposeVH AS _LglCntntMCategoryPurposeVH ON LglCntntMCatPurpose = _LglCntntMCategoryPurposeVH.LglCntntMCatPurpose -- association [1..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