R_ProdStoreToExplctAsstmtMdlTP
Product-Store Assignment via Assortment Module
R_ProdStoreToExplctAsstmtMdlTP is a Transactional CDS View that provides data about "Product-Store Assignment via Assortment Module" in SAP S/4HANA. It reads from 1 data source (I_AssMdlUserToExplctAssMdlTP_2) and exposes 13 fields with key fields AssortmentModuleUUID, Product, AssortmentModuleUser, AssignmentValidityStartDate. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AssMdlUserToExplctAssMdlTP_2 | _UserAssignment | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AssMdlUserToExplctAssMdlTP_2 | _User | $projection.AssortmentModuleUUID = _User.AssortmentModuleUUID and $projection.AssortmentModuleUser = _User.AssortmentModuleUser and $projection.AssignmentValidityStartDate = _User.ValidityStartDate |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Product-Store Assignment via Assortment Module | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | AssortmentModule | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssortmentModuleUUID | I_ProdToExplicitAsstmtModule | AssortmentModuleUUID | |
| KEY | Product | I_ProdToExplicitAsstmtModule | Product | Product Sold |
| KEY | AssortmentModuleUser | I_AssMdlUserToExplctAssMdlTP_2 | AssortmentModuleUser | |
| KEY | AssignmentValidityStartDate | I_AssMdlUserToExplctAssMdlTP_2 | ValidityStartDate | Validity Start Date |
| ProductIsMandatoryInAssortment | I_ProdToExplicitAsstmtModule | ProductIsMandatoryInAssortment | ||
| ValidityStartDate | I_ProdToExplicitAsstmtModule | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_ProdToExplicitAsstmtModule | ValidityEndDate | ValidTo | |
| _Text | I_ProdToExplicitAsstmtModule | _Text | ||
| ProductIsExcludedForStore | ||||
| SalesOrganization | I_AssMdlUserToExplctAssMdlTP_2 | SalesOrganization | Sales Organization | |
| DistributionChannel | I_AssMdlUserToExplctAssMdlTP_2 | DistributionChannel | RefDistCh-Cust/Mat. | |
| _User | _User | |||
| _Product | I_ProdToExplicitAsstmtModule | _Product |
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 R_ProdStoreToExplctAsstmtMdlTP.
-- 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 R_ProdStoreToExplctAsstmtMdlTP AS
SELECT
I_ProdToExplicitAsstmtModule.AssortmentModuleUUID AS AssortmentModuleUUID,
I_ProdToExplicitAsstmtModule.Product AS Product,
_UserAssignment.AssortmentModuleUser AS AssortmentModuleUser,
_UserAssignment.ValidityStartDate AS AssignmentValidityStartDate,
I_ProdToExplicitAsstmtModule.ProductIsMandatoryInAssortment AS ProductIsMandatoryInAssortment,
I_ProdToExplicitAsstmtModule.ValidityStartDate AS ValidityStartDate,
I_ProdToExplicitAsstmtModule.ValidityEndDate AS ValidityEndDate,
I_ProdToExplicitAsstmtModule._Text AS _Text,
case when coalesce( _Exclusion.AssortmentModuleUser, ' ' ) = ' ' then ' ' else 'X' end AS ProductIsExcludedForStore,
_UserAssignment.SalesOrganization AS SalesOrganization,
_UserAssignment.DistributionChannel AS DistributionChannel,
I_ProdToExplicitAsstmtModule._Product AS _Product
INNER JOIN I_AssMdlUserToExplctAssMdlTP_2 AS _UserAssignment ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AssMdlUserToExplctAssMdlTP_2 AS _User ON AssortmentModuleUUID = _User.AssortmentModuleUUID AND AssortmentModuleUser = _User.AssortmentModuleUser AND AssignmentValidityStartDate = _User.ValidityStartDate -- 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