P_ARJrnlEntrItmOpenRec

DDL: P_ARJRNLENTRITMOPENREC SQL: PARJEITMOPNREC Type: view COMPOSITE

P_ARJrnlEntrItmOpenRec is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ARJrnlEntrItmOpenRec2) and exposes 30 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.

Data Sources (1)

SourceAliasJoin Type
P_ARJrnlEntrItmOpenRec2 P_ARJrnlEntrItmOpenRec2 from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Annotations (5)

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

Fields (30)

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
Customer Customer Sold-to Party
FollowOnDocumentType FollowOnDocumentType Follow-On Document Type
SpecialGLCode SpecialGLCode Special G/L Ind
GLAccount GLAccount General Ledger
RefInvcDocumentDate RefInvcDocumentDate
RefInvcFinancialAccountType RefInvcFinancialAccountType
RefInvcDebitCreditCode RefInvcDebitCreditCode
RefInvcNetPaymentDays RefInvcNetPaymentDays
RefInvcInvoiceReference RefInvcInvoiceReference
RefInvcNetDueDate RefInvcNetDueDate
NetDueDate NetDueDate Net Due Date
ProfitCenter ProfitCenter Profit Center
BusinessArea BusinessArea Business Area
Segment Segment Segment number
BillingDocument BillingDocument SD Document
AssignmentReference AssignmentReference Assignment Reference
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt

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_ARJrnlEntrItmOpenRec.
-- 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: PARJEITMOPNREC
-- Parameters: P_KeyDate : sydate

CREATE VIEW P_ARJrnlEntrItmOpenRec AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  AccountingDocumentItem,
  InvoiceReference,
  InvoiceItemReference,
  InvoiceReferenceFiscalYear,
  ClearingDate,
  PostingDate,
  DocumentDate,
  FinancialAccountType,
  Customer,
  FollowOnDocumentType,
  SpecialGLCode,
  GLAccount,
  RefInvcDocumentDate,
  RefInvcFinancialAccountType,
  RefInvcDebitCreditCode,
  RefInvcNetPaymentDays,
  RefInvcInvoiceReference,
  RefInvcNetDueDate,
  NetDueDate,
  ProfitCenter,
  BusinessArea,
  Segment,
  BillingDocument,
  AssignmentReference,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency
FROM P_ARJrnlEntrItmOpenRec2
;