Currently it is not possible to check most modified SAP standard objects when the ATC check is called via RFC.
The cause is this logic within method INFORM
of ZCL_AOC_SUPER
:
SELECT SINGLE cnam FROM reposrc INTO lv_cnam
WHERE progname = p_sub_obj_name AND r3state = 'A'.
IF sy-subrc = 0
AND ( lv_cnam = 'SAP'
OR lv_cnam = 'SAP*'
OR lv_cnam = 'DDIC' ).
RETURN.
ENDIF.
In an RFC context, any information contained in table REPOSRC
is irrelevant to this check.
Unfortunately, I don't have a good idea on how to solve this yet.