I_ListedSubstanceVariant
Listed Substance Variant View
I_ListedSubstanceVariant is a Composite CDS View that provides data about "Listed Substance Variant View" in SAP S/4HANA. It reads from 2 data sources (I_LstdSubstWthVarAndGrp, I_LstdSubstWthVarAndGrp) and exposes 18 fields with key field ListedSubstanceVariantUUID. It has 5 associations to related views. Part of development package EHFND_BO_LISTED_SUBSTANCE.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LstdSubstWthVarAndGrp | ListSub | from |
| I_LstdSubstWthVarAndGrp | ListSubRef | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ListedSubstanceCndnText | _ConditionText | $projection.ListedSubstanceCndn = _ConditionText.ListedSubstanceCndn |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..*] | I_ListedSubstanceNameText | _Text | $projection.ListedSubstanceVariantUUID = _Text.ListedSubstanceUUID |
| [0..1] | I_ListedSubstanceDefaultName | _DefaultName | $projection.ListedSubstanceVariant = _DefaultName.ListedSubstance and $projection.ListedSubstanceVariantUUID = _DefaultName.ListedSubstanceUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILISUVAR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Listed Substance Variant View | view | |
| ObjectModel.representativeKey | ListedSubstanceVariantUUID | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ListedSubstanceVariantUUID | I_LstdSubstWthVarAndGrp | ListedSubstanceUUID | |
| _Text | _Text | |||
| _DefaultName | _DefaultName | |||
| ListedSubstanceVariant | I_LstdSubstWthVarAndGrp | ListedSubstance | ||
| ListedSubstanceReference | I_LstdSubstWthVarAndGrp | ListedSubstanceReference | ||
| ListedSubstanceUUID | I_LstdSubstWthVarAndGrp | ListedSubstanceUUID | ||
| ListedSubstanceCndn | I_LstdSubstWthVarAndGrp | ListedSubstanceCndn | ||
| ContentProvider | I_LstdSubstWthVarAndGrp | ContentProvider | ||
| _ConditionText | _ConditionText | |||
| CASNumber | I_LstdSubstWthVarAndGrp | CASNumber | ||
| ECNumber | I_LstdSubstWthVarAndGrp | ECNumber | ||
| MolecularFormula | I_LstdSubstWthVarAndGrp | MolecularFormula | ||
| CreatedByUser | I_LstdSubstWthVarAndGrp | CreatedByUser | ||
| _CreatedByUser | _CreatedByUser | |||
| CreationDateTime | I_LstdSubstWthVarAndGrp | CreationDateTime | ||
| LastChangeDateTime | I_LstdSubstWthVarAndGrp | LastChangeDateTime | ||
| LastChangedByUser | I_LstdSubstWthVarAndGrp | LastChangedByUser | ||
| _LastChangedByUser | _LastChangedByUser |
@AbapCatalog.sqlViewName: 'ILISUVAR'
@AbapCatalog.compiler.compareFilter: true
@AccessControl:
{
authorizationCheck: #MANDATORY,
privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser' ]
}
@EndUserText.label: 'Listed Substance Variant View'
@ObjectModel.representativeKey: 'ListedSubstanceVariantUUID'
@VDM.viewType: #COMPOSITE
// Client handling by session
@ClientHandling.algorithm: #SESSION_VARIABLE
// Used for BOBF Master Data Object
@ObjectModel.usageType:
{
serviceQuality: #C, // < 15 msec
sizeCategory: #L, // < 10.000.000
dataClass: #MASTER
}
// Listed Substance Variants (also called conditions / sub-roots)
// variants are only contained in the delivered listed substance table and can not be created by customers
define view I_ListedSubstanceVariant
as select from I_LstdSubstWthVarAndGrp as ListSub
inner join I_LstdSubstWthVarAndGrp as ListSubRef on ListSub.ListedSubstanceReference = ListSubRef.ListedSubstance
association [0..*] to I_ListedSubstanceCndnText as _ConditionText on $projection.ListedSubstanceCndn = _ConditionText.ListedSubstanceCndn
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
association [0..*] to I_ListedSubstanceNameText as _Text on $projection.ListedSubstanceVariantUUID = _Text.ListedSubstanceUUID
association [0..1] to I_ListedSubstanceDefaultName as _DefaultName on $projection.ListedSubstanceVariant = _DefaultName.ListedSubstance
and $projection.ListedSubstanceVariantUUID = _DefaultName.ListedSubstanceUUID
{
key ListSub.ListedSubstanceUUID as ListedSubstanceVariantUUID,
_Text,
_DefaultName,
// ID
ListSub.ListedSubstance as ListedSubstanceVariant,
ListSub.ListedSubstanceReference as ListedSubstanceReference,
ListSubRef.ListedSubstanceUUID as ListedSubstanceUUID,
@ObjectModel.text.association: '_ConditionText'
ListSub.ListedSubstanceCndn as ListedSubstanceCndn,
ListSub.ContentProvider as ContentProvider,
_ConditionText,
// Identifiers
ListSub.CASNumber as CASNumber,
ListSub.ECNumber as ECNumber,
ListSub.MolecularFormula as MolecularFormula,
// Admin data
ListSub.CreatedByUser as CreatedByUser,
_CreatedByUser,
@Semantics.systemDateTime.createdAt: true
ListSub.CreationDateTime as CreationDateTime,
@Semantics.systemDateTime.lastChangedAt: true
ListSub.LastChangeDateTime as LastChangeDateTime,
ListSub.LastChangedByUser as LastChangedByUser,
_LastChangedByUser
}
where
ListSub.ListedSubstanceReference <> ''
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA