I_ChmlSuplrMatlTP

DDL: I_CHMLSUPLRMATLTP Type: view TRANSACTIONAL

Chemical Supplier Material

I_ChmlSuplrMatlTP is a Transactional CDS View that provides data about "Chemical Supplier Material" in SAP S/4HANA. It reads from 1 data source (I_ChmlSuplrMatl) and exposes 11 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlSuplrMatl ChmlSupplierMaterial from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ChmlSuplrMatlComponentTP _ChemicalComponent $projection.ChmlSuplrMatlUUID = _ChemicalComponent.ChmlSuplrMatlUUID
[0..*] I_ChmlSuplrMatlImprtRespyTP _ImportResponsibility $projection.ChmlSuplrMatlUUID = _ImportResponsibility.ChmlSuplrMatlUUID

Annotations (21)

NameValueLevelField
EndUserText.label Chemical Supplier Material view
AbapCatalog.sqlViewName ICSUPLRMATLTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #TRANSACTIONAL view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled false view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence EHFNDW_CSM view
ObjectModel.writeActivePersistence EHFNDV_CSM view
ObjectModel.entityChangeStateId LastChangeUTCDateTime view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view

Fields (11)

KeyFieldSource TableSource FieldDescription
ChangedbyuserLastChangedByUser
SupplierBusinessPartnerSupplier
DataStatusChmlSuplrMatlDataStatus
_ChemicalComponent _ChemicalComponent
_ImportResponsibility _ImportResponsibility
_BusinessPartner _BusinessPartner
_BusinessPartnerSupplier _BusinessPartnerSupplier
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_DataStatus _DataStatus
_ResponsibleUnit _ResponsibleUnit
@EndUserText.label: 'Chemical Supplier Material'

@AbapCatalog:
{
  sqlViewName: 'ICSUPLRMATLTP',
  compiler.compareFilter: true,
  preserveKey: true
}

@AccessControl:
{
  authorizationCheck: #CHECK,
  privilegedAssociations:  [ '_CreatedByUser', '_LastChangedByUser' ],
  // blocking of personal data required because of link to business partner / supplier

  personalData.blocking: #REQUIRED
}

@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #TRANSACTIONAL

@ObjectModel:
{
  --Transactional Annotations for the generated BO
  modelCategory: #BUSINESS_OBJECT,
  compositionRoot: true,
  transactionalProcessingEnabled: true,
  createEnabled: 'EXTERNAL_CALCULATION',
  updateEnabled: 'EXTERNAL_CALCULATION',
  deleteEnabled: false,
  draftEnabled: true,
  writeDraftPersistence: 'EHFNDW_CSM',
  writeActivePersistence: 'EHFNDV_CSM',
  entityChangeStateId: 'LastChangeUTCDateTime',
  semanticKey:  [ 'ChmlSuplrMatlUUID' ],
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #M,
    serviceQuality: #B
  }
}

define view I_ChmlSuplrMatlTP
  --Select data from basic view Chemical Supplier Material
  as select from I_ChmlSuplrMatl as ChmlSupplierMaterial

  --Composition
  association [0..*] to I_ChmlSuplrMatlComponentTP  as _ChemicalComponent on $projection.ChmlSuplrMatlUUID = _ChemicalComponent.ChmlSuplrMatlUUID
  association [0..*] to I_ChmlSuplrMatlImprtRespyTP as _ImportResponsibility on $projection.ChmlSuplrMatlUUID = _ImportResponsibility.ChmlSuplrMatlUUID

{
      --UUID of Chemical Supplier Material
  key ChmlSuplrMatlUUID,

      --Active UUID of Chemical Supplier Material
      @ObjectModel.readOnly: true
      ChmlSuplrMatlUUID as ActiveChmlSuplrMatlUUID,

      --Create date/time of supplier material
      @ObjectModel.readOnly: true
      CreationUTCDateTime,

      --Created by user
      @ObjectModel.readOnly: true
      CreatedByUser,

      --Change date/time of supplier material
      @ObjectModel.readOnly: true
      LastChangeUTCDateTime,

      --Changed by user
      @ObjectModel.readOnly: true
      LastChangedByUser,

      --Supplier
      @ObjectModel.mandatory: true
      BusinessPartnerSupplier,

      --Material Number Used by Supplier
      SupplierMaterialNumber,

      --Material Name of Supplier Material
      ChmlSuplrMatlName,

      --Data Status
      @ObjectModel.mandatory: true
      ChmlSuplrMatlDataStatus,

      --Indicator: Supplier Material is outdated
      ChmlSuplrMatlIsOutdated,

      --Responsible Unit
      @ObjectModel.mandatory: true
      ResponsibleUnit,

      --Change date/time of data status
      ChmlSuplrMatlDataStsChgDteTme,

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

      _BusinessPartner,
      _BusinessPartnerSupplier,
      _CreatedByUser,
      _LastChangedByUser,

      _DataStatus,
      _ResponsibleUnit
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLSUPLRMATL"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_BUSINESSPARTNERSUPPLIER",
"I_CHMLSUPLRMATLCOMPONENTTP",
"I_CHMLSUPLRMATLDATASTS",
"I_CHMLSUPLRMATLIMPRTRESPYTP",
"I_RESPONSIBLEUNIT",
"I_USER"
],
"BASE":
[
"I_CHMLSUPLRMATL"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/