03-09-2015 4:43 AM
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
03-09-2015 5:30 AM
Hi
No way to do this even in module pool screen. In global level, the name of select options must be different.
regards,
Archer