P_MasterDataAttchLinkCount

DDL: P_MASTERDATAATTCHLINKCOUNT Type: view_entity COMPOSITE

Number of Attachments

P_MasterDataAttchLinkCount is a Composite CDS View that provides data about "Number of Attachments" in SAP S/4HANA. It reads from 1 data source (I_MasterDataAttachmentLinkTP) and exposes 3 fields with key fields MasterDataAttachmentObjectType, MasterDataAttachmentObjectID.

Data Sources (1)

SourceAliasJoin Type
I_MasterDataAttachmentLinkTP I_MasterDataAttachmentLinkTP from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Number of Attachments view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MasterDataAttachmentObjectType MasterDataAttachmentObjectType
KEY MasterDataAttachmentObjectID MasterDataAttachmentObjectID
NumberOfAttachments

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 P_MasterDataAttchLinkCount.
-- 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 P_MasterDataAttchLinkCount AS
SELECT
  MasterDataAttachmentObjectType,
  MasterDataAttachmentObjectID,
  count( * ) AS NumberOfAttachments
FROM I_MasterDataAttachmentLinkTP
;