I_IL_CashRegisterReceipt
IL Cash Register Receipt
I_IL_CashRegisterReceipt is a Composite CDS View that provides data about "IL Cash Register Receipt" in SAP S/4HANA. It reads from 1 data source (I_PaymentReceipt) and exposes 37 fields with key fields CompanyCode, FiscalYear, AccountingDocument, IL_IdentifierCashPaymentItem. It has 2 associations to related views. It is exposed through 1 OData service (GSFINCSIL_RECEIPT_DATA). Part of development package RAP_GLO_FIN_CASH_IL_INCOMPMT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PaymentReceipt | Receipt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_IL_CreditCardTransactionLog | _CreditCardLog | _CreditCardLog.IL_CreditCardReference = $projection.IL_CreditCardReference |
| [0..1] | I_IL_PaymentMethodText | _IL_PaymentMethodText | _IL_PaymentMethodText.Language = $session.system_language and _IL_PaymentMethodText.IL_PaymentMethod = $projection.IL_PaymentMethod |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | IL Cash Register Receipt | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| GSFINCSIL_RECEIPT_DATA | API_GSFINCSIL_RECEIPT_DATA | V2 | C2 | NOT_RELEASED |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | DocHeader | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | DocHeader | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | DocHeader | AccountingDocument | Journal Entry |
| KEY | IL_IdentifierCashPaymentItem | Payment | IL_IdentifierCashPaymentItem | |
| IL_PaymentMethod | Payment | IL_PaymentMethod | ||
| IL_PaymentMethodText | _IL_PaymentMethodText | IL_PaymentMethodText | ||
| PaymentReceiptUUID | I_PaymentReceipt | PaymentReceiptUUID | Payt Rcpt UUID | |
| TransactionCurrency | DocHeader | TransactionCurrency | Transaction Currency | |
| DocumentDate | DocHeader | DocumentDate | Journal Entry Date | |
| PostingDate | DocHeader | PostingDate | Posting Date for GR | |
| AccountingDocumentHeaderText | DocHeader | AccountingDocumentHeaderText | Doc.Header Text | |
| UserName | ||||
| VATRegistration | ||||
| Customer | I_PaymentReceipt | Customer | Sold-to Party | |
| Supplier | I_PaymentReceipt | Supplier | Supplier | |
| CityName | ||||
| StreetName | ||||
| PostalCode | ||||
| CustomerName | ||||
| IL_CreditCardReference | Payment | IL_CreditCardReference | ||
| CreditCardNumber | ||||
| IL_CreditCardTransactionType | Payment | IL_CreditCardTransactionType | ||
| TransactionTypeDescription | ||||
| IL_CreditCardBrand | _CreditCardLog | IL_CreditCardBrand | ||
| CreditCardBrandDesc | ||||
| IL_CrdtCardValdThroughValue | _CreditCardLog | IL_CrdtCardValdThroughValue | ||
| NumberOfInstallments | _CreditCardLog | NumberOfInstallments | Installments | |
| IL_CrdtCard1stPaymentAmtInTC | _CreditCardLog | IL_CrdtCard1stPaymentAmtInTC | ||
| IL_CrdtCardNextPaymentAmtInTC | _CreditCardLog | IL_CrdtCardNextPaymentAmtInTC | ||
| PaymentMethodDescription | Payment | PaymentMethodDescription | ||
| BankNumber | Payment | BankNumber | Bank Key | |
| BankAccount | Payment | BankAccount | Bank acct | |
| IL_ChequeNumber | Payment | IL_ChequeNumber | ||
| IL_ChequeDueDate | Payment | IL_ChequeDueDate | ||
| IL_BankTransferReferenceNumber | Payment | IL_BankTransferReferenceNumber | ||
| IL_PaytItmAmountInDocCrcy | Payment | IL_PaytItmAmountInDocCrcy | ||
| _CreditCardLog | _CreditCardLog |
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_IL_CashRegisterReceipt.
-- 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_IL_CashRegisterReceipt AS
SELECT
DocHeader.CompanyCode AS CompanyCode,
DocHeader.FiscalYear AS FiscalYear,
DocHeader.AccountingDocument AS AccountingDocument,
Payment.IL_IdentifierCashPaymentItem AS IL_IdentifierCashPaymentItem,
Payment.IL_PaymentMethod AS IL_PaymentMethod,
_IL_PaymentMethodText.IL_PaymentMethodText AS IL_PaymentMethodText,
Receipt.PaymentReceiptUUID AS PaymentReceiptUUID,
DocHeader.TransactionCurrency AS TransactionCurrency,
DocHeader.DocumentDate AS DocumentDate,
DocHeader.PostingDate AS PostingDate,
DocHeader.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
$session.user AS UserName,
replace( Company.VATRegistration, 'IL', ' ' ) AS VATRegistration,
Receipt.Customer AS Customer,
Receipt.Supplier AS Supplier,
coalesce( Customer.CityName, Supplier.CityName ) AS CityName,
coalesce( Customer.StreetName, Supplier.StreetName ) AS StreetName,
coalesce( Customer.PostalCode, Supplier.PostalCode ) AS PostalCode,
coalesce( Customer.BPCustomerName, Supplier.BPSupplierName ) AS CustomerName,
Payment.IL_CreditCardReference AS IL_CreditCardReference,
right( _CreditCardLog.CreditCardNumber, 4 ) AS CreditCardNumber,
Payment.IL_CreditCardTransactionType AS IL_CreditCardTransactionType,
_CreditCardLog._TransactionTypeText.TransactionTypeDescription AS TransactionTypeDescription,
_CreditCardLog.IL_CreditCardBrand AS IL_CreditCardBrand,
_CreditCardLog._CreditCardBrandText.CreditCardCompanyName AS CreditCardBrandDesc,
_CreditCardLog.IL_CrdtCardValdThroughValue AS IL_CrdtCardValdThroughValue,
_CreditCardLog.NumberOfInstallments AS NumberOfInstallments,
_CreditCardLog.IL_CrdtCard1stPaymentAmtInTC AS IL_CrdtCard1stPaymentAmtInTC,
_CreditCardLog.IL_CrdtCardNextPaymentAmtInTC AS IL_CrdtCardNextPaymentAmtInTC,
Payment.PaymentMethodDescription AS PaymentMethodDescription,
Payment.BankNumber AS BankNumber,
Payment.BankAccount AS BankAccount,
Payment.IL_ChequeNumber AS IL_ChequeNumber,
Payment.IL_ChequeDueDate AS IL_ChequeDueDate,
Payment.IL_BankTransferReferenceNumber AS IL_BankTransferReferenceNumber,
Payment.IL_PaytItmAmountInDocCrcy AS IL_PaytItmAmountInDocCrcy
FROM I_PaymentReceipt AS Receipt
LEFT OUTER JOIN I_IL_CreditCardTransactionLog AS _CreditCardLog ON _CreditCardLog.IL_CreditCardReference = IL_CreditCardReference -- association [0..1]
LEFT OUTER JOIN I_IL_PaymentMethodText AS _IL_PaymentMethodText ON _IL_PaymentMethodText.Language = $session.system_language AND _IL_PaymentMethodText.IL_PaymentMethod = IL_PaymentMethod -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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