Hello, Sandy.
I don't know standard possibilities to do your task, but you can play with Enchancement points.
I've made a research for FEBAN transaction:
Use:
Include LNEW_FEBAF01
class CONTROL_EVENT_HANDLER
method HANDLE_ITEMS_SELECTED.
Enchancement point at the end.
in G_PICKED_ITEMS you will have several items only with KUKEY and ESNUM fields filled.
Work with FEBEP table and KUKEY, ESNUM fields from G_PICKED_ITEMS - check everythink that you need and then delete unwanted lines in G_PICKED_ITEMS.
Check this possibility if it works for you!