I_PrepaymentAgrmtDistr
Prepayment Agmnt Dstrbtn Interface View
I_PrepaymentAgrmtDistr is a Basic CDS View that provides data about "Prepayment Agmnt Dstrbtn Interface View" in SAP S/4HANA. It reads from 1 data source (ppmgag_t_distrb) and exposes 27 fields with key field PrepaymentAgrmtDistrUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ppmgag_t_distrb | AgreementDistr | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessPartnerSupplier | _BusinessPartner | $projection.PrepaymentDistrBeneficiaryName = _BusinessPartner.BusinessPartner -- Extension View for Distribution in Prepayment |
| [0..1] | E_PrepaymentAgrmtDistribution | _Extension | $projection.PrepaymentAgrmtDistrUUID = _Extension.PrepaymentAgrmtDistrUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPAGRDISTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Prepayment Agmnt Dstrbtn Interface View | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrepaymentAgrmtDistrUUID | ppmgag_t_distrb | prepaymentagrmtdistruuid | Key |
| PrepaymentAgreementUUID | ppmgag_t_distrb | prepaymentagreementuuid | Key | |
| prepaymentdistrtypeasPrepaymentDistrType | ||||
| PrepaymentDistrPaymentDate | ppmgag_t_distrb | prepaymentdistrpaymentdate | Payment Date | |
| PrepaymentDistrBeneficiaryName | ppmgag_t_distrb | prepaymentdistrbeneficiaryname | Busn. Partner | |
| PrepaymentDistrAmount | ppmgag_t_distrb | prepaymentdistramount | Distribution Amount | |
| PrepaymentDistrCurrency | ppmgag_t_distrb | prepaymentdistrcurrency | Currency | |
| PrepaymentDistrQuantity | ppmgag_t_distrb | prepaymentdistrquantity | Distribution Qnty | |
| PrepaymentDistrUoM | ppmgag_t_distrb | prepaymentdistruom | Distri. UoM | |
| PrepaymentDistrCnvrsnFctr | ppmgag_t_distrb | prepaymentdistrcnvrsnfctr | Conversion Factor | |
| PrepaymentDistrUnitValCrcy | ppmgag_t_distrb | prepaymentdistrunitvalcrcy | Distri. Unit Curr. | |
| PrepaymentDistrUnitValUoM | ppmgag_t_distrb | prepaymentdistrunitvaluom | Distri. Value UoM | |
| PrepaymentAgreementProduct | ppmgag_t_distrb | prepaymentagreementproduct | Prepayment Product | |
| PrepaymentAgreementFXRate | ppmgag_t_distrb | prepaymentagreementfxrate | Prepayment FX Rate | |
| PrepaymentAgreementExchRate | ppmgag_t_distrb | prepaymentagreementexchrate | Prepayment FX Rate | |
| PrepaymentAgreementFXDate | ppmgag_t_distrb | prepaymentagreementfxdate | Prepayment ForexDate | |
| BuyerTaxCode | ppmgag_t_distrb | buyertaxcode | Tax Code | |
| DocumentItemNumber | ppmgag_t_distrb | documentitemnumber | Item | |
| PrepaymentAgrmtLinkStatus | ppmgag_t_distrb | prepaymentagrmtlinkstatus | Link Status | |
| PrepaymentAgrmtPostingStatus | ppmgag_t_distrb | prepaymentagrmtpostingstatus | Pre Posting Status | |
| PrepaymentAgreement | _PrepayAgreement | PrepaymentAgreement | Renegotiation PPA | |
| IsBusinessPurposeCompleted | _BusinessPartner | IsBusinessPurposeCompleted | Purpose Completed | |
| AuthorizationGroup | _BusinessPartner | AuthorizationGroup | AuthorizGroup | |
| createdbyuserasCreatedByUser | ||||
| CreationDateTime | ppmgag_t_distrb | creationdatetime | Timestamp | |
| LastChangedByUser | ppmgag_t_distrb | lastchangedbyuser | User Name | |
| LastChangeDateTime | ppmgag_t_distrb | lastchangedatetime | Timestamp |
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_PrepaymentAgrmtDistr.
-- 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: IPPAGRDISTR
CREATE VIEW I_PrepaymentAgrmtDistr AS
SELECT
AgreementDistr.prepaymentagrmtdistruuid AS PrepaymentAgrmtDistrUUID,
AgreementDistr.prepaymentagreementuuid AS PrepaymentAgreementUUID,
AgreementDistr.prepaymentdistrpaymentdate AS PrepaymentDistrPaymentDate,
AgreementDistr.prepaymentdistrbeneficiaryname AS PrepaymentDistrBeneficiaryName,
AgreementDistr.prepaymentdistramount AS PrepaymentDistrAmount,
AgreementDistr.prepaymentdistrcurrency AS PrepaymentDistrCurrency,
AgreementDistr.prepaymentdistrquantity AS PrepaymentDistrQuantity,
AgreementDistr.prepaymentdistruom AS PrepaymentDistrUoM,
AgreementDistr.prepaymentdistrcnvrsnfctr AS PrepaymentDistrCnvrsnFctr,
AgreementDistr.prepaymentdistrunitvalcrcy AS PrepaymentDistrUnitValCrcy,
AgreementDistr.prepaymentdistrunitvaluom AS PrepaymentDistrUnitValUoM,
AgreementDistr.prepaymentagreementproduct AS PrepaymentAgreementProduct,
AgreementDistr.prepaymentagreementfxrate AS PrepaymentAgreementFXRate,
AgreementDistr.prepaymentagreementexchrate AS PrepaymentAgreementExchRate,
AgreementDistr.prepaymentagreementfxdate AS PrepaymentAgreementFXDate,
AgreementDistr.buyertaxcode AS BuyerTaxCode,
AgreementDistr.documentitemnumber AS DocumentItemNumber,
AgreementDistr.prepaymentagrmtlinkstatus AS PrepaymentAgrmtLinkStatus,
AgreementDistr.prepaymentagrmtpostingstatus AS PrepaymentAgrmtPostingStatus,
_PrepayAgreement.PrepaymentAgreement AS PrepaymentAgreement,
_BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
_BusinessPartner.AuthorizationGroup AS AuthorizationGroup,
AgreementDistr.creationdatetime AS CreationDateTime,
AgreementDistr.lastchangedbyuser AS LastChangedByUser,
AgreementDistr.lastchangedatetime AS LastChangeDateTime
FROM ppmgag_t_distrb AS AgreementDistr
LEFT OUTER JOIN I_BusinessPartnerSupplier AS _BusinessPartner ON PrepaymentDistrBeneficiaryName = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN E_PrepaymentAgrmtDistribution AS _Extension ON PrepaymentAgrmtDistrUUID = _Extension.PrepaymentAgrmtDistrUUID -- 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