2005 Oct 19 3:20 AM
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
2005 Oct 19 3:34 AM
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
2005 Oct 19 2:34 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |