A_DefectDetailedDescriptionT

DDL: A_DEFECTDETAILEDDESCRIPTIONT Type: view_entity CONSUMPTION

Defect Detailed Description - Text

A_DefectDetailedDescriptionT is a Consumption CDS View that provides data about "Defect Detailed Description - Text" in SAP S/4HANA. It reads from 1 data source (R_DefectLongTextTP) and exposes 10 fields with key fields DefectInternalID, LongTextInternalNumber, Language. It is exposed through 1 OData service (API_DEFECT).

Data Sources (1)

SourceAliasJoin Type
R_DefectLongTextTP R_DefectLongTextTP projection

Annotations (12)

NameValueLevelField
EndUserText.label Defect Detailed Description - Text view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey LongTextInternalNumber view
ObjectModel.dataCategory #TEXT view
OData.entitySet.name DefectDetailedDescription view
OData.entityType.name DefectDetailedDescription_Type view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
API_DEFECT API_DEFECT V4 C2 C1

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY DefectInternalID _DefectDetailedDescription DefectInternalID
KEY LongTextInternalNumber _DefectDetailedDescription LongTextInternalNumber
KEY Language _DefectDetailedDescription Language
LongTextID _DefectDetailedDescription LongTextID
DefectLongText _DefectDetailedDescription DefectLongText
LongTextCreatedByUser _DefectDetailedDescription LongTextCreatedByUser
LongTextCreatedAt _DefectDetailedDescription LongTextCreatedAt
LongTextLastChangedByUser _DefectDetailedDescription LongTextLastChangedByUser
LongTextLastChangedAt _DefectDetailedDescription LongTextLastChangedAt
_DefectredirectedtoparentA_Defect2
@EndUserText.label: 'Defect Detailed Description - Text'
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #CONSUMPTION
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.usage.type: [ #TRANSACTIONAL_PROCESSING_SERVICE ]
@ObjectModel:
    { usageType: {
        dataClass: #TRANSACTIONAL,
        sizeCategory: #L,
        serviceQuality: #A
    },
    representativeKey: 'LongTextInternalNumber',
    dataCategory: #TEXT
}
@OData: {
  entitySet:  { name: 'DefectDetailedDescription' },
  entityType: { name: 'DefectDetailedDescription_Type' }
}
@Metadata.ignorePropagatedAnnotations: true

define view entity A_DefectDetailedDescriptionT 
  as projection on R_DefectLongTextTP as _DefectDetailedDescription

{
      @ObjectModel.foreignKey.association: '_Defect'
  key _DefectDetailedDescription.DefectInternalID, 
  key _DefectDetailedDescription.LongTextInternalNumber,
      @Semantics.language: true
  key _DefectDetailedDescription.Language,
  
      @Consumption.hidden: true
      _DefectDetailedDescription.LongTextID,
      @Semantics.text: true
      _DefectDetailedDescription.DefectLongText,
      _DefectDetailedDescription.LongTextCreatedByUser,
      _DefectDetailedDescription.LongTextCreatedAt,
      _DefectDetailedDescription.LongTextLastChangedByUser,
      _DefectDetailedDescription.LongTextLastChangedAt,
      
     /* Associations */
     _Defect : redirected to parent A_Defect2
     
} 
// Specialization

where LongTextID = 'LTXT' // Refer to content of table TTXID where TDOBJECT = 'QMFE'