Application Development 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: 

Reuse - Select options in REPORT TAB's

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

Hi

No way to do this even in module pool screen. In global level, the name of select options must be different.

regards,

Archer