I_HCMDocumentCategory

DDL: I_HCMDOCUMENTCATEGORY Type: view_entity BASIC

My HR Related Documents Categories

I_HCMDocumentCategory is a Basic CDS View that provides data about "My HR Related Documents Categories" in SAP S/4HANA. It reads from 1 data source (thrfio_docctgry) and exposes 4 fields with key fields HCMDocumentCategoryID, HCMCountryRegionGrouping. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
thrfio_docctgry thrfio_docctgry from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_HCMDocumentCategoryTxt _Text $projection.HCMDocumentCategoryID = _Text.HCMDocumentCategoryID and $projection.HCMCountryRegionGrouping = _Text.HCMCountryRegionGrouping

Annotations (10)

NameValueLevelField
ObjectModel.representativeKey HCMDocumentCategoryID view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label My HR Related Documents Categories view
VDM.viewType #BASIC view
ObjectModel.resultSet.sizeCategory #XS view
Feature SW:H4S4_SFWS_SC_01 view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY HCMDocumentCategoryID category_id Category ID
KEY HCMCountryRegionGrouping molga Reserved Field/Unused Field of Length 2
HCMDocumentCategoryName _Text HCMDocumentCategoryName
_Text _Text

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_HCMDocumentCategory.
-- 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.

CREATE VIEW I_HCMDocumentCategory AS
SELECT
  category_id AS HCMDocumentCategoryID,
  molga AS HCMCountryRegionGrouping,
  _Text.HCMDocumentCategoryName AS HCMDocumentCategoryName
FROM thrfio_docctgry
LEFT OUTER JOIN I_HCMDocumentCategoryTxt AS _Text ON HCMDocumentCategoryID = _Text.HCMDocumentCategoryID AND HCMCountryRegionGrouping = _Text.HCMCountryRegionGrouping  -- association [0..1]
;