I_ACMTrdgContrHdrFltrDet

DDL: I_ACMTRDGCONTRHDRFLTRDET SQL: IACMTCHDRFLTDET Type: view BASIC

Trading Contract Header Filter detail

I_ACMTrdgContrHdrFltrDet is a Basic CDS View that provides data about "Trading Contract Header Filter detail" in SAP S/4HANA. It reads from 2 data sources (wbhk, /accgo/t_cak_typ) and exposes 19 fields.

Data Sources (2)

SourceAliasJoin Type
wbhk ContrHdr from
/accgo/t_cak_typ ContrType inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IACMTCHDRFLTDET view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
EndUserText.label Trading Contract Header Filter detail view

Fields (19)

KeyFieldSource TableSource FieldDescription
TradingContractNumber wbhk tkonn Trading Contract
TradingContractType wbhk tctyp Contract Type
ContractStatus wbhk btbsta Only Copy Appr.TC
SalesOrganization wbhk vkorg SD Sales Org.
DistributionChannel wbhk vtweg RefDistCh-Cust/Mat.
TradingContractExternalID wbhk tkonn_ex Ext. Identifier
DocumentDate wbhk budat Posting Date
PersonResponsible wbhk tksachb Pers. Respons.
TradingContractCreatedBy wbhk ernam User Name
TradingContractChangedBy wbhk aenam User Name
TradingContractChangedOnDate wbhk aedat Obsolete
TrdgContrGoodsSupplier wbhk kunnr Stock customer
Division wbhk spart Source supplier
TradingContractSalesCurrency wbhk sdwrs Doc. Currency
CompanyCode wbhk company_code Company Code
PricingDocument wbhk knumv_sd Doc. Condition
TradingContrCreatedOnDate wbhk erdat Entered On
ACMTrdgContrStatusCategory Contrstat category Violation Category
ACMContractStatusIsPosRelevant Contrstat posrel Position Relevant

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_ACMTrdgContrHdrFltrDet.
-- 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: IACMTCHDRFLTDET

CREATE VIEW I_ACMTrdgContrHdrFltrDet AS
SELECT
  ContrHdr.tkonn AS TradingContractNumber,
  ContrHdr.tctyp AS TradingContractType,
  ContrHdr.btbsta AS ContractStatus,
  ContrHdr.vkorg AS SalesOrganization,
  ContrHdr.vtweg AS DistributionChannel,
  ContrHdr.tkonn_ex AS TradingContractExternalID,
  ContrHdr.budat AS DocumentDate,
  ContrHdr.tksachb AS PersonResponsible,
  ContrHdr.ernam AS TradingContractCreatedBy,
  ContrHdr.aenam AS TradingContractChangedBy,
  ContrHdr.aedat AS TradingContractChangedOnDate,
  ContrHdr.kunnr AS TrdgContrGoodsSupplier,
  ContrHdr.spart AS Division,
  ContrHdr.sdwrs AS TradingContractSalesCurrency,
  ContrHdr.company_code AS CompanyCode,
  ContrHdr.knumv_sd AS PricingDocument,
  ContrHdr.erdat AS TradingContrCreatedOnDate,
  Contrstat.category AS ACMTrdgContrStatusCategory,
  Contrstat.posrel AS ACMContractStatusIsPosRelevant
FROM wbhk AS ContrHdr
INNER JOIN /accgo/t_cak_typ AS ContrType ON /* join condition not captured in parsed metadata */
;