P_AR_DbtrCrdtrRblsPyblsTotal

DDL: P_AR_DBTRCRDTRRBLSPYBLSTOTAL SQL: PARDCRPTOT Type: view CONSUMPTION

Arg. Dbt, Crdt, Receivables and Payables

P_AR_DbtrCrdtrRblsPyblsTotal is a Consumption CDS View that provides data about "Arg. Dbt, Crdt, Receivables and Payables" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 21 fields with key fields CompanyCode, FiscalYear, AccountingDocument, Supplier, Customer.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PARDCRPTOT view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
EndUserText.label Arg. Dbt, Crdt, Receivables and Payables view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY Supplier Supplier Supplier
KEY Customer Customer Sold-to Party
FinancialAccountType FinancialAccountType Fin. Account Type
NetDueDate
ClearingDate
ClearingAccountingDocument
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency
_CompanyCode _CompanyCode
_FiscalYear _FiscalYear
_JournalEntry _JournalEntry
_CompanyCodeCurrency _CompanyCodeCurrency
_TransactionCurrency _TransactionCurrency
_FinancialAccountType _FinancialAccountType
_Supplier _Supplier
_Customer _Customer

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 P_AR_DbtrCrdtrRblsPyblsTotal.
-- 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: PARDCRPTOT

CREATE VIEW P_AR_DbtrCrdtrRblsPyblsTotal AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  Supplier,
  Customer,
  FinancialAccountType,
  cast( max(NetDueDate) as farp_netdt preserving type ) AS NetDueDate,
  cast( max(ClearingDate) as fis_augdt preserving type ) AS ClearingDate,
  cast( max(ClearingAccountingDocument) as fis_augbl preserving type ) AS ClearingAccountingDocument,
  CompanyCodeCurrency,
  cast( sum(AmountInCompanyCodeCurrency) as fis_hsl preserving type ) AS AmountInCompanyCodeCurrency,
  TransactionCurrency,
  cast( sum(AmountInTransactionCurrency) as fis_wsl preserving type ) AS AmountInTransactionCurrency
FROM I_OperationalAcctgDocItem
;