Hi Amit and welcome to the group!
I do not think it is possible to put a table control on a selection screen.
It is possible to put selection screen objects on a regular screen, i.e. create a regular screen that can have a table control, and add selection screen features to it.
Define a regular screen and create a subscreen area. Outside the subscreen area, put your table control. In the subscreen area, put a selection screen defined as a subscreen.
You can do help on command SELECTION-SCREEN and look at the option for BEGIN OF SCREEN nnn AS SUBSCREEN.
Demo program demo_sel_screen_as_subscreen might also help.
I have a few notes that might be helpful:
1. define the selection screen with a number in the range 1001 thru 1100. If not, the normal selection screen events are not available.
2. set PF2=OPTI in the status for your screen or selection options will not work. Add the button as well as it appears on a regular selection screen.
Let us know how it goes.
Add a comment