I_PrepaymentRenegttnOriginal
Prepayment Renegotiation Original Information
I_PrepaymentRenegttnOriginal is a Composite CDS View that provides data about "Prepayment Renegotiation Original Information" in SAP S/4HANA. It reads from 1 data source (I_PrepaymentAgreement) and exposes 28 fields with key field PrepaymentAgreementUUID. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PrepaymentAgreement | PrepaymentAgmnt | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PrepaymentAgrmtAmount | _PrepaymentAgrmtAmount | $projection.PrepaymentAgreement = _PrepaymentAgrmtAmount.PrepaymentAgreement --Prepayment Agreement Posting status |
| [0..1] | I_SystemStatusText | _PreAgrmtPostingStatusText | $projection.PrepaymentAgrmtPostingStatus = _PreAgrmtPostingStatusText.SystemStatus and _PreAgrmtPostingStatusText.Language = $session.system_language --Prepayment Agreement status |
| [0..1] | I_SystemStatusText | _PrepaymentAgrmtStatusText | $projection.PrepaymentAgreementStatus = _PrepaymentAgrmtStatusText.SystemStatus and _PrepaymentAgrmtStatusText.Language = $session.system_language --Prepayment user text |
| [0..1] | I_PrepaymentAgrmtUserNameText | _UserText | $projection.CreatedByUser = _UserText.UserName -- |
| [0..1] | I_PrepaymentAgrmtLinkStsText | _LinkStatusText | $projection.PrepaymentAgrmtLinkStatus = _LinkStatusText.PrepaymentAgrmtDomainCode and _LinkStatusText.Language = $session.system_language -- Economic Group Text |
| [0..1] | I_PrepaymentEconomicGrpTxt | _EconomicGroupText | $projection.PrepaymentEconomicGroup = _EconomicGroupText.PrepaymentEconomicGroup and $projection.Counterparty = _EconomicGroupText.Counterparty and _EconomicGroupText.Language = $session.system_language --Commodity Type |
| [0..*] | I_CmmdtyText | _CmmdtyType | $projection.PrepaymentAgreementCommodity = _CmmdtyType.Commodity --Company code |
| [0..1] | I_CompanyCode | _CoCode | $projection.CompanyCode = _CoCode.CompanyCode --Crop Season Text |
| [1..1] | I_PrepaymentCropSeasonCalcTxt | _CropSeasonText | $projection.PrepaymentAgrmtCropSeason = _CropSeasonText.PrepaymentAgrmtCropSeason and $projection.Counterparty = _CropSeasonText.Counterparty and $projection.PrepaymentEconomicGroup = _CropSeasonText.PrepaymentEconomicGroup and _CropSeasonText.Language = $session.system_language --Business partner |
| [0..1] | I_BusinessPartner | _BPText | $projection.Counterparty = _BPText.BusinessPartner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPMGAGRENORG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Prepayment Renegotiation Original Information | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrepaymentAgreementUUID | I_PrepaymentAgreement | PrepaymentAgreementUUID | Key |
| PrepaymentAgreement | I_PrepaymentAgreement | PrepaymentAgreement | Renegotiation PPA | |
| PrepaymentAgreementType | I_PrepaymentAgreement | PrepaymentAgreementType | Prepay Agreemnt Type | |
| PrepaymentAgreementCommodity | I_PrepaymentAgreement | PrepaymentAgreementCommodity | Commodity | |
| PrepaymentAgreementStatus | I_PrepaymentAgreement | PrepaymentAgreementStatus | Prepayment Status | |
| PrepaymentAgreementDescription | I_PrepaymentAgreement | PrepaymentAgreementDescription | Description | |
| Counterparty | I_PrepaymentAgreement | Counterparty | Counterparty | |
| PrepaymentEconomicGroup | I_PrepaymentAgreement | PrepaymentEconomicGroup | Economic Group | |
| PrepaymentAgrmtLinkStatus | I_PrepaymentAgreement | PrepaymentAgrmtLinkStatus | Link Status | |
| PrepaymentAgrmtPostingStatus | I_PrepaymentAgreement | PrepaymentAgrmtPostingStatus | Posting Status | |
| CompanyCode | I_PrepaymentAgreement | CompanyCode | Company Code | |
| CreatedByUser | I_PrepaymentAgreement | CreatedByUser | Created By | |
| PrepaymentLimitCreditDate | I_PrepaymentAgreement | PrepaymentLimitCreditDate | Payment Due Date | |
| PrepaymentAgreementAmount | I_PrepaymentAgreement | PrepaymentAgreementAmount | Prepayment Agreement Amount / Currency | |
| PrepaymentAgreementCurrency | I_PrepaymentAgreement | PrepaymentAgreementCurrency | Currency | |
| PrepaymentAgrmtLinkAmount | _PrepaymentAgrmtAmount | PrepaymentAgrmtConsumedAmount | Linked Amount / Currency | |
| PrepaymentAgrmtSettledAmount | _PrepaymentAgrmtAmount | PrepaymentAgrmtSettledAmount | Settled Amount / Currency | |
| PrepaymentAgrmtPndgRcvryAmt | _PrepaymentAgrmtAmount | PrepaymentAgrmtOpenAmount | Unrecovered Amount / Currency | |
| PrepaymentAgrmtCropSeason | I_PrepaymentAgreement | PrepaymentAgrmtCropSeason | Crop Season | |
| PrepaymentCropSeasonText | _CropSeasonText | PrepaymentCropSeasonText | Crop Season | |
| Association_PreAgrmtPostingStatusText | ||||
| _PrepaymentAgrmtStatusText | _PrepaymentAgrmtStatusText | |||
| _LinkStatusText | _LinkStatusText | |||
| _EconomicGroupText | _EconomicGroupText | |||
| _CmmdtyType | _CmmdtyType | |||
| _CoCode | _CoCode | |||
| _UserText | _UserText | |||
| _BPText | _BPText |
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_PrepaymentRenegttnOriginal.
-- 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: IPPMGAGRENORG
CREATE VIEW I_PrepaymentRenegttnOriginal AS
SELECT
PrepaymentAgmnt.PrepaymentAgreementUUID AS PrepaymentAgreementUUID,
PrepaymentAgmnt.PrepaymentAgreement AS PrepaymentAgreement,
PrepaymentAgmnt.PrepaymentAgreementType AS PrepaymentAgreementType,
PrepaymentAgmnt.PrepaymentAgreementCommodity AS PrepaymentAgreementCommodity,
PrepaymentAgmnt.PrepaymentAgreementStatus AS PrepaymentAgreementStatus,
PrepaymentAgmnt.PrepaymentAgreementDescription AS PrepaymentAgreementDescription,
PrepaymentAgmnt.Counterparty AS Counterparty,
PrepaymentAgmnt.PrepaymentEconomicGroup AS PrepaymentEconomicGroup,
PrepaymentAgmnt.PrepaymentAgrmtLinkStatus AS PrepaymentAgrmtLinkStatus,
PrepaymentAgmnt.PrepaymentAgrmtPostingStatus AS PrepaymentAgrmtPostingStatus,
PrepaymentAgmnt.CompanyCode AS CompanyCode,
PrepaymentAgmnt.CreatedByUser AS CreatedByUser,
PrepaymentAgmnt.PrepaymentLimitCreditDate AS PrepaymentLimitCreditDate,
PrepaymentAgmnt.PrepaymentAgreementAmount AS PrepaymentAgreementAmount,
PrepaymentAgmnt.PrepaymentAgreementCurrency AS PrepaymentAgreementCurrency,
_PrepaymentAgrmtAmount.PrepaymentAgrmtConsumedAmount AS PrepaymentAgrmtLinkAmount,
_PrepaymentAgrmtAmount.PrepaymentAgrmtSettledAmount AS PrepaymentAgrmtSettledAmount,
_PrepaymentAgrmtAmount.PrepaymentAgrmtOpenAmount AS PrepaymentAgrmtPndgRcvryAmt,
PrepaymentAgmnt.PrepaymentAgrmtCropSeason AS PrepaymentAgrmtCropSeason,
_CropSeasonText.PrepaymentCropSeasonText AS PrepaymentCropSeasonText
FROM I_PrepaymentAgreement AS PrepaymentAgmnt
LEFT OUTER JOIN I_PrepaymentAgrmtAmount AS _PrepaymentAgrmtAmount ON PrepaymentAgreement = _PrepaymentAgrmtAmount.PrepaymentAgreement -- association [0..1]
LEFT OUTER JOIN I_SystemStatusText AS _PreAgrmtPostingStatusText ON PrepaymentAgrmtPostingStatus = _PreAgrmtPostingStatusText.SystemStatus AND _PreAgrmtPostingStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SystemStatusText AS _PrepaymentAgrmtStatusText ON PrepaymentAgreementStatus = _PrepaymentAgrmtStatusText.SystemStatus AND _PrepaymentAgrmtStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PrepaymentAgrmtUserNameText AS _UserText ON CreatedByUser = _UserText.UserName -- association [0..1]
LEFT OUTER JOIN I_PrepaymentAgrmtLinkStsText AS _LinkStatusText ON PrepaymentAgrmtLinkStatus = _LinkStatusText.PrepaymentAgrmtDomainCode AND _LinkStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PrepaymentEconomicGrpTxt AS _EconomicGroupText ON PrepaymentEconomicGroup = _EconomicGroupText.PrepaymentEconomicGroup AND Counterparty = _EconomicGroupText.Counterparty AND _EconomicGroupText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CmmdtyText AS _CmmdtyType ON PrepaymentAgreementCommodity = _CmmdtyType.Commodity -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CoCode ON CompanyCode = _CoCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_PrepaymentCropSeasonCalcTxt AS _CropSeasonText ON PrepaymentAgrmtCropSeason = _CropSeasonText.PrepaymentAgrmtCropSeason AND Counterparty = _CropSeasonText.Counterparty AND PrepaymentEconomicGroup = _CropSeasonText.PrepaymentEconomicGroup AND _CropSeasonText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _BPText ON Counterparty = _BPText.BusinessPartner -- 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