P_DwnPaytReqItem
Down Payment Request Items
P_DwnPaytReqItem is a Composite CDS View that provides data about "Down Payment Request Items" in SAP S/4HANA. It reads from 2 data sources (I_OperationalAcctgDocItem, I_ParkedOplAcctgDocPyblsItem) and exposes 140 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem, FiscalYear. Part of development package ODATA_VERIFY_SUPPLIER_DPRS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | union_all |
| I_ParkedOplAcctgDocPyblsItem | I_ParkedOplAcctgDocPyblsItem | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Down Payment Request Items | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (140)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | Source CoCode | ||
| KEY | FiscalYear | SourceFiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | SourceAccountingDocument | Journal Entry | |
| KEY | AccountingDocumentItem | SourceAccountingDocumentItem | Posting View Item | |
| Supplier | Supplier | Supplier | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| DocumentItemText | DocumentItemText | Text | ||
| AssignmentReference | Assignment Reference | |||
| BPBankAccountInternalID | BPBankAccountInternalID | BP Bank Account | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| DunningArea | DunningArea | Dunning Area | ||
| LastDunningDate | LastDunningDate | Last Dunned | ||
| DunningLevel | DunningLevel | Dunning Level | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| DueCalculationBaseDate | DueCalculationBaseDate | Due Calculation Base Date | ||
| AlternativePayeePayer | AlternativePayeePayer | Alternative Payee/Payer | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| PaymentMethodSupplement | PaymentMethodSupplement | Pmnt Meth. Sup. | ||
| PaymentBlockingReason | PaymentBlockingReason | Pmnt block | ||
| BranchCode | BranchCode | Branch Code | ||
| DataExchangeInstruction1 | DataExchangeInstruction1 | Instruction 1 | ||
| DataExchangeInstruction2 | DataExchangeInstruction2 | Instruction 2 | ||
| DataExchangeInstruction3 | DataExchangeInstruction3 | Instruction 3 | ||
| DataExchangeInstruction4 | DataExchangeInstruction4 | Instruction 4 | ||
| HouseBank | HouseBank | House Bank | ||
| GLAccount | GLAccount | General Ledger | ||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| SpecialGLAccountAssignment | SpecialGLAccountAssignment | Special G/L Assignmt | ||
| DunningBlockingReason | DunningBlockingReason | Set Dunning Block | ||
| DunningKey | DunningKey | Dunning Key | ||
| PaymentDifferenceReason | PaymentDifferenceReason | Reason Code | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| Reference1IDByBusinessPartner | Reference1IDByBusinessPartner | Reference Key 1 | ||
| Reference2IDByBusinessPartner | Reference2IDByBusinessPartner | Reference Key 2 | ||
| Reference3IDByBusinessPartner | Reference3IDByBusinessPartner | Reference Key 3 | ||
| SupplyingCountry | SupplyingCountry | Supplying Ctry/Reg. | ||
| StateCentralBankPaymentReason | StateCentralBankPaymentReason | SCB Ind. | ||
| PaymentReason | PaymentReason | Payment Reason | ||
| BusinessPlace | BusinessPlace | Business place | ||
| PaymentCurrency | PaymentCurrency | Payment Currency | ||
| TaxSection | TaxSection | Tax Section | ||
| BusinessArea | BusinessArea | Business Area | ||
| Fund | Fund | Sender Fund | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| CashDiscountAmount | CashDiscountAmount | CD Amount | ||
| AmountInPaymentCurrency | AmountInPaymentCurrency | Amount in Payment Currency | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostCenter | CostCenter | Cost Center | ||
| FixedAsset | FixedAsset | Sub-number | ||
| OrderID | OrderID | Order ID | ||
| OrderInternalBillOfOperations | OrderInternalBillOfOperations | Order Internal Bill of Operations | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| LineItemIsCompleted | LineItemIsCompleted | Item Completed | ||
| ScheduleLine | ScheduleLine | Schedule Line | ||
| TargetSpecialGLCode | TargetSpecialGLCode | Trg.Sp.G/L Ind. | ||
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | AccountingDocumentItem | AccountingDocumentItem | Posting View Item | |
| Supplier | Supplier | Supplier | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| DocumentItemText | DocumentItemText | Text | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| BPBankAccountInternalID | BPBankAccountInternalID | BP Bank Account | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | Tax Amount in Company Code Currency | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| DunningArea | DunningArea | Dunning Area | ||
| LastDunningDate | LastDunningDate | Last Dunned | ||
| DunningLevel | DunningLevel | Dunning Level | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| DueCalculationBaseDate | DueCalculationBaseDate | Due Calculation Base Date | ||
| AlternativePayeePayer | AlternativePayeePayer | Alternative Payee/Payer | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| PaymentMethodSupplement | PaymentMethodSupplement | Pmnt Meth. Sup. | ||
| PaymentBlockingReason | PaymentBlockingReason | Pmnt block | ||
| BranchCode | BranchCode | Branch Code | ||
| DataExchangeInstruction1 | DataExchangeInstruction1 | Instruction 1 | ||
| DataExchangeInstruction2 | DataExchangeInstruction2 | Instruction 2 | ||
| DataExchangeInstruction3 | DataExchangeInstruction3 | Instruction 3 | ||
| DataExchangeInstruction4 | DataExchangeInstruction4 | Instruction 4 | ||
| HouseBank | HouseBank | House Bank | ||
| GLAccount | GLAccount | General Ledger | ||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| SpecialGLAccountAssignment | SpecialGLAccountAssignment | Special G/L Assignmt | ||
| DunningBlockingReason | DunningBlockingReason | Set Dunning Block | ||
| DunningKey | DunningKey | Dunning Key | ||
| PaymentDifferenceReason | PaymentDifferenceReason | Reason Code | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| Reference1IDByBusinessPartner | Reference1IDByBusinessPartner | Reference Key 1 | ||
| Reference2IDByBusinessPartner | Reference2IDByBusinessPartner | Reference Key 2 | ||
| Reference3IDByBusinessPartner | Reference3IDByBusinessPartner | Reference Key 3 | ||
| SupplyingCountry | SupplyingCountry | Supplying Ctry/Reg. | ||
| StateCentralBankPaymentReason | StateCentralBankPaymentReason | SCB Ind. | ||
| PaymentReason | PaymentReason | Payment Reason | ||
| BusinessPlace | BusinessPlace | Business place | ||
| PaymentCurrency | PaymentCurrency | Payment Currency | ||
| TaxSection | TaxSection | Tax Section | ||
| BusinessArea | BusinessArea | Business Area | ||
| Fund | Fund | Sender Fund | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| CashDiscountAmount | CashDiscountAmount | CD Amount | ||
| AmountInPaymentCurrency | AmountInPaymentCurrency | Amount in Payment Currency | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostCenter | CostCenter | Cost Center | ||
| FixedAsset | FixedAsset | Sub-number | ||
| OrderID | OrderID | Order ID | ||
| OrderInternalBillOfOperations | OrderInternalBillOfOperations | Order Internal Bill of Operations | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| ProjectNetwork | ProjectNetwork | Order | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| LineItemIsCompleted | Item Completed | |||
| ScheduleLine | ScheduleLine | Schedule Line | ||
| TargetSpecialGLCode | TargetSpecialGLCode | Trg.Sp.G/L Ind. | ||
| WBSElementExternalID | _WBSElementBasicData | WBSElementExternalID | WBS Element External ID |
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 P_DwnPaytReqItem.
-- 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 P_DwnPaytReqItem AS
SELECT
cast( SourceCompanyCode as fis_bukrs ) AS CompanyCode,
SourceFiscalYear AS FiscalYear,
SourceAccountingDocument AS AccountingDocument,
SourceAccountingDocumentItem AS AccountingDocumentItem,
Supplier,
AmountInCompanyCodeCurrency,
CompanyCodeCurrency,
AmountInTransactionCurrency,
TransactionCurrency,
DocumentItemText,
cast( AssignmentReference as dzuonr) AS AssignmentReference,
BPBankAccountInternalID,
TaxCode,
TaxAmountInCoCodeCrcy,
TaxAmount,
PaymentReference,
DunningArea,
LastDunningDate,
DunningLevel,
TaxCountry,
CashDiscount1Percent,
DueCalculationBaseDate,
AlternativePayeePayer,
PaymentMethod,
PaymentMethodSupplement,
PaymentBlockingReason,
BranchCode,
DataExchangeInstruction1,
DataExchangeInstruction2,
DataExchangeInstruction3,
DataExchangeInstruction4,
HouseBank,
GLAccount,
HouseBankAccount,
SpecialGLAccountAssignment,
DunningBlockingReason,
DunningKey,
PaymentDifferenceReason,
VATRegistration,
Reference1IDByBusinessPartner,
Reference2IDByBusinessPartner,
Reference3IDByBusinessPartner,
SupplyingCountry,
StateCentralBankPaymentReason,
PaymentReason,
BusinessPlace,
PaymentCurrency,
TaxSection,
BusinessArea,
Fund,
BudgetPeriod,
FunctionalArea,
FinancialTransactionType,
CashDiscountAmount,
AmountInPaymentCurrency,
ControllingArea,
CostCenter,
FixedAsset,
OrderID,
OrderInternalBillOfOperations,
MasterFixedAsset,
WBSElementInternalID,
ProjectNetwork,
ProfitCenter,
Segment,
SalesDocument,
SalesDocumentItem,
LineItemIsCompleted,
ScheduleLine,
TargetSpecialGLCode,
_WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID
FROM I_ParkedOplAcctgDocPyblsItem
-- UNION ALL with additional select branch(es): I_OperationalAcctgDocItem
;
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