P_ListSubstGrpDefName
P_ListSubstGrpDefName is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_Language, I_CmplRqVersSubstListGrp) and exposes 5 fields with key fields ListedSubstanceGroup, Language, BCO_ID, CmplRqVersUUID, RegulatoryListUUID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Language | Language | cross |
| I_CmplRqVersSubstListGrp | list_subst_grp | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ListedSubstanceGroup | I_CmplRqVersSubstListGrp | ListedSubstanceGroup | |
| KEY | Language | I_Language | Language | |
| KEY | BCO_ID | I_CmplRqVersSubstListGrp | CmplRqVers | |
| KEY | CmplRqVersUUID | I_CmplRqVersSubstListGrp | CmplRqVersUUID | |
| KEY | RegulatoryListUUID | I_CmplRqVersSubstListGrp | SubstanceListUUID |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: {
private: true,
viewType: #COMPOSITE
}
@ObjectModel: {
usageType: {
serviceQuality: #C,
sizeCategory: #L,
dataClass: #MIXED
}
}
// This view selects the substanced goups for substances which are assigned to a substance group on a substance list.
// and select the default name from the substance group
define view entity P_ListSubstGrpDefName
as select from I_CmplRqVersSubstListGrp as list_subst_grp
cross join I_Language as Language
{
key list_subst_grp.ListedSubstanceGroup,
key Language.Language,
key list_subst_grp.CmplRqVers as BCO_ID,
key list_subst_grp.CmplRqVersUUID,
key list_subst_grp.SubstanceListUUID as RegulatoryListUUID
}
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