Hello,
Yes, it is possible using the Framework object (CL_FRAMEWORK_MM).
First of all, you have to get the framework instance:
cl_framework_mm=>get_instance( importing ex_instance = data(framework) ).
Then, get the view identified by its dynpro number (which I do not remember) and the program:
framework->get_view( exporting im_prog = 'SAPLMEGUI' im_dynnr = '<dynnr>' importing ex_view = data(custom_view) ).
You could then hide/unhide the custom tab (view) by calling methods deactivate( )/activate( ).
Best regards,
Nicolas
Hi Nicolas,
Where should this be called and I do not find any methods to Deactivate/activate. Can you please let me know.
Regards,
Vasuki
Add comment