P_DMVCCompanyCodeByPlant

DDL: P_DMVCCOMPANYCODEBYPLANT SQL: PDMVCCCP Type: view COMPOSITE

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

Data Sources (2)

SourceAliasJoin Type
I_Purreqvaluationarea _Purreqvaluationarea inner
I_Plant I_Plant from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PDMVCCCP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Plant I_Plant Plant
KEY CompanyCode I_Purreqvaluationarea CompanyCode
PlantName I_Plant PlantName
@AbapCatalog.sqlViewName: 'PDMVCCCP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm:#SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view P_DMVCCompanyCodeByPlant

// I_Plant is on left side of the join, as we expect filter on Plant


  as select from I_Plant

    inner join   I_Purreqvaluationarea as _Purreqvaluationarea on I_Plant.ValuationArea = _Purreqvaluationarea.ValuationArea

{

  key I_Plant.Plant,
  key _Purreqvaluationarea.CompanyCode,
      I_Plant.PlantName

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