C_CollabnApplFrtAgrmtRFQNotes is a Consumption CDS View that provides data about "Freight Agreement RFQ Notes" in SAP S/4HANA. It reads from 1 data source (I_TextCollection) and exposes 15 fields with key field TextCollectionContentUUID. It has 1 association to related views.
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED@VDM.viewType: #CONSUMPTION@ObjectModel.representativeKey: 'TextCollectionContentUUID'
@ObjectModel.semanticKey: ['TextCollectionContentUUID']@ObjectModel.usageType.dataClass: #MASTER@ObjectModel.usageType.serviceQuality: #C@ObjectModel.usageType.sizeCategory: #XL@Metadata.allowExtensions: true@Metadata.ignorePropagatedAnnotations: true@EndUserText.label: 'Freight Agreement RFQ Notes'
defineviewentity C_CollabnApplFrtAgrmtRFQNotes
asselectfrom I_TextCollection as TextCollectionRoot
leftouter to many join I_TextCollectionType as _TextCollectionType on TextCollectionRoot.TextCollectionUUID = _TextCollectionType.TextCollectionUUID
leftouter to one join I_TextCollectionContent as _TextCollectionContent on _TextCollectionType.TextCollectionTypeUUID = _TextCollectionContent.TextCollectionTypeUUID
association to parent C_CollabnApplFrtAgrmtRFQ as _CollabnApplFrtAgrmtRFQ on $projection.FrtAgrmtReqForQuotationUUID = _CollabnApplFrtAgrmtRFQ.FrtAgrmtReqForQuotationUUID
association [0..1] to I_User as _TextCollectionTextCrtedByUser on $projection.TextCollectionTextCrtedByUser = _TextCollectionTextCrtedByUser.UserID
{
key _TextCollectionContent.TextCollectionContentUUID as TextCollectionContentUUID,
_TextCollectionType.TextCollectionTypeUUID as TextCollectionTypeUUID,
TextCollectionRoot.TextCollectionUUID as TextCollectionUUID,
TextCollectionRoot.TextCollectionSchema as TextCollectionSchema,
_TextCollectionType.TextCollectionType as TextCollectionType,
@Semantics.user.createdBy: true@ObjectModel.text.element: ['UserDescription']@UI.hidden: true
_TextCollectionType.TextCollectionTextCrtedByUser as TextCollectionTextCrtedByUser,
@Semantics.text: true
_TextCollectionTextCrtedByUser.UserDescription,
@Semantics.systemDate.createdAt: true@Semantics.dateTime: true
_TextCollectionType.TextCollectionTextCrtedDteTime as TextCollectionTextCrtedDteTime,
@Semantics.systemDate.lastChangedAt: true@Semantics.dateTime: true
_TextCollectionType.TextCollectionTextChgdDateTime as TextCollectionTextChgdDateTime,
_TextCollectionType.Language as Language,
_TextCollectionContent.TextCollectionContentText as TextCollectionContentText,
TextCollectionRoot.HostDocumentBusinessObjectUUID as HostDocumentBusinessObjectUUID,
TextCollectionRoot.HostDocumentBusObjNodeUUID as HostDocumentBusObjNodeUUID,
TextCollectionRoot.HostDocumentUUID as FrtAgrmtReqForQuotationUUID,
_CollabnApplFrtAgrmtRFQ
}
where
TextCollectionRoot.DocumentHasText = 'X'
and TextCollectionRoot.HostDocumentBusinessObjectUUID = hextobin('80E0ED0A04961DEBA1C10BC517501070')
and TextCollectionRoot.HostDocumentBusObjNodeUUID = hextobin('80E0ED0A04961DEBA1C10BC801824213')
and _TextCollectionType.TextCollectionTypeIsInternal = ' '
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_TEXTCOLLECTION",
"I_TEXTCOLLECTIONCONTENT",
"I_TEXTCOLLECTIONTYPE",
"I_USER"
],
"ASSOCIATED":
[
"C_COLLABNAPPLFRTAGRMTRFQ"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/