I_ACMSettlementUnitHeader

DDL: I_ACMSETTLEMENTUNITHEADER SQL: IACMSTLUNITHDR Type: view BASIC

ACM Settlement Unit Header Data

I_ACMSettlementUnitHeader is a Basic CDS View that provides data about "ACM Settlement Unit Header Data" in SAP S/4HANA. It reads from 1 data source (/accgo/t_stlhead) and exposes 16 fields with key field SettlementDocHeaderUUID.

Data Sources (1)

SourceAliasJoin Type
/accgo/t_stlhead /accgo/t_stlhead from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IACMSTLUNITHDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey 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 #L view
EndUserText.label ACM Settlement Unit Header Data view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SettlementDocHeaderUUID stl_header_guid STL Hdr GUID
SettlmtDoc settl_doc Settlement Unit
SettlmtDocYear settl_yr Setl Unit Year
TradingContractNumber tkonn Trading Contract
TradingContractItem tposn Item Number
ACMTrdgContrSettlementType settl_type Settlement Type
ContractPlant werks Receiving Plant
ACMReferenceSettlementCategory settl_cat Document Category
SettlementPostingDate post_date Sett. Post Date
ContractApplicationDocument appldoc Appl. Document No.
SuccessorItem appldoc_item Item No.
Incoterms delv_terms Incoterms
IncotermsPart2 inco2 Incoterms 2
SettlementCurrency doc_curr Doc. Currency
ACMSettlementUnitGrossAmount gross_amount Tax-Inclusive Amount
ACMSettlementUnitNetAmount net_amount Tax-Exclusive Amount

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_ACMSettlementUnitHeader.
-- 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: IACMSTLUNITHDR

CREATE VIEW I_ACMSettlementUnitHeader AS
SELECT
  stl_header_guid AS SettlementDocHeaderUUID,
  settl_doc AS SettlmtDoc,
  settl_yr AS SettlmtDocYear,
  tkonn AS TradingContractNumber,
  tposn AS TradingContractItem,
  settl_type AS ACMTrdgContrSettlementType,
  werks AS ContractPlant,
  settl_cat AS ACMReferenceSettlementCategory,
  post_date AS SettlementPostingDate,
  appldoc AS ContractApplicationDocument,
  appldoc_item AS SuccessorItem,
  delv_terms AS Incoterms,
  inco2 AS IncotermsPart2,
  doc_curr AS SettlementCurrency,
  gross_amount AS ACMSettlementUnitGrossAmount,
  net_amount AS ACMSettlementUnitNetAmount
FROM /accgo/t_stlhead
;