P_RU_SuplrCustAccDocItem001

DDL: P_RU_SUPLRCUSTACCDOCITEM001 SQL: PRUSUPCUSIT001 Type: view CONSUMPTION

P_RU_SuplrCustAccDocItem001 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 11 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUSUPCUSIT001 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
FinancialAccountType FinancialAccountType Fin. Account Type
Customer Customer Sold-to Party
Supplier Supplier Supplier
DebitCreditCode DebitCreditCode Single-Character Flag
IsNegativePosting IsNegativePosting Negative Posting
TransactionCurrency TransactionCurrency Transaction Currency
AssignmentReference AssignmentReference Assignment Reference

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_RU_SuplrCustAccDocItem001.
-- 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: PRUSUPCUSIT001

CREATE VIEW P_RU_SuplrCustAccDocItem001 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  FinancialAccountType,
  Customer,
  Supplier,
  DebitCreditCode,
  IsNegativePosting,
  TransactionCurrency,
  AssignmentReference
FROM I_OperationalAcctgDocItem
;