A_ServiceConfirmationText

DDL: A_SERVICECONFIRMATIONTEXT Type: view_entity COMPOSITE Package: ODATA_CRMS4_SERVICECONFIRM

Service Confirmation Text

A_ServiceConfirmationText is a Composite CDS View that provides data about "Service Confirmation Text" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentLongText) and exposes 5 fields with key fields ServiceConfirmation, Language, LongTextID. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICECONFIRM.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentLongText ServiceConfirmationText from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceConfirmation _ServiceConfirmation $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation

Annotations (11)

NameValueLevelField
EndUserText.label Service Confirmation Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation I_ServiceDocumentLongText ServiceDocument
KEY Language I_ServiceDocumentLongText Language
KEY LongTextID TextObjectType
LongText ServiceDocumentLongText
_ServiceConfirmation _ServiceConfirmation
@EndUserText.label: 'Service Confirmation Text'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #MIXED,
     serviceQuality: #C,
     sizeCategory:   #XXL
   }
}
@Metadata.ignorePropagatedAnnotations: true


define view entity A_ServiceConfirmationText
  as select from I_ServiceDocumentLongText as ServiceConfirmationText
  //   inner join   I_ServiceDocument                                      as ServiceDocument on ServiceDocument.ServiceDocumentUUID = ServiceDocumentText.ServiceDocumentUUID

  association [1] to A_ServiceConfirmation as _ServiceConfirmation on $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation
{

  key ServiceConfirmationText.ServiceDocument as ServiceConfirmation,
  key ServiceConfirmationText.Language,
  key TextObjectType as LongTextID,
//      @ObjectModel.virtualElement

//      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_CRMS4_API_ODATA_TEXT'

      ServiceDocumentLongText as LongText,

      //Associations

      _ServiceConfirmation

}
where ServiceConfirmationText.ServiceObjectType = 'BUS2000117'
and ServiceConfirmationText.ServiceDocumentItem = '000000'