P_PlntCompanyCodePurchasingOrg

DDL: P_PLNTCOMPANYCODEPURCHASINGORG SQL: PCOCODEPURORPLNT Type: view COMPOSITE

P_PlntCompanyCodePurchasingOrg is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_Purreqvaluationarea, I_PlantPurchasingOrganization) and exposes 2 fields with key fields PurchasingOrganization, CompanyCode.

Data Sources (2)

SourceAliasJoin Type
I_Purreqvaluationarea _PlantCoCode from
I_PlantPurchasingOrganization _PlantPurchasingOrg inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCOCODEPURORPLNT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchasingOrganization I_PlantPurchasingOrganization PurchasingOrganization
KEY CompanyCode I_Purreqvaluationarea CompanyCode
@AbapCatalog.sqlViewName: 'PCOCODEPURORPLNT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel: {
   usageType.serviceQuality: #C,
   usageType.sizeCategory: #S,
   usageType.dataClass: #MIXED
}
define view P_PlntCompanyCodePurchasingOrg
  //t001k

  as select from I_Purreqvaluationarea         as _PlantCoCode
  //t024w

    inner join   I_PlantPurchasingOrganization as _PlantPurchasingOrg on _PlantCoCode.ValuationArea = _PlantPurchasingOrg.Plant

{
  key _PlantPurchasingOrg.PurchasingOrganization as PurchasingOrganization,
  key _PlantCoCode.CompanyCode                   as CompanyCode
} 
  group by _PlantPurchasingOrg.PurchasingOrganization, _PlantCoCode.CompanyCode