C_MasterDataAttachmentLinkTP

DDL: C_MASTERDATAATTACHMENTLINKTP Type: view_entity CONSUMPTION

Master Data Attachment

C_MasterDataAttachmentLinkTP is a Consumption CDS View that provides data about "Master Data Attachment" in SAP S/4HANA. It reads from 1 data source (I_MasterDataAttachmentLinkTP) and exposes 22 fields with key field MasterDataAttachmentUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MasterDataAttachmentLinkTP I_MasterDataAttachmentLinkTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MDCloudUserContactCard _AttchCreatedByContactCard $projection.MasterDataAttachmentCreatedBy = _AttchCreatedByContactCard.ContactCardID

Annotations (9)

NameValueLevelField
EndUserText.label Master Data Attachment view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY MasterDataAttachmentUUID MasterDataAttachmentUUID
MasterDataAttachmentObjectType MasterDataAttachmentObjectType
MasterDataAttachmentObjectID MasterDataAttachmentObjectID
MasterDataCMISRepositoryID MasterDataCMISRepositoryID
MasterDataCMISObjectID MasterDataCMISObjectID
MDAttachmentPreviousVersionID MDAttachmentPreviousVersionID
MDAttachmentIsCurrentVersion MDAttachmentIsCurrentVersion
MasterDataCMISFolderID MasterDataCMISFolderID
MasterDataCMISFileSize MasterDataCMISFileSize
MasterDataAttachmentMimeType MasterDataAttachmentMimeType
MasterDataAttachmentFileName MasterDataAttachmentFileName
MasterDataCMISURL MasterDataCMISURL
MasterDataAttchCreatedDteTme MasterDataAttchCreatedDteTme
MasterDataAttachmentCreatedBy MasterDataAttachmentCreatedBy
MasterDataAttchChangedDteTme MasterDataAttchChangedDteTme
MasterDataAttachmentChangedBy MasterDataAttachmentChangedBy
LastChangedByUserName _LastChangedByUser FullName Name
CreatedByUserName _CreatedByUser FullName Name
rawstring0
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_AttchCreatedByContactCard _AttchCreatedByContactCard

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_MasterDataAttachmentLinkTP.
-- 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 C_MasterDataAttachmentLinkTP AS
SELECT
  MasterDataAttachmentUUID,
  MasterDataAttachmentObjectType,
  MasterDataAttachmentObjectID,
  MasterDataCMISRepositoryID,
  MasterDataCMISObjectID,
  MDAttachmentPreviousVersionID,
  MDAttachmentIsCurrentVersion,
  MasterDataCMISFolderID,
  MasterDataCMISFileSize,
  MasterDataAttachmentMimeType,
  MasterDataAttachmentFileName,
  MasterDataCMISURL,
  MasterDataAttchCreatedDteTme,
  MasterDataAttachmentCreatedBy,
  MasterDataAttchChangedDteTme,
  MasterDataAttachmentChangedBy,
  _LastChangedByUser.FullName AS LastChangedByUserName,
  _CreatedByUser.FullName AS CreatedByUserName,
  virtual MDAttachmentContentBinary : abap.rawstring(0) AS rawstring0
FROM I_MasterDataAttachmentLinkTP
LEFT OUTER JOIN I_MDCloudUserContactCard AS _AttchCreatedByContactCard ON MasterDataAttachmentCreatedBy = _AttchCreatedByContactCard.ContactCardID  -- association [0..1]
;