P_ChgRecdPlngScpProdnPlant

DDL: P_CHGRECDPLNGSCPPRODNPLANT SQL: PCRPRODNPLNT Type: view COMPOSITE Package: MPE_PLAN_MEC

Change Record Planning Scope Production Plant

P_ChgRecdPlngScpProdnPlant is a Composite CDS View that provides data about "Change Record Planning Scope Production Plant" in SAP S/4HANA. It reads from 2 data sources (I_ChgRecdRefPlngScpBsc, I_PlngScpHdr) and exposes 4 fields with key fields ChangeRecordUUID, ChangeRecordReferenceUUID. Part of development package MPE_PLAN_MEC.

Data Sources (2)

SourceAliasJoin Type
I_ChgRecdRefPlngScpBsc ChangeRecordRefPls from
I_PlngScpHdr PlngScpHdr inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCRPRODNPLNT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ChangeRecordUUID I_ChgRecdRefPlngScpBsc ChangeRecordUUID
KEY ChangeRecordReferenceUUID I_ChgRecdRefPlngScpBsc ChangeRecordReferenceUUID
ProductionPlant I_PlngScpHdr Plant
ChangeRecord I_ChgRecdRefPlngScpBsc ChangeRecord
@AbapCatalog.sqlViewName: 'PCRPRODNPLNT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType: {serviceQuality: #C,
                         dataClass: #MASTER,
                         sizeCategory: #L}
define view P_ChgRecdPlngScpProdnPlant
  as select from I_ChgRecdRefPlngScpBsc as ChangeRecordRefPls

    inner join   I_PlngScpHdr           as PlngScpHdr on  ChangeRecordRefPls.ChgRecRefInternalKey1 = PlngScpHdr.DocumentId
                                                      and ChangeRecordRefPls.ChgRecRefInternalKey2 = PlngScpHdr.PlanningScopeAlternative

{
  key  ChangeRecordRefPls.ChangeRecordUUID,
  key  ChangeRecordRefPls.ChangeRecordReferenceUUID,
       PlngScpHdr.Plant as ProductionPlant,
       ChangeRecordRefPls.ChangeRecord
}