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

re : hashed table

Former Member
0 Likes
447

hai friends

can any one tell me how to append or insert records to hashed internal table

with regards

mani

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
430

Hi,

DATA: ftab TYPE SORTED TABLE OF f

WITH NON-UNIQUE KEY table_line,

itab TYPE HASHED TABLE OF i

WITH UNIQUE KEY table_line,

fl TYPE f.

DO 3 TIMES.

INSERT sy-index INTO TABLE itab.

ENDDO.

ftab = itab.

LOOP AT ftab INTO fl.

WRITE: / fl.

ENDLOOP.

Pls. reward if useful...

3 REPLIES 3
Read only

Former Member
0 Likes
431

Hi,

DATA: ftab TYPE SORTED TABLE OF f

WITH NON-UNIQUE KEY table_line,

itab TYPE HASHED TABLE OF i

WITH UNIQUE KEY table_line,

fl TYPE f.

DO 3 TIMES.

INSERT sy-index INTO TABLE itab.

ENDDO.

ftab = itab.

LOOP AT ftab INTO fl.

WRITE: / fl.

ENDLOOP.

Pls. reward if useful...

Read only

Former Member
0 Likes
430

Refer to the below related thread

Read only

Former Member
0 Likes
430

Reward points..