P_APManualpayments2

DDL: P_APMANUALPAYMENTS2 SQL: PFIAPMANPMNTS2 Type: view COMPOSITE

P_APManualpayments2 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_ReceivablesPayablesItem, P_APManualpayments1) and exposes 16 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, AccountingDocument.

Data Sources (2)

SourceAliasJoin Type
I_ReceivablesPayablesItem DownPayments union_all
P_APManualpayments1 FilteredPayments from

Annotations (6)

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

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
Supplier Creditor Supplier
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TransactionCurrency TransactionCurrency Transaction Currency
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
Supplier Creditor Supplier
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TransactionCurrency TransactionCurrency Transaction Currency
PostingDate PostingDate Posting Date for GR

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_APManualpayments2.
-- 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: PFIAPMANPMNTS2

CREATE VIEW P_APManualpayments2 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  AmountInCompanyCodeCurrency,
  Creditor AS Supplier,
  CompanyCodeCurrency,
  TransactionCurrency,
  PostingDate
FROM P_APManualpayments1 AS FilteredPayments
-- UNION ALL with additional select branch(es): I_ReceivablesPayablesItem
;