R_DEFECTLONGTEXTTP

CDS View

Defect Long Text

R_DEFECTLONGTEXTTP is a CDS View in S/4HANA. Defect Long Text. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
A_DefectDetailedDescriptionT view_entity projection CONSUMPTION Defect Detailed Description - Text
I_DefectLongTextTP_2 view_entity projection TRANSACTIONAL Defect Long Text - TP
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Defect Long Text'
@Metadata.ignorePropagatedAnnotations: true
@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}
@ObjectModel:
    { usageType: {
        dataClass: #TRANSACTIONAL,
        sizeCategory: #L,
        serviceQuality: #A
    },
    representativeKey: 'LongTextInternalNumber',
    dataCategory: #TEXT
}

define view entity R_DefectLongTextTP as select from I_DefectLongText as _DefectLongText

    association to parent R_DefectTP  as _Defect      on $projection.DefectInternalID = _Defect.DefectInternalID

{
    @ObjectModel.foreignKey.association: '_Defect'
    key _DefectLongText.DefectInternalID,
    key _DefectLongText.LongTextInternalNumber,
    
    @Semantics.language: true
    @ObjectModel.foreignKey.association: '_Language'
    key _DefectLongText.Language,
  
    _DefectLongText.LongTextID,
    @Semantics.text: true
    _DefectLongText.DefectLongText,
    
    _DefectLongText.LongTextCreatedByUser,
    _DefectLongText.LongTextCreatedAt,
    _DefectLongText.LongTextLastChangedByUser,
    _DefectLongText.LongTextLastChangedAt,
    _DefectLongText.MimeType,
    
    /* Associations */
    _Defect,
    _DefectLongText._Language
}