I_SubstanceGrpAssgmtTP

DDL: I_SUBSTANCEGRPASSGMTTP Type: view TRANSACTIONAL

Substance Group Assignment

I_SubstanceGrpAssgmtTP is a Transactional CDS View that provides data about "Substance Group Assignment" in SAP S/4HANA. It reads from 1 data source (I_SubstanceGrpAssgmt) and exposes 8 fields with key field SubstanceGrpAssgmtUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SubstanceGrpAssgmt SubstanceGrpAssgmt from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SubstanceTP _Substance $projection.SubstanceUUID = _Substance.SubstanceUUID

Annotations (16)

NameValueLevelField
EndUserText.label Substance Group Assignment view
VDM.viewType #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISUBGRPASTP view
AbapCatalog.compiler.compareFilter true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeDraftPersistence ehfndw_sub_grpas view
ObjectModel.writeActivePersistence ehfndv_sub_grpas view
ObjectModel.representativeKey SubstanceGrpAssgmtUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SubstanceGrpAssgmtUUID I_SubstanceGrpAssgmt SubstanceGrpAssgmtUUID Substance Group Assignment
SubstanceUUID I_SubstanceGrpAssgmt SubstanceUUID Substance
CmplRqVersUUID I_SubstanceGrpAssgmt CmplRqVersUUID NodeID
SubstanceListUUID I_SubstanceGrpAssgmt SubstanceListUUID Substance List
ListedSubstanceGroupUUID I_SubstanceGrpAssgmt ListedSubstanceGroupUUID NodeID
ListedSubstanceGroup I_SubstanceGrpAssgmt ListedSubstanceGroup Group of Substances
ListedSubstance I_SubstanceGrpAssgmt ListedSubstance Listed Substance
_Substance _Substance

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_SubstanceGrpAssgmtTP.
-- 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_SubstanceGrpAssgmtTP AS
SELECT
  SubstanceGrpAssgmt.SubstanceGrpAssgmtUUID AS SubstanceGrpAssgmtUUID,
  SubstanceGrpAssgmt.SubstanceUUID AS SubstanceUUID,
  SubstanceGrpAssgmt.CmplRqVersUUID AS CmplRqVersUUID,
  SubstanceGrpAssgmt.SubstanceListUUID AS SubstanceListUUID,
  SubstanceGrpAssgmt.ListedSubstanceGroupUUID AS ListedSubstanceGroupUUID,
  SubstanceGrpAssgmt.ListedSubstanceGroup AS ListedSubstanceGroup,
  SubstanceGrpAssgmt.ListedSubstance AS ListedSubstance
FROM I_SubstanceGrpAssgmt AS SubstanceGrpAssgmt
LEFT OUTER JOIN I_SubstanceTP AS _Substance ON SubstanceUUID = _Substance.SubstanceUUID  -- association [1..1]
;