I_ACMContractSnapshotHeader

DDL: I_ACMCONTRACTSNAPSHOTHEADER Type: view_entity BASIC

ACM Contract Snapshot Header Details

I_ACMContractSnapshotHeader is a Basic CDS View that provides data about "ACM Contract Snapshot Header Details" in SAP S/4HANA. It reads from 1 data source (/accgo/t_snp_hdr) and exposes 19 fields with key fields ACMSnpshtUUID, ACMContractNumber, ACMSnpshtCreationDateTime. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/accgo/t_snp_hdr header from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_ACMCONTRSNPSHTOutpProcgSts _OutputProcessVH $projection.ACMSnpshtOutputProcess = _OutputProcessVH.ACMSnpshtOutputProcStatus
[0..1] I_ACMCONTRSnpshtSgntrSts _SignatureStatusVH $projection.ACMSignatureStatus = _SignatureStatusVH.ACMSignatureStatus
[1] I_ACMContractSnapshotHdrExtn _Extension $projection.ACMSnpshtUUID = _Extension.ACMSnpshtUUID and $projection.ACMContractNumber = _Extension.ACMContractNumber and $projection.ACMSnpshtCreationDateTime = _Extension.ACMSnpshtCreationDateTime
[1] I_ACMTrdgContrHdrForPrcgOvw _ContractHeader $projection.ACMContractNumber = _ContractHeader.TradingContractNumber
[1..*] I_ACMContractSnapshotDetail _SnapshotDetails
[0..*] I_ACMContrSnpshtAddlDets _AdminFields

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
EndUserText.label ACM Contract Snapshot Header Details view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.quota.maximumFields 500 view
AbapCatalog.extensibility.quota.maximumBytes 50000 view
AbapCatalog.extensibility.allowNewCompositions true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ACMSnpshtUUID /accgo/t_snp_hdr snapshot_uuid UUID
KEY ACMContractNumber /accgo/t_snp_hdr contract_number Un. Contr No.
KEY ACMSnpshtCreationDateTime /accgo/t_snp_hdr creation_timestamp Timestamp
ACMSnpshtChangedDateTime /accgo/t_snp_hdr changed_timestamp Timestamp (Changed)
ACMSnpshtCreatedByID /accgo/t_snp_hdr created_by Version Created By
ACMSnpshtChangedByID /accgo/t_snp_hdr changed_by User Name
ACMTrdgContrIsSnpshtSgntrRlvt /accgo/t_snp_hdr signature_rel Rel for Signature
ACMSignatureStatus /accgo/t_snp_hdr signature_status Signature Status
ACMSignatureStatusDesc
ACMSnpshtOutputProcess /accgo/t_snp_hdr output_process Output Processing
ACMOutputProcessingStatusDesc
ACMOriginalTraderID orig_resp_trader_id Orig Trader
ACMOriginalTraderIDText _Extension ACMOriginalTraderIDText
ACMAmendingTraderID resp_trader_id Resp Trader
ACMAmendingTraderIDText _Extension ACMAmendingTraderIDText
_SnapshotDetails _SnapshotDetails
_AdminFields _AdminFields
_Extension _Extension
_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_ACMContractSnapshotHeader.
-- 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 I_ACMContractSnapshotHeader AS
SELECT
  header.snapshot_uuid AS ACMSnpshtUUID,
  header.contract_number AS ACMContractNumber,
  header.creation_timestamp AS ACMSnpshtCreationDateTime,
  header.changed_timestamp AS ACMSnpshtChangedDateTime,
  header.created_by AS ACMSnpshtCreatedByID,
  header.changed_by AS ACMSnpshtChangedByID,
  header.signature_rel AS ACMTrdgContrIsSnpshtSgntrRlvt,
  header.signature_status AS ACMSignatureStatus,
  _SignatureStatusVH._Text[Language = $session.system_language].ACMTrdgContrSgntrStsText AS ACMSignatureStatusDesc,
  header.output_process AS ACMSnpshtOutputProcess,
  _OutputProcessVH._Text[Language = $session.system_language].ProcessingStatusDesc AS ACMOutputProcessingStatusDesc,
  orig_resp_trader_id AS ACMOriginalTraderID,
  _Extension.ACMOriginalTraderIDText AS ACMOriginalTraderIDText,
  resp_trader_id AS ACMAmendingTraderID,
  _Extension.ACMAmendingTraderIDText AS ACMAmendingTraderIDText
FROM /accgo/t_snp_hdr AS header
LEFT OUTER JOIN I_ACMCONTRSNPSHTOutpProcgSts AS _OutputProcessVH ON ACMSnpshtOutputProcess = _OutputProcessVH.ACMSnpshtOutputProcStatus  -- association [0..1]
LEFT OUTER JOIN I_ACMCONTRSnpshtSgntrSts AS _SignatureStatusVH ON ACMSignatureStatus = _SignatureStatusVH.ACMSignatureStatus  -- association [0..1]
LEFT OUTER JOIN I_ACMContractSnapshotHdrExtn AS _Extension ON ACMSnpshtUUID = _Extension.ACMSnpshtUUID AND ACMContractNumber = _Extension.ACMContractNumber AND ACMSnpshtCreationDateTime = _Extension.ACMSnpshtCreationDateTime  -- association [1]
LEFT OUTER JOIN I_ACMTrdgContrHdrForPrcgOvw AS _ContractHeader ON ACMContractNumber = _ContractHeader.TradingContractNumber  -- association [1]
LEFT OUTER JOIN I_ACMContractSnapshotDetail AS _SnapshotDetails ON /* condition not available in parsed metadata */  -- association [1..*]
LEFT OUTER JOIN I_ACMContrSnpshtAddlDets AS _AdminFields ON /* condition not available in parsed metadata */  -- association [0..*]
;