cancel
Showing results for 
Search instead for 
Did you mean: 

Remove rows from Internal Table

masna_7
Participant
0 Kudos
260

Hi,

I have a requirement where I need to hide data from Internal table when displaying.

I have an internal table which contains almost 80000 rows, in that internal table i have a field "EKORG" (Purchasing Org). I have to hide all rows for which EKORG = 'ABCD'. I dont want to display data for ABCD Purchase org. 

Other than deleting data from this internal table after select query, what can be the best solution in this case ?

Please ensure that this change should go through ABAP code only. I am not interested to apply filters after displaying data etc.,

Help Appreciated !

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Tomas_Buryanek
Active Contributor
0 Kudos

Hello,

you can apply filter with ABAP code before displaying the data.

masna_7
Participant
0 Kudos

Hi Tomas,
This report is run by many users across my organization.

So, I need advice on making changes in the Code

Tomas_Buryanek
Active Contributor
0 Kudos

EDIT: douple post. Oh this new community platform 🙄 Cannot delete wrong comment...

Tomas_Buryanek
Active Contributor
0 Kudos
How can we advice without any info provided by you? You can put EKORG selection (display filter) on the input screen. Or I do not understand why do not you just select data which are relevant to display?