C_ServiceDocObjPgNotes

DDL: C_SERVICEDOCOBJPGNOTES SQL: CSRVCDOCNOTES Type: view CONSUMPTION

View for Service document notes

C_ServiceDocObjPgNotes is a Consumption CDS View that provides data about "View for Service document notes" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 15 fields with key fields ServiceDocument, ServiceDocumentUUID, ServiceDocumentType.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd I_ServiceDocumentEnhcd from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CSRVCDOCNOTES view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label View for Service document notes view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey ServiceDocument view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument
KEY ServiceDocumentUUID ServiceDocumentUUID
KEY ServiceDocumentType ServiceDocumentType
ServiceObjectType ServiceObjectType
ServiceDocNoteText
ResponsibleEmployee ResponsibleEmployee
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
Division Division
SalesOffice SalesOffice
SalesGroup SalesGroup
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization
@AbapCatalog.sqlViewName: 'CSRVCDOCNOTES'
@AbapCatalog.compiler.compareFilter: true
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
  }
@EndUserText.label: 'View for Service document notes'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
  viewType: #CONSUMPTION
}

@ObjectModel: {
   representativeKey: 'ServiceDocument',
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }
}
define view C_ServiceDocObjPgNotes
  as select from I_ServiceDocumentEnhcd
{
  key ServiceDocument,
  key ServiceDocumentUUID,
  key ServiceDocumentType,
      ServiceObjectType,

      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_CRMS4_TEXT_CALC_EXIT'
       cast( '' as abap.char( 1000 ) ) as ServiceDocNoteText,
        
       
      @UI.hidden: true
      @Consumption.filter.hidden: true
      ResponsibleEmployee,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      SalesOrganization,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      DistributionChannel,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      Division,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      SalesOffice,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      SalesGroup,

      @Consumption.filter.hidden: true
      @UI.hidden: true
      SalesOrganizationOrgUnitID,
      @Consumption.filter.hidden: true
      @UI.hidden: true
      SalesOfficeOrgUnitID,
      @Consumption.filter.hidden: true
      @UI.hidden: true
      SalesGroupOrgUnitID,
      @Consumption.filter.hidden: true
      @UI.hidden: true
      ServiceOrganization


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTENHCD"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/