P_PreviousCostCenter

DDL: P_PREVIOUSCOSTCENTER Type: view_entity COMPOSITE Package: FINS_FIS_FICO

None

P_PreviousCostCenter is a Composite CDS View that provides data about "None" in SAP S/4HANA. It reads from 1 data source (I_CostCenter) and exposes 3 fields with key fields ControllingArea, CostCenter. Part of development package FINS_FIS_FICO.

Data Sources (1)

SourceAliasJoin Type
I_CostCenter I_CostCenter from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Annotations (8)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.representativeKey CostCenter view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea I_CostCenter ControllingArea Controlling Area
KEY CostCenter I_CostCenter CostCenter Cost Center
ValidityEndDate

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_PreviousCostCenter.
-- 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_KeyDate : sydate

CREATE VIEW P_PreviousCostCenter AS
SELECT
  I_CostCenter.ControllingArea AS ControllingArea,
  I_CostCenter.CostCenter AS CostCenter,
  max( I_CostCenter.ValidityEndDate ) AS ValidityEndDate
FROM I_CostCenter
;