I_PrepaymentPostedDocAcc

DDL: I_PREPAYMENTPOSTEDDOCACC SQL: IPPMTACDOC Type: view BASIC

Prepayment Posted Document - Accounting

I_PrepaymentPostedDocAcc is a Basic CDS View that provides data about "Prepayment Posted Document - Accounting" in SAP S/4HANA. It reads from 1 data source (acdoca) and exposes 11 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, GLAccountLineItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
acdoca acdoca from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartnerSupplier _BusinessPartner $projection.Supplier = _BusinessPartner.Supplier

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPPMTACDOC 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 #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Prepayment Posted Document - Accounting view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Ledger acdoca rldnr Ledger (Compat.)
KEY CompanyCode acdoca rbukrs Company Code
KEY FiscalYear acdoca gjahr Settlement Year
KEY AccountingDocument acdoca belnr SD Document
KEY GLAccountLineItem acdoca docln Matching Document Line Item
ReferenceDocument acdoca awref Reference Doc.
ClearingDocumentNumber acdoca augbl Clrng doc.
DebitCreditCode
Supplier acdoca lifnr Vendor no.
IsBusinessPurposeCompleted _BusinessPartner IsBusinessPurposeCompleted Purpose Completed
AuthorizationGroup _BusinessPartner AuthorizationGroup AuthorizGroup

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_PrepaymentPostedDocAcc.
-- 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: IPPMTACDOC

CREATE VIEW I_PrepaymentPostedDocAcc AS
SELECT
  acdoca.rldnr AS Ledger,
  acdoca.rbukrs AS CompanyCode,
  acdoca.gjahr AS FiscalYear,
  acdoca.belnr AS AccountingDocument,
  acdoca.docln AS GLAccountLineItem,
  acdoca.awref AS ReferenceDocument,
  acdoca.augbl AS ClearingDocumentNumber,
  cast(acdoca.drcrk as fis_shkzg preserving type) AS DebitCreditCode,
  acdoca.lifnr AS Supplier,
  _BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _BusinessPartner.AuthorizationGroup AS AuthorizationGroup
FROM acdoca
LEFT OUTER JOIN I_BusinessPartnerSupplier AS _BusinessPartner ON Supplier = _BusinessPartner.Supplier  -- association [0..1]
;