FAC_CDS_FSV_VERSION
Universal Financial Statement Version
FAC_CDS_FSV_VERSION is a CDS View that provides data about "Universal Financial Statement Version" in SAP S/4HANA. It reads from 5 data sources (uhdt_hier, t011, t011t, uhm_hier_id_ov, uhdt_vrsn) and exposes 9 fields.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| uhdt_hier | hier | left_outer |
| t011 | t011 | from |
| t011t | t011t | left_outer |
| uhm_hier_id_ov | uhm_hier_id_ov | left_outer |
| uhdt_vrsn | version | union |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FACV_FSV_VERSION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.dataMaintenance | #DISPLAY_ONLY | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Universal Financial Statement Version | view |
@AbapCatalog.sqlViewName: 'FACV_FSV_VERSION'
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.dataMaintenance: #DISPLAY_ONLY
//@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #S
}
@EndUserText.label: 'Universal Financial Statement Version'
define view FAC_CDS_FSV_VERSION
as select from t011
left outer join t011t on t011.versn = t011t.versn
and t011t.spras = $session.system_language
left outer join uhm_hier_id_ov on t011.versn = uhm_hier_id_ov.hier_old_id
{
t011.versn as VersionId,
t011t.vstxt as VersionDescription,
cast('' as vdtfm ) as ValidityStartDate,
cast('' as vdtto ) as ValidityEndDate,
cast(t011.versn as fi_fsv_versn) as Version
}
where
t011.versn not like '$%'
and(
uhm_hier_id_ov.hier_type is null
or(
uhm_hier_id_ov.hier_type = 'FSVN'
and uhm_hier_id_ov.hier_mig_status <> 'M'
)
)
union select from uhdt_vrsn as version
left outer join uhdt_hier as hier on version.hier_hid = hier.hier_hid
and version.hier_catg = hier.hier_catg
and hier.lang = $session.system_language
{
cast(version.hier_hid as versn_011 ) as VersionId,
cast(hier.hier_desc as vstxt_011t ) as VersionDescription,
version.ver_vldfm as ValidityStartDate,
version.ver_vldto as ValidityEndDate,
cast( concat(concat(version.hier_hid, concat('(',version.ver_vldfm) ), concat(concat('~',version.ver_vldto), ')') ) as fi_fsv_versn ) as Version
}
where
version.hier_catg = 'FSVN'
and version.ver_status = 'A'
and version.locked_by is initial
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA