@AbapCatalog.sqlViewName : 'PSELFREACALLLNG'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: {
private: true ,
viewType: #COMPOSITE
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
serviceQuality: #C,
sizeCategory: #L,
dataClass: #MIXED
}
}
// This view cross -joins all self reactive substances with all languages. This view exists for a limitation in CDS, that you cannot
// use the language field from I_Language in inline association conditions, AND have a join on the language view on the same level.
define view P_SelfReactiveSubstInAllLang
as select from P_SelfReactiveSubstance as SelfReactiveSUbstance
cross join I_Language
{
key I_Language.Language,
key SelfReactiveSUbstance.CmplRqVersSelfReactvSubstUUID,
key SelfReactiveSUbstance.ActiveSubstanceUUID,
I_Language.LanguageISOCode,
SelfReactiveSUbstance.SubstanceListUUID,
SelfReactiveSUbstance.CmplRqVersUUID,
SelfReactiveSUbstance.ProdCmplncDngrsGdsIdnNmbrType,
SelfReactiveSUbstance.ProdCmplncDngrsGdsIdnNmbr,
SelfReactiveSUbstance.ListedSubstance,
SelfReactiveSUbstance.DngrsGdsPositionOnSource,
SelfReactiveSUbstance.DngrsGdsSelfReactvName,
//SelfReactiveSUbstance.DngrsGdsConcnLowrQtyOptr,
//SelfReactiveSUbstance.DngrsGdsConcnLowrQty,
//SelfReactiveSUbstance.DngrsGdsConcnLowrQtyUnit,
//SelfReactiveSUbstance.DngrsGdsHasConcnLowrQty,
//SelfReactiveSUbstance.DngrsGdsConcnUprQtyOptr,
//SelfReactiveSUbstance.DngrsGdsConcnUprQty,
//SelfReactiveSUbstance.DngrsGdsConcnUprQtyUnit,
//SelfReactiveSUbstance.DngrsGdsHasConcnUprQty,
//SelfReactiveSUbstance.DngrsGdsSelfReactvAddlInfoTxt,
//SelfReactiveSUbstance.DngrsGdsPackingMethodText,
//SelfReactiveSUbstance.DangerousGoodsControlTemp,
//SelfReactiveSUbstance.DangerousGoodsControlTempUnit,
//SelfReactiveSUbstance.DangerousGoodsEmergencyTemp,
//SelfReactiveSUbstance.DangerousGoodsEmgyTempUnit,
SelfReactiveSUbstance.SubstanceUUID,
/* Associations */
I_Language._Text,
SelfReactiveSUbstance._SelfReactvPrintedName
}
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_LANGUAGE",
"P_SELFREACTIVESUBSTANCE"
],
"ASSOCIATED":
[
"I_DNGRSGDSSELFREACTVPRNTT",
"I_LANGUAGETEXT"
],
"BASE":
[
"I_LANGUAGE",
"P_SELFREACTIVESUBSTANCE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
P_SelfReactiveSubstInAllLang view