C_SuVolRtrckgMatlChmlCmpstnTP

DDL: C_SUVOLRTRCKGMATLCHMLCMPSTNTP Type: view_entity CONSUMPTION Package: EHPMA_SVT_CNS_RETRACKING

Retrack Material Based Composition

C_SuVolRtrckgMatlChmlCmpstnTP is a Consumption CDS View that provides data about "Retrack Material Based Composition" in SAP S/4HANA. It reads from 1 data source (R_SubstVolRetrackingTP) and exposes 38 fields with key field SubstVolRetrackingUUID. It has 3 associations to related views. It is exposed through 2 OData services (ASQL_F6226, UI_SUBSTVOLRETRCKG_MANAGE). Part of development package EHPMA_SVT_CNS_RETRACKING.

Data Sources (1)

SourceAliasJoin Type
R_SubstVolRetrackingTP R_SubstVolRetrackingTP projection

Associations (3)

CardinalityTargetAliasCondition
[0..*] C_MatlChmlCmpstnSubstVol _SubstVolByCRCurrPeriod $projection.chmlcmplncinfouuid = _SubstVolByCRCurrPeriod.ChmlCmplncInfoUUID and $projection.ComplianceRequirement = _SubstVolByCRCurrPeriod.ComplianceRequirement and _SubstVolByCRCurrPeriod.TrackingPeriodType = 'CURR_PER'
[0..*] C_MatlChmlCmpstnSubstVol _SubstVolByCRPrevPeriod $projection.chmlcmplncinfouuid = _SubstVolByCRPrevPeriod.ChmlCmplncInfoUUID and $projection.ComplianceRequirement = _SubstVolByCRPrevPeriod.ComplianceRequirement and _SubstVolByCRPrevPeriod.TrackingPeriodType = 'PREV_PER'
[0..*] C_MatlChmlCmpstnDailySubstVol _MatlChmlCmpstnDailySubstVol $projection.chmlcmplncinfouuid = _MatlChmlCmpstnDailySubstVol.ChmlCmplncInfoUUID and $projection.ComplianceRequirement = _MatlChmlCmpstnDailySubstVol.ComplianceRequirement

Annotations (13)

NameValueLevelField
EndUserText.label Retrack Material Based Composition view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeImageUrl sap-icon: title: { label: view
UI.headerInfo.value ChmlCmplncInfoCombinedName view
UI.headerInfo.description.label ComplianceRequirement view
UI.headerInfo.description.value ComplianceRequirement view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F6226 ASQL_F6226 C2 NOT_RELEASED
UI_SUBSTVOLRETRCKG_MANAGE UI_SUBSTVOLRETRCKG_MANAGE V4 C1 NOT_RELEASED

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY SubstVolRetrackingUUID SubstVolRetrackingUUID Retracking UUID
SubstVolRetrackingStatus SubstVolRetrackingStatus RtrkDecisionStatus
ProdCmplncEventUUID ProdCmplncEventUUID Product Compliance Event
SubstVolRetrackingType SubstVolRetrackingType Retrack Event Typ
SubstVolRetrackingSourceUUID SubstVolRetrackingSourceUUID RetrackSourceUUID
SubstVolRetrackingSource SubstVolRetrackingSource RetrackSourceUUID
SubstVolRetrckgIsCurTrckgPerd SubstVolRetrckgIsCurTrckgPerd RtrkCurTrkPer
SubstVolRetrckgIsOpnTrckgPerds SubstVolRetrckgIsOpnTrckgPerds RtrkOpenTrkPer
SubstVolRetrackingReasonText SubstVolRetrackingReasonText CmntRtrkDecision
SubstVolRetrackingCategory SubstVolRetrackingCategory RtrkCategory
ComplianceRequirement ComplianceRequirement Compliance Requirement
ChmlCompositionUUID _SubstVolRetrckgChmlCmpstn ChmlCompositionUUID Chemical Composition
SubstVolRetrackingSrceChgdBy SubstVolRetrackingSrceChgdBy Released By
SuVolRtrckgSrceChgdByFullName SuVolRtrckgSrceChgdByFullName
SubstVolRetrckgSrceChgdDteTme _SubstVolRetrckgChmlCmpstn SubstVolRetrckgSrceChgdDteTme Last Changed
ChmlCompositionTypeName
ChmlCmplncInfoCombinedName
SubstVolRetrackingCompletedBy SubstVolRetrackingCompletedBy RtrkCompletedBy
SuVolRtrckgCmpltdByFullName SuVolRtrckgCmpltdByFullName
SubstVolRetrckgCompletedDteTme SubstVolRetrckgCompletedDteTme Retracking Completed On
SubstVolRetrackingDecidedBy SubstVolRetrackingDecidedBy Decided By
SuVolRtrckgDecidedByFullName SuVolRtrckgDecidedByFullName Name
SuVolRtrckgDecidedBySystemText SuVolRtrckgDecidedBySystemText User Group
SubstVolRetrckgDecidedDteTme SubstVolRetrckgDecidedDteTme Decided On
SubstVolRetrackingStartDate Retrack From
ChmlCompositionType _SubstVolRetrckgChmlCmpstn ChmlCompositionType Legal Area
Material _SubstVolRetrckgChmlCmpstn Material Vehicle Model
ChmlCmplncInfoUUID _SubstVolRetrckgChmlCmpstn ChmlCmplncInfoUUID Chemical Compliance Information PP
SubstVolRetrackingTypeText _SubstVolRetrackingTypeTxt SubstVolRetrackingTypeText
virtualObjectLinkURLstring_unicode
_SubstVolByCRCurrPeriod _SubstVolByCRCurrPeriod
_SubstVolByCRPrevPeriod _SubstVolByCRPrevPeriod
_MatlChmlCmpstnDailySubstVol _MatlChmlCmpstnDailySubstVol
_SubstVolRetrckgChmlCmpstn _SubstVolRetrckgChmlCmpstn
_ChmlCmplncMatlAssgmt _ChmlCmplncMatlAssgmt
_ReleasedByUser _ReleasedByUser
_CompletedByUser _CompletedByUser
_DecidedByUser _DecidedByUser

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 C_SuVolRtrckgMatlChmlCmpstnTP.
-- 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 C_SuVolRtrckgMatlChmlCmpstnTP AS
SELECT
  SubstVolRetrackingUUID,
  SubstVolRetrackingStatus,
  ProdCmplncEventUUID,
  SubstVolRetrackingType,
  SubstVolRetrackingSourceUUID,
  SubstVolRetrackingSource,
  SubstVolRetrckgIsCurTrckgPerd,
  SubstVolRetrckgIsOpnTrckgPerds,
  SubstVolRetrackingReasonText,
  SubstVolRetrackingCategory,
  ComplianceRequirement,
  _SubstVolRetrckgChmlCmpstn.ChmlCompositionUUID AS ChmlCompositionUUID,
  SubstVolRetrackingSrceChgdBy,
  SuVolRtrckgSrceChgdByFullName,
  _SubstVolRetrckgChmlCmpstn.SubstVolRetrckgSrceChgdDteTme AS SubstVolRetrckgSrceChgdDteTme,
  cast ( _SubstVolRetrckgChmlCmpstn.ChmlCompositionTypeName as ehpma_svt_retrckg_cmpstn_type preserving type ) AS ChmlCompositionTypeName,
  cast ( _SubstVolRetrckgChmlCmpstn.ChmlCmplncInfoCombinedName as ehpma_svt_retrckg_cmpstn_link preserving type ) AS ChmlCmplncInfoCombinedName,
  SubstVolRetrackingCompletedBy,
  SuVolRtrckgCmpltdByFullName,
  SubstVolRetrckgCompletedDteTme,
  SubstVolRetrackingDecidedBy,
  SuVolRtrckgDecidedByFullName,
  SuVolRtrckgDecidedBySystemText,
  SubstVolRetrckgDecidedDteTme,
  cast ( SubstVolRetrackingStartDate as ehpma_svt_retrckg_date_from preserving type ) AS SubstVolRetrackingStartDate,
  _SubstVolRetrckgChmlCmpstn.ChmlCompositionType AS ChmlCompositionType,
  _SubstVolRetrckgChmlCmpstn.Material AS Material,
  _SubstVolRetrckgChmlCmpstn.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  _SubstVolRetrackingTypeTxt.SubstVolRetrackingTypeText AS SubstVolRetrackingTypeText,
  virtual ObjectLinkURL : string_unicode AS virtualObjectLinkURLstring_unicode
FROM R_SubstVolRetrackingTP
LEFT OUTER JOIN C_MatlChmlCmpstnSubstVol AS _SubstVolByCRCurrPeriod ON chmlcmplncinfouuid = _SubstVolByCRCurrPeriod.ChmlCmplncInfoUUID AND ComplianceRequirement = _SubstVolByCRCurrPeriod.ComplianceRequirement AND _SubstVolByCRCurrPeriod.TrackingPeriodType = 'CURR_PER'  -- association [0..*]
LEFT OUTER JOIN C_MatlChmlCmpstnSubstVol AS _SubstVolByCRPrevPeriod ON chmlcmplncinfouuid = _SubstVolByCRPrevPeriod.ChmlCmplncInfoUUID AND ComplianceRequirement = _SubstVolByCRPrevPeriod.ComplianceRequirement AND _SubstVolByCRPrevPeriod.TrackingPeriodType = 'PREV_PER'  -- association [0..*]
LEFT OUTER JOIN C_MatlChmlCmpstnDailySubstVol AS _MatlChmlCmpstnDailySubstVol ON chmlcmplncinfouuid = _MatlChmlCmpstnDailySubstVol.ChmlCmplncInfoUUID AND ComplianceRequirement = _MatlChmlCmpstnDailySubstVol.ComplianceRequirement  -- association [0..*]
;