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

Compare Values of two coloumns in the same internal table

$
0
0

I am having an internal table which is having values like below.

 

Billing  Doc No
Cancelled Bill Doc No
                            9000032                                 9000045
                             9000033                                   _______
                              9000034                                ____________
                               9000045                                __________

 

So what I wanted to do is if there is a cancelled billing doc no for a particular billing document no...as in this case 9000045 exists for 9000032. So I wanted to take that cancelled billing doc no and check whether it exits in billing doc no and if it exits I have to delete it. After which I wanted to delete all the Billing doc nos which are having canelled billing doc no's. Like here I have to delete 9000032 since a cancelled billling doc no exits for 9000032. How to achieve this?

 

Regards,

 

Marina.


Viewing all articles
Browse latest Browse all 9159

Trending Articles



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