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

Available tables during debug

Former Member
0 Likes
2,156

Hello Experts,

Is there a way in debug mode to see all the tables available to display and change? For example, I know there is a table that is storing data that I would like to output to a local file. However, I can't find the internal table name while in debug mode.

Is there a way to list all "active" internal tables?

Thanks,

Scott

6 REPLIES 6
Read only

naimesh_patel
Active Contributor
0 Likes
1,247

I think this facility is not avaliable.

You can go to the top inlucde or the data declaration section of the program and check all the tables.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
1,247

Hi,

For debugging, the minimum thing is you should know what are Internal Tables, Variable, Structures, etc...

You can save the data of the internal table to the local file while debugging as below

Step 1 -- From menu bar use GOTO ->display data object -> structure editor.

Step 2 -- From menu bar use OBJECT ->display entire list

Step 3 -- From menu bar use SYSTEM -> list-> save -> Local file.

Regards,

Satish

Read only

Former Member
0 Likes
1,247

Hi BWS,

While debugging goto Goto->System Areas->SAP Memory

In the input field, type ITAB, then it will display the internal tables used

for all the available options type ? in the input field.

Thanks,

Pavan

Read only

0 Likes
1,247

Hi Pavan,

Do you mean in the "Area" field? When I enter ITAB in the Area field, it doesn't come back with anything.

Thanks,

BWS

Read only

0 Likes
1,247

Hi,

Have you tried the steps which i gave above? it will work.

Regards,

Satish

Read only

0 Likes
1,247

Hi,

I don't have structure editor as an option. I do have structure field.

There is a function module that is being called. When I first step into the function module, table error_msg is already filled. That has the data I need. But, I don't want to have to modify the function module. It looks like that data is already in a table when the function module is called. I can't tell what table it is in in the main program. I wanted to get a list of the tables with data then I could look at each one until I find the data. Then I would know the name of the table. Does that make sense?

Thanks,

BWS