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

An example showing at selection-screen func

Former Member
0 Likes
729

An example showing at selection-screen event function please ...............

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

hi

chk this:

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.

PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',

R2 RADIOBUTTON GROUP RAD1,

R3 RADIOBUTTON GROUP RAD1.

SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.

PARAMETERS: R4 RADIOBUTTON GROUP RAD2 DEFAULT 'X',

R5 RADIOBUTTON GROUP RAD2,

R6 RADIOBUTTON GROUP RAD2.

SELECTION-SCREEN END OF BLOCK B2.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.

IF R1 = 'X'.

MESSAGE W040(HB).

ENDIF.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD2.

IF R4 = 'X'.

MESSAGE W040(HB).

ENDIF.

regards,

madhu

5 REPLIES 5
Read only

Former Member
0 Likes
689

Check the demo REPORT demo_selection_screen_events in se38.

Regards,

Ravi

Read only

alex_m
Active Contributor
0 Likes
689

Best way look the demo program DEMO_SELECTION_SCREEN_EVENTS for selection screen events.

Read only

amit_khare
Active Contributor
Read only

Former Member
0 Likes
690

hi

chk this:

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.

PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X',

R2 RADIOBUTTON GROUP RAD1,

R3 RADIOBUTTON GROUP RAD1.

SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.

PARAMETERS: R4 RADIOBUTTON GROUP RAD2 DEFAULT 'X',

R5 RADIOBUTTON GROUP RAD2,

R6 RADIOBUTTON GROUP RAD2.

SELECTION-SCREEN END OF BLOCK B2.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD1.

IF R1 = 'X'.

MESSAGE W040(HB).

ENDIF.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP RAD2.

IF R4 = 'X'.

MESSAGE W040(HB).

ENDIF.

regards,

madhu

Read only

Former Member
0 Likes
689
REPORT YCHATEST.
TABLES : SSCRFIELDS.
PARAMETERS : P_MATNR LIKE MARA-MATNR.



AT SELECTION-SCREEN .

IF P_MATNR IS INITIAL.
  MESSAGE E001(ZZ) WITH 'Matnr field is mandatory'.
ENDIF.