Skip to Content
avatar image
Former Member

Is it possible to know the parameter users input at runtime ?

Hi all

Sometime I found some poor performance abap programming running . Usually I ask users the parameter which they input , but not accurate. Is it possible to know the parameter users input ? st22 could provide some information for debug. I suspect that should be possible . How to dump that ? Thanks for response.

Regards

Norman

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 26, 2010 at 05:50 PM

    ST22 dumps only most recently used variables, so you probably won't find the input parameters.

    So, I'm afraid it's not possible.

    But you can probably get information from the SQL cursor cache (ST04) because timeout dumps often occur because of long SQLs, and the cache will show you the long-running SQL.

    You'll see in the long-running SQL which fields were filled, and which were not filled. And you can see the concerned ABAP line of code.

    If you're not able to identify the cause, let the user find by himself what kind of input doesn't work, and he'll be able to explain you

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Raj and Sandra , thanks for your response . Maybe sap could provide runtime variant like background job.

      Let us realize users' actions. 😊

      Regards

      Norman

  • avatar image
    Former Member
    Jun 26, 2010 at 07:27 AM

    Hi,

    Suppose ur program goes to dump. open that dump in ST22. click on the ABAP Editor button:

    in debugger check the value of selection parameters.you will get the values which user has entered.

    thanks.

    Add comment
    10|10000 characters needed characters exceeded