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

How to fill internal table with no data in debugging mode

Former Member
0 Likes
2,829

Hi all,

I modified one existing program.Now I want to test it.I am not given test data.So in the middle of my debugging, I found that one internal table with no data.My problem is how to fill that internal table with few records in that debugging mode just as we change contents in debugging mode.If I want to proceed further means that internal table must have some records.

Please I dont know how to create test data so I am trying to create values temporarily in debugging mode only.

Thanks,

Balaji

Hi all,

I modified one existing program.Now I want to test it.I am not given test data.So in the middle of my debugging, I found that one internal table with no data.My problem is how to fill that internal table with few records in that debugging mode just as we change contents in debugging mode.If I want to proceed further means that internal table must have some records.

Please I dont know how to create test data so I am trying to create values temporarily in debugging mode only.

Thanks,

Balaji

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,451

You can double click on the internal table and use the buttons to create a line, then fill the values into the fields.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,451

Hi Balaji

There is a very good demo in SDN for using the new debugger and performing many tasks on the same. It also includes the demonstration of fillling internal tables with values at runtime.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2d...

Regards

Kathirvel

Read only

Former Member
0 Likes
1,451

Hi,

In the debugging do the following..

Click the Table button..

Double click on the internal table name..

Then in the bottom of the screen you will get the buttons like CHANGE, INSERT, APPEND, DELETE..

Use the APPEND button to insert records to the internal table..

Thanks,

Naren

Read only

Former Member
0 Likes
1,451

Thanks guys for your valuable answers.

Thanks,

Balaji.

Read only

Former Member
0 Likes
1,451

Hi,

Please make sure to reward points for helpful answers..

Thanks,

Naren