I_AR_PaytReceiptJournalEntryVH
Payment Receipt Journal Entry
I_AR_PaytReceiptJournalEntryVH is a Composite CDS View that provides data about "Payment Receipt Journal Entry" in SAP S/4HANA. It reads from 1 data source (P_PaytReceiptPaymentDocItem) and exposes 28 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem. It has 3 associations to related views. Part of development package GLO_FIN_PAYMENT_RECEIPT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PaytReceiptPaymentDocItem | _JournalEntry | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | _Customer.Customer = _JournalEntry.Customer |
| [0..1] | I_Branch | _Branch | _Branch.Branch = _JournalEntry.BusinessPlace and _Branch.CompanyCode = _JournalEntry.CompanyCode |
| [0..1] | I_AccountingDocumentTypeText | _ActgDocTypeText | _ActgDocTypeText.AccountingDocumentType = _JournalEntry.AccountingDocumentType and _ActgDocTypeText.Language = $session.system_language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | AccountingDocument | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| VDM.viewType | #COMPOSITE | view | |
| Search.searchable | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Payment Receipt Journal Entry | view | |
| Analytics.technicalName | IARPAYTRECPTJEVH | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_PaytReceiptPaymentDocItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | P_PaytReceiptPaymentDocItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | P_PaytReceiptPaymentDocItem | AccountingDocument | Journal Entry |
| KEY | AccountingDocumentItem | P_PaytReceiptPaymentDocItem | AccountingDocumentItem | Line Item |
| CompanyCodeName | P_PaytReceiptPaymentDocItem | CompanyCodeName | Company Name | |
| Customer | P_PaytReceiptPaymentDocItem | Customer | Sold-to Party | |
| CustomerName | _Customer | CustomerName | Name of Customer | |
| Country | P_PaytReceiptPaymentDocItem | Country | Venue: Ctry/Reg | |
| Supplier | P_PaytReceiptPaymentDocItem | Supplier | Supplier | |
| SupplierName | ||||
| DocumentReferenceID | P_PaytReceiptPaymentDocItem | DocumentReferenceID | Reference | |
| BusinessPlace | P_PaytReceiptPaymentDocItem | BusinessPlace | Business place | |
| BusinessPlaceName | _Branch | BranchName | ||
| DocumentDate | P_PaytReceiptPaymentDocItem | DocumentDate | Journal Entry Date | |
| PostingDate | P_PaytReceiptPaymentDocItem | PostingDate | Posting Date for GR | |
| AmountInTransactionCurrency | P_PaytReceiptPaymentDocItem | AmountInTransactionCurrency | Amount | |
| AccountingDocumentType | P_PaytReceiptPaymentDocItem | AccountingDocumentType | Journal Entry Type | |
| AccountingDocumentTypeName | _ActgDocTypeText | AccountingDocumentTypeName | ||
| Currency | P_PaytReceiptPaymentDocItem | Currency | Valuation Crcy | |
| AlternativeReferenceDocument | P_PaytReceiptPaymentDocItem | AlternativeReferenceDocument | Alternative Reference Document | |
| PH_BusinessStyleOfBPText | ||||
| JournalEntry | ||||
| ClearingAccountingDocument | P_PaytReceiptPaymentDocItem | ClearingAccountingDocument | Clearing Journal Entry | |
| CashDiscountAmount | P_PaytReceiptPaymentDocItem | CashDiscountAmount | CD Amount | |
| NetPaymentAmount | P_PaytReceiptPaymentDocItem | NetPaymentAmount | Net Payment Amount | |
| IsUsedInPaymentTransaction | P_PaytReceiptPaymentDocItem | IsUsedInPaymentTransaction | Is Used In Payment Transaction | |
| OperationalDocItemQty | P_PaytReceiptPaymentDocItem | OperationalDocItemQty | ||
| AuthorizationGroup | _Customer | AuthorizationGroup | AuthorizGroup |
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_AR_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.
CREATE VIEW I_AR_PaytReceiptJournalEntryVH AS
SELECT
_JournalEntry.CompanyCode AS CompanyCode,
_JournalEntry.FiscalYear AS FiscalYear,
_JournalEntry.AccountingDocument AS AccountingDocument,
_JournalEntry.AccountingDocumentItem AS AccountingDocumentItem,
_JournalEntry.CompanyCodeName AS CompanyCodeName,
_JournalEntry.Customer AS Customer,
_Customer.CustomerName AS CustomerName,
_JournalEntry.Country AS Country,
_JournalEntry.Supplier AS Supplier,
cast('' as md_supplier_name) AS SupplierName,
_JournalEntry.DocumentReferenceID AS DocumentReferenceID,
_JournalEntry.BusinessPlace AS BusinessPlace,
_Branch.BranchName AS BusinessPlaceName,
_JournalEntry.DocumentDate AS DocumentDate,
_JournalEntry.PostingDate AS PostingDate,
_JournalEntry.AmountInTransactionCurrency AS AmountInTransactionCurrency,
_JournalEntry.AccountingDocumentType AS AccountingDocumentType,
_ActgDocTypeText.AccountingDocumentTypeName AS AccountingDocumentTypeName,
_JournalEntry.Currency AS Currency,
_JournalEntry.AlternativeReferenceDocument AS AlternativeReferenceDocument,
cast('' as ph_biz_style) AS PH_BusinessStyleOfBPText,
cast('' as fis_belnr) AS JournalEntry,
_JournalEntry.ClearingAccountingDocument AS ClearingAccountingDocument,
_JournalEntry.CashDiscountAmount AS CashDiscountAmount,
_JournalEntry.NetPaymentAmount AS NetPaymentAmount,
_JournalEntry.IsUsedInPaymentTransaction AS IsUsedInPaymentTransaction,
_JournalEntry.OperationalDocItemQty AS OperationalDocItemQty,
_Customer.AuthorizationGroup AS AuthorizationGroup
FROM P_PaytReceiptPaymentDocItem AS _JournalEntry
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = _JournalEntry.Customer -- association [0..1]
LEFT OUTER JOIN I_Branch AS _Branch ON _Branch.Branch = _JournalEntry.BusinessPlace AND _Branch.CompanyCode = _JournalEntry.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _ActgDocTypeText ON _ActgDocTypeText.AccountingDocumentType = _JournalEntry.AccountingDocumentType AND _ActgDocTypeText.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