I_HCMDocumentMail

DDL: I_HCMDOCUMENTMAIL Type: view_entity BASIC

My HR Related Documents Mail Template

I_HCMDocumentMail is a Basic CDS View that provides data about "My HR Related Documents Mail Template" in SAP S/4HANA. It reads from 1 data source (I_HCMDocumentUpload) and exposes 15 fields with key field HCMDocumentUploadID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_HCMDocumentUpload I_HCMDocumentUpload from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_HCMDocumentCategory _Category $projection.HCMDocumentCategoryID = _Category.HCMDocumentCategoryID
[1..1] I_HCMDocumentCategoryTxt _CategoryText $projection.HCMDocumentCategoryID = _CategoryText.HCMDocumentCategoryID
[1..*] I_HCMDocumentProcessor _Processor $projection.HCMDocumentCategoryID = _Processor.HCMDocumentCategoryID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label My HR Related Documents Mail Template view
Feature SW:H4S4_SFWS_SC_01 view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY HCMDocumentUploadID HCMDocumentUploadID GUID
HCMDocumentCategoryID HCMDocumentCategoryID TemplateCategoryID
HCMDocumentCreatedByPerson HCMDocumentCreatedByPerson Personnel No.
HCMDocumentCreatedForPerson HCMDocumentCreatedForPerson Personnel No.
HCMDocumentCreatedByUser HCMDocumentCreatedByUser User Name
HCMDocumentCreatedForUser HCMDocumentCreatedForUser User Name
HCMDocumentUploadDate HCMDocumentUploadDate Time Stamp
HCMDocumentUploadTime HCMDocumentUploadTime Time Stamp
HCMDocumentUploadDescription HCMDocumentUploadDescription TradeRequest Comment
HCMDocumentCategoryName _CategoryText HCMDocumentCategoryName
HCMAttachmentURL
HCMEmployeeName
_Category _Category
_CategoryText _CategoryText
_Processor _Processor

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_HCMDocumentMail.
-- 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_HCMDocumentMail AS
SELECT
  HCMDocumentUploadID,
  HCMDocumentCategoryID,
  HCMDocumentCreatedByPerson,
  HCMDocumentCreatedForPerson,
  HCMDocumentCreatedByUser,
  HCMDocumentCreatedForUser,
  HCMDocumentUploadDate,
  HCMDocumentUploadTime,
  HCMDocumentUploadDescription,
  _CategoryText.HCMDocumentCategoryName AS HCMDocumentCategoryName,
  cast('' as char1024) AS HCMAttachmentURL,
  cast('' as emnam) AS HCMEmployeeName
FROM I_HCMDocumentUpload
LEFT OUTER JOIN I_HCMDocumentCategory AS _Category ON HCMDocumentCategoryID = _Category.HCMDocumentCategoryID  -- association [1..1]
LEFT OUTER JOIN I_HCMDocumentCategoryTxt AS _CategoryText ON HCMDocumentCategoryID = _CategoryText.HCMDocumentCategoryID  -- association [1..1]
LEFT OUTER JOIN I_HCMDocumentProcessor AS _Processor ON HCMDocumentCategoryID = _Processor.HCMDocumentCategoryID  -- association [1..*]
;