I_LegalTransactionDateTP

DDL: I_LEGALTRANSACTIONDATETP SQL: ILEGALTRDATETP Type: view TRANSACTIONAL Package: APPL_LCM_LT

TP View for Legal Transaction Dates

I_LegalTransactionDateTP is a Transactional CDS View that provides data about "TP View for Legal Transaction Dates" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionDate) and exposes 12 fields with key field LegalTransactionDateUUID. It has 2 associations to related views. Part of development package APPL_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionDate I_LegalTransactionDate from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LegalTransactionTP _LegalTransactionTP $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID
[1..1] I_LCMDateType _LCMDateType $projection.LglCntntMDateType = _LCMDateType.LglCntntMDateType

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ILEGALTRDATETP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.representativeKey LegalTransactionDateUUID view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.writeActivePersistence LCM_LT_DATE view
ObjectModel.writeDraftPersistence LCM_LT_DATE_D view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label TP View for Legal Transaction Dates view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionDateUUID LegalTransactionDateUUID
LegalTransactionUUID LegalTransactionUUID
LglCntntMFromDate LglCntntMFromDate
LglCntntMToDate LglCntntMToDate
LglCntntMDateType LglCntntMDateType
LglCntntMDateIsPeriod _LCMDateType LglCntntMDateIsPeriod
LegalTransactionMandatoryFlag LegalTransactionMandatoryFlag
LglCntntMIsIntegRelevant LglCntntMIsIntegRelevant
LglCntntMIsAddedByIntegVarbl LglCntntMIsAddedByIntegVarbl
LegalTransDateChangeReason LegalTransDateChangeReason
_LegalTransaction _LegalTransaction
_LegalTransactionTP _LegalTransactionTP
@AbapCatalog.sqlViewName: 'ILEGALTRDATETP'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck:#CHECK
@VDM.viewType : #TRANSACTIONAL

@ObjectModel: {
  representativeKey: 'LegalTransactionDateUUID',
  semanticKey:  [ 'LegalTransactionDateUUID' ] ,

  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: 'EXTERNAL_CALCULATION',

  writeActivePersistence: 'LCM_LT_DATE',
  writeDraftPersistence: 'LCM_LT_DATE_D',

  usageType.serviceQuality: #C,
  usageType.sizeCategory: #L,
  usageType.dataClass: #TRANSACTIONAL
}


@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@EndUserText.label: 'TP View for Legal Transaction Dates'
define view I_LegalTransactionDateTP
  as select from I_LegalTransactionDate
  //Relationships

  association [1..1] to I_LegalTransactionTP as _LegalTransactionTP on $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID
  association [1..1] to I_LCMDateType        as _LCMDateType        on $projection.LglCntntMDateType = _LCMDateType.LglCntntMDateType

{

  key LegalTransactionDateUUID,

      @ObjectModel.foreignKey.association: '_LegalTransactionTP'
      LegalTransactionUUID,

      //@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'

      LglCntntMFromDate,

      @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
      LglCntntMToDate,

      @ObjectModel: {
              readOnly: 'EXTERNAL_CALCULATION',
              mandatory: true
          }
      LglCntntMDateType,

      @UI.hidden: true
      @ObjectModel: {
              readOnly: true}
      _LCMDateType.LglCntntMDateIsPeriod,

      LegalTransactionMandatoryFlag,

      LglCntntMIsIntegRelevant,

      LglCntntMIsAddedByIntegVarbl,
      
      LegalTransDateChangeReason,

      _LegalTransaction,

      @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _LegalTransactionTP //as _LegalTransaction

}