P_APJrnlEntrItmOpenPay2

DDL: P_APJRNLENTRITMOPENPAY2 SQL: PAPJEITMOPNPAY2 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

P_APJrnlEntrItmOpenPay2

P_APJrnlEntrItmOpenPay2 is a Composite CDS View that provides data about "P_APJrnlEntrItmOpenPay2" in SAP S/4HANA. It reads from 2 data sources (P_APJrnlEntrItmOpenPay2_NSJ, P_APJrnlEntrItmOpenPay2_WSJ) and exposes 62 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem, FiscalYear. Part of development package FINS_FIS_AP_APPS.

Data Sources (2)

SourceAliasJoin Type
P_APJrnlEntrItmOpenPay2_NSJ P_APJrnlEntrItmOpenPay2_NSJ from
P_APJrnlEntrItmOpenPay2_WSJ P_APJrnlEntrItmOpenPay2_WSJ union_all

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Annotations (5)

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

Fields (62)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
AccountingDocumentItem AccountingDocumentItem Posting View Item
InvoiceReference InvoiceReference Invoice Reference
InvoiceItemReference InvoiceItemReference Item
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
ClearingDate ClearingDate Clearing Date
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
FinancialAccountType FinancialAccountType Fin. Account Type
Supplier Supplier Supplier
FollowOnDocumentType FollowOnDocumentType Follow-On Document Type
SpecialGLCode SpecialGLCode Special G/L Ind
GLAccount GLAccount General Ledger
RefInvcDocumentDate RefInvcDocumentDate Journal Entry Date
RefInvcFinancialAccountType RefInvcFinancialAccountType Fin. Account Type
RefInvcDebitCreditCode RefInvcDebitCreditCode Single-Character Flag
RefInvcNetPaymentDays RefInvcNetPaymentDays Net Pmt Terms Period
RefInvcInvoiceReference RefInvcInvoiceReference Invoice Reference
RefInvcNetDueDate RefInvcNetDueDate Net Due Date
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
PurchasingDocument PurchasingDocument Purchasing Document
AssignmentReference AssignmentReference Assignment Reference
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
AccountingDocumentItem AccountingDocumentItem Posting View Item
InvoiceReference InvoiceReference Invoice Reference
InvoiceItemReference InvoiceItemReference Item
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
ClearingDate ClearingDate Clearing Date
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
FinancialAccountType FinancialAccountType Fin. Account Type
Supplier Supplier Supplier
FollowOnDocumentType FollowOnDocumentType Follow-On Document Type
SpecialGLCode SpecialGLCode Special G/L Ind
GLAccount GLAccount General Ledger
RefInvcDocumentDate RefInvcDocumentDate Journal Entry Date
RefInvcFinancialAccountType RefInvcFinancialAccountType Fin. Account Type
RefInvcDebitCreditCode RefInvcDebitCreditCode Single-Character Flag
RefInvcNetPaymentDays RefInvcNetPaymentDays Net Pmt Terms Period
RefInvcInvoiceReference RefInvcInvoiceReference Invoice Reference
RefInvcNetDueDate RefInvcNetDueDate Net Due Date
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
PurchasingDocument PurchasingDocument Purchasing Document
AssignmentReference AssignmentReference Assignment Reference
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
NetDueDate NetDueDate Net Due Date

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_APJrnlEntrItmOpenPay2.
-- 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: PAPJEITMOPNPAY2
-- Parameters: P_KeyDate : sydate

CREATE VIEW P_APJrnlEntrItmOpenPay2 AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  AccountingDocumentItem,
  InvoiceReference,
  InvoiceItemReference,
  InvoiceReferenceFiscalYear,
  ClearingDate,
  PostingDate,
  DocumentDate,
  FinancialAccountType,
  Supplier,
  FollowOnDocumentType,
  SpecialGLCode,
  GLAccount,
  RefInvcDocumentDate,
  RefInvcFinancialAccountType,
  RefInvcDebitCreditCode,
  RefInvcNetPaymentDays,
  RefInvcInvoiceReference,
  RefInvcNetDueDate,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  Segment,
  PurchasingDocument,
  AssignmentReference,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  NetDueDate
FROM P_APJrnlEntrItmOpenPay2_NSJ
-- UNION ALL with additional select branch(es): P_APJrnlEntrItmOpenPay2_WSJ
;