R_BPUsrRolePreviousBase

DDL: R_BPUSRROLEPREVIOUSBASE Type: view_entity COMPOSITE

Business User Role Previous Base

R_BPUsrRolePreviousBase is a Composite CDS View that provides data about "Business User Role Previous Base" in SAP S/4HANA. It reads from 1 data source (R_BPUsrRole) and exposes 2 fields with key field BusinessPartnerUUID.

Data Sources (1)

SourceAliasJoin Type
R_BPUsrRole R_BPUsrRole from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Business User Role Previous Base view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerUUID BusinessPartnerUUID
BPUsrRoleValidToDate
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED /*#CHECK*/
@EndUserText.label: 'Business User Role Previous Base'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #XL,
  dataClass: #MASTER
}
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #SAP_INTERNAL_API
}
define view entity R_BPUsrRolePreviousBase
  as select from R_BPUsrRole
{
  key BusinessPartnerUUID,
      @Semantics.dateTime: true
      max( BPUsrRoleValidToDate ) as BPUsrRoleValidToDate

}
where
  BPUsrRoleValidToDate < $session.system_date

group by
  BusinessPartnerUUID
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_BPUSRROLE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/