cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if Side Panel is open programmatically

kmoore007
Active Contributor
0 Kudos

Hello,

Is there a way to check if the Side Panel is open using code?  I want to execute a method only if the Side Panel is open.

Thanks,

Kenneth

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Kenneth,

I haven't tried this myself, but CL_WD_SIDE_PANEL_API has a boolean, public static attribute M_SIDE_PANEL_ACTIVE that you could check...

if cl_wd_side_panel_api=>m_side_panel_active = abap_true.
      ...
endif.

Cheers,

Amy

kmoore007
Active Contributor
0 Kudos

That worked, Amy!  Thanks!

Answers (0)