Restricting access to Diffuser Mode on the MiniCube transaction /N/BTR/MINICUBE can be done either by issue of error messages (Type E) or by hiding the Expert Mode button from the tool bar. Note: Both options can be done only at user level and not at program level.
To restrict access to Expert Mode using error messages (Type E) use BAdI implementing class method AUTH_CHECK_EXP_MODE. An example can be seen below:
Attempting to press the expert mode button results in an error message:
To restrict access to Expert Mode at user level by hiding the button on the Tool bar use BAdI implementing class method AUTH_CHECK_PF_STATUS. An example can be seen below:
Table XYT_EXCLUDING holds the function code values to be excluded from the Run History screen’s pf-status. Make sure to exclude all function codes under Expert Mode as well as Expert Mode itself (see above). The button will then disappear as seen below: