Hi forum,
I'm programming with dynpros, and I have to include an Authority Check in order to control access to my application. Well, the auth check setup includes a function codes blocking, i. e., gray-coloured texts and deactivated function for the menu bar elements. My question is, how can I get the function codes in a dynpro? I tried with method if_wb_program~wb_manager->get_status, but it generates an error. May be any execution environment.
Does exist any FM, Method, or table reading in order to get the function codes?
My target is set PF-STATUS, and fill the table g_ti_excl_fcodes:
SET PF-STATUS p_status EXCLUDING g_ti_excl_fcodes.
Thanks in advance,
JORGE ROJAS