Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Switch State Modification

Former Member
0 Likes
280

Is there a way to programmatically change the state of a switch at runtime? For example, If SAP needs to log on to our productive system for debugging purposes, is there a way to turn off all of our enhancements just for that user without affecting other users?

1 REPLY 1
Read only

Former Member
0 Likes
257

Hi,

The only possibilites is while writing the code in the enhancements,

we have to put condition that is

if sy-uname ne 'xyz'.

write the code.

endif.

here xyz is the username which u want to restrict.

Reward points if useful.

Regards

(YUGANDHAR.P)