I_CAMainTransaction
Document Main Transaction
I_CAMainTransaction is a Basic CDS View (Dimension) that provides data about "Document Main Transaction" in SAP S/4HANA. It reads from 2 data sources (I_CAApplicationArea, tfkhvo) and exposes 4 fields with key fields CAApplicationArea, CAMainTransaction. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CAApplicationArea | ApplArea | inner |
| tfkhvo | tfkhvo | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CAApplicationArea | _ApplArea | $projection.CAApplicationArea = _ApplArea.CAApplicationArea |
| [0..*] | I_CAMainTransactionText | _Text | $projection.CAApplicationArea = _Text.CAApplicationArea and $projection.CAMainTransaction = _Text.CAMainTransaction |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| EndUserText.label | Document Main Transaction | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | CAMainTransaction | view | |
| ObjectModel.sapObjectNodeType.name | ContrAcctgMainTransaction | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| VDM.viewType | #BASIC | view |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics: { dataCategory: #DIMENSION,
dataExtraction.enabled: true }
@EndUserText.label: 'Document Main Transaction'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { modelingPattern: #ANALYTICAL_DIMENSION,
representativeKey: 'CAMainTransaction',
sapObjectNodeType.name: 'ContrAcctgMainTransaction',
supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#SQL_DATA_SOURCE ],
usageType: { dataClass: #CUSTOMIZING,
serviceQuality: #A,
sizeCategory: #S } }
@VDM.viewType: #BASIC
define view entity I_CAMainTransaction
as select from tfkhvo
inner join I_CAApplicationArea as ApplArea on tfkhvo.applk = ApplArea.CAApplicationArea
association [1..1] to I_CAApplicationArea as _ApplArea on $projection.CAApplicationArea = _ApplArea.CAApplicationArea
association [0..*] to I_CAMainTransactionText as _Text on $projection.CAApplicationArea = _Text.CAApplicationArea
and $projection.CAMainTransaction = _Text.CAMainTransaction
{
@ObjectModel.foreignKey.association: '_ApplArea'
key tfkhvo.applk as CAApplicationArea,
@ObjectModel.text.association: '_Text'
key tfkhvo.hvorg as CAMainTransaction,
_ApplArea,
_Text
}
where
ApplArea.CAApplicationAreaIsActive = 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CAAPPLICATIONAREA",
"TFKHVO"
],
"ASSOCIATED":
[
"I_CAAPPLICATIONAREA",
"I_CAMAINTRANSACTIONTEXT"
],
"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