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

Why a program with hashed internal table cannot be debugged?

gopalkrishna_baliga
Participant
0 Likes
325

Hi experts,

I have a test program where I have declared a hashed table and filled it using INSERT statement.

TYPES: BEGIN OF LINE,

COLUMN1 TYPE I,

COLUMN2 TYPE I,

COLUMN3 TYPE I,

END OF LINE.

data: x_hash type line,

i_hash TYPE HASHED TABLE OF LINE WITH UNIQUE KEY COLUMN1.

x_hash-column1 = 1.

x_hash-column2 = 11.

x_hash-column3 = 22.

insert x_hash into table i_hash.

x_hash-column1 = 2.

x_hash-column2 = 11.

x_hash-column3 = 22.

insert x_hash into table i_hash.

write 'done hash'.

I have put a session breakpoint at the last line (write 'done hash'.).

However when I run the program, ABAP debugger is not called. But if I use standard internal table or Sorted internal table then debugger is called. So why debugger is not called when hash internal table is used?

Thanks

Gopal

1 REPLY 1
Read only

gopalkrishna_baliga
Participant
0 Likes
296

wrong question. The issue was not because of using hash table but program type that I gave. Program type I gave was system program.