I_PaytReceiptJournalEntryVH
Payment Receipt Journal Entry
I_PaytReceiptJournalEntryVH is a Composite CDS View that provides data about "Payment Receipt Journal Entry" in SAP S/4HANA. It reads from 2 data sources (P_PaymentReceiptRelatedDoc, P_PaytReceiptJournalEntry) and exposes 26 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem. It has 5 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_PaymentReceiptRelatedDoc | _usedJounralEntry | left_outer |
| P_PaytReceiptJournalEntry | AccountingDocument | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PaytReceiptSupplierVH | _Supplier | _Supplier.CompanyCode = AccountingDocument.CompanyCode and _Supplier.Supplier = AccountingDocument.Supplier |
| [0..1] | I_PaytReceiptCustomerVH | _Customer | _Customer.CompanyCode = AccountingDocument.CompanyCode and _Customer.Customer = AccountingDocument.Customer |
| [0..1] | I_PaytReceiptBusinessPlaceVH | _BusinessPlace | _BusinessPlace.CompanyCode = AccountingDocument.CompanyCode and _BusinessPlace.BusinessPlace = AccountingDocument.BusinessPlace |
| [0..1] | I_PaytReceiptCompanyCodeVH | _companyCodeName | AccountingDocument.CompanyCode = _companyCodeName.CompanyCode |
| [0..1] | I_AccountingDocumentTypeText | _ADocText | AccountingDocument.AccountingDocumentType = _ADocText.AccountingDocumentType and _ADocText.Language = $session.system_language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPAYTRECPTJEVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| VDM.viewType | #COMPOSITE | view | |
| Search.searchable | true | view | |
| EndUserText.label | Payment Receipt Journal Entry | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_PaytReceiptJournalEntry | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | P_PaytReceiptJournalEntry | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | P_PaytReceiptJournalEntry | AccountingDocument | Journal Entry |
| KEY | AccountingDocumentItem | P_PaytReceiptJournalEntry | AccountingDocumentItem | Line Item |
| CompanyCodeName | ||||
| Customer | P_PaytReceiptJournalEntry | Customer | Sold-to Party | |
| CustomerName | ||||
| Country | ||||
| Supplier | P_PaytReceiptJournalEntry | Supplier | Supplier | |
| SupplierName | ||||
| DocumentReferenceID | P_PaytReceiptJournalEntry | DocumentReferenceID | Reference | |
| BusinessPlace | P_PaytReceiptJournalEntry | BusinessPlace | Business place | |
| BusinessPlaceName | ||||
| DocumentDate | P_PaytReceiptJournalEntry | DocumentDate | Journal Entry Date | |
| AmountInTransactionCurrency | P_PaytReceiptJournalEntry | AmountInTransactionCurrency | Amount | |
| AccountingDocumentType | P_PaytReceiptJournalEntry | AccountingDocumentType | Journal Entry Type | |
| AccountingDocumentTypeName | ||||
| Currency | P_PaytReceiptJournalEntry | Currency | Valuation Crcy | |
| AlternativeReferenceDocument | P_PaytReceiptJournalEntry | AlternativeReferenceDocument | Alternative Reference Document | |
| PH_BusinessStyleOfBPText | ||||
| JournalEntry | P_PaymentReceiptRelatedDoc | JournalEntry | ||
| ClearingAccountingDocument | P_PaytReceiptJournalEntry | ClearingAccountingDocument | Clearing Journal Entry | |
| IsUsedInPaymentTransaction | P_PaytReceiptJournalEntry | IsUsedInPaymentTransaction | Is Used In Payment Transaction | |
| CashDiscountAmount | P_PaytReceiptJournalEntry | CashDiscountAmount | CD Amount | |
| NetPaymentAmount | P_PaytReceiptJournalEntry | NetPaymentAmount | Net Payment Amount | |
| OperationalDocItemQty | 1 |
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 I_PaytReceiptJournalEntryVH.
-- 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: IPAYTRECPTJEVH
CREATE VIEW I_PaytReceiptJournalEntryVH AS
SELECT
AccountingDocument.CompanyCode AS CompanyCode,
AccountingDocument.FiscalYear AS FiscalYear,
AccountingDocument.AccountingDocument AS AccountingDocument,
AccountingDocument.AccountingDocumentItem AS AccountingDocumentItem,
cast('' as butxt) AS CompanyCodeName,
AccountingDocument.Customer AS Customer,
cast('' as md_customer_name) AS CustomerName,
cast('' as land1) AS Country,
AccountingDocument.Supplier AS Supplier,
cast('' as md_supplier_name) AS SupplierName,
AccountingDocument.DocumentReferenceID AS DocumentReferenceID,
AccountingDocument.BusinessPlace AS BusinessPlace,
cast('' as name1) AS BusinessPlaceName,
AccountingDocument.DocumentDate AS DocumentDate,
AccountingDocument.AmountInTransactionCurrency AS AmountInTransactionCurrency,
AccountingDocument.AccountingDocumentType AS AccountingDocumentType,
cast('' as farp_ltext_003t) AS AccountingDocumentTypeName,
AccountingDocument.Currency AS Currency,
AccountingDocument.AlternativeReferenceDocument AS AlternativeReferenceDocument,
cast('' as ph_biz_style) AS PH_BusinessStyleOfBPText,
_usedJounralEntry.JournalEntry AS JournalEntry,
AccountingDocument.ClearingAccountingDocument AS ClearingAccountingDocument,
AccountingDocument.IsUsedInPaymentTransaction AS IsUsedInPaymentTransaction,
AccountingDocument.CashDiscountAmount AS CashDiscountAmount,
AccountingDocument.NetPaymentAmount AS NetPaymentAmount,
1 AS OperationalDocItemQty
FROM P_PaytReceiptJournalEntry AS AccountingDocument
LEFT OUTER JOIN P_PaymentReceiptRelatedDoc AS _usedJounralEntry ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PaytReceiptSupplierVH AS _Supplier ON _Supplier.CompanyCode = AccountingDocument.CompanyCode AND _Supplier.Supplier = AccountingDocument.Supplier -- association [0..1]
LEFT OUTER JOIN I_PaytReceiptCustomerVH AS _Customer ON _Customer.CompanyCode = AccountingDocument.CompanyCode AND _Customer.Customer = AccountingDocument.Customer -- association [0..1]
LEFT OUTER JOIN I_PaytReceiptBusinessPlaceVH AS _BusinessPlace ON _BusinessPlace.CompanyCode = AccountingDocument.CompanyCode AND _BusinessPlace.BusinessPlace = AccountingDocument.BusinessPlace -- association [0..1]
LEFT OUTER JOIN I_PaytReceiptCompanyCodeVH AS _companyCodeName ON AccountingDocument.CompanyCode = _companyCodeName.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _ADocText ON AccountingDocument.AccountingDocumentType = _ADocText.AccountingDocumentType AND _ADocText.Language = $session.system_language -- association [0..1]
;
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