P_CnsldtnSupplier

DDL: P_CNSLDTNSUPPLIER SQL: PCSSUPPLIER Type: view COMPOSITE

P_CnsldtnSupplier is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_Supplier) and exposes 4 fields with key field Supplier.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all
I_Supplier I_Supplier from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCSSUPPLIER view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier
AdditionalMasterDataSource
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
@AbapCatalog.sqlViewName: 'PCSSUPPLIER'

@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #B,
  sizeCategory: #L
}
@VDM:{
  viewType: #COMPOSITE,
  private:true
  }

define view P_CnsldtnSupplier
  as select from I_Supplier
{

  key Supplier,

      cast ( 'ACCTG' as fincs_masterdatasource )                   as AdditionalMasterDataSource,

      cast ( ' ' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData
}

union all select from I_CnsldtnAddlMD
{

  key AdditionalMasterDataCode                                     as Supplier,

      cast ( 'CNSLDTN' as fincs_masterdatasource )                 as AdditionalMasterDataSource,

      cast ( 'X' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData
}
where
      AdditionalCharcFieldName =  'LIFNR'
  and AdditionalMasterDataCode <> ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNADDLMD",
"I_SUPPLIER"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/