I_CmmdtyIntCounterpartySubAcct
Subaccounts assgn. to int. Counterparty
I_CmmdtyIntCounterpartySubAcct is a Basic CDS View that provides data about "Subaccounts assgn. to int. Counterparty" in SAP S/4HANA. It reads from 7 data sources and exposes 15 fields with key fields Counterparty, CommoditySubAccount. Part of development package FS_CMM_COMMODITY_SUBACCOUNT.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessPartner | BusinessPartner | left_outer |
| I_CmmdtyText | CmmdtyText | left_outer |
| cmmfsa_d_cntrsub | cmmfsa_d_cntrsub | from |
| cmmfsa_d_offfoot | cmmfsa_d_offfoot | left_outer |
| cmmfsa_d_subacct | cmmfsa_d_subacct | inner |
| I_DerivativeContractSpecText | DerivativeContractSpecText | left_outer |
| i_MarketIdentifierCodeText | MarketIdentifierCodeText | left_outer |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICMMDTYCNTRSUB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Subaccounts assgn. to int. Counterparty | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Counterparty | cmmfsa_d_cntrsub | int_counterparty | Int. Counterparty |
| KEY | CommoditySubAccount | cmmfsa_d_subacct | commoditysubaccount | Subaccount ID |
| CommoditySubAccountUUID | cmmfsa_d_subacct | commoditysubaccountuuid | Key | |
| CommoditySubAccountName | cmmfsa_d_subacct | commoditysubaccountname | Subaccount Name | |
| CmmdtySubAccountIsOffFootPrint | cmmfsa_d_offfoot | is_off_footprint | Off Footprint | |
| Commodity | cmmfsa_d_subacct | commodity | Commodity Code | |
| CommodityName | I_CmmdtyText | CommodityName | User Group | |
| MarketIdentifierCode | cmmfsa_d_subacct | marketidentifiercode | MIC | |
| MarketIdentifierCodeName | i_MarketIdentifierCodeText | MarketIdentifierCodeName | User Group | |
| DerivativeContrSpecification | cmmfsa_d_subacct | derivativecontrspecification | DCS ID | |
| DerivativeContrSpecName | I_DerivativeContractSpecText | DerivativeContrSpecName | User Group | |
| CommodityDerivativeBroker | cmmfsa_d_subacct | commodityderivativebroker | Broker ID | |
| BusinessPartnerFullName | I_BusinessPartner | BusinessPartnerFullName | Broker Name | |
| CompanyCode | cmmfsa_d_subacct | companycode | Receiver Company Code | |
| ReferenceBrokerAccount | cmmfsa_d_subacct | referencebrokeraccount | Reference Account |
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_CmmdtyIntCounterpartySubAcct.
-- 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: ICMMDTYCNTRSUB
CREATE VIEW I_CmmdtyIntCounterpartySubAcct AS
SELECT
cmmfsa_d_cntrsub.int_counterparty AS Counterparty,
cmmfsa_d_subacct.commoditysubaccount AS CommoditySubAccount,
cmmfsa_d_subacct.commoditysubaccountuuid AS CommoditySubAccountUUID,
cmmfsa_d_subacct.commoditysubaccountname AS CommoditySubAccountName,
cmmfsa_d_offfoot.is_off_footprint AS CmmdtySubAccountIsOffFootPrint,
cmmfsa_d_subacct.commodity AS Commodity,
CmmdtyText.CommodityName AS CommodityName,
cmmfsa_d_subacct.marketidentifiercode AS MarketIdentifierCode,
MarketIdentifierCodeText.MarketIdentifierCodeName AS MarketIdentifierCodeName,
cmmfsa_d_subacct.derivativecontrspecification AS DerivativeContrSpecification,
DerivativeContractSpecText.DerivativeContrSpecName AS DerivativeContrSpecName,
cmmfsa_d_subacct.commodityderivativebroker AS CommodityDerivativeBroker,
BusinessPartner.BusinessPartnerFullName AS BusinessPartnerFullName,
cmmfsa_d_subacct.companycode AS CompanyCode,
cmmfsa_d_subacct.referencebrokeraccount AS ReferenceBrokerAccount
FROM cmmfsa_d_cntrsub
INNER JOIN cmmfsa_d_subacct ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cmmfsa_d_offfoot ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DerivativeContractSpecText AS DerivativeContractSpecText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN i_MarketIdentifierCodeText AS MarketIdentifierCodeText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmmdtyText AS CmmdtyText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BusinessPartner AS BusinessPartner ON /* join condition not captured in parsed metadata */
;
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