I_ChmlCmplncWasteCodeTP

DDL: I_CHMLCMPLNCWASTECODETP Type: view TRANSACTIONAL

Chml Cmplnc Waste Code TP

I_ChmlCmplncWasteCodeTP is a Transactional CDS View that provides data about "Chml Cmplnc Waste Code TP" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncWasteCode) and exposes 10 fields with key field ChmlCmplncWasteCodeUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncWasteCode I_ChmlCmplncWasteCode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ChmlCmplncWasteCodeAssgmtTP _ChmlCmplncWasteCodeAssgmt $projection.ChmlCmplncWasteCodeUUID = _ChmlCmplncWasteCodeAssgmt.ChmlCmplncWasteCodeUUID

Annotations (22)

NameValueLevelField
EndUserText.label Chml Cmplnc Waste Code TP view
AbapCatalog.sqlViewName ICCWASTECODETP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence EHFNDW_CCW_WCODE view
ObjectModel.writeActivePersistence EHFNDV_CCW_WCODE view
ObjectModel.entityChangeStateId LastChangeUTCDateTime view
ObjectModel.representativeKey ChmlCmplncWasteCodeUUID view
ObjectModel.sapObjectNodeType.name WasteCodesAssessment view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncWasteCodeUUID ChmlCmplncWasteCodeUUID
ChmlCmplncInfoUUID ChmlCmplncInfoUUID
CreationUTCDateTime CreationUTCDateTime
CreatedByUser CreatedByUser
LastChangeUTCDateTime LastChangeUTCDateTime
LastChangedByUser LastChangedByUser
_ChmlCmplncWasteCodeAssgmt _ChmlCmplncWasteCodeAssgmt
_ChmlCmplncInfo _ChmlCmplncInfo
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
@EndUserText.label: 'Chml Cmplnc Waste Code TP'
@AbapCatalog:
{
  sqlViewName: 'ICCWASTECODETP',
  compiler.compareFilter: true
}
@AccessControl:
{
  --Authority Check for Composition
  authorizationCheck: #MANDATORY,
  privilegedAssociations:  [ '_CreatedByUser', '_LastChangedByUser' ]
}

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API

@ObjectModel:
{
  --Transactional Annotations for the generated BO
  modelCategory: #BUSINESS_OBJECT,
  compositionRoot: true,
  transactionalProcessingEnabled: true,
  createEnabled: true,
  updateEnabled: true,
//  updateEnabled: 'EXTERNAL_CALCULATION',

  deleteEnabled: true,
  draftEnabled: true,
  writeDraftPersistence: 'EHFNDW_CCW_WCODE',
  writeActivePersistence: 'EHFNDV_CCW_WCODE',
  entityChangeStateId: 'LastChangeUTCDateTime',
  semanticKey:  [ 'ChmlCmplncWasteCodeUUID' ],
  representativeKey: 'ChmlCmplncWasteCodeUUID',
  sapObjectNodeType.name: 'WasteCodesAssessment',
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #L,
    serviceQuality: #B
  }
}


define view I_ChmlCmplncWasteCodeTP
  as select from I_ChmlCmplncWasteCode
  association [0..*] to I_ChmlCmplncWasteCodeAssgmtTP as _ChmlCmplncWasteCodeAssgmt on $projection.ChmlCmplncWasteCodeUUID = _ChmlCmplncWasteCodeAssgmt.ChmlCmplncWasteCodeUUID
{

      @ObjectModel.mandatory: true
  key ChmlCmplncWasteCodeUUID,
      @ObjectModel.mandatory: true
      ChmlCmplncInfoUUID,
      @ObjectModel.readOnly: true
      CreationUTCDateTime,
      @ObjectModel.readOnly: true
      CreatedByUser,
      @ObjectModel.readOnly: true
      LastChangeUTCDateTime,
      @ObjectModel.readOnly: true
      LastChangedByUser,

      /* Associations */
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      _ChmlCmplncWasteCodeAssgmt,

      _ChmlCmplncInfo,

      _CreatedByUser,
      _LastChangedByUser
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLCMPLNCWASTECODE"
],
"ASSOCIATED":
[
"I_CHMLCMPLNCINFO",
"I_CHMLCMPLNCWASTECODEASSGMTTP",
"I_USER"
],
"BASE":
[
"I_CHMLCMPLNCWASTECODE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/