I_CmplRqVersStructure

DDL: I_CMPLRQVERSSTRUCTURE SQL: ICQRSTRUCTURE Type: view BASIC

Compliance Requirement Version Structure

I_CmplRqVersStructure is a Basic CDS View that provides data about "Compliance Requirement Version Structure" in SAP S/4HANA. It reads from 1 data source (ehfndd_req_struc) and exposes 20 fields with key field CmplRqVersParagraphUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndd_req_struc ehfndd_req_struc from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CmplRqVers _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICQRSTRUCTURE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey CmplRqVersParagraphUUID view
EndUserText.label Compliance Requirement Version Structure view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersParagraphUUID db_key
CmplRqVersUUID parent_key
CreationUTCDateTime
CreatedByUser user_id_cr
LastChangeUTCDateTime
LastChangedByUser user_id_ch
CmplRqVersParagraphIndexValue paragraph_index
CmplRqVersParagraphID paragraph_id
CmplRqVersParagraphName paragraph
CmplRqVersParagraphParentUUID parent_ref_key
CmplRqVersAttchFldrUUID atf_key_ref
CmplRqContentURL content_url
CmplRqContentName content_link_name
CmplRqLegalTextURL legal_text_url
CmplRqLegalTextName legal_text_link_name
CmplRqAmendmentDate amendment_date
CmplRqUUID object_key
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_CmplRqVers _CmplRqVers
@AbapCatalog.sqlViewName: 'ICQRSTRUCTURE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@ClientHandling.algorithm: #SESSION_VARIABLE

//Compliance Requirement structure is customizing like data, Auth check not required

@AccessControl.authorizationCheck: #NOT_REQUIRED


@VDM.viewType: #BASIC
@ObjectModel:
{
  usageType:
  {
    dataClass: #MASTER,
    sizeCategory: #L,
    serviceQuality: #B
  },
  representativeKey: 'CmplRqVersParagraphUUID'
}

@EndUserText.label: 'Compliance Requirement Version Structure'

define view I_CmplRqVersStructure
  as select from ehfndd_req_struc
  association [1..1] to I_CmplRqVers          as _CmplRqVers        on $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
  association [0..1] to I_User                as _CreatedByUser     on $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User                as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID

{

  key db_key                                         as CmplRqVersParagraphUUID,
      @ObjectModel.foreignKey.association: '_CmplRqVers'
      parent_key                                     as CmplRqVersUUID,

      // Admin data

      @Semantics.systemDateTime.createdAt: true
      cast(datetime_cr as timestamp preserving type) as CreationUTCDateTime,
      @Semantics.user.createdBy: true
      user_id_cr                                     as CreatedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      cast(datetime_ch as timestamp preserving type) as LastChangeUTCDateTime,
      @Semantics.user.lastChangedBy: true
      user_id_ch                                     as LastChangedByUser,

      paragraph_index                                as CmplRqVersParagraphIndexValue,
      paragraph_id                                   as CmplRqVersParagraphID,
      paragraph                                      as CmplRqVersParagraphName,

      parent_ref_key                                 as CmplRqVersParagraphParentUUID,
      atf_key_ref                                    as CmplRqVersAttchFldrUUID,
      content_url                                    as CmplRqContentURL,
      content_link_name                              as CmplRqContentName,
      legal_text_url                                 as CmplRqLegalTextURL,
      legal_text_link_name                           as CmplRqLegalTextName,
      amendment_date                                 as CmplRqAmendmentDate,
      object_key                                     as CmplRqUUID,
      _CreatedByUser,
      _LastChangedByUser,
  
      _CmplRqVers
}