P_FSVSEMTAG

DDL: P_FSVSEMTAG SQL: P_FSV_SEMTAG Type: view BASIC

P_FSVSEMTAG is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (FINS_FSV_FUNCTBL_SEMTAG, fagl_011zc) and exposes 4 fields with key fields FinancialStatementVariant, FinancialStatementItem.

Data Sources (2)

SourceAliasJoin Type
FINS_FSV_FUNCTBL_SEMTAG s from
fagl_011zc z left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName P_FSV_SEMTAG view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.private true view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementVariant FINS_FSV_FUNCTBL_SEMTAG VERSN Version
KEY FinancialStatementItem FINS_FSV_FUNCTBL_SEMTAG ERGSL FS Item
char50endasHierarchyNode
SemanticTags SemanticTags

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_FSVSEMTAG.
-- 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: P_FSV_SEMTAG

CREATE VIEW P_FSVSEMTAG AS
SELECT
  s.VERSN AS FinancialStatementVariant,
  s.ERGSL AS FinancialStatementItem,
  case when s.ERGSL <> '' then cast ( '' as abap.char(50) ) when ( s.VONKT <> '' ) then cast ( concat(concat(concat(z.ktopl,s.VONKT),'-'),s.BISKT) as abap.char(50) ) else cast( concat(concat(VONFB,'-'),BISFB) as abap.char(50) ) end as HierarchyNode AS char50endasHierarchyNode,
  SemanticTags
FROM FINS_FSV_FUNCTBL_SEMTAG AS s
LEFT OUTER JOIN fagl_011zc AS z ON /* join condition not captured in parsed metadata */
;