I_PrepaymentAgrmtDocumentsTP

DDL: I_PREPAYMENTAGRMTDOCUMENTSTP SQL: IPPMGATTACHTP Type: view TRANSACTIONAL

Prepayment Attachment Transactional view

I_PrepaymentAgrmtDocumentsTP is a Transactional CDS View that provides data about "Prepayment Attachment Transactional view" in SAP S/4HANA. It reads from 1 data source (I_PrepaymentAgrmtDocuments) and exposes 9 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PrepaymentAgrmtDocuments PrepaymentAgrmtAttachment from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PrepaymentAgreementTP _PrepaymentAgreement $projection.PrepaymentAgreementUUID = _PrepaymentAgreement.PrepaymentAgreementUUID -- Extension View for Attachment in Prepayment
[0..1] E_PrepaymentAgrmtAttachment _Extension $projection.PrepaymentAgreementUUID = _Extension.PrepaymentAgrmtAttachmentUUID

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IPPMGATTACHTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Prepayment Attachment Transactional view view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeActivePersistence PPMGAG_T_ATTACH view
ObjectModel.writeDraftPersistence PPMGAG_T_AT_D view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (9)

KeyFieldSource TableSource FieldDescription
PrepaymentAgreementUUID I_PrepaymentAgrmtDocuments PrepaymentAgreementUUID Key
PrepayAgrmtAttachmentType I_PrepaymentAgrmtDocuments PrepayAgrmtAttachmentType Attachment Type
PrepaymentAgrmtDocIsMandatory I_PrepaymentAgrmtDocuments PrepaymentAgrmtDocIsMandatory Mandatory
PrepayAgrmtAttachmentIsRcvd I_PrepaymentAgrmtDocuments PrepayAgrmtAttachmentIsRcvd Attachment Received
CreatedByUserasCreatedByUser
CreationDateTime I_PrepaymentAgrmtDocuments CreationDateTime Timestamp
LastChangedByUser I_PrepaymentAgrmtDocuments LastChangedByUser User Name
LastChangeDateTime I_PrepaymentAgrmtDocuments LastChangeDateTime Timestamp
Associations_PrepaymentAgreement

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_PrepaymentAgrmtDocumentsTP.
-- 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: IPPMGATTACHTP

CREATE VIEW I_PrepaymentAgrmtDocumentsTP AS
SELECT
  PrepaymentAgrmtAttachment.PrepaymentAgreementUUID AS PrepaymentAgreementUUID,
  PrepaymentAgrmtAttachment.PrepayAgrmtAttachmentType AS PrepayAgrmtAttachmentType,
  PrepaymentAgrmtAttachment.PrepaymentAgrmtDocIsMandatory AS PrepaymentAgrmtDocIsMandatory,
  PrepaymentAgrmtAttachment.PrepayAgrmtAttachmentIsRcvd AS PrepayAgrmtAttachmentIsRcvd,
  PrepaymentAgrmtAttachment.CreationDateTime AS CreationDateTime,
  PrepaymentAgrmtAttachment.LastChangedByUser AS LastChangedByUser,
  PrepaymentAgrmtAttachment.LastChangeDateTime AS LastChangeDateTime
FROM I_PrepaymentAgrmtDocuments AS PrepaymentAgrmtAttachment
LEFT OUTER JOIN I_PrepaymentAgreementTP AS _PrepaymentAgreement ON PrepaymentAgreementUUID = _PrepaymentAgreement.PrepaymentAgreementUUID  -- association [1..1]
LEFT OUTER JOIN E_PrepaymentAgrmtAttachment AS _Extension ON PrepaymentAgreementUUID = _Extension.PrepaymentAgrmtAttachmentUUID  -- association [0..1]
;