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
253

Hi Friends,

In my first selection-screen i have five fields clicking on each field i want one more selection screen to know particular details of each individual field,after clicking on field in second selection screen, i want output by clicking F8 using classical report and ALV report with Sample Code.

from

rathod

2 REPLIES 2
Read only

Former Member
0 Likes
233

hi,

check this code this is useful for u.

AT SELECTION-SCREEN.

CASE SSCRFIELDS-UCOMM.

WHEN 'butt1'.

call selection-screen 100.

ENDCASE.

in selection screen 100 write code for displaying ALV.

by clicking on field u can't trigger any event.for that u have to create buttons.

regards,

bharat.

Read only

ChandrashekharMahajan
Active Contributor
0 Likes
233

Hi,

if you have 5 radio buttons and on click of them u want to show another selection screen then attch USER-COMMAND to radio button and MODIF ID to fields to be shown. then on AT SELECTION-SCREEN OUTPUT event,

write code as,

LOOP AT SCREEN.

IF screen-group1 = c_sd.

IF screen-name = 'P_BERID'.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

screen-active = 1.

MODIFY SCREEN.

ELSE.

IF screen-group1 = c_mm

OR screen-group1 = c_mrp

OR screen-group1 = c_bind.

screen-active = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

ENDIF.

Regards,

Chandra