I_ProjectCostLineItems
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)
| Source | Alias | Join Type |
|---|---|---|
| P_ProjectCostLineItems | ActPlnJrlEtry | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProjectBudgetPlngCategory | _BudgetPlnCat | $projection.PlanningCategory = _BudgetPlnCat.PlanningCategory and _BudgetPlnCat.PlanningCatIsForAvailyCtrl = 'X' |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | Ledger | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FinancialPlanningReqTransSqnc | FinancialPlanningReqTransSqnc | Request TSN | |
| KEY | FinancialPlanningDataPacket | FinancialPlanningDataPacket | Data packet number | |
| KEY | ActualPlanJournalEntryItem | ActualPlanJournalEntryItem | ||
| FinancialPlanningEntryItem | FinancialPlanningEntryItem | |||
| FiscalYearPeriod | P_ProjectCostLineItems | FiscalYearPeriod | Period/Year | |
| SemanticTag | P_ProjectCostLineItems | SemanticTag | Semantic Tag | |
| LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| GLAccount | GLAccount | General Ledger | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | User which created overhead document | ||
| BusinessArea | BusinessArea | Business Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| WBSElementProfitCenter | WBSElementProfitCenter | |||
| CostCenter | CostCenter | Cost Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| Project | P_ProjectCostLineItems | Project | WBS Element | |
| ProjectInternalID | P_ProjectCostLineItems | ProjectInternalID | Project Def. | |
| ProjectDescription | ProjectDescription | Project Name | ||
| ProjectObjectNode | ProjectObjectNode | Object number | ||
| ProjectProfileCode | ProjectProfileCode | Project Profile | ||
| ProjectObject | ProjectObject | Object number | ||
| MaintenanceOrderIsSelected | ||||
| PartnerAccountAssignmentType | P_ProjectCostLineItems | PartnerAccountAssignmentType | Partner Account Assignment Type | |
| OrderID | OrderID | Order ID | ||
| OrderOperation | OrderOperation | Operation or Phase | ||
| MaintenanceOrderDesc | MaintenanceOrderDesc | Description | ||
| OperationDescription | OperationDescription | Op. Short Text | ||
| PlanningCategory1 | PlanningCategory1 | Plan Category | ||
| PlanningCategory2 | PlanningCategory2 | Plan Category | ||
| ProjectUUID | ProjectSummary | ProjectUUID | Project UUID | |
| ProjectCategory | ProjectSummary | ProjectCategory | Proj. Category | |
| ProjectSummaryTaskUUID | ProjectSummary | ProjectSummaryTaskUUID | Entity GUID | |
| ProjectProcessingStatus | ProjectSummary | ProjectProcessingStatus | ||
| ProjectType | P_ProjectCostLineItems | ProjectType | Project Type | |
| AvailabilityControlIsActive | AvailabilityControlIsActive | Budget Availability Control is Active | ||
| AvailabilityControlProfile | AvailabilityControlProfile | Budget Availability Control Profile | ||
| AvailyCtrlTimeRangeType | AvailyCtrlTimeRangeType | |||
| BudgetCurrencyRole | BudgetCurrencyRole | |||
| WBSElement | WBSElement | WBS Internal ID | ||
| WBSDescription | WBSDescription | WBS Element Name | ||
| ResponsibleCostCenter | ResponsibleCostCenter | Responsible Cost Center | ||
| WBSElementInternalID | P_ProjectCostLineItems | WBSElementInternalID | WBS Internal ID | |
| SourceReferenceDocumentType | SourceReferenceDocumentType | Ref. procedure | ||
| SourceLogicalSystem | SourceLogicalSystem | |||
| SourceReferenceDocumentCntxt | SourceReferenceDocumentCntxt | |||
| SourceReferenceDocument | SourceReferenceDocument | Reference Doc. | ||
| SourceReferenceDocumentItem | SourceReferenceDocumentItem | Ref. Doc. Item | ||
| SourceReferenceDocSubitem | SourceReferenceDocSubitem | |||
| IsCommitment | IsCommitment | |||
| PartnerOrder | PartnerOrder | Partner Order | ||
| PartnerOrderCategory | PartnerOrderCategory | |||
| PartnerWBSElement | PartnerWBSElement | WBS Element | ||
| PartnerProject | PartnerProject | |||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| FiscalPeriod | P_ProjectCostLineItems | FiscalPeriod | Tax period | |
| FiscalYearVariant | P_ProjectCostLineItems | FiscalYearVariant | FY Variant | |
| PlanningCategory | PlanningCategory | Plan Category | ||
| ComparisonPlanningCategory | ||||
| IsSettled | Is Settled | |||
| CurrentDate | ||||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDate | CreationDate | Time Stamp | ||
| ControllingObjectCurrency | ControllingObjectCurrency | CO Object Currency | ||
| AmountInObjectCurrency | AmountInObjectCurrency | Amount in Obj Crcy | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| FunctionalCurrency | FunctionalCurrency | Functional Currency | ||
| ActualAmountInFunctionalCrcy | ActualAmountInFunctionalCrcy | |||
| CmtmtAmountInFunctionalCrcy | CmtmtAmountInFunctionalCrcy | |||
| PlanAmountInFunctionalCurrency | PlanAmountInFunctionalCurrency | |||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| 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 |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_ProjectCostLineItems.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IPROJCOSTLINITM
CREATE VIEW I_ProjectCostLineItems AS
SELECT
Ledger,
SourceLedger,
CompanyCode,
FiscalYear,
AccountingDocument,
FinancialPlanningReqTransSqnc,
FinancialPlanningDataPacket,
ActualPlanJournalEntryItem,
FinancialPlanningEntryItem,
ActPlnJrlEtry.FiscalYearPeriod AS FiscalYearPeriod,
ActPlnJrlEtry.SemanticTag AS SemanticTag,
LedgerGLLineItem,
LedgerFiscalYear,
ControllingArea,
GLAccount,
ChartOfAccounts,
AccountingDocCreatedByUser,
BusinessArea,
ProfitCenter,
WBSElementProfitCenter,
CostCenter,
FunctionalArea,
CostCtrActivityType,
ActPlnJrlEtry.Project AS Project,
ActPlnJrlEtry.ProjectInternalID AS ProjectInternalID,
ProjectDescription,
ProjectObjectNode,
ProjectProfileCode,
ProjectObject,
cast (ActPlnJrlEtry.MaintenanceOrderIsSelected as boolean ) AS MaintenanceOrderIsSelected,
ActPlnJrlEtry.PartnerAccountAssignmentType AS PartnerAccountAssignmentType,
OrderID,
OrderOperation,
MaintenanceOrderDesc,
OperationDescription,
PlanningCategory1,
PlanningCategory2,
ProjectSummary.ProjectUUID AS ProjectUUID,
ProjectSummary.ProjectCategory AS ProjectCategory,
ProjectSummary.ProjectSummaryTaskUUID AS ProjectSummaryTaskUUID,
ProjectSummary.ProjectProcessingStatus AS ProjectProcessingStatus,
ActPlnJrlEtry.ProjectType AS ProjectType,
AvailabilityControlIsActive,
AvailabilityControlProfile,
AvailyCtrlTimeRangeType,
BudgetCurrencyRole,
WBSElement,
WBSDescription,
ResponsibleCostCenter,
ActPlnJrlEtry.WBSElementInternalID AS WBSElementInternalID,
SourceReferenceDocumentType,
SourceLogicalSystem,
SourceReferenceDocumentCntxt,
SourceReferenceDocument,
SourceReferenceDocumentItem,
SourceReferenceDocSubitem,
IsCommitment,
PartnerOrder,
PartnerOrderCategory,
PartnerWBSElement,
PartnerProject,
BusinessTransactionType,
DebitCreditCode,
ActPlnJrlEtry.FiscalPeriod AS FiscalPeriod,
ActPlnJrlEtry.FiscalYearVariant AS FiscalYearVariant,
PlanningCategory,
cast('' as fcom_category) AS ComparisonPlanningCategory,
cast(IsSettled as ps_s4_considersettlement) AS IsSettled,
$session.system_date AS CurrentDate,
PostingDate,
CreationDate,
ControllingObjectCurrency,
AmountInObjectCurrency,
TransactionCurrency,
AmountInTransactionCurrency,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
GlobalCurrency,
AmountInGlobalCurrency,
FunctionalCurrency,
ActualAmountInFunctionalCrcy,
CmtmtAmountInFunctionalCrcy,
PlanAmountInFunctionalCurrency,
FreeDefinedCurrency1,
AmountInFreeDefinedCurrency1,
FreeDefinedCurrency2,
AmountInFreeDefinedCurrency2,
FreeDefinedCurrency3,
AmountInFreeDefinedCurrency3,
FreeDefinedCurrency4,
AmountInFreeDefinedCurrency4,
FreeDefinedCurrency5,
AmountInFreeDefinedCurrency5,
FreeDefinedCurrency6,
AmountInFreeDefinedCurrency6,
FreeDefinedCurrency7,
AmountInFreeDefinedCurrency7,
FreeDefinedCurrency8,
AmountInFreeDefinedCurrency8,
ActualAmountInGlobalCurrency,
PlanAmountInGlobalCurrency,
CmtmtCostInGlobalCurrency,
ActualAmountInFreeDfndCrcy1,
ActualAmountInFreeDfndCrcy2,
ActualAmountInFreeDfndCrcy3,
ActualAmountInFreeDfndCrcy4,
ActualAmountInFreeDfndCrcy5,
ActualAmountInFreeDfndCrcy6,
ActualAmountInFreeDfndCrcy7,
ActualAmountInFreeDfndCrcy8,
PlanAmountInFreeDefinedCrcy1,
PlanAmountInFreeDefinedCrcy2,
PlanAmountInFreeDefinedCrcy3,
PlanAmountInFreeDefinedCrcy4,
PlanAmountInFreeDefinedCrcy5,
PlanAmountInFreeDefinedCrcy6,
PlanAmountInFreeDefinedCrcy7,
PlanAmountInFreeDefinedCrcy8,
CmtmtCostInFreeDefinedCrcy1,
CmtmtCostInFreeDefinedCrcy2,
CmtmtCostInFreeDefinedCrcy3,
CmtmtCostInFreeDefinedCrcy4,
CmtmtCostInFreeDefinedCrcy5,
CmtmtCostInFreeDefinedCrcy6,
CmtmtCostInFreeDefinedCrcy7,
CmtmtCostInFreeDefinedCrcy8,
cast(PlanAmountInGlobalCurrency as fis_ksl) AS BaselineAmtInGlobalCrcy,
PlanAmountInGlobalCurrency - ActualAmountInGlobalCurrency AS ActlPlnDiffAmtInGlobalCrcy,
ActlCostInProjCrcy,
PlndCostAmtInProjCrcy,
CmtmtCostInProjCrcy,
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,
cast(0 as abap.curr( 23, 2 ) ) AS ActualCost
FROM P_ProjectCostLineItems AS ActPlnJrlEtry
LEFT OUTER JOIN I_ProjectBudgetPlngCategory AS _BudgetPlnCat ON PlanningCategory = _BudgetPlnCat.PlanningCategory AND _BudgetPlnCat.PlanningCatIsForAvailyCtrl = 'X' -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA