I_PaymentOrderItem

DDL: I_PAYMENTORDERITEM SQL: IPAYTORDITM Type: view BASIC

Payment Order Item

I_PaymentOrderItem is a Basic CDS View that provides data about "Payment Order Item" in SAP S/4HANA. It reads from 3 data sources (bseg, pyordh, pyordp) and exposes 12 fields with key fields PaymentOrder, CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
bseg bseg left_outer
pyordh pyordh inner
pyordp pyordp from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPAYTORDITM view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Payment Order Item view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PaymentOrder pyordp pyord Payment Order
KEY CompanyCode pyordp bukrs Value
KEY AccountingDocument pyordp belnr SD Document
KEY FiscalYear pyordp gjahr Settlement Year
KEY AccountingDocumentItem pyordp buzei Posting View Item
FinancialAccountType pyordp koart Account type
OpenItemAccountNumber pyordp konko Account
CashDiscountDays pyordp zbdxt Cash Disc.Days
CashDiscountPercent pyordp zbdxp Cash Discount %
TransactionCurrency pyordh waers Transaction Currency
HasPaymentOrder bseg xpypr Payment Sent
_TransactionCurrency _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_PaymentOrderItem.
-- 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: IPAYTORDITM

CREATE VIEW I_PaymentOrderItem AS
SELECT
  pyordp.pyord AS PaymentOrder,
  pyordp.bukrs AS CompanyCode,
  pyordp.belnr AS AccountingDocument,
  pyordp.gjahr AS FiscalYear,
  pyordp.buzei AS AccountingDocumentItem,
  pyordp.koart AS FinancialAccountType,
  pyordp.konko AS OpenItemAccountNumber,
  pyordp.zbdxt AS CashDiscountDays,
  pyordp.zbdxp AS CashDiscountPercent,
  pyordh.waers AS TransactionCurrency,
  bseg.xpypr AS HasPaymentOrder
FROM pyordp
INNER JOIN pyordh ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN bseg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
;