Skip to Content
0
Former Member
Mar 03, 2008 at 09:50 PM

Eliminate the values from internal table

10 Views

I have an internal table with fields..

begin of it occurs 0,

ebeln

matkl

werks

end of it.

its filled with values..

ebeln | matkl | werks |

12111 | A123 | LK

12111 | A123 | LK

12111 | A123 | LK

12111 | A123 | LK

12111 | A123 | LK

12111 | A123 | LN

12121 | A124 | LK

12121 | A124 | LK

12121 | A124 | LK

12122 | A125 | LK

12122 | A125 | LK

12122 | A125 | LK

12123 | A126 | LN

12123 | A126 | LN

Now I want to eliminate the values from the internal table where all ebeln and werks are different..for example..all 12111's should be eliminated from the internal table as the it has different werks assighned to one of the ebeln's..and I need only ebeln's with 12121 and 12123.

Any suggention would be helpful..

Thanks,

M/