C_LegalTransactionEntityMain

DDL: C_LEGALTRANSACTIONENTITYMAIN SQL: CLEGALTRENTITYM Type: view CONSUMPTION Package: ODATA_LCM_LT

Legal Transaction Entity

C_LegalTransactionEntityMain is a Consumption CDS View that provides data about "Legal Transaction Entity" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionEntityMain) and exposes 11 fields with key field LegalTransactionEntityUUID. It has 1 association to related views. Part of development package ODATA_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionEntityMain LglTransactionEntityMain from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LegalTrEntityAggr _LegalTrEntityAggrgn $projection.LegalTransactionEntityUUID = _LegalTrEntityAggrgn.LegalTransactionEntityUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CLEGALTRENTITYM view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Legal Transaction Entity view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.semanticKey LglCntntMIsMainEntity view
ObjectModel.representativeKey LegalTransactionEntityUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionEntityUUID LegalTransactionEntityUUID
LegalTransactionUUID LegalTransactionUUID
LglCntntMIsMainEntity LglCntntMIsMainEntity
LglCntntMEntityType I_LegalTransactionEntityMain LglCntntMEntityType Entity Type
LglCntntMEntityName _LegalTrEntityAggrgn LglCntntMEntityName
LglCntntMTechEntityType I_LegalTransactionEntityMain LglCntntMTechEntityType
LglCntntMEntity LglCntntMEntity Entity ID
_LegalTransaction _LegalTransaction
_Supplier I_LegalTransactionEntityMain _Supplier
_Customer I_LegalTransactionEntityMain _Customer
_BusinessPartner I_LegalTransactionEntityMain _BusinessPartner
@AbapCatalog.sqlViewName: 'CLEGALTRENTITYM'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Legal Transaction Entity'
@VDM.viewType: #CONSUMPTION

@AccessControl.personalData.blocking: #REQUIRED

@ObjectModel: { semanticKey: 'LglCntntMIsMainEntity',
                representativeKey: 'LegalTransactionEntityUUID',
                usageType.dataClass: #MIXED,
                usageType.serviceQuality:  #C,
                usageType.sizeCategory: #L  }

@Search.searchable: true

define view C_LegalTransactionEntityMain
  as select from I_LegalTransactionEntityMain as LglTransactionEntityMain
  // Aggregation

  association [0..1] to I_LegalTrEntityAggr as _LegalTrEntityAggrgn on $projection.LegalTransactionEntityUUID = _LegalTrEntityAggrgn.LegalTransactionEntityUUID
{

      @UI.hidden : true
  key LegalTransactionEntityUUID,

      @UI.hidden: true
      LegalTransactionUUID,

      @UI.hidden : true
      LglCntntMIsMainEntity,

      @EndUserText.label: 'Entity Type'
      LglTransactionEntityMain.LglCntntMEntityType     as LglCntntMEntityType,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.text: true
      //      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }

      _LegalTrEntityAggrgn.LglCntntMEntityName,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      LglTransactionEntityMain.LglCntntMTechEntityType as LglCntntMTechEntityType,

      @ObjectModel.text.element:   'LglCntntMEntityName'
      @EndUserText.label: 'Entity ID'
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      LglCntntMEntity,

      _LegalTransaction,

      @Consumption.filter.hidden: true
      LglTransactionEntityMain._Supplier,
      @Consumption.filter.hidden: true
      LglTransactionEntityMain._Customer,
      @Consumption.filter.hidden: true
      LglTransactionEntityMain._BusinessPartner

}