P_RU_FirstSuplrAccDocItem1

DDL: P_RU_FIRSTSUPLRACCDOCITEM1 SQL: PRUFSUPITEM1 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU

First Supplier item in Accounting Document - 1

P_RU_FirstSuplrAccDocItem1 is a Consumption CDS View that provides data about "First Supplier item in Accounting Document - 1" in SAP S/4HANA. It reads from 1 data source (P_RU_SuplrCustAcctgDocItem0) and exposes 4 fields. Part of development package GLO_FIN_IS_VAT_RU.

Data Sources (1)

SourceAliasJoin Type
P_RU_SuplrCustAcctgDocItem0 P_RU_SuplrCustAcctgDocItem0 from

Annotations (6)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
AccountingDocument AccountingDocument Journal Entry
FiscalYear FiscalYear G/L Fiscal Year
AccountingDocumentItem

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_FirstSuplrAccDocItem1.
-- 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: PRUFSUPITEM1

CREATE VIEW P_RU_FirstSuplrAccDocItem1 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  min(AccountingDocumentItem) AS AccountingDocumentItem
FROM P_RU_SuplrCustAcctgDocItem0
;