I_ProdToExplctAsstmtMdlVersTP
Product Assignment to Asstmt Mdl Version
I_ProdToExplctAsstmtMdlVersTP is a Transactional CDS View that provides data about "Product Assignment to Asstmt Mdl Version" in SAP S/4HANA. It reads from 2 data sources (I_ExplicitAsstmtMdlVersionTP, I_ProductToAssortmentModule) and exposes 16 fields with key fields AssortmentModuleUUID, Product, ValidityStartDate, ValidityEndDate. It has 4 associations to related views. Part of development package RFM_ASSORTMENT_RAP_EXPLICIT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ExplicitAsstmtMdlVersionTP | ExplicitModule | inner |
| I_ProductToAssortmentModule | Product | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ExplicitAsstmtMdlVersionTP | _ExplicitAssortmentModuleVers | $projection.AssortmentModuleUUID = _ExplicitAssortmentModuleVers.AssortmentModuleVersionUUID |
| [1..1] | I_ProdAssgblToExplctModuleTP | _ExplctAssortmentMdlProduct | $projection.Product = _ExplctAssortmentMdlProduct.Product |
| [0..1] | I_UserContactCard | _User | _User.ContactCardID = $projection.LastChangedByUserName |
| [0..1] | I_ExclsnRatioForAsstmtMdlProd | _ExclusionRatio | $projection.AssortmentModuleObjectUUID = _ExclusionRatio.AssortmentModuleObjectUUID and $projection.Product = _ExclusionRatio.Product |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Product Assignment to Asstmt Mdl Version | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | AssortmentModuleVersionProduct | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssortmentModuleUUID | I_ProductToAssortmentModule | AssortmentModuleUUID | Recipe GUID |
| KEY | Product | I_ProductToAssortmentModule | Product | Product Sold |
| KEY | ValidityStartDate | I_ProductToAssortmentModule | ValidityStartDate | Validity Start Date |
| KEY | ValidityEndDate | I_ProductToAssortmentModule | ValidityEndDate | ValidTo |
| ProductIsMandatoryInAssortment | I_ProductToAssortmentModule | ProductIsMandatoryInAssortment | Yes/No | |
| AssortmentModuleName | I_ExplicitAsstmtMdlVersionTP | AssortmentModuleName | ||
| LastChangeDate | I_ProductToAssortmentModule | LastChangeDate | Time Stamp | |
| LastChangeDateTime | I_ProductToAssortmentModule | LastChangeDateTime | Timestamp | |
| LastChangedByUserName | I_ProductToAssortmentModule | LastChangedByUserName | User Name | |
| AssortmentModuleObjectUUID | I_ExplicitAsstmtMdlVersionTP | AssortmentModuleUUID | Recipe GUID | |
| _ExplicitAssortmentModuleVers | _ExplicitAssortmentModuleVers | |||
| _ExplctAssortmentMdlProduct | _ExplctAssortmentMdlProduct | |||
| _User | _User | |||
| _Product | I_ProductToAssortmentModule | _Product | ||
| _ExclusionRatio | _ExclusionRatio | |||
| _ProdToExplicitAsstmtMdl | _ProdToExplicitAsstmtMdl |
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_ProdToExplctAsstmtMdlVersTP.
-- 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_ProdToExplctAsstmtMdlVersTP AS
SELECT
Product.AssortmentModuleUUID AS AssortmentModuleUUID,
Product.Product AS Product,
Product.ValidityStartDate AS ValidityStartDate,
Product.ValidityEndDate AS ValidityEndDate,
Product.ProductIsMandatoryInAssortment AS ProductIsMandatoryInAssortment,
ExplicitModule.AssortmentModuleName AS AssortmentModuleName,
Product.LastChangeDate AS LastChangeDate,
Product.LastChangeDateTime AS LastChangeDateTime,
Product.LastChangedByUserName AS LastChangedByUserName,
ExplicitModule.AssortmentModuleUUID AS AssortmentModuleObjectUUID,
Product._Product AS _Product
FROM I_ProductToAssortmentModule AS Product
INNER JOIN I_ExplicitAsstmtMdlVersionTP AS ExplicitModule ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ExplicitAsstmtMdlVersionTP AS _ExplicitAssortmentModuleVers ON AssortmentModuleUUID = _ExplicitAssortmentModuleVers.AssortmentModuleVersionUUID -- association [1..1]
LEFT OUTER JOIN I_ProdAssgblToExplctModuleTP AS _ExplctAssortmentMdlProduct ON Product = _ExplctAssortmentMdlProduct.Product -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _User ON _User.ContactCardID = LastChangedByUserName -- association [0..1]
LEFT OUTER JOIN I_ExclsnRatioForAsstmtMdlProd AS _ExclusionRatio ON AssortmentModuleObjectUUID = _ExclusionRatio.AssortmentModuleObjectUUID AND Product = _ExclusionRatio.Product -- 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