I_LegalTransactionEntityMain

DDL: I_LEGALTRANSACTIONENTITYMAIN SQL: ILEGALTRENTITYM Type: view COMPOSITE Package: VDM_LCM_LT

Composite View for LCM Legal Transaction Entity Main

I_LegalTransactionEntityMain is a Composite CDS View that provides data about "Composite View for LCM Legal Transaction Entity Main" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionEntity) and exposes 14 fields with key field LegalTransactionEntityUUID. It has 3 associations to related views. Part of development package VDM_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionEntity LegalTransactionEntity from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_LegalTransaction _LegalTransaction $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
[0..1] I_LCMEntityTypeText _EntityTypeText $projection.LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType and _EntityTypeText.Language = $session.system_language
[0..*] I_LCMEntityTypeText _LCMEntityTypeText $projection.LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILEGALTRENTITYM view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey LEGALTRANSACTIONENTITYUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Composite View for LCM Legal Transaction Entity Main view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionEntityUUID I_LegalTransactionEntity LegalTransactionEntityUUID
LglCntntMRank I_LegalTransactionEntity LglCntntMRank
LglCntntMEntity I_LegalTransactionEntity LglCntntMEntity
LglCntntMEntityType I_LegalTransactionEntity LglCntntMEntityType
LglCntntMTechEntityType I_LegalTransactionEntity LglCntntMTechEntityType
LegalTransactionUUID I_LegalTransactionEntity LegalTransactionUUID
LegalTransactionMandatoryFlag I_LegalTransactionEntity LegalTransactionMandatoryFlag
LglCntntMIsMainEntity I_LegalTransactionEntity LglCntntMIsMainEntity
_LegalTransaction _LegalTransaction
_EntityTypeText _EntityTypeText
_LCMEntityTypeText _LCMEntityTypeText
_Supplier I_LegalTransactionEntity _Supplier
_Customer I_LegalTransactionEntity _Customer
_BusinessPartner I_LegalTransactionEntity _BusinessPartner
@AbapCatalog.sqlViewName: 'ILEGALTRENTITYM'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck:#CHECK
@VDM.viewType : #COMPOSITE // BASIC

@Metadata.ignorePropagatedAnnotations: true

@AccessControl.personalData.blocking: #REQUIRED

@ObjectModel: {
  representativeKey: 'LEGALTRANSACTIONENTITYUUID',
  usageType.serviceQuality: #A,
  usageType.sizeCategory: #L,
  usageType.dataClass: #TRANSACTIONAL
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API

@EndUserText.label: 'Composite View for LCM Legal Transaction Entity Main'

define view I_LegalTransactionEntityMain
  as select from I_LegalTransactionEntity as LegalTransactionEntity
  association [1..1] to I_LegalTransaction  as _LegalTransaction  on  $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
  //association [0..1] to I_Legaltransactiontext as _LegalTransactionText on  $projection.LegalTransactionUUID        = _LegalTransactionText.LegalTransactionUUID

  //                                                                    and _LegalTransactionText.LglCntntMLanguage = $session.system_language


  association [0..1] to I_LCMEntityTypeText as _EntityTypeText    on  $projection.LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType
                                                                  and _EntityTypeText.Language        = $session.system_language

  association [0..*] to I_LCMEntityTypeText as _LCMEntityTypeText on  $projection.LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType


{
  key LegalTransactionEntity.LegalTransactionEntityUUID    as LegalTransactionEntityUUID,
      LegalTransactionEntity.LglCntntMRank                 as LglCntntMRank,
      LegalTransactionEntity.LglCntntMEntity               as LglCntntMEntity,
      LegalTransactionEntity.LglCntntMEntityType           as LglCntntMEntityType,
      LegalTransactionEntity.LglCntntMTechEntityType       as LglCntntMTechEntityType,
      LegalTransactionEntity.LegalTransactionUUID          as LegalTransactionUUID,
      //lcm_lt_entity.lglcntntmismandatory          as LglCntntMIsMandatory,

      LegalTransactionEntity.LegalTransactionMandatoryFlag as LegalTransactionMandatoryFlag,
      LegalTransactionEntity.LglCntntMIsMainEntity         as LglCntntMIsMainEntity,
      //_LegalTransactionText,

      _LegalTransaction,
      _EntityTypeText,
      _LCMEntityTypeText,

      @Consumption.filter.hidden: true
      LegalTransactionEntity._Supplier,
      @Consumption.filter.hidden: true
      LegalTransactionEntity._Customer,
      @Consumption.filter.hidden: true
      LegalTransactionEntity._BusinessPartner
}
where
  LglCntntMIsMainEntity = 'X'