Skip to Content

Tcode 'SU24' - Function Module

Dec 05, 2017 at 07:24 PM


avatar image
Former Member

Ciao a Tutti!

We are using Tcode 'SU24' in SAP ECC to retrieve authorization objects related to specific transaction.

Do you know if there is any available Function Module to simulate the same action?

Thank You


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Tammy Powlas
Dec 05, 2017 at 09:26 PM

I recommend searching

I searched and found this thread: which points to program RSABAPSC

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Tammy,

This report is already obsolete:

* 26.11.2015 D062476 (Note 2249854) 7.31+
* - final deactivation of obsolete report
* use report RS_ABAP_SOURCE_SCAN

However even RS_ABAP_SOURCE_SCAN gives only static includes.

Bartosz Siminski Dec 05, 2017 at 10:57 PM

The best option from practical from practical point of view is to use ST01 which gives you access to any authority check performed during transaction run but in such case you need to click any option that will be used by the user.

There is one more option worth to mention:
SU22 - gives you the list of all authority objects assigned to particular transaction code delivered by SAP
SU24 - gives the same with customer added objects (done by your own developers)

But this last option that you already mentioned as well may not give you the complete list. If for example developer forgot to add the object he used during authority-check in this transaction it will not popup which is quite common so I opt for trace.

10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 07, 2017 at 09:07 PM

Tammy, Bartosz, thanks for replying.

I already found suggested post and report, but a report scan sometimes can be really time consuming. I was looking for a better and more elegant functionality (Class Method or Function module) that can avoid a report scan.

Show 1 Share
10 |10000 characters needed characters left characters exceeded


I found the logic in SU24 tcode.

Include LSU2XF03 does a select directly on tables USOBX and USOBT. Unfortunately no function module or class method.

You can start from there.