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

Command Field (OK code)

Former Member
0 Likes
665

Hi,

I want to restrict the commands that can be entered in the command fild. Is there any user exit reached after entering a command in the command field?

thanks,

- ferudun

3 REPLIES 3
Read only

Former Member
0 Likes
535

Yeah you can compare the value of the command field and hard code all the value that you want to accept and set the message in

if sy-subrc <> 0, (itwill be for values other than the values you have hard coded)

it will work fine.

Read only

0 Likes
535

thanks for your reply, but I don't know where to insert the tcode check? i want to restrict a user to enter and execute se38 for example.

Read only

0 Likes
535

ur requirement seems to be access authorization related if i got u correctly.

u want say user A can access Se38 and User B can't.

if this is the so then u need to contcat ur basis team and they wil assign the authorizations to the USer IDs as per needed.

u can check the auhorizations given to any user in Tcode SU01

amit