Application Development and Automation 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:Ā 
Read only

selection Screen

Former Member
0 Likes
284

Hello,

I am facing the following problem.

In a selection screen I want to add a table control (internal table filled by selection screen) - is that possible, because I cannot use the screenpainter for a selection screen (because it is standard, isn“t it?).

Thanks for your help,

H.

2 REPLIES 2
Read only

Former Member
0 Likes
261

can you plz explain your exacy requirement?

i dont think we can get tab ctrl on selection screen.

or try it with screen painter either.

Read only

Former Member
0 Likes
261

I would not suggest it. Instead embed a selection screen in a subscreen of a dynpro with the table control.

Here is a sample program of how to embed a selection screen in a dynpro.

codereport zrich_0006 .

tables: mara.

Custom Selection Screen 1010

selection-screen begin of screen 1010 as subscreen.

selection-screen begin of block b1 with frame title text-001.

parameters: p_rad1 radiobutton group grp1 default 'X',

p_rad2 radiobutton group grp1,

p_rad3 radiobutton group grp1.

select-options: s_matnr for mara-matnr,

s_matkl for mara-matkl,

s_mtart for mara-mtart.

selection-screen end of block b1.

selection-screen end of screen 1010.

start-of-selection.

call screen 100.

&----


*& Module STATUS_0100 OUTPUT

&----


module status_0100 output.

SET PF-STATUS 'xxxxxxxx'.

SET TITLEBAR 'xxx'.

endmodule.

&----


*& Module USER_COMMAND_0100 INPUT

&----


module user_command_0100 input.

endmodule.

Screen screen 100 with a subscreen area called "subscreen_1010"

Screen Flow Logic follows

*process before output.

*

module status_0100.

*

call subscreen subscreen_1010 including sy-repid '1010'.

*

*process after input.

*

call subscreen subscreen_1010 .

*

module user_command_0100.[/code]

Regards,