12-05-2017 7:24 PM
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
12-05-2017 9:26 PM
I recommend searching
I searched and found this thread: https://archive.sap.com/discussions/thread/2145520 which points to program RSABAPSC
12-05-2017 10:52 PM
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.
12-05-2017 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.
12-07-2017 9: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.
12-14-2017 11:43 PM