I_ACMTrdgContrFeeDets

DDL: I_ACMTRDGCONTRFEEDETS SQL: IACMTRDGCONTRFEE Type: view BASIC

Trading Contract Fee Details

I_ACMTrdgContrFeeDets is a Basic CDS View that provides data about "Trading Contract Fee Details" in SAP S/4HANA. It reads from 1 data source (I_ACMTradingContractHdrFeeData) and exposes 18 fields with key fields ACMFeeFrameworkDocTypeRef, TradingContractNumber, TradingContractItem, ACMFeeFrameworkRefDocSubItem, ACMFeeFrameworkRefDocYear. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMTradingContractHdrFeeData I_ACMTradingContractHdrFeeData from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ACMTrdgContrHdr _ContractHeader $projection.TradingContractNumber = _ContractHeader.TradingContractNumber

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IACMTRDGCONTRFEE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Trading Contract Fee Details view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ACMFeeFrameworkDocTypeRef ACMFeeFrameworkDocTypeRef TSW Document type
KEY TradingContractNumber Snapshot ID
KEY TradingContractItem Reference Doc. Item
KEY ACMFeeFrameworkRefDocSubItem ACMFeeFrameworkRefDocSubItem RefDoc Sub-Item
KEY ACMFeeFrameworkRefDocYear ACMFeeFrameworkRefDocYear Ref. Doc. Year
KEY ACMFeeFrameworkRefDocSqncNmbr ACMFeeFrameworkRefDocSqncNmbr Sqnc No. in Ext File
KEY FeeFrameworkFeeID FeeFrameworkFeeID Fee ID
KEY FeeVersion FeeVersion XML Vers.
ACMFeeValidStatus ACMFeeValidStatus Fee Valid Status
ACMFeeIsObsolete ACMFeeIsObsolete Fee Obsolete
FeeFrameworkFeeName FeeFrameworkFeeName Fee Name
ACMFeeType ACMFeeType Fee Type
ACMFeeAmount ACMFeeAmount Tax Rate
ACMFeeCurrency ACMFeeCurrency Valuation Crcy
ACMFeeQuantity ACMFeeQuantity Value
ACMFeeUoM ACMFeeUoM UoM: Conv. to
_ContractItem _ContractItem
_ContractHeader _ContractHeader

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_ACMTrdgContrFeeDets.
-- 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: IACMTRDGCONTRFEE

CREATE VIEW I_ACMTrdgContrFeeDets AS
SELECT
  ACMFeeFrameworkDocTypeRef,
  cast ( ACMFeeFrameworkRefDocID as tkonn ) AS TradingContractNumber,
  cast ( ACMFeeFrameworkRefDocumentItem as tposn ) AS TradingContractItem,
  ACMFeeFrameworkRefDocSubItem,
  ACMFeeFrameworkRefDocYear,
  ACMFeeFrameworkRefDocSqncNmbr,
  FeeFrameworkFeeID,
  FeeVersion,
  ACMFeeValidStatus,
  ACMFeeIsObsolete,
  FeeFrameworkFeeName,
  ACMFeeType,
  ACMFeeAmount,
  ACMFeeCurrency,
  ACMFeeQuantity,
  ACMFeeUoM
FROM I_ACMTradingContractHdrFeeData
LEFT OUTER JOIN I_ACMTrdgContrHdr AS _ContractHeader ON TradingContractNumber = _ContractHeader.TradingContractNumber  -- association [1..1]
;