A_ServiceRequestText

DDL: A_SERVICEREQUESTTEXT Type: view COMPOSITE

Service Request Text

A_ServiceRequestText is a Composite CDS View that provides data about "Service Request Text" in SAP S/4HANA. It reads from 1 data source (P_ServiceDocumentText) and exposes 5 fields with key fields ServiceRequest, Language, LongTextID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_ServiceDocumentText P_ServiceDocumentText from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceRequest _ServiceRequest $projection.ServiceRequest = _ServiceRequest.ServiceRequest

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Service Request Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASRVREQTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceRequest ServiceRequestText ServiceDocument
KEY Language Language
KEY LongTextID LongTextID
LongText LongText
_ServiceRequest _ServiceRequest
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Service Request Text'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
  sqlViewName: 'ASRVREQTEXT',
  compiler.compareFilter: true,
  preserveKey: true
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true


define view A_ServiceRequestText
  as select from P_ServiceDocumentText( P_SAPClient : $session.client ) as ServiceRequestText

  association [1] to A_ServiceRequest as _ServiceRequest on $projection.ServiceRequest = _ServiceRequest.ServiceRequest
  //   inner join   I_ServiceDocument                                      as ServiceDocument on ServiceDocument.ServiceDocumentUUID = ServiceDocumentText.ServiceDocumentUUID

{

  key ServiceRequestText.ServiceDocument as ServiceRequest,
  key Language,
  key LongTextID,
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_CRMS4_API_ODATA_TEXT'
      LongText,

      //Associations

      _ServiceRequest

}
where
  ServiceRequestText.ServiceDocumentType = 'BUS2000223'