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

Can we sort internal table while debugging?

Former Member
0 Likes
5,456

Hi All,

I was debugging a problem, and I felt that sorting a particular internal table may solve the problem.

Now my question is can we sort an internal table while debugging in any way?

Further, Can we skip any statement execution while in debugging?

Thanks in advance..

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,519

hi,

Now my question is can we sort an internal table while debugging in any way?

ANS: while debugging u can only check the entries, and check the flow of program..

You can do any action other than editing the contents of the test records

better u can keep the sort code in the program...

Further, Can we skip any statement execution while in debugging?

ANS: it is not possible to skip the normal flow,

You can skip the flow of if sy-subrc = 0 (or) any case statements

you can edit the values in the debugging and you can change the flow .. but you cannot skip the statement..

got it????

regards

vijay

8 REPLIES 8
Read only

Former Member
0 Likes
2,519

hi:

u can edit only single values in the field.

and u cant skip any statement and nor u can sort the table

Read only

Former Member
0 Likes
2,519

Hi,

As per my knowledge, It is not possible.

Regards

Md.MahaboobKhan

Read only

Former Member
0 Likes
2,520

hi,

Now my question is can we sort an internal table while debugging in any way?

ANS: while debugging u can only check the entries, and check the flow of program..

You can do any action other than editing the contents of the test records

better u can keep the sort code in the program...

Further, Can we skip any statement execution while in debugging?

ANS: it is not possible to skip the normal flow,

You can skip the flow of if sy-subrc = 0 (or) any case statements

you can edit the values in the debugging and you can change the flow .. but you cannot skip the statement..

got it????

regards

vijay

Read only

Former Member
0 Likes
2,519

Hi,

While debugging youe felt that sorting can solve your problem why not sort it out in the code itself.

In debugging mode you cannot do any type of editing. It is for seeing the flow of your program and if u have any problem u can get it.

While in the debugging mode you cannot skip out any line.

Thanks & Regards

Read only

Former Member
0 Likes
2,519

Hi,

Thank you all for your quick responce

Regards

Ravi

Read only

deiamolina
Contributor
0 Likes
2,519

Further, Can we skip any statement execution while in debugging?

You can use SHIFT+F12 to skip statement!

Read only

Former Member
0 Likes
2,519

Hi,

We can skip the some statements using goto statement or press Shift+F12 ,

  We can SORT the table in debug this is only for checking purpose download that internal table in excel sheet sort the required things in the excel sheet and again upload it....

Please try it....

Read only

0 Likes
2,519

@ Andrea and Ravi

This discussion is 4 years old.