2016 May 30 1:44 PM
Hello,
is it possible to test two different authority objects combined with a "and"?
authority-check object 'obj1'
id 'A' field '01'.
if sy-subrc <> 0.
'Message'
endif.
authority-check object 'obj2'
id 'A' field '01'.
if sy-subrc <> 0.
'Message'
endif.
Can i test something like the following?
obj1 and obj2 == true
Regards
Pascal
Hello,
is it possible to test two different authority objects combined with a "and"?
authority-check object 'obj1'
id 'A' field '01'.
if sy-subrc <> 0.
'Message'
endif.
authority-check object 'obj2'
id 'A' field '01'.
if sy-subrc <> 0.
'Message'
endif.
Can i test something like the following?
obj1 and obj2 == true
Regards
Pascal
2016 May 30 2:01 PM
Hi Pascal ,
How about doing this way :
authority-check object 'obj1'
id 'A' field '01'.
if sy-subrc <> 0.
'Message'
elseif sy-subrc eq 0.
authority-check object 'obj2'
id 'A' field '01'.
if sy-subrc <> 0.
'Message'
endif.
endif.
Regards
Yogendra
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |