@AbapCatalog.sqlViewName : 'CCRRDRAFTADMDATA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #NOT_REQUIRED
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label : 'Draft admin data for Compliance Assessments'
@VDM.viewType: #CONSUMPTION
@ObjectModel:
{
usageType:
{
dataClass: #TRANSACTIONAL,
sizeCategory: #XL,
serviceQuality: #C
}
}
@UI.presentationVariant.requestAtLeast : [
'DraftUUID',
'LastChangeDateTime',
'LastChangedByUser',
'InProcessByUser',
'LastChangedByUserDescription',
'InProcessByUserDescription'
]
define view C_CmplRqRsltDraftAdminvData
as select from I_CmplRqRslt
{
key CmplRqRsltUUID,
CmplRqVersUUID,
---- Fields for draft indicator ----
@ObjectModel: {
virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_EHFND_CRR_DRAFT_IND_EXIT'
}
-- This is the only way to get a UUID field to be calculated in a virtual data element
HEXTOBIN( '00000000000000000000000000000000' ) as DraftUUID,
@ObjectModel: {
virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_EHFND_CRR_DRAFT_IND_EXIT'
}
cast ( 0 as sdraft_last_changed_at ) as LastChangeDateTime,
@ObjectModel: {
virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_EHFND_CRR_DRAFT_IND_EXIT'
}
cast ( '' as sdraft_last_changed_by ) as LastChangedByUser,
@ObjectModel: {
virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_EHFND_CRR_DRAFT_IND_EXIT'
}
cast ( '' as sdraft_in_process_by ) as InProcessByUser,
@ObjectModel: {
virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_EHFND_CRR_DRAFT_IND_EXIT'
}
cast ( '' as sdraft_last_changed_by_desc ) as LastChangedByUserDescription,
@ObjectModel: {
virtualElement: true ,
virtualElementCalculatedBy: 'ABAP:CL_EHFND_CRR_DRAFT_IND_EXIT'
}
cast ( '' as sdraft_in_process_by_desc ) as InProcessByUserDescription,
---- needed for authority check ----
ComplianceRequirement
}
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_CMPLRQRSLT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_CmplRqRsltDraftAdminvData view