P_FsvItemsWithCategory

DDL: P_FSVITEMSWITHCATEGORY SQL: PFSVITEMC Type: view BASIC

P_FsvItemsWithCategory is a Basic CDS View in SAP S/4HANA. It reads from 5 data sources (P_T011, P_T011, fagl_011pc, P_T011, P_T011) and exposes 8 fields with key fields versn, ergsl.

Data Sources (5)

SourceAliasJoin Type
P_T011 assets left_outer
P_T011 equity left_outer
fagl_011pc fagl_011pc from
P_T011 notes left_outer
P_T011 unassign left_outer

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PFSVITEMC view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
VDM.viewType #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY versn fagl_011pc versn Version
KEY ergsl fagl_011pc ergsl FS Item
id fagl_011pc id WorklistID
aktva P_T011 aktva Assets
pssva P_T011 pssva Liabilities
anhng P_T011 anhng Fin.Stmt Notes
zuord P_T011 zuord Not Assignable
stufe

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_FsvItemsWithCategory.
-- 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: PFSVITEMC

CREATE VIEW P_FsvItemsWithCategory AS
SELECT
  fagl_011pc.versn AS versn,
  fagl_011pc.ergsl AS ergsl,
  fagl_011pc.id AS id,
  assets.aktva AS aktva,
  equity.pssva AS pssva,
  notes.anhng AS anhng,
  unassign.zuord AS zuord,
  cast (fagl_011pc.stufe as abap.int4) AS stufe
FROM fagl_011pc
LEFT OUTER JOIN P_T011 AS assets ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_T011 AS equity ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_T011 AS notes ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_T011 AS unassign ON /* join condition not captured in parsed metadata */
;