I_PaymentOrderItem
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.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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