I_SubstanceVarAssgmtTP

DDL: I_SUBSTANCEVARASSGMTTP Type: view TRANSACTIONAL

Substance Variant Assignment

I_SubstanceVarAssgmtTP is a Transactional CDS View that provides data about "Substance Variant Assignment" in SAP S/4HANA. It reads from 1 data source (I_SubstanceVarAssgmt) and exposes 4 fields with key field SubstanceVarAssgmtUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SubstanceVarAssgmt SubstanceVarAssgmt from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SubstanceTP _Substance $projection.SubstanceUUID = _Substance.SubstanceUUID

Annotations (16)

NameValueLevelField
EndUserText.label Substance Variant Assignment view
VDM.viewType #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISUBVARASTP view
AbapCatalog.compiler.compareFilter true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeDraftPersistence ehfndw_sub_varas view
ObjectModel.writeActivePersistence ehfndv_sub_varas view
ObjectModel.representativeKey SubstanceVarAssgmtUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SubstanceVarAssgmtUUID I_SubstanceVarAssgmt SubstanceVarAssgmtUUID
SubstanceUUID I_SubstanceVarAssgmt SubstanceUUID
ListedSubstanceVariantUUID I_SubstanceVarAssgmt ListedSubstanceVariantUUID
_Substance _Substance
@EndUserText.label: 'Substance Variant Assignment'
@VDM.viewType: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog: {
  sqlViewName:            'ISUBVARASTP',
  compiler.compareFilter: true
}

@ObjectModel: {
  transactionalProcessingEnabled: true,
  createEnabled:          true,
  updateEnabled:          true,
  deleteEnabled:          true,
  writeDraftPersistence:  'ehfndw_sub_varas',
  writeActivePersistence: 'ehfndv_sub_varas',
  semanticKey:            [ 'ListedSubstanceVariantUUID' ],
  representativeKey:      'SubstanceVarAssgmtUUID',
  usageType: {
    dataClass:      #MASTER,
    serviceQuality: #B,
    sizeCategory:   #S
  }
}

define view I_SubstanceVarAssgmtTP
  as select from I_SubstanceVarAssgmt as SubstanceVarAssgmt
  association [1..1] to I_SubstanceTP as _Substance on $projection.SubstanceUUID = _Substance.SubstanceUUID
{
  key SubstanceVarAssgmt.SubstanceVarAssgmtUUID,
      @ObjectModel : { foreignKey.association: '_Substance', mandatory: true}
      SubstanceVarAssgmt.SubstanceUUID,

      @ObjectModel.mandatory: true
      SubstanceVarAssgmt.ListedSubstanceVariantUUID,

      //Exposed associations

      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT]
      _Substance
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUBSTANCEVARASSGMT"
],
"ASSOCIATED":
[
"I_SUBSTANCETP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/