I_PrepaymentAgrmtContracts
Prepayment Agreement Contracts
I_PrepaymentAgrmtContracts is a Basic CDS View that provides data about "Prepayment Agreement Contracts" in SAP S/4HANA. It reads from 1 data source (I_PrepaymentAssignedDocument) and exposes 33 fields with key fields PrepaymentAssignedDocumentUUID, PrepaymentAgreementUUID, PrepaymentAgreement. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PrepaymentAssignedDocument | AssignedDocuments | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PrepaymentApproval | _PrepaymentAgrmtApproval | _PrepaymentAgrmtApproval.PrepaymentAgreement = AssignedDocuments.PrepaymentAgreement --Prepayment Agreement Status |
| [0..1] | I_SystemStatusText | _PrepaymentStatusText | _PrepaymentStatusText.SystemStatus = AssignedDocuments.PrepaymentAgreementStatus and _PrepaymentStatusText.Language = $session.system_language --Prepayment Posting Status |
| [0..1] | I_SystemStatusText | _PostingStatusText | _PostingStatusText.SystemStatus = AssignedDocuments.PrepaymentAgrmtPostingStatus and _PostingStatusText.Language = $session.system_language --Prepayment Barter Link Status |
| [0..1] | P_PpaytAgrmtBarterLnkStsTxt | _BarterLinkStatusText | _BarterLinkStatusText.PrepaymentAgrmtDomainCode = AssignedDocuments.PrepaymentBarterLinkStatus and _BarterLinkStatusText.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPMTCON | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Prepayment Agreement Contracts | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrepaymentAssignedDocumentUUID | I_PrepaymentAssignedDocument | PrepaymentAssignedDocumentUUID | Key |
| KEY | PrepaymentAgreementUUID | I_PrepaymentAssignedDocument | PrepaymentAgreementUUID | Key |
| KEY | PrepaymentAgreement | I_PrepaymentAssignedDocument | PrepaymentAgreement | Renegotiation PPA |
| Counterparty | ||||
| CompanyCode | ||||
| PrepaymentAgreementStatus | ||||
| PrepaymentAgrmtLinkStatus | ||||
| PrepaymentAgrmtPostingStatus | ||||
| PrepaymentBarterLinkStatus | I_PrepaymentAssignedDocument | PrepaymentBarterLinkStatus | Prepmt Barter Status | |
| PrepaymentAgreementType | ||||
| ProcessingStatusDesc | _PrepaymentStatusText | SystemStatusName | ||
| LoanPaymentStatusText | _PostingStatusText | SystemStatusName | ||
| AssignmentStatusText | _BarterLinkStatusText | PrepaymentAgrmtDomainText | ||
| PrepaymentAgreementCategory | ||||
| PrepaymentPayoutPercent | ||||
| PrepaymentStopIntrstDateType | ||||
| PrepaymentStartIntrstDateType | ||||
| PrepaymentRenegttnStopDate | ||||
| PrepaymentSuspendIntrstFromDte | ||||
| PrepaymentSuspendIntrstToDte | ||||
| PrepaymentPostingProfile | ||||
| PrepaymentAgreementAmount | ||||
| PrepaymentAgrmtLinkAmount | I_PrepaymentAssignedDocument | PrepaymentAgrmtLinkAmount | Pre Agrm Amount | |
| PrepaymentAgreementCurrency | ||||
| PrepaymentAgreementCommodity | ||||
| PrepaymentAgrmtIsPosted | _PrepaymentAgrmtApproval | PrepaymentAgrmtIsPosted | Pre Agreement Posted | |
| FinalSettlementIndicator | _PrepaymentAgrmtApproval | FinalSettlementIndicator | Final Settlement | |
| PrepaymentAgrmtRefDocument | I_PrepaymentAssignedDocument | PrepaymentAgrmtRefDocument | Linking Document No. | |
| PrepaymentAgrmtRefDocItem | I_PrepaymentAssignedDocument | PrepaymentAgrmtRefDocItem | Linking Docu No. Itm | |
| PrepaymentAgrmtRefDocYear | I_PrepaymentAssignedDocument | PrepaymentAgrmtRefDocYear | Reference Doc Year | |
| PrepaymentIsAssignedViaEconGrp | I_PrepaymentAssignedDocument | PrepaymentIsAssignedViaEconGrp | ||
| PrepaymentEconomicGroup | I_PrepaymentAssignedDocument | PrepaymentEconomicGroup | Economic Group | |
| PrepaymentAgrmtRefDocumentType | I_PrepaymentAssignedDocument | PrepaymentAgrmtRefDocumentType | Document Type |
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_PrepaymentAgrmtContracts.
-- 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: IPPMTCON
CREATE VIEW I_PrepaymentAgrmtContracts AS
SELECT
AssignedDocuments.PrepaymentAssignedDocumentUUID AS PrepaymentAssignedDocumentUUID,
AssignedDocuments.PrepaymentAgreementUUID AS PrepaymentAgreementUUID,
AssignedDocuments.PrepaymentAgreement AS PrepaymentAgreement,
AssignedDocuments._PrepaymentAgreement.Counterparty AS Counterparty,
AssignedDocuments._PrepaymentAgreement.CompanyCode AS CompanyCode,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgreementStatus AS PrepaymentAgreementStatus,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgrmtLinkStatus AS PrepaymentAgrmtLinkStatus,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgrmtPostingStatus AS PrepaymentAgrmtPostingStatus,
AssignedDocuments.PrepaymentBarterLinkStatus AS PrepaymentBarterLinkStatus,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgreementType AS PrepaymentAgreementType,
_PrepaymentStatusText.SystemStatusName AS ProcessingStatusDesc,
_PostingStatusText.SystemStatusName AS LoanPaymentStatusText,
_BarterLinkStatusText.PrepaymentAgrmtDomainText AS AssignmentStatusText,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgreementCategory AS PrepaymentAgreementCategory,
AssignedDocuments._PrepaymentAgreement.PrepaymentPayoutPercent AS PrepaymentPayoutPercent,
AssignedDocuments._PrepaymentAgreement.PrepaymentStopIntrstDateType AS PrepaymentStopIntrstDateType,
AssignedDocuments._PrepaymentAgreement.PrepaymentStartIntrstDateType AS PrepaymentStartIntrstDateType,
AssignedDocuments._PrepaymentAgreement.PrepaymentRenegttnStopDate AS PrepaymentRenegttnStopDate,
AssignedDocuments._PrepaymentAgreement.PrepaymentSuspendIntrstFromDte AS PrepaymentSuspendIntrstFromDte,
AssignedDocuments._PrepaymentAgreement.PrepaymentSuspendIntrstToDte AS PrepaymentSuspendIntrstToDte,
AssignedDocuments._PrepaymentAgreement.PrepaymentPostingProfile AS PrepaymentPostingProfile,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgreementAmount AS PrepaymentAgreementAmount,
AssignedDocuments.PrepaymentAgrmtLinkAmount AS PrepaymentAgrmtLinkAmount,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgreementCurrency AS PrepaymentAgreementCurrency,
AssignedDocuments._PrepaymentAgreement.PrepaymentAgreementCommodity AS PrepaymentAgreementCommodity,
_PrepaymentAgrmtApproval.PrepaymentAgrmtIsPosted AS PrepaymentAgrmtIsPosted,
_PrepaymentAgrmtApproval.FinalSettlementIndicator AS FinalSettlementIndicator,
AssignedDocuments.PrepaymentAgrmtRefDocument AS PrepaymentAgrmtRefDocument,
AssignedDocuments.PrepaymentAgrmtRefDocItem AS PrepaymentAgrmtRefDocItem,
AssignedDocuments.PrepaymentAgrmtRefDocYear AS PrepaymentAgrmtRefDocYear,
AssignedDocuments.PrepaymentIsAssignedViaEconGrp AS PrepaymentIsAssignedViaEconGrp,
AssignedDocuments.PrepaymentEconomicGroup AS PrepaymentEconomicGroup,
AssignedDocuments.PrepaymentAgrmtRefDocumentType AS PrepaymentAgrmtRefDocumentType
FROM I_PrepaymentAssignedDocument AS AssignedDocuments
LEFT OUTER JOIN I_PrepaymentApproval AS _PrepaymentAgrmtApproval ON _PrepaymentAgrmtApproval.PrepaymentAgreement = AssignedDocuments.PrepaymentAgreement -- association [0..1]
LEFT OUTER JOIN I_SystemStatusText AS _PrepaymentStatusText ON _PrepaymentStatusText.SystemStatus = AssignedDocuments.PrepaymentAgreementStatus AND _PrepaymentStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SystemStatusText AS _PostingStatusText ON _PostingStatusText.SystemStatus = AssignedDocuments.PrepaymentAgrmtPostingStatus AND _PostingStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN P_PpaytAgrmtBarterLnkStsTxt AS _BarterLinkStatusText ON _BarterLinkStatusText.PrepaymentAgrmtDomainCode = AssignedDocuments.PrepaymentBarterLinkStatus AND _BarterLinkStatusText.Language = $session.system_language -- 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