P_PE_CashFlowIndirectMethod
P_PE_CashFlowIndirectMethod is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_PE_GLAccountLineItemSemTag) and exposes 35 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PE_GLAccountLineItemSemTag | P_PE_GLAccountLineItemSemTag | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_ReportingCurrency | glo_reporting_currency |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | LedgerGLLineItem | view | |
| VDM.private | true | view |
Fields (35)
| 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 | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | GLAccountHierarchy | GLAccountHierarchy | ||
| KEY | SemanticTag | SemanticTag | Semantic Tag | |
| KEY | ValidityStartDate | ValidityStartDate | Validity Start Date | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| LedgerFiscalYear | LedgerFiscalYear | |||
| FiscalQuarter | _FiscalCalendarDate | FiscalQuarter | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Chart of Accts | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | ||
| ReportingCurrency | ReportingCurrency | Currency | ||
| AmountInReportingCurrency | AmountInReportingCurrency | |||
| _Ledger | _Ledger | |||
| _SourceLedger | _SourceLedger | |||
| _JournalEntry | _JournalEntry | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _AccountingDocumentCategory | _AccountingDocumentCategory | |||
| _AlternativeGLAccount | _AlternativeGLAccount | |||
| _CountryChartOfAccounts | _CountryChartOfAccounts | |||
| _SemanticTag | _SemanticTag | |||
| _Hierarchy | _Hierarchy |
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_PE_CashFlowIndirectMethod.
-- 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.
-- Parameters: P_ReportingCurrency : glo_reporting_currency
CREATE VIEW P_PE_CashFlowIndirectMethod AS
SELECT
Ledger,
SourceLedger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
GLAccountHierarchy,
SemanticTag,
ValidityStartDate,
ValidityEndDate,
LedgerFiscalYear,
_FiscalCalendarDate.FiscalQuarter AS FiscalQuarter,
ChartOfAccounts,
GLAccount,
AlternativeGLAccount,
CountryChartOfAccounts,
FiscalPeriod,
FiscalYearVariant,
AccountingDocumentCategory,
ReportingCurrency,
AmountInReportingCurrency
FROM P_PE_GLAccountLineItemSemTag
;
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