R_FinTransActiveActivity
Fin Trans Active Activity
R_FinTransActiveActivity is a Basic CDS View that provides data about "Fin Trans Active Activity" in SAP S/4HANA. It reads from 3 data sources (at02, vtbfhazu, vtbfha) and exposes 4 fields with key fields CompanyCode, FinancialTransaction.
Data Sources (3)
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RACTIVEACTIVITY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Fin Trans Active Activity | view |
@AbapCatalog.sqlViewName: 'RACTIVEACTIVITY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Fin Trans Active Activity'
define view R_FinTransActiveActivity
as select from vtbfha as FinTrans
inner join vtbfhazu as CurrentActivity on FinTrans.bukrs = CurrentActivity.bukrs
and FinTrans.rfha = CurrentActivity.rfha
and FinTrans.rfhazul = CurrentActivity.rfhazu
inner join at02 as ActivityCategory on FinTrans.sanlf = ActivityCategory.sanlfor
and CurrentActivity.sfhaart = ActivityCategory.sfgtyp
and CurrentActivity.sfgzustt = ActivityCategory.sfgzustt
left outer to one join vtbfhazu as PreviousActivity on CurrentActivity.bukrs = PreviousActivity.bukrs
and CurrentActivity.rfha = PreviousActivity.rfha
and CurrentActivity.rofhazu = PreviousActivity.rfhazu
{
key FinTrans.bukrs as CompanyCode,
key FinTrans.rfha as FinancialTransaction,
cast( ActivityCategory.svgtyp as ftr_gen_activity_category ) as FinTransGenActivityCategory,
cast( case
when FinTrans.sanlf = '550' and ActivityCategory.svgtyp = '013'
then CurrentActivity.rofhazu
when FinTrans.sanlf = '550' and ActivityCategory.svgtyp = '014'
then PreviousActivity.rofhazu
else FinTrans.rfhazul
end as ftr_gen_fin_instr_last_act_act preserving type ) as FinInstrLastActiveActivity,
@Semantics.currencyCode: true
FinTrans.wgschft as TransactionCurrency
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"AT02",
"VTBFHA",
"VTBFHAZU"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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