R_PROCUREMENTPROJECTPLANTTP

CDS View

Plant in Procurement Project - TP

R_PROCUREMENTPROJECTPLANTTP is a CDS View in S/4HANA. Plant in Procurement Project - TP. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
A_ProcurementProjectPlant view_entity projection CONSUMPTION Plant
C_ProcurementProjectPlantTP view_entity projection CONSUMPTION Plant in Procurement Project - TP
I_ProcurementProjectPlantTP view_entity projection TRANSACTIONAL Plant in Procurement Project - TP
@AccessControl.authorizationCheck: #MANDATORY

@ObjectModel:{representativeKey: 'ProcmtProjectPlantUUID',
              semanticKey: ['ProcurementProjectPlant'],

              usageType: {
                dataClass: #TRANSACTIONAL,
                serviceQuality: #B,
                sizeCategory: #L
              }

}

@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}

@EndUserText.label: 'Plant in Procurement Project - TP'
@AbapCatalog.extensibility: {
  extensible: true,
  dataSources: ['_Extension'],
  allowNewDatasources: false,
  elementSuffix: 'PPP',
  quota: { maximumFields: 404,
           maximumBytes: 40400 },
  allowNewCompositions: true }
  
define view entity R_ProcurementProjectPlantTP
  as select from R_ProcurementProjectPlant as ProcurementProjectPlant

  association        to parent R_ProcurementProjectTP as _ProcurementProject         on $projection.ProcurementProjectUUID = _ProcurementProject.ProcurementProjectUUID

  //Extension

  association [1..1] to E_ProcurementProjectPlant     as _Extension                  on $projection.ProcmtProjectPlantUUID = _Extension.ProcmtProjectPlantUUID
  association [0..*] to I_SrcgProjSourcingOriginText  as _SrcgProjSourcingOriginText on $projection.SourcingOrigin = _SrcgProjSourcingOriginText.SourcingOrigin
  association [0..*] to I_SrcgProjSourcingScenarioText  as _SrcgProjSourcingScenarioText on $projection.SourcingScenario = _SrcgProjSourcingScenarioText.SourcingScenario

{
  key ProcmtProjectPlantUUID,

      ProcurementProjectPlant,

      ProductionStartDate,
      ProductionEndDate,

      ProcurementProjectUUID,

      CompanyCode,

      ProcurementHubSourceSystem,

      ProcmtHubPlantUniqueID,

      SourcingOrigin,
      SourcingScenario,

      //composition

      _ProcurementProject,
      //text

      _CompanyCode,
      _Plant,
      _SrcgProjSourcingOriginText,
      _SrcgProjSourcingScenarioText

}