P_PH_AssetDocItem

DDL: P_PH_ASSETDOCITEM SQL: PPHASSETITM Type: view COMPOSITE

P_PH_AssetDocItem is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 5 fields with key fields CompanyCode, FiscalYear, AccountingDocument, TaxCode.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Parameters (1)

NameTypeDefault
P_CompanyCode fis_bukrs

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PPHASSETITM view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY TaxCode TaxCode Tax Code
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_PH_AssetDocItem.
-- 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: PPHASSETITM
-- Parameters: P_CompanyCode : fis_bukrs

CREATE VIEW P_PH_AssetDocItem AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  TaxCode,
  min (AccountingDocumentItem ) AS AccountingDocumentItem
FROM I_OperationalAcctgDocItem
;