P_FSVSEMTAG

DDL: P_FSVSEMTAG Type: view_entity BASIC Package: ODATA_MAINT_CHART_OF_ACCOUNTS

Semantic Tag.

P_FSVSEMTAG is a Basic CDS View that provides data about "Semantic Tag." 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. Part of development package ODATA_MAINT_CHART_OF_ACCOUNTS.

Data Sources (2)

SourceAliasJoin Type
FINS_FSV_FUNCTBL_SEMTAG s from
fagl_011zc z left_outer

Annotations (6)

NameValueLevelField
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 FINS_FSV_FUNCTBL_SEMTAG 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.

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(s.VONFB,'-'),s.BISFB) as abap.char(50) ) end as HierarchyNode AS char50endasHierarchyNode,
  s.SemanticTags AS SemanticTags
FROM FINS_FSV_FUNCTBL_SEMTAG AS s
LEFT OUTER JOIN fagl_011zc AS z ON /* join condition not captured in parsed metadata */
;