C_SuVolRtrckgMatlChmlCmpstnTP
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)
| Source | Alias | Join Type |
|---|---|---|
| R_SubstVolRetrackingTP | R_SubstVolRetrackingTP | projection |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F6226 | ASQL_F6226 | C2 | NOT_RELEASED | |
| UI_SUBSTVOLRETRCKG_MANAGE | UI_SUBSTVOLRETRCKG_MANAGE | V4 | C1 | NOT_RELEASED |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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