P_GrntoAgrmtAuthzdAmtRefPayts

DDL: P_GRNTOAGRMTAUTHZDAMTREFPAYTS Type: view_entity COMPOSITE

P_GrntoAgrmtAuthzdAmtRefPayts is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_GrantorAgreementItemEnhcd) and exposes 5 fields with key fields BusinessObjectType, GrantorAgreement.

Data Sources (1)

SourceAliasJoin Type
I_GrantorAgreementItemEnhcd I_GrantorAgreementItemEnhcd from

Annotations (3)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY BusinessObjectType BusinessObjectType Object Type
KEY GrantorAgreement GrantorAgreement
TransactionCurrency TransactionCurrency Transaction Currency
GrantorAdvanceReferenceItem GrantorAdvanceReferenceItem
GrantorAuthorizedAmount

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 P_GrntoAgrmtAuthzdAmtRefPayts.
-- 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 P_GrntoAgrmtAuthzdAmtRefPayts AS
SELECT
  BusinessObjectType,
  GrantorAgreement,
  TransactionCurrency,
  GrantorAdvanceReferenceItem,
  sum(GrantorAuthorizedAmount) AS GrantorAuthorizedAmount
FROM I_GrantorAgreementItemEnhcd
;