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

Tcode 'SU24' - Function Module

Former Member
0 Likes
1,770

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

Giuseppe

5 REPLIES 5
Read only

TammyPowlas
SAP Mentor
SAP Mentor
0 Likes
1,281

I recommend searching

I searched and found this thread: https://archive.sap.com/discussions/thread/2145520 which points to program RSABAPSC

Read only

0 Likes
1,281

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.

Read only

Former Member
0 Likes
1,281

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.

Read only

Former Member
0 Likes
1,281

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.

Read only

1,281

Giuseppe,

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.

Ivan