I_PrepaymentApprovalDocumentTP
Prepayment Appr Doc Transactional view
I_PrepaymentApprovalDocumentTP is a Transactional CDS View that provides data about "Prepayment Appr Doc Transactional view" in SAP S/4HANA. It reads from 1 data source (I_PrepaymentApprovalDocument) and exposes 18 fields with key field PrepaymentAgrmtDocUUID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PrepaymentApprovalDocument | ApprovalDoc | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PrepaymentApprovalTP | _AgreementApproval | $projection.PrepaymentApprovalUUID = _AgreementApproval.PrepaymentApprovalUUID -- Extension View for Approval Doc |
| [0..1] | E_PrepaymentApprovalDocument | _Extension | $projection.PrepaymentAgrmtDocUUID = _Extension.PrepaymentAgrmtDocUUID |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPMGAPPDTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Prepayment Appr Doc Transactional view | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.writeActivePersistence | PPMGAG_T_APP_DOC | view | |
| ObjectModel.writeDraftPersistence | PPMGAG_T_APD_D | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.lifecycle.enqueue.expiryBehavior | #RELATIVE_TO_LAST_CHANGE | view | |
| ObjectModel.lifecycle.enqueue.expiryInterval | PT60M | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrepaymentAgrmtDocUUID | I_PrepaymentApprovalDocument | PrepaymentAgrmtDocUUID | Key |
| PrepaymentApprovalUUID | I_PrepaymentApprovalDocument | PrepaymentApprovalUUID | Key | |
| PrepaymentAgrmtDistrUUID | I_PrepaymentApprovalDocument | PrepaymentAgrmtDistrUUID | Key | |
| SAPBusinessObjectTypeCode | I_PrepaymentApprovalDocument | SAPBusinessObjectTypeCode | SAP Obj Rep | |
| PrepaymentPostedDocument | I_PrepaymentApprovalDocument | PrepaymentPostedDocument | Posted Document No. | |
| PrepaymentReversedDocument | I_PrepaymentApprovalDocument | PrepaymentReversedDocument | Reversed DocumentNo. | |
| PrepaymentAgrmtRefDocument | I_PrepaymentApprovalDocument | PrepaymentAgrmtRefDocument | Linking Document No. | |
| CompanyCode | I_PrepaymentApprovalDocument | CompanyCode | Receiver Company Code | |
| FiscalYear | I_PrepaymentApprovalDocument | FiscalYear | G/L Fiscal Year | |
| PrepaymentAgreementAmount | I_PrepaymentApprovalDocument | PrepaymentAgreementAmount | Pre Agrm Amount | |
| PrepaymentAgreementCurrency | I_PrepaymentApprovalDocument | PrepaymentAgreementCurrency | Currency | |
| PrepaymentFeesDocument | I_PrepaymentApprovalDocument | PrepaymentFeesDocument | Posted Document No. | |
| PrepaymentFeesReversedDocument | I_PrepaymentApprovalDocument | PrepaymentFeesReversedDocument | Reversed DocumentNo. | |
| CreatedByUserasCreatedByUser | ||||
| CreationDateTime | I_PrepaymentApprovalDocument | CreationDateTime | Timestamp | |
| LastChangedByUser | I_PrepaymentApprovalDocument | LastChangedByUser | User Name | |
| LastChangeDateTime | I_PrepaymentApprovalDocument | LastChangeDateTime | Timestamp | |
| Associations_AgreementApproval |
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_PrepaymentApprovalDocumentTP.
-- 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: IPPMGAPPDTP
CREATE VIEW I_PrepaymentApprovalDocumentTP AS
SELECT
ApprovalDoc.PrepaymentAgrmtDocUUID AS PrepaymentAgrmtDocUUID,
ApprovalDoc.PrepaymentApprovalUUID AS PrepaymentApprovalUUID,
ApprovalDoc.PrepaymentAgrmtDistrUUID AS PrepaymentAgrmtDistrUUID,
ApprovalDoc.SAPBusinessObjectTypeCode AS SAPBusinessObjectTypeCode,
ApprovalDoc.PrepaymentPostedDocument AS PrepaymentPostedDocument,
ApprovalDoc.PrepaymentReversedDocument AS PrepaymentReversedDocument,
ApprovalDoc.PrepaymentAgrmtRefDocument AS PrepaymentAgrmtRefDocument,
ApprovalDoc.CompanyCode AS CompanyCode,
ApprovalDoc.FiscalYear AS FiscalYear,
ApprovalDoc.PrepaymentAgreementAmount AS PrepaymentAgreementAmount,
ApprovalDoc.PrepaymentAgreementCurrency AS PrepaymentAgreementCurrency,
ApprovalDoc.PrepaymentFeesDocument AS PrepaymentFeesDocument,
ApprovalDoc.PrepaymentFeesReversedDocument AS PrepaymentFeesReversedDocument,
ApprovalDoc.CreationDateTime AS CreationDateTime,
ApprovalDoc.LastChangedByUser AS LastChangedByUser,
ApprovalDoc.LastChangeDateTime AS LastChangeDateTime
FROM I_PrepaymentApprovalDocument AS ApprovalDoc
LEFT OUTER JOIN I_PrepaymentApprovalTP AS _AgreementApproval ON PrepaymentApprovalUUID = _AgreementApproval.PrepaymentApprovalUUID -- association [1..1]
LEFT OUTER JOIN E_PrepaymentApprovalDocument AS _Extension ON PrepaymentAgrmtDocUUID = _Extension.PrepaymentAgrmtDocUUID -- 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