Skip to Content
author's profile photo Former Member
Former Member

Performance problem with FM 'SUSR_GET_TCODES_WITH_AUTH'

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 19, 2005 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.