Skip to Content
0
Former Member
Mar 09, 2015 at 04:43 AM

Reuse - Select options in REPORT TAB's

62 Views

Hello Team,

I creating a ABAP report with 3 tabs. Many select options are common across these 3 tabs, hence i declared in separate include as below

* Selection Screen

SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
INCLUDE zselect_screen.
SELECTION-SCREEN END OF SCREEN 100.

SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
INCLUDE zselect_screen.
SELECTION-SCREEN END OF SCREEN 200.

But this code is throwing error stating, that s_equnr already exists? How to overcome this and reuse the select options?

I understand i can create new select options using different name, but i am trying to reuse it ?

Also i understand that i can do this in module pool using select options as subscreen and it allows to reuse the include, but this poses different issues, as i cannot use many report events and features.

can you suggest any ideas of how to over come this restrict and still reuse the select and parameters by declaring once? thanks