P_ARJrnlEntrItmOpenRec2_NSJ
P_ARJrnlEntrItmOpenRec2_NSJ No self-join
P_ARJrnlEntrItmOpenRec2_NSJ is a Composite CDS View that provides data about "P_ARJrnlEntrItmOpenRec2_NSJ No self-join" in SAP S/4HANA. It reads from 1 data source (P_ARJrnlEntrItmOpenRec1) and exposes 70 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. Part of development package FINS_FIS_APAR_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ARJrnlEntrItmOpenRec1 | P_ARJrnlEntrItmOpenRec1 | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | ||
| SpecialGLTransactionType | SpecialGLTransactionType | Transact.Type | ||
| GLAccount | GLAccount | General Ledger | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| BusinessArea | BusinessArea | Business Area | ||
| Segment | Segment | Segment number | ||
| BillingDocument | BillingDocument | SD Document | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| Reference1IDByBusinessPartner | Reference1IDByBusinessPartner | Reference Key 1 | ||
| Reference2IDByBusinessPartner | Reference2IDByBusinessPartner | Reference Key 2 | ||
| Reference3IDByBusinessPartner | Reference3IDByBusinessPartner | Reference Key 3 | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| RefInvcDocumentDate | ||||
| RefInvcFinancialAccountType | ||||
| RefInvcDebitCreditCode | ||||
| RefInvcNetPaymentDays | ||||
| RefInvcInvoiceReference | ||||
| RefInvcNetDueDate | ||||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| NetDueDate | NetDueDate | Net Due Date | ||
| CustomerCountry | CustomerCountry | |||
| CustomerRegion | CustomerRegion | |||
| ReconciliationAccount | ReconciliationAccount | Recon. account | ||
| CustomerAccountGroup | CustomerAccountGroup | Account group | ||
| AccountingClerk | AccountingClerk | Clerk Abbrev. | ||
| Country | Country | Venue: Ctry/Reg | ||
| CustomerBasicAuthorizationGrp | CustomerBasicAuthorizationGrp | |||
| CustomerFinsAuthorizationGrp | CustomerFinsAuthorizationGrp | AuthorizGroup | ||
| CustomerClassification | CustomerClassification | Customer Class. | ||
| CustomerAccountNote | CustomerAccountNote | Account Memo | ||
| CustomerCorporateGroup | CustomerCorporateGroup | Group | ||
| _Customer | _Customer | |||
| _CompanyCode | _CompanyCode | |||
| _JournalEntry | _JournalEntry | |||
| _SpecialGLCode | _SpecialGLCode | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ProfitCenter | _ProfitCenter | |||
| _FiscalYear | _FiscalYear | |||
| _AccountingClerk | _AccountingClerk | |||
| _ReconciliationAccount | _ReconciliationAccount | |||
| _CustomerAccountGroup | _CustomerAccountGroup | |||
| _PaymentMethod | _PaymentMethod | |||
| _CustomerCountry | _CustomerCountry | |||
| _CustomerRegion | _CustomerRegion | |||
| _CustomerCompany | _CustomerCompany | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _Country | _Country | |||
| _ControllingArea | _ControllingArea | |||
| _CustomerClassification | _CustomerClassification |
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_ARJrnlEntrItmOpenRec2_NSJ.
-- 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.
-- Parameters: P_KeyDate : sydate
CREATE VIEW P_ARJrnlEntrItmOpenRec2_NSJ AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
AccountingDocumentItem,
InvoiceReference,
InvoiceItemReference,
InvoiceReferenceFiscalYear,
ClearingDate,
PostingDate,
DocumentDate,
FinancialAccountType,
Customer,
FollowOnDocumentType,
SpecialGLCode,
SpecialGLTransactionType,
GLAccount,
ProfitCenter,
BusinessArea,
Segment,
BillingDocument,
AssignmentReference,
Reference1IDByBusinessPartner,
Reference2IDByBusinessPartner,
Reference3IDByBusinessPartner,
PaymentMethod,
ChartOfAccounts,
ControllingArea,
cast( '00000000' as fis_bldat ) AS RefInvcDocumentDate,
cast( '' as farp_koart ) AS RefInvcFinancialAccountType,
cast( '' as fis_shkzg ) AS RefInvcDebitCreditCode,
cast( 0 as farp_dzbd3t ) AS RefInvcNetPaymentDays,
cast( '' as farp_rebzg ) AS RefInvcInvoiceReference,
cast( '00000000' as farp_netdt ) AS RefInvcNetDueDate,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
TransactionCurrency,
AmountInTransactionCurrency,
NetDueDate,
CustomerCountry,
CustomerRegion,
ReconciliationAccount,
CustomerAccountGroup,
AccountingClerk,
Country,
CustomerBasicAuthorizationGrp,
CustomerFinsAuthorizationGrp,
CustomerClassification,
CustomerAccountNote,
CustomerCorporateGroup
FROM P_ARJrnlEntrItmOpenRec1
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA