cancel
Showing results for 
Search instead for 
Did you mean: 

Roles with dates authorization object

former_member384574
Active Participant
0 Kudos
573

Hi experts,

I have created an authorization role which has this configuration

Field1 = ABCD

Field2 = IPAN

Field3 = 01.01.1981 - 31.12.1983

When a user has this role, this information needs to be checked, including the birth date. So in this way, is there any posibility to do a between check in an authority check?

authority-check object 'ZHR_BIRTH'
id 'ZFIELD1' field ls_user-field1
id 'ZFIELD2' field ls_user-fild2
id 'ZBIRTH_DATE' field ls_user-birth --> Is there here any between or any comprobation for a range?


Thanks in advance!


Regards,


Rebeca


View Entire Topic
former_member384574
Active Participant
0 Kudos

Finally what I have done is to check the information of the role and compare it. The function I've used is EFG_USER_AUTH_FOR_OBJ_GET