C_PrepaymentContractLinked
List of linked Prepayment agreements
C_PrepaymentContractLinked is a Consumption CDS View that provides data about "List of linked Prepayment agreements" in SAP S/4HANA. It reads from 1 data source (I_PrepaymentAgrmtContracts) and exposes 28 fields with key fields PrepaymentAssignedDocumentUUID, PrepaymentAgreementUUID, PrepaymentAgreement. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PrepaymentAgrmtContracts | ppmtagrcontractslinked | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ACMMntnTradingContractOvw | _ContractHeader | $projection.TradingContract = _ContractHeader.TradingContractNumber |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPPMTCON | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | List of linked Prepayment agreements | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrepaymentAssignedDocumentUUID | PrepaymentAssignedDocumentUUID | Key | |
| KEY | PrepaymentAgreementUUID | PrepaymentAgreementUUID | Key | |
| KEY | PrepaymentAgreement | PrepaymentAgreement | Renegotiation PPA | |
| Counterparty | Counterparty | Supplier | ||
| CompanyCode | I_PrepaymentAgrmtContracts | CompanyCode | Receiver Company Code | |
| PrepaymentAgreementStatus | PrepaymentAgreementStatus | Pre Agreement Status | ||
| PrepaymentAgrmtLinkStatus | PrepaymentAgrmtLinkStatus | Link Status | ||
| PrepaymentAgrmtPostingStatus | PrepaymentAgrmtPostingStatus | Pre Posting Status | ||
| PrepaymentBarterLinkStatus | PrepaymentBarterLinkStatus | Prepmt Barter Status | ||
| PrepaymentAgreementType | I_PrepaymentAgrmtContracts | PrepaymentAgreementType | Prepay Agreemnt Type | |
| ProcessingStatusDesc | ProcessingStatusDesc | |||
| LoanPaymentStatusText | LoanPaymentStatusText | Status | ||
| AssignmentStatusText | AssignmentStatusText | Short Description | ||
| PrepaymentAgreementCategory | I_PrepaymentAgrmtContracts | PrepaymentAgreementCategory | Prepayment Category | |
| PrepaymentPayoutPercent | PrepaymentPayoutPercent | Payout Percentage | ||
| PrepaymentAgreementAmount | PrepaymentAgreementAmount | Pre Agrm Amount | ||
| PrepaymentAgreementCurrency | PrepaymentAgreementCurrency | Currency | ||
| PrepaymentAgreementCommodity | PrepaymentAgreementCommodity | Commodity | ||
| PrepaymentAgrmtIsPosted | PrepaymentAgrmtIsPosted | Pre Agreement Posted | ||
| FinalSettlementIndicator | FinalSettlementIndicator | Final Settlement | ||
| TradingContract | ||||
| PrepaymentAgrmtRefDocItem | PrepaymentAgrmtRefDocItem | Linking Docu No. Itm | ||
| PrepaymentAgrmtRefDocumentType | PrepaymentAgrmtRefDocumentType | Document Type | ||
| _ContractHeader | _ContractHeader | |||
| PrepaymentIsAssignedViaEconGrp | I_PrepaymentAgrmtContracts | PrepaymentIsAssignedViaEconGrp | ||
| PrepaymentEconomicGroup | I_PrepaymentAgrmtContracts | PrepaymentEconomicGroup | Economic Group | |
| PrepaymentAgreementCatText | _PrepaymentAgrmtCatTxt | PrepaymentAgrmtDomainText | ||
| PrepaymentAgrmtLinkStatusText | _LinkStatusText | PrepaymentAgrmtDomainText |
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 C_PrepaymentContractLinked.
-- 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: CPPMTCON
CREATE VIEW C_PrepaymentContractLinked AS
SELECT
PrepaymentAssignedDocumentUUID,
PrepaymentAgreementUUID,
PrepaymentAgreement,
Counterparty,
ppmtagrcontractslinked.CompanyCode AS CompanyCode,
PrepaymentAgreementStatus,
PrepaymentAgrmtLinkStatus,
PrepaymentAgrmtPostingStatus,
PrepaymentBarterLinkStatus,
ppmtagrcontractslinked.PrepaymentAgreementType AS PrepaymentAgreementType,
ProcessingStatusDesc,
LoanPaymentStatusText,
AssignmentStatusText,
ppmtagrcontractslinked.PrepaymentAgreementCategory AS PrepaymentAgreementCategory,
PrepaymentPayoutPercent,
PrepaymentAgreementAmount,
PrepaymentAgreementCurrency,
PrepaymentAgreementCommodity,
PrepaymentAgrmtIsPosted,
FinalSettlementIndicator,
right(PrepaymentAgrmtRefDocument, 10) AS TradingContract,
PrepaymentAgrmtRefDocItem,
PrepaymentAgrmtRefDocumentType,
ppmtagrcontractslinked.PrepaymentIsAssignedViaEconGrp AS PrepaymentIsAssignedViaEconGrp,
ppmtagrcontractslinked.PrepaymentEconomicGroup AS PrepaymentEconomicGroup,
_PrepaymentAgrmtCatTxt.PrepaymentAgrmtDomainText AS PrepaymentAgreementCatText,
_LinkStatusText.PrepaymentAgrmtDomainText AS PrepaymentAgrmtLinkStatusText
FROM I_PrepaymentAgrmtContracts AS ppmtagrcontractslinked
LEFT OUTER JOIN I_ACMMntnTradingContractOvw AS _ContractHeader ON TradingContract = _ContractHeader.TradingContractNumber -- association [1..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