BAdI definition /BTR/MDR_BADI_AUTH_CHECK_EXP offers the ability to restrict access to individual functions. For instance, actions like deleting an instance run, pausing or increasing number of batch jobs can be restricted at program level.
To restrict by individual buttons the technical codes are as below:
Button | Constant |
Application Log | /BTR/CL_MDR_CONSTANTS-CO_FUNC_APPLOG |
Results | /BTR/CL_MDR_CONSTANTS-CO_FUNC_RSET |
Intervals | /BTR/CL_MDR_CONSTANTS-CO_FUNC_IVLS |
Variants | /BTR/CL_MDR_CONSTANTS-CO_FUNC_VRNTS |
Resume | /BTR/CL_MDR_CONSTANTS-CO_FUNC_RESUME |
Stop | /BTR/CL_MDR_CONSTANTS-CO_FUNC_STOP |
Application Servers | /BTR/CL_MDR_CONSTANTS-CO_FUNC_APPSVRS |
BAdI implementing class method AUTH_CHECK_FCODE. An example of the code can be seen below:
Even with Diffuser mode selected the impact of the code is shown below:
Post your comment on this topic.