I_IL_PaymentItem

DDL: I_IL_PAYMENTITEM Type: view_entity BASIC

Payment Item in IL Cash System

I_IL_PaymentItem is a Basic CDS View that provides data about "Payment Item in IL Cash System" in SAP S/4HANA. It reads from 1 data source (gsfincsild_pmts) and exposes 24 fields with key fields IL_IdentifierCashPaymentItem, CompanyCode, FiscalYear. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
gsfincsild_pmts gsfincsild_pmts from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_JournalEntry _JournalEntry _JournalEntry.CompanyCode = $projection.CompanyCode and _JournalEntry.FiscalYear = $projection.FiscalYear and _JournalEntry.AccountingDocument = $projection.AccountingDocument
[0..1] I_PaymentMethodText _PaymentMethodText _PaymentMethodText.Country = 'IL' and _PaymentMethodText.PaymentMethod = $projection.PaymentMethod and _PaymentMethodText.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Payment Item in IL Cash System view
Metadata.ignorePropagatedAnnotations false view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY IL_IdentifierCashPaymentItem cash_pmt_id Payment ID
KEY CompanyCode bukrs Value
KEY FiscalYear gjahr Settlement Year
AccountingDocument belnr SD Document
PaymentMethod zlsch Pymt Meth.
PaymentMethodDescription _PaymentMethodText PaymentMethodDescription
IL_PaymentMethod pmt Payment Method
IL_CashNumberKey cash_num Cash Number
TransactionCurrency _JournalEntry TransactionCurrency Transaction Currency
IL_PaytItmAmountInDocCrcy amount Value Amount
IL_PaymentStatus status Workflow Status
BankNumber bankl House Bank
BankAccount bankn Bank acct
IL_ChequeNumber cheque_num Cheque Number
CreditCardNumber cc_num Credit card number
IL_CreditCardReference cc_reference_num Reference Number
IL_CreditCardTransactionType cc_pmt_trn_type Credit Type
IL_BankTransferReferenceNumber bt_id Bank T. Ref Number
Customer kunnr Stock customer
Supplier lifnr Vendor no.
GLAccount hkont Transfer acct
IL_ChequeDueDate cheque_duedate Cheque Duedate
_PaymentMethodText _PaymentMethodText
_TransactionCurrency _JournalEntry _TransactionCurrency

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_PaymentItem.
-- 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_PaymentItem AS
SELECT
  cash_pmt_id AS IL_IdentifierCashPaymentItem,
  bukrs AS CompanyCode,
  gjahr AS FiscalYear,
  belnr AS AccountingDocument,
  zlsch AS PaymentMethod,
  _PaymentMethodText.PaymentMethodDescription AS PaymentMethodDescription,
  pmt AS IL_PaymentMethod,
  cash_num AS IL_CashNumberKey,
  _JournalEntry.TransactionCurrency AS TransactionCurrency,
  amount AS IL_PaytItmAmountInDocCrcy,
  status AS IL_PaymentStatus,
  bankl AS BankNumber,
  bankn AS BankAccount,
  cheque_num AS IL_ChequeNumber,
  cc_num AS CreditCardNumber,
  cc_reference_num AS IL_CreditCardReference,
  cc_pmt_trn_type AS IL_CreditCardTransactionType,
  bt_id AS IL_BankTransferReferenceNumber,
  kunnr AS Customer,
  lifnr AS Supplier,
  hkont AS GLAccount,
  cheque_duedate AS IL_ChequeDueDate,
  _JournalEntry._TransactionCurrency AS _TransactionCurrency
FROM gsfincsild_pmts
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON _JournalEntry.CompanyCode = CompanyCode AND _JournalEntry.FiscalYear = FiscalYear AND _JournalEntry.AccountingDocument = AccountingDocument  -- association [0..1]
LEFT OUTER JOIN I_PaymentMethodText AS _PaymentMethodText ON _PaymentMethodText.Country = 'IL' AND _PaymentMethodText.PaymentMethod = PaymentMethod AND _PaymentMethodText.Language = $session.system_language  -- association [0..1]
;