I_CAMAINTRANSACTION

CDS View

Document Main Transaction

I_CAMAINTRANSACTION is a CDS View in S/4HANA. Document Main Transaction. It contains 1 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
C_CAMainTransactionValueHelp view from CONSUMPTION Hauptvorgang Wertehilfe
P_CANotDisputedDocumentSum view inner COMPOSITE Not Disputed Document

Fields (1)

KeyField CDS FieldsUsed in Views
KEY CAMainTransaction CAMainTransaction 1
@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":""
}
}*/