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

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
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
KEY TaxCode TaxCode
AccountingDocumentItem
@AbapCatalog.sqlViewName: 'PPHASSETITM'
@VDM.viewType: #COMPOSITE
@VDM.private: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #P
@ObjectModel.usageType.dataClass: #MIXED
define view P_PH_AssetDocItem
  as select from I_OperationalAcctgDocItem
{
  key CompanyCode,
  key FiscalYear,
  key AccountingDocument,
  key TaxCode,
      // key TransactionTypeDetermination,

      min (AccountingDocumentItem ) as AccountingDocumentItem
}
where

      MasterFixedAsset <> ' '
  and MasterFixedAsset <> ''
group by
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  // TransactionTypeDetermination,

  TaxCode
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_OPERATIONALACCTGDOCITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/