I_ACMContractCommoditySubitem
Baisc View on Trading Contract: commodity sub items
I_ACMContractCommoditySubitem is a Basic CDS View that provides data about "Baisc View on Trading Contract: commodity sub items" in SAP S/4HANA. It reads from 1 data source (P_ACMContractCommoditySubitem) and exposes 31 fields with key fields TradingContractNumber, TradingContractItem, Side, TrdgContrCommoditySubitem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ACMContractCommoditySubitem | P_ACMContractCommoditySubitem | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICMMDTYSUBITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Baisc View on Trading Contract: commodity sub items | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingContractNumber | TKONN | Trading Contract | |
| KEY | TradingContractItem | TPOSN | Item Number | |
| KEY | Side | SIDE | Side | |
| KEY | TrdgContrCommoditySubitem | TPOSN_COM | Com. item num. | |
| ACMPricingCancellationQuantity | QUANTITY | Value | ||
| TrdgContractItemUnitOfMeasure | UNIT | UoM | ||
| TrdgContrCreditSalesFromDate | DATE_FROM | Validity Start Date | ||
| TrdgContractCreditSalesToDate | DATE_TO | Validity End Date | ||
| ACMTrdgContrFutureAttrib | FUTURE | Release future | ||
| ACMCommodityUUID | COM_GUID | commodity GUID | ||
| TradingContractCreatedBy | CR_NAME | Created By | ||
| ACMTrdgContrCreatedOnDate | CR_DATE | Created On | ||
| TimeOfCreation | CR_TIME | Time Stamp | ||
| TradingContractChangedBy | CH_NAME | Changed By | ||
| TradingContractChangedOnDate | CH_DATE | Changed On | ||
| LastChangeTime | CH_TIME | Time of change | ||
| ACMCmmdtySubItmClosed | IT_CLOSED | Item Closed | ||
| ACMCmmdtyItmCat | COM_CAT | Com. Item Cat. | ||
| Numerator | NUMERATOR | Turn-over | ||
| Denominator | DENOMINATOR | Turn-over | ||
| ACMTrdgContrAssgmtRlvt | ASSGMT_REL | Assignment Relevant | ||
| TradingContractItemCategory | HKPSTP | Item Category | ||
| ContractMaterial | MATNR | Vehicle Model | ||
| BaseUnitofMeasure | BASIS_MEINS | Base Unit | ||
| ACMSettlementDocReferenceParty | VENDOR | Vendor | ||
| CustomerNum | CUSTOMER | Sold-to Party | ||
| Batch | BATCH | Lot No. | ||
| ACMCmmdtyItmExtIdfr | EXT_REF | External Reference | ||
| ACMCmmdtyItmPrpty | COM_ITEM_PROP | Property | ||
| DataAgingObject | _DATAAGING | Data Aging | ||
| ACMDummySubAccountExtn | PLACE_HOLDER |
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_ACMContractCommoditySubitem.
-- 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.
-- SQL view name: ICMMDTYSUBITM
CREATE VIEW I_ACMContractCommoditySubitem AS
SELECT
TKONN AS TradingContractNumber,
TPOSN AS TradingContractItem,
Side,
TPOSN_COM AS TrdgContrCommoditySubitem,
QUANTITY AS ACMPricingCancellationQuantity,
UNIT AS TrdgContractItemUnitOfMeasure,
DATE_FROM AS TrdgContrCreditSalesFromDate,
DATE_TO AS TrdgContractCreditSalesToDate,
FUTURE AS ACMTrdgContrFutureAttrib,
COM_GUID AS ACMCommodityUUID,
CR_NAME AS TradingContractCreatedBy,
CR_DATE AS ACMTrdgContrCreatedOnDate,
CR_TIME AS TimeOfCreation,
CH_NAME AS TradingContractChangedBy,
CH_DATE AS TradingContractChangedOnDate,
CH_TIME AS LastChangeTime,
IT_CLOSED AS ACMCmmdtySubItmClosed,
COM_CAT AS ACMCmmdtyItmCat,
Numerator,
Denominator,
ASSGMT_REL AS ACMTrdgContrAssgmtRlvt,
HKPSTP AS TradingContractItemCategory,
MATNR AS ContractMaterial,
BASIS_MEINS AS BaseUnitofMeasure,
VENDOR AS ACMSettlementDocReferenceParty,
CUSTOMER AS CustomerNum,
Batch,
EXT_REF AS ACMCmmdtyItmExtIdfr,
COM_ITEM_PROP AS ACMCmmdtyItmPrpty,
PLACE_HOLDER AS ACMDummySubAccountExtn
FROM P_ACMContractCommoditySubitem
;
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