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

regarding duplicates in internal table

Former Member
0 Likes
480

Plz, can anyone help.

Iam taking bseg in select stmt and i want to retrieve or dump distinct hkont into an internal table.

but compiler is showing distinct is not allowed in clustered table and i even tried delete adjacents

in internal table but its not working.

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
457

Sort itab by hkont.

DELETE ADJACENT DUPLICATES FROM itab COMPARING hkont.

Regards

Neha

Plz, can anyone help.

Iam taking bseg in select stmt and i want to retrieve or dump distinct hkont into an internal table.

but compiler is showing distinct is not allowed in clustered table and i even tried delete adjacents

in internal table but its not working.

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
458

Sort itab by hkont.

DELETE ADJACENT DUPLICATES FROM itab COMPARING hkont.

Regards

Neha

Read only

0 Likes
457

its not working

Read only

0 Likes
457

neha tahnk you very much its working