I_SUBSTANCEVARASSGMTTP
Substance Variant Assignment
I_SUBSTANCEVARASSGMTTP is a CDS View in S/4HANA. Substance Variant Assignment. It contains 3 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_SubstanceVarAssgmtQryTP | view | from | CONSUMPTION | Substance Variant Assignment |
Fields (3)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | SubstanceVarAssgmtUUID | SubstanceVarAssgmtUUID | 1 |
| ListedSubstanceVariantUUID | ListedSubstanceVariantUUID | 1 | |
| SubstanceUUID | SubstanceUUID | 1 |
@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":""
}
}*/