P_CnsldtnAcctgIntegSetting

DDL: P_CNSLDTNACCTGINTEGSETTING SQL: PCSACCINTSTG Type: view COMPOSITE

P_CnsldtnAcctgIntegSetting is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnGlobalSetting, I_CnsldtnGlobalSetting) and exposes 6 fields with key field SequenceNumber.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnGlobalSetting I_CnsldtnGlobalSetting from
I_CnsldtnGlobalSetting I_CnsldtnGlobalSetting union

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCSACCINTSTG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SequenceNumber SequenceNumber Sort sequence
FromFiscalYearPeriod
ToFiscalYearPeriod
FromFiscalYearPeriod
ToFiscalYearPeriod
CnsldtnFrmYrForAcctgInteg CnsldtnFrmYrForAcctgInteg

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_CnsldtnAcctgIntegSetting.
-- 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: PCSACCINTSTG

CREATE VIEW P_CnsldtnAcctgIntegSetting AS
SELECT
  SequenceNumber,
  cast('0000000' as fincs_fsi_fiscalyearper_from) AS FromFiscalYearPeriod,
  cast(cast(cast(CnsldtnFrmYrForAcctgInteg as abap.int2) * 1000 - 1 as abap.char(11) ) as fincs_fsi_fiscalyearper_to) AS ToFiscalYearPeriod,
  CnsldtnFrmYrForAcctgInteg
FROM I_CnsldtnGlobalSetting
-- UNION with additional select branch(es): I_CnsldtnGlobalSetting
;