P_APManualpayments7

DDL: P_APMANUALPAYMENTS7 SQL: PFIAPMANPMNTS7 Type: view COMPOSITE

P_APManualpayments7 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_APManualpayments6) and exposes 8 fields with key fields CompanyCode, Supplier, AccountingDocCreatedByUser, DocumentCurrency.

Data Sources (1)

SourceAliasJoin Type
P_APManualpayments6 P_APManualpayments6 from

Parameters (2)

NameTypeDefault
P_NumberOfDays abap.int4
P_ExchangeRateDate wwert_d

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PFIAPMANPMNTS7 view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY Supplier Supplier Supplier
KEY AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
KEY DocumentCurrency DocumentCurrency Document Currency
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AutomaticPaymentAmt AutomaticPaymentAmt
ManualPaymentAmt ManualPaymentAmt
PaymentAmount

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_APManualpayments7.
-- 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: PFIAPMANPMNTS7
-- Parameters: P_NumberOfDays : abap.int4, P_ExchangeRateDate : wwert_d

CREATE VIEW P_APManualpayments7 AS
SELECT
  CompanyCode,
  Supplier,
  AccountingDocCreatedByUser,
  DocumentCurrency,
  CompanyCodeCurrency,
  AutomaticPaymentAmt,
  ManualPaymentAmt,
  AutomaticPaymentAmt + ManualPaymentAmt AS PaymentAmount
FROM P_APManualpayments6
;