Skip to Content
-1
Jul 20, 2018 at 11:27 AM

SELECTION SCREEN Error in Module Pool

350 Views

Hi All,

I am getting this error that the selection screen is not getting created.

Screen ZDEMO_OOPS_ALV 2000 already exists (not a selection screen)

Message No. DB011

Diagnosis

When generating the report ZDEMO_OOPS_ALV and its selection screen, an existing screen 1000 (not a selection screen) was overwritten.

System Response

Selection screen generation terminated.

Procedure

Please check the existing screen and delete it, if it is no longer needed. If you still want to use it, assign another number to it, in order to avoid any conflict with the selection screens (numbers 1000 to 1010). If your program is not a report and you do not need selection screens, change the program type in the attributes.

I have created this code:

SELECTION-SCREEN BEGIN OF SCREEN 2000.
SELECT-OPTIONS : s_table FOR wa_dd02l-tabname NO INTERVALS.

SELECTION-SCREEN: END OF SCREEN 2000.

START-OF-SELECTION.
CALL SCREEN 1000.

What do I need to do ?

I am getting confused, can't see anywhere people discussing about the Layout also. Don't know where exactly the error is.