A_ServiceContractText

DDL: A_SERVICECONTRACTTEXT Type: view CONSUMPTION Package: ODATA_CRMS4_SERVICECONTRACT

Header Text

A_ServiceContractText is a Consumption CDS View that provides data about "Header Text" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentLongText) and exposes 5 fields with key fields ServiceContract, Language, LongTextID. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICECONTRACT.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentLongText ServiceContractText from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceContract _ServiceContract $projection.ServiceContract = _ServiceContract.ServiceContract

Annotations (14)

NameValueLevelField
EndUserText.label Header Text view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ASRVCTRTEXT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false 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 ServiceContract I_ServiceDocumentLongText ServiceDocument
KEY Language Language
KEY LongTextID TextObjectType
LongText ServiceDocumentLongText
_ServiceContract _ServiceContract
@EndUserText.label: 'Header Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {
  sqlViewName: 'ASRVCTRTEXT',
  compiler.compareFilter: true
}

@VDM: {
  viewType: #CONSUMPTION, 
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}

@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}

@ObjectModel: {
   createEnabled: false,
   updateEnabled: false,
   deleteEnabled: false,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view A_ServiceContractText 
  as select from I_ServiceDocumentLongText as ServiceContractText
  association [1] to A_ServiceContract as _ServiceContract on $projection.ServiceContract = _ServiceContract.ServiceContract
{
  key ServiceContractText.ServiceDocument as ServiceContract,
  key Language,
  key TextObjectType                      as LongTextID,
      ServiceDocumentLongText             as LongText,
      _ServiceContract
}
where ServiceContractText.ServiceObjectType   = 'BUS2000112'
  and ServiceContractText.ServiceDocumentItem = '000000'