C_ProcurementProjectPlantTP

DDL: C_PROCUREMENTPROJECTPLANTTP Type: view_entity CONSUMPTION

Plant in Procurement Project - TP

C_ProcurementProjectPlantTP is a Consumption CDS View that provides data about "Plant in Procurement Project - TP" in SAP S/4HANA. It reads from 1 data source (R_ProcurementProjectPlantTP) and exposes 15 fields with key field ProcmtProjectPlantUUID.

Data Sources (1)

SourceAliasJoin Type
R_ProcurementProjectPlantTP R_ProcurementProjectPlantTP projection

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey ProcmtProjectPlantUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Plant in Procurement Project - TP view
Metadata.allowExtensions true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix PPP view
AbapCatalog.extensibility.quota.maximumFields 404 view
AbapCatalog.extensibility.quota.maximumBytes 40400 view
AbapCatalog.extensibility.allowNewCompositions true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ProcmtProjectPlantUUID ProcmtProjectPlantUUID
ProcurementProjectPlant ProcurementProjectPlant
PlantName _Plant PlantName
ProductionStartDate ProductionStartDate
ProductionEndDate ProductionEndDate
ProcurementProjectUUID ProcurementProjectUUID
ProcmtHubCompanyCode CompanyCode
CompanyCodeName _CompanyCode CompanyCodeName
ProcmtHubLogicalSystem ProcurementHubSourceSystem
ProcurementHubSourceSystemName _CompanyCode ProcurementHubSourceSystemName
ProcmtHubPlantUniqueID ProcmtHubPlantUniqueID
SourcingOrigin SourcingOrigin
SrcgProjSourcingOriginTextlocalized
SourcingScenario SourcingScenario
SrcgProjSourcingScenarioTextlocalized
@AccessControl.authorizationCheck: #MANDATORY

@VDM: { viewType:#CONSUMPTION,
        usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]  }

@ObjectModel: { semanticKey: ['ProcurementProjectPlant'],
                representativeKey: 'ProcmtProjectPlantUUID',
                usageType:{ dataClass: #MIXED,
                            serviceQuality: #C,
                            sizeCategory: #L }
              }

@EndUserText.label: 'Plant in Procurement Project - TP'

@Metadata.allowExtensions: true
@AbapCatalog.extensibility: {
  extensible: true,
  dataSources: ['ProcurementProjectPlantTP'],
  allowNewDatasources: false,
  elementSuffix: 'PPP',
  quota: { maximumFields: 404,
           maximumBytes: 40400 },
  allowNewCompositions: true }
  
define view entity C_ProcurementProjectPlantTP
  as projection on R_ProcurementProjectPlantTP as ProcurementProjectPlantTP
{
  key ProcmtProjectPlantUUID,

      @ObjectModel.text.element: ['PlantName']
      ProcurementProjectPlant,

      _Plant.PlantName,

      ProductionStartDate,

      ProductionEndDate,

      ProcurementProjectUUID,

      @ObjectModel.text.element: ['CompanyCodeName']
      CompanyCode                as ProcmtHubCompanyCode,

      _CompanyCode.CompanyCodeName,

      @ObjectModel.text.element: ['ProcurementHubSourceSystemName']
      ProcurementHubSourceSystem as ProcmtHubLogicalSystem,

      _CompanyCode.ProcurementHubSourceSystemName,

      ProcmtHubPlantUniqueID,

      @ObjectModel.text.element: ['SrcgProjSourcingOriginText']
      SourcingOrigin,
      _SrcgProjSourcingOriginText.SrcgProjSourcingOriginText : localized,
      
      @ObjectModel.text.element: ['SrcgProjSourcingScenarioText']
      SourcingScenario,
      _SrcgProjSourcingScenarioText.SrcgProjSourcingScenarioText : localized,

      //composition

      _ProcurementProject : redirected to parent C_ProcurementProjectTP

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BACKENDCOCODEFORPURG",
"I_BACKENDPLANTFORPURG",
"I_SRCGPROJSOURCINGORIGINTEXT",
"I_SRCGPROJSOURCINGSCENARIOTEXT",
"R_PROCUREMENTPROJECTPLANTTP"
],
"ASSOCIATED":
[
"C_PROCUREMENTPROJECTTP",
"R_PROCUREMENTPROJECTTP"
],
"BASE":
[
"R_PROCUREMENTPROJECTPLANTTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/