I_ProjectCostLineItems

DDL: I_PROJECTCOSTLINEITEMS SQL: IPROJCOSTLINITM Type: view COMPOSITE

Project Cost Line Items

I_ProjectCostLineItems is a Composite CDS View that provides data about "Project Cost Line Items" in SAP S/4HANA. It reads from 1 data source (P_ProjectCostLineItems) and exposes 139 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_ProjectCostLineItems ActPlnJrlEtry from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ProjectBudgetPlngCategory _BudgetPlnCat $projection.PlanningCategory = _BudgetPlnCat.PlanningCategory and _BudgetPlnCat.PlanningCatIsForAvailyCtrl = 'X'

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPROJCOSTLINITM view
EndUserText.label Project Cost Line Items view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (139)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger
KEY SourceLedger SourceLedger
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
KEY FinancialPlanningReqTransSqnc FinancialPlanningReqTransSqnc
KEY FinancialPlanningDataPacket FinancialPlanningDataPacket
KEY ActualPlanJournalEntryItem ActualPlanJournalEntryItem
FinancialPlanningEntryItem FinancialPlanningEntryItem
FiscalYearPeriod P_ProjectCostLineItems FiscalYearPeriod
SemanticTag P_ProjectCostLineItems SemanticTag
LedgerGLLineItem LedgerGLLineItem
LedgerFiscalYear LedgerFiscalYear
ControllingArea ControllingArea
GLAccount GLAccount
ChartOfAccounts ChartOfAccounts
AccountingDocCreatedByUser AccountingDocCreatedByUser
BusinessArea BusinessArea
ProfitCenter ProfitCenter
WBSElementProfitCenter WBSElementProfitCenter
CostCenter CostCenter
FunctionalArea FunctionalArea
CostCtrActivityType CostCtrActivityType
Project P_ProjectCostLineItems Project
ProjectInternalID P_ProjectCostLineItems ProjectInternalID
ProjectDescription ProjectDescription
ProjectObjectNode ProjectObjectNode
ProjectProfileCode ProjectProfileCode
ProjectObject ProjectObject
MaintenanceOrderIsSelected
PartnerAccountAssignmentType P_ProjectCostLineItems PartnerAccountAssignmentType
OrderID OrderID
OrderOperation OrderOperation
MaintenanceOrderDesc MaintenanceOrderDesc
OperationDescription OperationDescription
PlanningCategory1 PlanningCategory1
PlanningCategory2 PlanningCategory2
ProjectUUID ProjectSummary ProjectUUID
ProjectCategory ProjectSummary ProjectCategory
ProjectSummaryTaskUUID ProjectSummary ProjectSummaryTaskUUID
ProjectProcessingStatus ProjectSummary ProjectProcessingStatus
ProjectType P_ProjectCostLineItems ProjectType
AvailabilityControlIsActive AvailabilityControlIsActive
AvailabilityControlProfile AvailabilityControlProfile
AvailyCtrlTimeRangeType AvailyCtrlTimeRangeType
BudgetCurrencyRole BudgetCurrencyRole
WBSElement WBSElement
WBSDescription WBSDescription
ResponsibleCostCenter ResponsibleCostCenter
WBSElementInternalID P_ProjectCostLineItems WBSElementInternalID
SourceReferenceDocumentType SourceReferenceDocumentType
SourceLogicalSystem SourceLogicalSystem
SourceReferenceDocumentCntxt SourceReferenceDocumentCntxt
SourceReferenceDocument SourceReferenceDocument
SourceReferenceDocumentItem SourceReferenceDocumentItem
SourceReferenceDocSubitem SourceReferenceDocSubitem
IsCommitment IsCommitment
PartnerOrder PartnerOrder
PartnerOrderCategory PartnerOrderCategory
PartnerWBSElement PartnerWBSElement
PartnerProject PartnerProject
BusinessTransactionType BusinessTransactionType
DebitCreditCode DebitCreditCode
FiscalPeriod P_ProjectCostLineItems FiscalPeriod
FiscalYearVariant P_ProjectCostLineItems FiscalYearVariant
PlanningCategory PlanningCategory
ComparisonPlanningCategory
IsSettled
CurrentDate
PostingDate PostingDate
CreationDate CreationDate
ControllingObjectCurrency ControllingObjectCurrency
AmountInObjectCurrency AmountInObjectCurrency
TransactionCurrency TransactionCurrency
AmountInTransactionCurrency AmountInTransactionCurrency
CompanyCodeCurrency CompanyCodeCurrency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency
GlobalCurrency GlobalCurrency
AmountInGlobalCurrency AmountInGlobalCurrency
FunctionalCurrency FunctionalCurrency
ActualAmountInFunctionalCrcy ActualAmountInFunctionalCrcy
CmtmtAmountInFunctionalCrcy CmtmtAmountInFunctionalCrcy
PlanAmountInFunctionalCurrency PlanAmountInFunctionalCurrency
FreeDefinedCurrency1 FreeDefinedCurrency1
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1
FreeDefinedCurrency2 FreeDefinedCurrency2
AmountInFreeDefinedCurrency2 AmountInFreeDefinedCurrency2
FreeDefinedCurrency3 FreeDefinedCurrency3
AmountInFreeDefinedCurrency3 AmountInFreeDefinedCurrency3
FreeDefinedCurrency4 FreeDefinedCurrency4
AmountInFreeDefinedCurrency4 AmountInFreeDefinedCurrency4
FreeDefinedCurrency5 FreeDefinedCurrency5
AmountInFreeDefinedCurrency5 AmountInFreeDefinedCurrency5
FreeDefinedCurrency6 FreeDefinedCurrency6
AmountInFreeDefinedCurrency6 AmountInFreeDefinedCurrency6
FreeDefinedCurrency7 FreeDefinedCurrency7
AmountInFreeDefinedCurrency7 AmountInFreeDefinedCurrency7
FreeDefinedCurrency8 FreeDefinedCurrency8
AmountInFreeDefinedCurrency8 AmountInFreeDefinedCurrency8
ActualAmountInGlobalCurrency ActualAmountInGlobalCurrency
PlanAmountInGlobalCurrency PlanAmountInGlobalCurrency
CmtmtCostInGlobalCurrency CmtmtCostInGlobalCurrency
ActualAmountInFreeDfndCrcy1 ActualAmountInFreeDfndCrcy1
ActualAmountInFreeDfndCrcy2 ActualAmountInFreeDfndCrcy2
ActualAmountInFreeDfndCrcy3 ActualAmountInFreeDfndCrcy3
ActualAmountInFreeDfndCrcy4 ActualAmountInFreeDfndCrcy4
ActualAmountInFreeDfndCrcy5 ActualAmountInFreeDfndCrcy5
ActualAmountInFreeDfndCrcy6 ActualAmountInFreeDfndCrcy6
ActualAmountInFreeDfndCrcy7 ActualAmountInFreeDfndCrcy7
ActualAmountInFreeDfndCrcy8 ActualAmountInFreeDfndCrcy8
PlanAmountInFreeDefinedCrcy1 PlanAmountInFreeDefinedCrcy1
PlanAmountInFreeDefinedCrcy2 PlanAmountInFreeDefinedCrcy2
PlanAmountInFreeDefinedCrcy3 PlanAmountInFreeDefinedCrcy3
PlanAmountInFreeDefinedCrcy4 PlanAmountInFreeDefinedCrcy4
PlanAmountInFreeDefinedCrcy5 PlanAmountInFreeDefinedCrcy5
PlanAmountInFreeDefinedCrcy6 PlanAmountInFreeDefinedCrcy6
PlanAmountInFreeDefinedCrcy7 PlanAmountInFreeDefinedCrcy7
PlanAmountInFreeDefinedCrcy8 PlanAmountInFreeDefinedCrcy8
CmtmtCostInFreeDefinedCrcy1 CmtmtCostInFreeDefinedCrcy1
CmtmtCostInFreeDefinedCrcy2 CmtmtCostInFreeDefinedCrcy2
CmtmtCostInFreeDefinedCrcy3 CmtmtCostInFreeDefinedCrcy3
CmtmtCostInFreeDefinedCrcy4 CmtmtCostInFreeDefinedCrcy4
CmtmtCostInFreeDefinedCrcy5 CmtmtCostInFreeDefinedCrcy5
CmtmtCostInFreeDefinedCrcy6 CmtmtCostInFreeDefinedCrcy6
CmtmtCostInFreeDefinedCrcy7 CmtmtCostInFreeDefinedCrcy7
CmtmtCostInFreeDefinedCrcy8 CmtmtCostInFreeDefinedCrcy8
BaselineAmtInGlobalCrcy
ActlPlnDiffAmtInGlobalCrcy
ActlCostInProjCrcy ActlCostInProjCrcy
PlndCostAmtInProjCrcy PlndCostAmtInProjCrcy
CmtmtCostInProjCrcy CmtmtCostInProjCrcy
JrnlEntrDerivdFiscalYearPeriod
FiscalPeriodName
SemanticTagName
MonthInFirstInterval
MonthInSecondInterval
MonthInThirdInterval
ActualCost
_FiscalPeriod _FiscalPeriod
@AbapCatalog.sqlViewName: 'IPROJCOSTLINITM'
@EndUserText.label: 'Project Cost Line Items'
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass:  #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.buffering.status: #NOT_ALLOWED
@Metadata.ignorePropagatedAnnotations: true
@AbapCatalog.preserveKey:true
@VDM.lifecycle.contract.type:  #SAP_INTERNAL_API

define view I_ProjectCostLineItems
  as select from           P_ProjectCostLineItems   as ActPlnJrlEtry
    left outer to one join I_PPM_ProjectSummaryTask as ProjectSummary on ProjectSummary.ProjectInternalID = ActPlnJrlEtry.ProjectInternalID
  association [1..1] to I_ProjectBudgetPlngCategory as _BudgetPlnCat on  $projection.PlanningCategory             = _BudgetPlnCat.PlanningCategory
                                                                     and _BudgetPlnCat.PlanningCatIsForAvailyCtrl = 'X'

{
  key Ledger,
  key SourceLedger,
  key CompanyCode,
  key FiscalYear,
  key AccountingDocument,
  key FinancialPlanningReqTransSqnc,
  key FinancialPlanningDataPacket,
  key ActualPlanJournalEntryItem,
      FinancialPlanningEntryItem,
      ActPlnJrlEtry.FiscalYearPeriod,
      ActPlnJrlEtry.SemanticTag,
      LedgerGLLineItem,
      LedgerFiscalYear,
      ControllingArea,

      GLAccount,
      ChartOfAccounts,
      AccountingDocCreatedByUser,

      BusinessArea,
      ProfitCenter,
      WBSElementProfitCenter,
      CostCenter,
      FunctionalArea,
      CostCtrActivityType,

      ActPlnJrlEtry.Project,
      //_ProjectBasicData.Project,


      ActPlnJrlEtry.ProjectInternalID,
      ProjectDescription,

      ProjectObjectNode,
      ProjectProfileCode,
      ProjectObject,

      //2008:fields Specific to PMO integration to cost report-start

      //      case

      //      when OrderID is not initial and ProjectInternalID is not initial

      //      then cast('' as boolean  ) //boolean)   //order

      //      else cast('X' as boolean  ) //boolean)

      //      end                                                as MaintenanceOrderIsSelected, //project


      //'' as MaintenanceOrderIsSelected,

      //S/4HANA CE2108 - Maintenance Order enablement-Begin

      //       ActPlnJrlEtry.MaintenanceOrderIsSelected,      

      cast  (ActPlnJrlEtry.MaintenanceOrderIsSelected as boolean ) as MaintenanceOrderIsSelected,      
      ActPlnJrlEtry.PartnerAccountAssignmentType,
      //S/4HANA CE2108 - Maintenance Order enablement-End

      OrderID,
      OrderOperation,
      MaintenanceOrderDesc,
      OperationDescription,
      PlanningCategory1,
      PlanningCategory2,
      //2008:fields Specific to PMO integration to cost report-end


      ProjectSummary.ProjectUUID,
      ProjectSummary.ProjectCategory,
      ProjectSummary.ProjectSummaryTaskUUID,
      ProjectSummary.ProjectProcessingStatus,
      //CE2005 Projecttype as a filter

      //   S/4HANA CE2202: Project Type normalization - Begin

      ActPlnJrlEtry.ProjectType,
      //   S/4HANA CE2202: Project Type normalization - End



      AvailabilityControlIsActive,
      AvailabilityControlProfile,
      AvailyCtrlTimeRangeType,
      BudgetCurrencyRole,

      WBSElement,
      WBSDescription,
      ResponsibleCostCenter,
      ActPlnJrlEtry.WBSElementInternalID,



      //Commitment fields

      SourceReferenceDocumentType,
      SourceLogicalSystem,
      SourceReferenceDocumentCntxt,
      SourceReferenceDocument,
      SourceReferenceDocumentItem,
      SourceReferenceDocSubitem,
      IsCommitment,

      //Sending Partner fields

      PartnerOrder,
      PartnerOrderCategory,
      PartnerWBSElement,
      PartnerProject,
      BusinessTransactionType,
      DebitCreditCode,


      ActPlnJrlEtry.FiscalPeriod,
      ActPlnJrlEtry.FiscalYearVariant,

      PlanningCategory,
      cast('' as fcom_category)                                    as ComparisonPlanningCategory,
      //  _SemTag[1:inner].SemanticTag,

      cast(IsSettled as ps_s4_considersettlement)                  as IsSettled,
      $session.system_date                                         as CurrentDate,

      PostingDate,
      CreationDate,

      @Semantics.currencyCode: true
      ControllingObjectCurrency,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'ControllingObjectCurrency'} }
      AmountInObjectCurrency,

      @Semantics.currencyCode:true
      TransactionCurrency,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
      AmountInTransactionCurrency,

      @Semantics.currencyCode:true
      CompanyCodeCurrency,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
      AmountInCompanyCodeCurrency,

      @Semantics.currencyCode:true
      GlobalCurrency,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      AmountInGlobalCurrency,
/*     
      // S/4HANA CE2308: Project stock costs enablement - Begin

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      PrjStockAmountInGlobalCurrency,
      // S/4HANA CE2308: Project stock costs enablement - End

*/     
      //S/4HANA CE2108 - Inclusion of Functional Currency -Begin

      @Semantics.currencyCode: true
      FunctionalCurrency,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FunctionalCurrency'} }
      ActualAmountInFunctionalCrcy,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FunctionalCurrency'} }
      CmtmtAmountInFunctionalCrcy,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FunctionalCurrency'} }
      PlanAmountInFunctionalCurrency,
      //S/4HANA CE2108 - Inclusion of Functional Currency -End


      @Semantics.currencyCode:true
      FreeDefinedCurrency1,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency1'} }
      AmountInFreeDefinedCurrency1,

      @Semantics.currencyCode:true
      FreeDefinedCurrency2,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency2'} }
      AmountInFreeDefinedCurrency2,

      @Semantics.currencyCode:true
      FreeDefinedCurrency3,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency3'} }
      AmountInFreeDefinedCurrency3,

      @Semantics.currencyCode:true
      FreeDefinedCurrency4,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency4'} }
      AmountInFreeDefinedCurrency4,

      @Semantics.currencyCode:true
      FreeDefinedCurrency5,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency5'} }
      AmountInFreeDefinedCurrency5,

      @Semantics.currencyCode:true
      FreeDefinedCurrency6,
      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency6'} }
      AmountInFreeDefinedCurrency6,

      @Semantics.currencyCode:true
      FreeDefinedCurrency7,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency7'} }
      AmountInFreeDefinedCurrency7,

      @Semantics.currencyCode:true
      FreeDefinedCurrency8,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency8'} }
      AmountInFreeDefinedCurrency8,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      ActualAmountInGlobalCurrency,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      PlanAmountInGlobalCurrency,

      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      @DefaultAggregation: #SUM
      CmtmtCostInGlobalCurrency,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency1'} }
      ActualAmountInFreeDfndCrcy1,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency2'} }
      ActualAmountInFreeDfndCrcy2,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency3'} }
      ActualAmountInFreeDfndCrcy3,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency4'} }
      ActualAmountInFreeDfndCrcy4,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency5'} }
      ActualAmountInFreeDfndCrcy5,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency6'} }
      ActualAmountInFreeDfndCrcy6,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency7'} }
      ActualAmountInFreeDfndCrcy7,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency8'} }
      ActualAmountInFreeDfndCrcy8,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency1'} }
      PlanAmountInFreeDefinedCrcy1,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency2'} }
      PlanAmountInFreeDefinedCrcy2,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency3'} }
      PlanAmountInFreeDefinedCrcy3,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency4'} }
      PlanAmountInFreeDefinedCrcy4,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency5'} }
      PlanAmountInFreeDefinedCrcy5,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency6'} }
      PlanAmountInFreeDefinedCrcy6,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency7'} }
      PlanAmountInFreeDefinedCrcy7,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency8'} }
      PlanAmountInFreeDefinedCrcy8,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency1'} }
      CmtmtCostInFreeDefinedCrcy1,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency2'} }
      CmtmtCostInFreeDefinedCrcy2,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency3'} }
      CmtmtCostInFreeDefinedCrcy3,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency4'} }
      CmtmtCostInFreeDefinedCrcy4,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency5'} }
      CmtmtCostInFreeDefinedCrcy5,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency6'} }
      CmtmtCostInFreeDefinedCrcy6,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency7'} }
      CmtmtCostInFreeDefinedCrcy7,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'FreeDefinedCurrency8'} }
      CmtmtCostInFreeDefinedCrcy8,


      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      case
          when  PlanningCategory = 'PREDICT01' and AmountInGlobalCurrency > 0
              then AmountInGlobalCurrency
          else 0
      end                                                          as PredictedAmtInGlobalCurrency,

      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      @DefaultAggregation: #SUM
      case
          when  PlanningCategory = 'PREDICT02' and AmountInGlobalCurrency > 0
              then AmountInGlobalCurrency
          else 0
      end                                                          as LowerPredictionAmtInGlobCrcy,

      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      @DefaultAggregation: #SUM
      case
          when  PlanningCategory = 'PREDICT03'
              then AmountInGlobalCurrency
          else 0
      end                                                          as UpperPredictionAmtInGlobCrcy,

      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      @DefaultAggregation: #SUM
      case
          when  PlanningCategory = _BudgetPlnCat.PlanningCategory
              then AmountInGlobalCurrency
          else 0
      end                                                          as BudgetInGlobalCrcy,

      @Semantics.amount.currencyCode: 'GlobalCurrency'
      @Consumption.filter: {hidden: true}
      @DefaultAggregation: #SUM

      case
          when  PlanningCategory = 'CMTMT' or PlanningCategory = 'ACT01'
              then AmountInGlobalCurrency
          else 0
      end                                                          as ActlCmtmtCumltvAmtInGlobCrcy,


      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      cast(PlanAmountInGlobalCurrency  as fis_ksl)                 as BaselineAmtInGlobalCrcy,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
      PlanAmountInGlobalCurrency  -  ActualAmountInGlobalCurrency  as ActlPlnDiffAmtInGlobalCrcy,

      // Project currency fields

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'ControllingObjectCurrency'} }
      ActlCostInProjCrcy,

      @DefaultAggregation: #SUM
      @Semantics: { amount : {currencyCode: 'ControllingObjectCurrency'} }
      PlndCostAmtInProjCrcy,

      @Semantics: { amount : {currencyCode: 'ControllingObjectCurrency'} }
      @DefaultAggregation: #SUM
      CmtmtCostInProjCrcy,

      @Semantics: { amount : {currencyCode: 'ControllingObjectCurrency'} }
      @DefaultAggregation: #SUM
      case
          when  PlanningCategory = _BudgetPlnCat.PlanningCategory
              then AmountInObjectCurrency
          else 0
      end                                                          as BudgetInProjCrcy,

      @Semantics.amount.currencyCode: 'ControllingObjectCurrency'
      @DefaultAggregation: #SUM
      case
          when ( PlanningCategory = 'CMTMT' or PlanningCategory = 'ACT01' )
              then AmountInObjectCurrency
          else 0
      end                                                          as NonAccmltdCmtmtAmtInProjCrcy,

      cast('' as fis_jahrper_conv)                                 as JrnlEntrDerivdFiscalYearPeriod,
      cast('' as txt20_009)                                        as FiscalPeriodName,
      cast('' as fins_sem_tag_name)                                as SemanticTagName,
      '1'                                                          as MonthInFirstInterval,
      '2'                                                          as MonthInSecondInterval,
      '3'                                                          as MonthInThirdInterval,

      //1911 performance fix

      @Semantics.amount.currencyCode: 'GlobalCurrency'
      cast(0 as abap.curr( 23, 2 )   )                             as ActualCost,
      //end of 1911 changes



      // _Project,

      //  _WBSElement,

      _FiscalPeriod
}