Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to choose in Delete Duplicates from internal table?

$
0
0

Now I need to delete Duplicates from internal table,

So at first I sort

than I delete duplicate

Sort itab1 BY Company_Code  Asset_No Capital_Date.

      DELETE ADJACENT DUPLICATES FROM itab1 COMPARING Company_Code  Asset_No  Capital_Date

 

Company_CodeAsset_NoCapital_DateRemark
BC35151559320021225Helen
BC35151559320021225Common Asset
BC35151559420030109Judy
BC35151559420030109Common Asset

 

But here comes my problem~If I want to delete the Common Asset in Remark Column,how I let it choose the right one to do it?


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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