Skip to Content
Former Member
Feb 05, 2009 at 11:46 AM

select-options issue


hello gurus

I have an internal table itab, it has key pernr.

and in selection screen i have select-options for werks.

now if the select-options is empty then i have to move all the records from itab into itab1, but if its not empty then i want to copy only those records that have a matching werks from select-options into another database table pa0315 with key pernr.

i can use selects with if condition, i was wondering if you have a better idea