I_SubstActiveDraftLstdSubst
Company Substance and related listed sub
I_SubstActiveDraftLstdSubst is a Composite CDS View that provides data about "Company Substance and related listed sub" in SAP S/4HANA. It reads from 1 data source (I_SubstanceActiveDraft) and exposes 14 fields. It has 4 associations to related views. Part of development package EHFND_BO_SUBSTANCE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SubstanceActiveDraft | Substance | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ListedSubstanceCust | _LisuCustRoot | Substance.ListedSubstanceUUID = _LisuCustRoot.ListedSubstanceUUID |
| [0..1] | I_ListedSubstanceSAP | _LisuContRoot | Substance.ListedSubstanceUUID = _LisuContRoot.ListedSubstanceUUID |
| [0..1] | I_ListedSubstanceDefNameCust | _LisuCustName | Substance.ListedSubstanceUUID = _LisuCustName.ListedSubstanceUUID and _LisuCustName.Language = $session.system_language |
| [0..1] | I_ListedSubstanceDefNameSAP | _LisuContName | Substance.ListedSubstanceUUID = _LisuContName.ListedSubstanceUUID and _LisuContName.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Company Substance and related listed sub | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | ActiveSubstanceUUID | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISUBACTDRFTDLISU | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ActiveSubstanceUUIDasActiveSubstanceUUID | ||||
| SubstanceUUID | I_SubstanceActiveDraft | SubstanceUUID | Substance | |
| ListedSubstanceUUID | I_SubstanceActiveDraft | ListedSubstanceUUID | Listed Substance | |
| ResponsibleUnit | I_SubstanceActiveDraft | ResponsibleUnit | Responsible Unit | |
| CustListedSubstanceDfltName | _LisuCustName | ListedSubstanceName | Listed Subst. Name | |
| CntntListedSubstanceDfltName | _LisuContName | ListedSubstanceName | Listed Subst. Name | |
| CustListedSubstance | _LisuCustRoot | ListedSubstance | Listed Substance | |
| CntntListedSubstance | _LisuContRoot | ListedSubstance | Listed Substance | |
| CustCASNumber | _LisuCustRoot | CASNumber | CAS Number | |
| CntntCASNumber | _LisuContRoot | CASNumber | CAS Number | |
| CustECNumber | _LisuCustRoot | ECNumber | EC Number | |
| CntntECNumber | _LisuContRoot | ECNumber | EC Number | |
| CustMolecularFormula | _LisuCustRoot | MolecularFormula | ||
| CntntMolecularFormula | _LisuContRoot | MolecularFormula |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_SubstActiveDraftLstdSubst.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_SubstActiveDraftLstdSubst AS
SELECT
Substance.SubstanceUUID AS SubstanceUUID,
Substance.ListedSubstanceUUID AS ListedSubstanceUUID,
Substance.ResponsibleUnit AS ResponsibleUnit,
_LisuCustName.ListedSubstanceName AS CustListedSubstanceDfltName,
_LisuContName.ListedSubstanceName AS CntntListedSubstanceDfltName,
_LisuCustRoot.ListedSubstance AS CustListedSubstance,
_LisuContRoot.ListedSubstance AS CntntListedSubstance,
_LisuCustRoot.CASNumber AS CustCASNumber,
_LisuContRoot.CASNumber AS CntntCASNumber,
_LisuCustRoot.ECNumber AS CustECNumber,
_LisuContRoot.ECNumber AS CntntECNumber,
_LisuCustRoot.MolecularFormula AS CustMolecularFormula,
_LisuContRoot.MolecularFormula AS CntntMolecularFormula
FROM I_SubstanceActiveDraft AS Substance
LEFT OUTER JOIN I_ListedSubstanceCust AS _LisuCustRoot ON Substance.ListedSubstanceUUID = _LisuCustRoot.ListedSubstanceUUID -- association [0..1]
LEFT OUTER JOIN I_ListedSubstanceSAP AS _LisuContRoot ON Substance.ListedSubstanceUUID = _LisuContRoot.ListedSubstanceUUID -- association [0..1]
LEFT OUTER JOIN I_ListedSubstanceDefNameCust AS _LisuCustName ON Substance.ListedSubstanceUUID = _LisuCustName.ListedSubstanceUUID AND _LisuCustName.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ListedSubstanceDefNameSAP AS _LisuContName ON Substance.ListedSubstanceUUID = _LisuContName.ListedSubstanceUUID AND _LisuContName.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA