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

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

Former Member
2,317

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

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
1,342

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

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

4 REPLIES 4
Read only

Former Member
1,342

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.

Read only

1,342

This message was moderated.

Read only

Sandra_Rossi
Active Contributor
1,343

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

Read only

0 Likes
1,342

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

Let us realize users' actions.

Regards

Norman