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

From tcode CL30N can call any tcode

rodrigo_paisante3
Active Contributor
0 Likes
1,003

Hi all,

I have a big problem: from CL30N user can call any other tcode.

In tcode CL30N, enter class and type class. Next step is click on FIND IN INITIAL CLASS button.

Then in Environment -> define function. Is the bad screen...

The user can set new values, and putting T and the wanted tcode, he can break authority check.

Just select a line and the RUN button will call the tcode.

How to disable this? This process execute FM CLSD_EXECUTE_FUNCTION.

thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
751

dont assign authorizations directly on tcode name..

see which authorization objects the Tcode correspond to and assign the roles based on that, with this no one can break with any FM or Tcode

Read only

Clemenss
Active Contributor
0 Likes
751

Hi Rodrigo,

CL30N is controlled by authority object C_KLAH_BSE. You may restrict using this object or just do not give access to this transaction.

If this way is not the best for your environment, you can create an implicit enhancement at the end of FORM check_existence_of_rep_ta in program SAPLCLSD, include LCLSDF0N.

Most simply, do an authority-check for object S_TCODE with tcode p_tcode.

If you can wait a couple of days, create a customer question on SAP service (OSS) and wait for the NOTE to be created by SAP - because this looks like just another security gap.

Thanks for the hint.

Regards,

Clemens

Read only

0 Likes
751

Thanks!

We will create a customer question on Sap service and wait what to do.

Form check_existence_of_rep_ta is the right point to do an enhacement.

Cut user's fingers also solve problem too...

Best regards.

Rodrigo Paisante