Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: issue with deleting adjacent duplicates from internal tab

$
0
0

Use Sort by Descending Order.

 

SORT IT_XYZ BY FLD1 FIELD2 FIELD3 DESCENDING.

 

This brings the records in the Order

 

Fld1     Field2             Field3        Field4

2        march 1       A602       A602 description

1          march1          A602          A602 description

1          march1          A610          A610 description

 

 

DELETE ADJACENT DUPLICATES FROM ITAB COMPARING FIELD2 FIELD3 FIELD4.

 

This will remove middle record and retain these two records

 

Fld1     Field2             Field3        Field4

2        march 1       A602       A602 description

1          march1          A610          A610 description

 

 

 

KJogeswaraRao


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>