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

Performance problem with FM 'SUSR_GET_TCODES_WITH_AUTH'

Former Member
0 Likes
544

Hi,

I am using FM 'SUSR_GET_TCODES_WITH_AUTH' to display Details of Activity Groups, profiles via T-code for user level.

I have extracted logic from standard program 'RSUSR010' which will display only tcode for single user.

When i am executing my program for range of user i am facing lot of performance problem. B'cause the FM 'SUSR_GET_TCODES_WITH_AUTH' i am calling for each profile of user.

can anybody help me on this.

Thanks

Rayudu

Hi,

I am using FM 'SUSR_GET_TCODES_WITH_AUTH' to display Details of Activity Groups, profiles via T-code for user level.

I have extracted logic from standard program 'RSUSR010' which will display only tcode for single user.

When i am executing my program for range of user i am facing lot of performance problem. B'cause the FM 'SUSR_GET_TCODES_WITH_AUTH' i am calling for each profile of user.

can anybody help me on this.

Thanks

Rayudu

2 REPLIES 2
Read only

Former Member
0 Likes
492

If the function module itself is consuming all the time, then there is nothing you can do about it, except to look for a different logic or FM. But if the time is taken by your logic, but the function call itself is executing within a reasonable time, then you should look at your program logic.

Do a runtime analysis, sql trace etc and see where the time is spent. If you identify a specific piece of code that is taking a long time, post it here so that someone will help optimizing it.

Srinivas

Read only

Former Member
0 Likes
492

Rather than calling the FM for each user and each profile, call it for each user only. All the profile data for a user will come back in one execution of the FM.

Rob