Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR - delete rows from internal table

Former Member
0 Likes
413

Hello everyone,

First of all sorry for my bad english.

I am programming in the HR module. My program has a selection-screen where the user enters a date.

In my program I do GET pernr, and my declared infotypes automatically get their data. The thing is, now I want to delete the rows that do not correspond to the date in the selection screen.

My date is stored in a range.

thanks in advance

Hello everyone,

First of all sorry for my bad english.

I am programming in the HR module. My program has a selection-screen where the user enters a date.

In my program I do GET pernr, and my declared infotypes automatically get their data. The thing is, now I want to delete the rows that do not correspond to the date in the selection screen.

My date is stored in a range.

thanks in advance

1 REPLY 1
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
382

For example try like this,

delete itab where lgort not in r_lgort[].

or you can loop the internal table and process the records which matches the date in the range table.