I_CmplRqVersStructure

DDL: I_CMPLRQVERSSTRUCTURE SQL: ICQRSTRUCTURE Type: view BASIC Package: EHFND_BO_COMPLIANCE_REQ

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 25 fields with key field CmplRqVersParagraphUUID. It has 4 associations to related views. Part of development package EHFND_BO_COMPLIANCE_REQ.

Data Sources (1)

SourceAliasJoin Type
ehfndd_req_struc ehfndd_req_struc from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CmplRqVers _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
[0..*] I_CmplRqDomainTxt _Text $projection.CmplncRqmtVersPargphDomain = _Text.CmplRqDomain
[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 (25)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersParagraphUUID db_key
CmplRqVersID bco_id
CmplncRqmtVersParagraphCntrlID bco_key
CmplRqVersUUID parent_key
CreationUTCDateTime
CreatedByUser user_id_cr
LastChangeUTCDateTime
LastChangedByUser user_id_ch
CmplRqVersParagraphIndexValue paragraph_index
CmplRqVersParagraphID paragraph_id
CmplRqVersParagraphName paragraph
CmplRqVersParagraphType paragraph_type
CmplncRqmtVersPargphDomain
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
_Text _Text
@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'
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
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..*] to I_CmplRqDomainTxt as _Text on $projection.CmplncRqmtVersPargphDomain = _Text.CmplRqDomain
  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,
      bco_id                                         									 as CmplRqVersID,
      bco_key                                        									 as CmplncRqmtVersParagraphCntrlID,

      @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,
      paragraph_type                                 									 as CmplRqVersParagraphType,
      cast( paragraph_domain as ehfnd_req_domain_nce preserving type ) as CmplncRqmtVersPargphDomain,
      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,
      _Text
      
}