I_CustCommodityQuantityItemTP
Customer Commodity Item - TP
I_CustCommodityQuantityItemTP is a Transactional CDS View that provides data about "Customer Commodity Item - TP" in SAP S/4HANA. It reads from 1 data source (I_CustomerCommodityQtyItem) and exposes 19 fields with key field UniqueSpecificationItemUUID. It has 4 associations to related views. Part of development package LOG_CMM_PRC_CMMDTY_QTY_CUST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerCommodityQtyItem | I_CustomerCommodityQtyItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SourcingCommodityText | _SourcingCommodityText | $projection.Commodity = _SourcingCommodityText.Commodity |
| [0..1] | I_User | _UserCreate | $projection.CreatedByUser = _UserCreate.UserID |
| [0..1] | I_User | _UserChange | $projection.LastChangedByUser = _UserChange.UserID |
| [1..1] | E_CustCommodityQuantityItem | _Extension | $projection.UniqueSpecificationItemUUID = _Extension.UniqueSpecificationItemUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Customer Commodity Item - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Feature | SW:LOG_CMM_PRC_SFWS_CMMDTY_QTY | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UniqueSpecificationItemUUID | UniqueSpecificationItemUUID | Spec ID | |
| UniqueSpecificationUUID | UniqueSpecificationUUID | Spec ID | ||
| Commodity | Commodity | Commodity Code | ||
| CommodityName | ||||
| CommodityQuantity | CommodityQuantity | Commodity Quantity | ||
| CommodityQuantityUoM | CommodityQuantityUoM | Commodity Qty Uom | ||
| ReferenceQuantity | ReferenceQuantity | Comm Refer Quantity | ||
| ReferenceQuantityUoM | ReferenceQuantityUoM | Comm RefQty Uom | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserName | _UserCreate | UserDescription | Full Name | |
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| ChangedByUserName | _UserChange | UserDescription | Full Name | |
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LocalLastChangeDateTime | LocalLastChangeDateTime | Time Stamp | ||
| _CustomerHeader | _CustomerHeader | |||
| _SourcingCommodityText | _SourcingCommodityText | |||
| _UserCreate | _UserCreate | |||
| _UserChange | _UserChange |
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_CustCommodityQuantityItemTP.
-- 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_CustCommodityQuantityItemTP AS
SELECT
UniqueSpecificationItemUUID,
UniqueSpecificationUUID,
Commodity,
_SourcingCommodityText[1: Language=$session.system_language].CommodityName AS CommodityName,
CommodityQuantity,
CommodityQuantityUoM,
ReferenceQuantity,
ReferenceQuantityUoM,
CreatedByUser,
_UserCreate.UserDescription AS CreatedByUserName,
CreationDateTime,
LastChangedByUser,
_UserChange.UserDescription AS ChangedByUserName,
LastChangeDateTime,
LocalLastChangeDateTime
FROM I_CustomerCommodityQtyItem
LEFT OUTER JOIN I_SourcingCommodityText AS _SourcingCommodityText ON Commodity = _SourcingCommodityText.Commodity -- association [0..*]
LEFT OUTER JOIN I_User AS _UserCreate ON CreatedByUser = _UserCreate.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _UserChange ON LastChangedByUser = _UserChange.UserID -- association [0..1]
LEFT OUTER JOIN E_CustCommodityQuantityItem AS _Extension ON UniqueSpecificationItemUUID = _Extension.UniqueSpecificationItemUUID -- association [1..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