I_CHGRECDCMNTCHILDRCRSTP

CDS View

Change Record Comment Recursion - TP

I_CHGRECDCMNTCHILDRCRSTP is a CDS View in S/4HANA. Change Record Comment Recursion - TP. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_ChgRecdCmntChildRcrs view from CONSUMPTION Change Record Comment Recursion
@AbapCatalog.sqlViewName: 'ICHGRECDCOMRECTP'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@VDM.viewType: #TRANSACTIONAL
@ObjectModel: { semanticKey: ['CommentaryRcrsUUID'],
                writeDraftPersistence: 'PLMCRCOMMREC_D',
                createEnabled,
                deleteEnabled,
                updateEnabled
              }
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Change Record Comment Recursion - TP'

@ObjectModel.usageType: { serviceQuality: #C,
                          dataClass: #MIXED,
                          sizeCategory: #XXL}
define view I_ChgRecdCmntChildRcrsTP
  as select from I_ChgRecdCmntRcrsBsc as com
  association [1..1] to I_ChangeRecordDraftTP as _ChangeRecord on $projection.ChangeRecordUUID = _ChangeRecord.ChangeRecordUUID
  association [1..1] to I_ChgRecdCmntTopTP    as _ParentCom    on $projection.ChgRecordParentCommentUUID = _ParentCom.ChgRecordCommentaryUUID
  association [0..1] to I_UserContactCard        as _CommentLastChangedByUser on $projection.ChgRecordLastChgByUserName = _CommentLastChangedByUser.ContactCardID
  association [0..1] to I_UserContactCard        as _CommentCreatedByUser     on $projection.ChgRecordCreatedByUserName = _CommentCreatedByUser.ContactCardID  
{
  key     ChangeRecordCommentUUID as CommentaryRcrsUUID,
          ChgRecordParentCommentUUID,
          ChangeRecordUUID,
          ChgRecordIsHierarchyTop,
          @Semantics.user.createdBy: true
          ChgRecordCreatedByUserName,
          _CommentCreatedByUser.FullName  as CreatedByUserFullName, 
          ChgRecordCreatedDateTime,
          @Semantics.user.lastChangedBy: true
          ChgRecordLastChgByUserName,
          _CommentLastChangedByUser.FullName as LastChangedByUserFullName, 
          ChgRecordLastChgDateTime,
          ChgRecordCommentText,
          ChgRecordDeletedFlagValue,
          ChgRecordChangeableFlagValue,
          ChangeRecordLifecycleStatus,
          @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT ]
          _ParentCom,
          @ObjectModel.association.type:  [ #TO_COMPOSITION_ROOT ]
          _ChangeRecord,
          _CommentLastChangedByUser,
          _CommentCreatedByUser
}