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.