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

delete duplicate entries with condition

$
0
0

Hi All,

 

Below are the records in my internal table it_glt0.

racct               drcrk             hslvt

 

0000120000     H     |          853.47-

0000120000     S     |            0.00

 

0000120001     S     |            0.00

0000120001     H     |            0.00

 

0000120007     S     |            0.00

0000120007     H     |            0.00

 

0000120080     S     |            0.00

0000120080     H     |       564258.37-

 

for each account no, I have debit and credit values. If both the Debit and credit values are zero, then I have to delete that multiple record.

 

Below should be my final internal table.

 

racct               drcrk             hslvt

0000120000    H     |          853.47-

0000120000    S     |            0.00

0000120080    S     |            0.00

0000120080    H     |       564258.37-

 

How to acheive this functionality. Please help.

 

Thanks,

Haritha


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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