I_CmmdtyIntCounterpartySubAcct

DDL: I_CMMDTYINTCOUNTERPARTYSUBACCT SQL: ICMMDTYCNTRSUB Type: view BASIC

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.

Data Sources (7)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;