I_PrepaymentAgrmtDocuments

DDL: I_PREPAYMENTAGRMTDOCUMENTS SQL: IPPMGAGRATTACH Type: view BASIC

Prepayment Attachment Basic View

I_PrepaymentAgrmtDocuments is a Basic CDS View that provides data about "Prepayment Attachment Basic View" in SAP S/4HANA. It reads from 1 data source (ppmgag_t_attach) and exposes 10 fields with key field PrepaymentAgrmtAttachmentUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
ppmgag_t_attach Attachment from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_PrepaymentAgrmtAttachment _Extension $projection.PrepaymentAgreementUUID = _Extension.PrepaymentAgrmtAttachmentUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPPMGAGRATTACH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_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 Attachment Basic View view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PrepaymentAgrmtAttachmentUUID ppmgag_t_attach prepaymentagrmtattachmentuuid Key
PrepaymentAgreementUUID ppmgag_t_attach prepaymentagreementuuid Key
PrepayAgrmtAttachmentType ppmgag_t_attach prepayagrmtattachmenttype Attachment Type
PrepaymentAgrmtDocIsMandatory ppmgag_t_attach prepaymentagrmtdocismandatory Mandatory
PrepayAgrmtAttachmentIsRcvd ppmgag_t_attach prepayagrmtattachmentisrcvd Attachment Received
PrepaymentAgreement _PrepayAgreement PrepaymentAgreement Renegotiation PPA
createdbyuserasCreatedByUser
CreationDateTime ppmgag_t_attach creationdatetime Timestamp
LastChangedByUser ppmgag_t_attach lastchangedbyuser User Name
LastChangeDateTime ppmgag_t_attach 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_PrepaymentAgrmtDocuments.
-- 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: IPPMGAGRATTACH

CREATE VIEW I_PrepaymentAgrmtDocuments AS
SELECT
  Attachment.prepaymentagrmtattachmentuuid AS PrepaymentAgrmtAttachmentUUID,
  Attachment.prepaymentagreementuuid AS PrepaymentAgreementUUID,
  Attachment.prepayagrmtattachmenttype AS PrepayAgrmtAttachmentType,
  Attachment.prepaymentagrmtdocismandatory AS PrepaymentAgrmtDocIsMandatory,
  Attachment.prepayagrmtattachmentisrcvd AS PrepayAgrmtAttachmentIsRcvd,
  _PrepayAgreement.PrepaymentAgreement AS PrepaymentAgreement,
  Attachment.creationdatetime AS CreationDateTime,
  Attachment.lastchangedbyuser AS LastChangedByUser,
  Attachment.lastchangedatetime AS LastChangeDateTime
FROM ppmgag_t_attach AS Attachment
LEFT OUTER JOIN E_PrepaymentAgrmtAttachment AS _Extension ON PrepaymentAgreementUUID = _Extension.PrepaymentAgrmtAttachmentUUID  -- association [0..1]
;