I_ProjectByInternalKey

DDL: I_PROJECTBYINTERNALKEY SQL: IPROJBYINTKEY Type: view BASIC

Project Definition Details By Internal ID

I_ProjectByInternalKey is a Basic CDS View that provides data about "Project Definition Details By Internal ID" in SAP S/4HANA. It reads from 2 data sources (cnldst_shorttx, I_Project) and exposes 70 fields with key field ProjectInternalID. It has 8 associations to related views.

Data Sources (2)

SourceAliasJoin Type
cnldst_shorttx cnldst_shorttx left_outer
I_Project I_Project from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..*] I_CostCenter _CostCenter $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea
[1..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_ProjectProfileCode _ProjectProfileCode $projection.ProjectProfileCode = _ProjectProfileCode.ProjectProfileCode
[1..1] I_ControllingObjectClass _ControllingObjectClass $projection.ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass
[1..*] I_StatusObjectStatus _Status $projection.ProjectObject = _Status.StatusObject

Annotations (12)

NameValueLevelField
EndUserText.label Project Definition Details By Internal ID view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPROJBYINTKEY view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey ProjectInternalID view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (70)

KeyFieldSource TableSource FieldDescription
KEY ProjectInternalID ProjectInternalID
Project Project
ProjectWithCodingMask ProjectWithCodingMask
ProjectDescription ProjectDescription
ProjectObject ProjectObject
CreatedByUser CreatedByUser
CreationDate CreationDate
LastChangedByUser LastChangedByUser
LastChangeDate LastChangeDate
ResponsiblePerson ResponsiblePerson
ResponsiblePersonName ResponsiblePersonName
ApplicantCode ApplicantCode
ApplicantName ApplicantName
CompanyCode CompanyCode
BusinessArea BusinessArea
ControllingArea ControllingArea
ProfitCenter ProfitCenter
Currency Currency
NetworkAssignmentType NetworkAssignmentType
WBSElmntDatesIsDetailed WBSElmntDatesIsDetailed
PlannedStartDate PlannedStartDate
PlannedEndDate PlannedEndDate
Plant Plant
FactoryCalendar FactoryCalendar
NetworkHdrIsVisibleToUser NetworkHdrIsVisibleToUser
NetworkProfile NetworkProfile
ProjectProfileCode ProjectProfileCode
BudgetProfile BudgetProfile
Language I_Project Language
CostCenter CostCenter
CostObject CostObject
BasicDatesLastScheduledDate BasicDatesLastScheduledDate
FcstdDatesLastScheduledDate FcstdDatesLastScheduledDate
ProjectHasOwnStock ProjectHasOwnStock
ControllingObjectClass ControllingObjectClass
WBSIsStatisticalWBSElement WBSIsStatisticalWBSElement
TaxJurisdiction TaxJurisdiction
ProjInterestCalcProfile ProjInterestCalcProfile
InvestmentProfile InvestmentProfile
PaymentPlanProfile PaymentPlanProfile
ResultAnalysisInternalID ResultAnalysisInternalID
PlanningProfile PlanningProfile
WBSIsMarkedForIntegratedPlng WBSIsMarkedForIntegratedPlng
IsMarkedForDeletion IsMarkedForDeletion
InventorySpecialStockValnType InventorySpecialStockValnType
WBSIsMarkedForAutomReqmtGrpg WBSIsMarkedForAutomReqmtGrpg
WorkCenterLocation WorkCenterLocation
FunctionalArea FunctionalArea
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
Division Division
DynItemProcessorPrfl DynItemProcessorPrfl
JointVenture JointVenture
JointVentureCostRecoveryCode JointVentureCostRecoveryCode
JointVentureEquityType JointVentureEquityType
JointVentureObjectType JointVentureObjectType
JointVentureClass JointVentureClass
JointVentureSubClass JointVentureSubClass
ProjectLangBsdDescription cnldst_shorttx shorttext
_ControllingArea _ControllingArea
_CompanyCode _CompanyCode
_BusinessArea _BusinessArea
_CostCenter _CostCenter
_Plant _Plant
_ProjectProfileCode _ProjectProfileCode
_ControllingObjectClass _ControllingObjectClass
_Status _Status
_ResponsiblePerson _ResponsiblePerson
_ProjectApplicant _ProjectApplicant
_ProjectShortText I_Project _ProjectShortText
@EndUserText.label: 'Project Definition Details By Internal ID'
@VDM.viewType: #BASIC
///@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }

@AbapCatalog.sqlViewName: 'IPROJBYINTKEY'
@AbapCatalog.preserveKey:true
@ObjectModel.representativeKey: 'ProjectInternalID'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MIXED
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@Metadata.ignorePropagatedAnnotations:true 

@ObjectModel: {

    supportedCapabilities: [ #SQL_DATA_SOURCE ]
}

//@VDM.lifecycle.contract.type:  #SAP_INTERNAL_API


//NOTE: TO BE USED ONLY FOR OP. FOR CLOUD USE I_PROJECTBASICDATA.


define view I_ProjectByInternalKey
  as select from    I_Project
    left outer join cnldst_shorttx on  I_Project.ProjectObject = cnldst_shorttx.objnr
                                   and cnldst_shorttx.language = $session.system_language
  association [1..1] to I_ControllingArea        as _ControllingArea        on  $projection.ControllingArea = _ControllingArea.ControllingArea
  association [1..1] to I_CompanyCode            as _CompanyCode            on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [1..*] to I_CostCenter             as _CostCenter             on  $projection.CostCenter      = _CostCenter.CostCenter
                                                                            and $projection.ControllingArea = _CostCenter.ControllingArea
  association [1..1] to I_BusinessArea           as _BusinessArea           on  $projection.BusinessArea = _BusinessArea.BusinessArea
  association [1..1] to I_Plant                  as _Plant                  on  $projection.Plant = _Plant.Plant
  association [1..1] to I_ProjectProfileCode     as _ProjectProfileCode     on  $projection.ProjectProfileCode = _ProjectProfileCode.ProjectProfileCode
  association [1..1] to I_ControllingObjectClass as _ControllingObjectClass on  $projection.ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass
  association [1..*] to I_StatusObjectStatus     as _Status                 on  $projection.ProjectObject = _Status.StatusObject
 // association [0..*] to I_Projecttext                as _ProjLangBsdDescription    on  $projection.ProjectObject = _ProjLangBsdDescription.ProjectObject

{

  key ProjectInternalID,
      @ObjectModel.text.element: 'ProjectDescription'
      Project,
      ProjectWithCodingMask,
      @Semantics.text: true
      ProjectDescription,
      ProjectObject,
      CreatedByUser,
      CreationDate,
      LastChangedByUser,
      LastChangeDate,
      @ObjectModel.text.element: 'ResponsiblePersonName'
      ResponsiblePerson,
      @Semantics.text: true
      ResponsiblePersonName,
      @ObjectModel.text.element: 'ApplicantCode'
      ApplicantCode,
      @Semantics.text: true
      ApplicantName,
      //--[ GENERATED:012:GFBfhyK17jY4hf0VYlNxpm

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CompanyCodeStdVH',
                     element: 'CompanyCode' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_CompanyCode'
      CompanyCode,
      //--[ GENERATED:012:GFBfhyK17jY4hf0VYlNxpm

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_BusinessAreaStdVH',
                     element: 'BusinessArea' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_BusinessArea'
      BusinessArea,
      //--[ GENERATED:012:GFBfhyK17jY4hf0VYlNxpm

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_ControllingArea',
                     element: 'ControllingArea' }
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_ControllingArea'
      ControllingArea,
      ProfitCenter,

      Currency,
      NetworkAssignmentType,
      WBSElmntDatesIsDetailed,
      @Semantics.calendar.dayOfMonth: true
      PlannedStartDate,
      @Semantics.calendar.dayOfMonth: true
      PlannedEndDate,
      @ObjectModel.foreignKey.association: '_Plant'
      Plant,
      FactoryCalendar,
      NetworkHdrIsVisibleToUser,
      NetworkProfile,
      ProjectProfileCode,
      BudgetProfile,
      @Semantics.language
      I_Project.Language               as Language,
      //--[ GENERATED:012:GFBfhyK17jY4hf0VYlNxpm

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_CostCenterStdVH',
                     element: 'CostCenter' },
          additionalBinding: [{ localElement: 'ControllingArea',
                                element: 'ControllingArea' }]
        }]
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_CostCenter'
      CostCenter,
      CostObject,
      @Semantics.calendar.dayOfMonth: true
      BasicDatesLastScheduledDate,
      @Semantics.calendar.dayOfMonth: true
      FcstdDatesLastScheduledDate,
      ProjectHasOwnStock,
      ControllingObjectClass,
      WBSIsStatisticalWBSElement,
      TaxJurisdiction,
      ProjInterestCalcProfile,
      InvestmentProfile,
      PaymentPlanProfile,
      ResultAnalysisInternalID,
      PlanningProfile,
      WBSIsMarkedForIntegratedPlng,
      IsMarkedForDeletion,
      InventorySpecialStockValnType,
      WBSIsMarkedForAutomReqmtGrpg,
      WorkCenterLocation,
      FunctionalArea,
      SalesOrganization,
      DistributionChannel,
      Division,
      DynItemProcessorPrfl,
      JointVenture,
      JointVentureCostRecoveryCode,
      JointVentureEquityType,
      JointVentureObjectType,
      JointVentureClass,
      JointVentureSubClass,
      @Semantics.calendar.dayOfMonth: true
      ForecastedStartDate,
      @Semantics.calendar.dayOfMonth: true
      ForecastedEndDate,
      cnldst_shorttx.shorttext         as ProjectLangBsdDescription,
     // _ProjLangBsdDescription[1:Language = $session.system_language].ProjectLangBsdDescription,

      _ControllingArea,
      _CompanyCode,
      _BusinessArea,
      _CostCenter,
      _Plant,
      _ProjectProfileCode,
      _ControllingObjectClass,
      _Status,

      @UI.hidden: true
      @Consumption.hidden: true
      _ResponsiblePerson,
      @UI.hidden: true
      @Consumption.hidden: true
      _ProjectApplicant,
      I_Project._ProjectShortText

}