I_GB_ClrdPaytPracticePerf

DDL: I_GB_CLRDPAYTPRACTICEPERF Type: view_entity COMPOSITE

GB PPPR AP paid invoices

I_GB_ClrdPaytPracticePerf is a Composite CDS View that provides data about "GB PPPR AP paid invoices" in SAP S/4HANA. It reads from 1 data source (P_GB_ClrdPaytPracticePerf2) and exposes 63 fields with key fields SourceLedger, Ledger, CompanyCode, FiscalYear, AccountingDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_GB_ClrdPaytPracticePerf2 P_GB_ClrdPaytPracticePerf2 from

Parameters (2)

NameTypeDefault
P_FromReportingDate figen_rep_date_from
P_ToReportingDate figen_rep_date_to

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_StRpJournalEntryLog _ReportedItemsLog $projection.CompanyCode = _ReportedItemsLog.CompanyCode and $projection.AccountingDocument = _ReportedItemsLog.AccountingDocument and $projection.FiscalYear = _ReportedItemsLog.FiscalYear

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label GB PPPR AP paid invoices view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view

Fields (63)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger Source Ledger
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY StatryRptCategory _ReportedItemsLog StatryRptCategory Report ID
KEY StatryRptgEntity _ReportedItemsLog StatryRptgEntity Reporting Entity
KEY StatryRptRunID _ReportedItemsLog StatryRptRunID Report Run ID
AccountingDocumentItem AccountingDocumentItem Posting View Item
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AccountingDocumentType AccountingDocumentType Journal Entry Type
InvoiceReference InvoiceReference Invoice Reference
InvoiceItemReference InvoiceItemReference Item
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
ClearingDate ClearingDate Clearing Date
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
InvoiceReceiptDate InvoiceReceiptDate Invoice Receipt Date
FinancialAccountType FinancialAccountType Fin. Account Type
Supplier Supplier Supplier
FollowOnDocumentType FollowOnDocumentType Follow-On Document Type
SpecialGLCode SpecialGLCode Special G/L Ind
GLAccount GLAccount General Ledger
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
Segment Segment Segment number
PurchasingDocument PurchasingDocument Purchasing Document
AssignmentReference AssignmentReference Assignment Reference
NetDueDate NetDueDate Net Due Date
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TaxCode TaxCode Tax Code
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
ConditionType ConditionType Condition type
TaxRateValidityStartDate TaxRateValidityStartDate Tax Rate Validity Start Date
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax
TaxAmountInTransCrcy TaxAmountInTransCrcy TaxAmt in Tran. Crcy
SupplierFullName SupplierFullName
CityName CityName Name
PostalCode PostalCode Postal Code
StreetName StreetName Text
ClearingDays ClearingDays
NetDueInterval1Days NetDueInterval1Days
NetDueInterval2Days NetDueInterval2Days
NetDueInterval3Days NetDueInterval3Days
Segment1DueAmountInCoCodeCrcy Segment1DueAmountInCoCodeCrcy
Segment2DueAmountInCoCodeCrcy Segment2DueAmountInCoCodeCrcy
Segment3DueAmountInCoCodeCrcy Segment3DueAmountInCoCodeCrcy
IsOverdue IsOverdue
OverdueAmount OverdueAmount
OverdueDays OverdueDays
PaymentDifferenceReason PaymentDifferenceReason Reason Code
_Supplier _Supplier
_OperationalAcctgDocItem _OperationalAcctgDocItem
_PaymentDifferenceReason _PaymentDifferenceReason

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_GB_ClrdPaytPracticePerf.
-- 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.
-- Parameters: P_FromReportingDate : figen_rep_date_from, P_ToReportingDate : figen_rep_date_to

CREATE VIEW I_GB_ClrdPaytPracticePerf AS
SELECT
  SourceLedger,
  Ledger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  _ReportedItemsLog.StatryRptCategory AS StatryRptCategory,
  _ReportedItemsLog.StatryRptgEntity AS StatryRptgEntity,
  _ReportedItemsLog.StatryRptRunID AS StatryRptRunID,
  AccountingDocumentItem,
  AccountingDocumentCategory,
  AccountingDocumentType,
  InvoiceReference,
  InvoiceItemReference,
  InvoiceReferenceFiscalYear,
  ClearingDate,
  PostingDate,
  DocumentDate,
  InvoiceReceiptDate,
  FinancialAccountType,
  Supplier,
  FollowOnDocumentType,
  SpecialGLCode,
  GLAccount,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  ControllingArea,
  Segment,
  PurchasingDocument,
  AssignmentReference,
  NetDueDate,
  CompanyCodeCurrency,
  AmountInCompanyCodeCurrency,
  TaxBaseAmountInCoCodeCrcy,
  TaxAmountInCoCodeCrcy,
  TaxCode,
  TransactionTypeDetermination,
  ConditionType,
  TaxRateValidityStartDate,
  TransactionCurrency,
  AmountInTransactionCurrency,
  TaxBaseAmountInTransCrcy,
  TaxAmountInTransCrcy,
  SupplierFullName,
  CityName,
  PostalCode,
  StreetName,
  ClearingDays,
  NetDueInterval1Days,
  NetDueInterval2Days,
  NetDueInterval3Days,
  Segment1DueAmountInCoCodeCrcy,
  Segment2DueAmountInCoCodeCrcy,
  Segment3DueAmountInCoCodeCrcy,
  IsOverdue,
  OverdueAmount,
  OverdueDays,
  PaymentDifferenceReason
FROM P_GB_ClrdPaytPracticePerf2
LEFT OUTER JOIN I_StRpJournalEntryLog AS _ReportedItemsLog ON CompanyCode = _ReportedItemsLog.CompanyCode AND AccountingDocument = _ReportedItemsLog.AccountingDocument AND FiscalYear = _ReportedItemsLog.FiscalYear  -- association [0..*]
;