P_ACTVENTPROJACTCOSTSFORLEDGER
P_ACTVENTPROJACTCOSTSFORLEDGER is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (P_IsLeadingLedger, I_GLAccountLineItemRawData, P_ActvPROJECTSWITHPROJCAT6, I_LedgerSourceLedger) and exposes 28 fields with key fields FiscalYear, LedgerFiscalYear, FiscalPeriod, FiscalYearPeriod, PostingDate.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| P_IsLeadingLedger | Ledger | inner |
| I_GLAccountLineItemRawData | ProjCstLineItm | inner |
| P_ActvPROJECTSWITHPROJCAT6 | Project | from |
| I_LedgerSourceLedger | SourceLedger | inner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PACTENTPROJLED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYear | I_GLAccountLineItemRawData | FiscalYear | G/L Fiscal Year |
| KEY | LedgerFiscalYear | I_GLAccountLineItemRawData | LedgerFiscalYear | Ref. Year1 |
| KEY | FiscalPeriod | I_GLAccountLineItemRawData | FiscalPeriod | Tax period |
| KEY | FiscalYearPeriod | I_GLAccountLineItemRawData | FiscalYearPeriod | Period/Year |
| KEY | PostingDate | I_GLAccountLineItemRawData | PostingDate | Posting Date for GR |
| AccountingDocument | I_GLAccountLineItemRawData | AccountingDocument | Journal Entry | |
| LedgerGLLineItem | I_GLAccountLineItemRawData | LedgerGLLineItem | Journal Entry Item | |
| GLAccount | I_GLAccountLineItemRawData | GLAccount | General Ledger | |
| ChartOfAccounts | I_GLAccountLineItemRawData | ChartOfAccounts | Node Class | |
| CompanyCode | P_ActvPROJECTSWITHPROJCAT6 | CompanyCode | Receiver Company Code | |
| ProfitCenter | P_ActvPROJECTSWITHPROJCAT6 | ProfitCenter | Profit Center | |
| ControllingArea | P_ActvPROJECTSWITHPROJCAT6 | ControllingArea | Controlling Area | |
| ProjectUUID | P_ActvPROJECTSWITHPROJCAT6 | ProjectUUID | Project UUID | |
| ProjectInternalID | I_GLAccountLineItemRawData | ProjectInternalID | Project Def. | |
| ProjectType | P_ActvPROJECTSWITHPROJCAT6 | ProjectType | Project Type | |
| Project | P_ActvPROJECTSWITHPROJCAT6 | ProjectExternalID | Project def. | |
| ControllingObjectCurrency | P_ActvPROJECTSWITHPROJCAT6 | ProjectCurrency | Project Currency | |
| GlobalCurrency | I_GLAccountLineItemRawData | GlobalCurrency | GM Billing Element: Global Currency | |
| ProjectDescription | P_ActvPROJECTSWITHPROJCAT6 | ProjectDescription | Project Name | |
| AvailabilityControlProfile | P_ActvPROJECTSWITHPROJCAT6 | AvailabilityControlProfile | Budget Availability Control Profile | |
| AvailabilityControlIsActive | P_ActvPROJECTSWITHPROJCAT6 | AvailabilityControlIsActive | Budget Availability Control is Active | |
| AvailyCtrlTimeRangeType | ||||
| BudgetCurrencyRole | ||||
| PlanningCategory | ||||
| ProjectSummaryTaskUUID | P_ActvPROJECTSWITHPROJCAT6 | ProjectSummaryTaskUUID | Entity GUID | |
| CreationDate | I_GLAccountLineItemRawData | CreationDate | Time Stamp | |
| AmountInObjectCurrency | ||||
| AmountInGlobalCurrency |
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 P_ACTVENTPROJACTCOSTSFORLEDGER.
-- 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: PACTENTPROJLED
CREATE VIEW P_ACTVENTPROJACTCOSTSFORLEDGER AS
SELECT
ProjCstLineItm.FiscalYear AS FiscalYear,
ProjCstLineItm.LedgerFiscalYear AS LedgerFiscalYear,
ProjCstLineItm.FiscalPeriod AS FiscalPeriod,
ProjCstLineItm.FiscalYearPeriod AS FiscalYearPeriod,
ProjCstLineItm.PostingDate AS PostingDate,
ProjCstLineItm.AccountingDocument AS AccountingDocument,
ProjCstLineItm.LedgerGLLineItem AS LedgerGLLineItem,
ProjCstLineItm.GLAccount AS GLAccount,
ProjCstLineItm.ChartOfAccounts AS ChartOfAccounts,
Project.CompanyCode AS CompanyCode,
Project.ProfitCenter AS ProfitCenter,
Project.ControllingArea AS ControllingArea,
Project.ProjectUUID AS ProjectUUID,
ProjCstLineItm.ProjectInternalID AS ProjectInternalID,
Project.ProjectType AS ProjectType,
Project.ProjectExternalID AS Project,
Project.ProjectCurrency AS ControllingObjectCurrency,
ProjCstLineItm.GlobalCurrency AS GlobalCurrency,
Project.ProjectDescription AS ProjectDescription,
Project.AvailabilityControlProfile AS AvailabilityControlProfile,
Project.AvailabilityControlIsActive AS AvailabilityControlIsActive,
Project._AvailabilityCtrlProfile.AvailyCtrlTimeRangeType AS AvailyCtrlTimeRangeType,
Project._AvailabilityCtrlProfile.BudgetCurrencyRole AS BudgetCurrencyRole,
cast( cast( 'ACT01' as abap.char( 10 )) as fcom_category) AS PlanningCategory,
Project.ProjectSummaryTaskUUID AS ProjectSummaryTaskUUID,
ProjCstLineItm.CreationDate AS CreationDate,
sum(ProjCstLineItm.AmountInObjectCurrency) AS AmountInObjectCurrency,
sum(ProjCstLineItm.AmountInGlobalCurrency) AS AmountInGlobalCurrency
FROM P_ActvPROJECTSWITHPROJCAT6 AS Project
INNER JOIN I_GLAccountLineItemRawData AS ProjCstLineItm ON /* join condition not captured in parsed metadata */
INNER JOIN I_LedgerSourceLedger AS SourceLedger ON /* join condition not captured in parsed metadata */
INNER JOIN P_IsLeadingLedger AS Ledger ON /* join condition not captured in parsed metadata */
;
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