P_APVENDOROPENITEMS1
AP Vendor Open Items. Payments
P_APVENDOROPENITEMS1 is a CDS View in S/4HANA. AP Vendor Open Items. Payments. It contains 12 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_APVendorOpenItems2 | view | from | COMPOSITE | Accounts Payable Vendor Open Items. Cleared Payments |
| P_APVendorOpenItems2 | view | union_all | COMPOSITE | Accounts Payable Vendor Open Items. Cleared Payments |
Fields (12)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AccountingDocument | AccountingDocument | 1 |
| KEY | AccountingDocumentItem | AccountingDocumentItem | 1 |
| KEY | CompanyCode | CompanyCode | 1 |
| KEY | FiscalYear | FiscalYear | 1 |
| AmountInCompanyCodeCurrency | OpenAmount | 1 | |
| CompanyCodeCurrency | CompanyCodeCurrency | 1 | |
| DocumentCurrency | DocumentCurrency | 1 | |
| InvoiceItemReference | InvoiceItemReference | 1 | |
| InvoiceReference | InvoiceReference | 1 | |
| InvoiceReferenceFiscalYear | InvoiceReferenceFiscalYear | 1 | |
| SpecialGLTransactionType | SpecialGLTransactionType | 1 | |
| Supplier | Supplier | 1 |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- AP Vendor Open Items. Payments
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE P_APVENDOROPENITEMS1 (
ACCOUNTINGDOCUMENT,
ACCOUNTINGDOCUMENTITEM,
COMPANYCODE,
FISCALYEAR,
AMOUNTINCOMPANYCODECURRENCY,
COMPANYCODECURRENCY,
DOCUMENTCURRENCY,
INVOICEITEMREFERENCE,
INVOICEREFERENCE,
INVOICEREFERENCEFISCALYEAR,
SPECIALGLTRANSACTIONTYPE,
SUPPLIER,
PRIMARY KEY (ACCOUNTINGDOCUMENT, ACCOUNTINGDOCUMENTITEM, COMPANYCODE, FISCALYEAR)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- 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
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA