C_ACMTrdgContrVH

DDL: C_ACMTRDGCONTRVH Type: view_entity CONSUMPTION

Contract header data

C_ACMTrdgContrVH is a Consumption CDS View that provides data about "Contract header data" in SAP S/4HANA. It reads from 1 data source (I_ACMTradingContractData) and exposes 3 fields with key field ContractNum. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ACMTradingContractData I_ACMTradingContractData from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ACMTrdgContrTypeDesc _ContractTypeText $projection.TradingContractType = _ContractTypeText.TradingContractType

Annotations (10)

NameValueLevelField
EndUserText.label Contract header data view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey ContractNum view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ContractNum ContractNum Trading Contract
TradingContractType TradingContractType Contract Type
ACMTradingContractTypeName

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 C_ACMTrdgContrVH.
-- 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 C_ACMTrdgContrVH AS
SELECT
  ContractNum,
  TradingContractType,
  _ContractTypeText[1: Language = $session.system_language ].ACMTradingContractTypeName AS ACMTradingContractTypeName
FROM I_ACMTradingContractData
LEFT OUTER JOIN I_ACMTrdgContrTypeDesc AS _ContractTypeText ON TradingContractType = _ContractTypeText.TradingContractType  -- association [0..*]
;