Switch Framework – CL_ABAP_SWITCH



Class- CL_ABAP_SWITCH has methods to check if any switch is exists or not and also if any switch in ON or OFF.

Here are the switch statuses.

Go to Tx- SFW1 and provide switch name and Display.

The switch – EA-SCM is ON.

 The switch – FICA  is ON.

 The switch – EA-HR is ON.

 Let’S test the method GET_SWITCH_STATE

 Provide the switch name and test.

 Its Active.

 Its Active.

  Its off.


 

Leave a Reply