I_ExplctAssMdlUsrProdExclsnTP
Product Exclusion from Assortment Module for Assortment User
I_ExplctAssMdlUsrProdExclsnTP is a Transactional CDS View that provides data about "Product Exclusion from Assortment Module for Assortment User" in SAP S/4HANA. It reads from 2 data sources (I_AsstmtMdlUserProductExclsn, I_ExplicitAssortmentModule) and exposes 11 fields with key fields AssortmentModuleObjectUUID, Product, AssortmentModuleUser. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AsstmtMdlUserProductExclsn | Exclusions | from |
| I_ExplicitAssortmentModule | ExplicitModules | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ExplicitAssortmentModuleTP | _ExplicitAssortmentModule | $projection.AssortmentModuleObjectUUID = _ExplicitAssortmentModule.AssortmentModuleUUID |
| [1..1] | I_Customer | _Customer | $projection.AssortmentModuleUser = _Customer.Customer |
| [0..1] | I_ProdToExplicitAsstmtMdlTP | _ModuleProduct | $projection.Product = _ModuleProduct.Product and $projection.AssortmentModuleObjectUUID = _ModuleProduct.AssortmentModuleUUID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Product Exclusion from Assortment Module for Assortment User | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | ListingCondition | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AssortmentModuleObjectUUID | I_AsstmtMdlUserProductExclsn | AssortmentModuleObjectUUID | Recipe GUID |
| KEY | Product | I_AsstmtMdlUserProductExclsn | Product | Product Sold |
| KEY | AssortmentModuleUser | I_AsstmtMdlUserProductExclsn | AssortmentModuleUser | Stock customer |
| LastChangeDate | I_AsstmtMdlUserProductExclsn | LastChangeDate | Time Stamp | |
| LastChangeDateTime | I_AsstmtMdlUserProductExclsn | LastChangeDateTime | Timestamp | |
| SalesOrganization | I_AsstmtMdlUserProductExclsn | SalesOrganization | Sales Organization | |
| DistributionChannel | I_AsstmtMdlUserProductExclsn | DistributionChannel | RefDistCh-Cust/Mat. | |
| ProductIsAssignedToVersion | ||||
| ValidityEndDate | ||||
| _ExplicitAssortmentModule | _ExplicitAssortmentModule | |||
| _Customer | _Customer |
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_ExplctAssMdlUsrProdExclsnTP.
-- 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_ExplctAssMdlUsrProdExclsnTP AS
SELECT
Exclusions.AssortmentModuleObjectUUID AS AssortmentModuleObjectUUID,
Exclusions.Product AS Product,
Exclusions.AssortmentModuleUser AS AssortmentModuleUser,
Exclusions.LastChangeDate AS LastChangeDate,
Exclusions.LastChangeDateTime AS LastChangeDateTime,
Exclusions.SalesOrganization AS SalesOrganization,
Exclusions.DistributionChannel AS DistributionChannel,
case when coalesce( _ModuleProduct.Product, ' ' ) <> ' ' then 'X' else ' ' end AS ProductIsAssignedToVersion,
max(_ModuleProduct.ValidityEndDate) AS ValidityEndDate
FROM I_AsstmtMdlUserProductExclsn AS Exclusions
INNER JOIN I_ExplicitAssortmentModule AS ExplicitModules ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ExplicitAssortmentModuleTP AS _ExplicitAssortmentModule ON AssortmentModuleObjectUUID = _ExplicitAssortmentModule.AssortmentModuleUUID -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON AssortmentModuleUser = _Customer.Customer -- association [1..1]
LEFT OUTER JOIN I_ProdToExplicitAsstmtMdlTP AS _ModuleProduct ON Product = _ModuleProduct.Product AND AssortmentModuleObjectUUID = _ModuleProduct.AssortmentModuleUUID -- 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