Sample Program On AT SELECTION-SCREEN OUTPUT - 1.
This sample program will show how by selecting a particular radio button the selection screen will be modified.
REPORT ztest.
TABLES : mara, sscrfields.
DATA : d_ucomm TYPE sscrfields-ucomm.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
PARAMETERS: p_werks LIKE mard-werks.
PARAMETERS : r1 RADIOBUTTON GROUP g1 USER-COMMAND sel,
r2 RADIOBUTTON GROUP g1,
r3 RADIOBUTTON GROUP g1.
AT SELECTION-SCREEN OUTPUT.
IF d_ucomm = 'SEL'.
IF r3 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_WERKS'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
AT SELECTION-SCREEN.
d_ucomm = sscrfields-ucomm.
OUTPUT:
On selecting the third radio button:
ALSO READ:
- ABAP EVENTS During Runtime Of A Report Program.
- INITIALIZATION Event - Introduction With A Sample Code.
- AT SELECTION-SCREEN Event - Introduction With A Sample Code.
- AT SELECTION-SCREEN OUTPUT Event - Introduction With A Sample Code.
- AT SELECTION-SCREEN ON VALUE REQUEST- Introduction With A Sample Code.
- AT SELECTION-SCREEN ON HELP REQUEST- Introduction With A Sample Code.
- AT SELECTION-SCREEN ON - Introduction With A Sample Code.
- Sample Program On AT SELECTION-SCREEN OUTPUT - 1.
- Sample Program On AT SELECTION-SCREEN OUTPUT - 2.
- Sample Program On AT SELECTION-SCREEN OUTPUT - 3.
- Sample Program On AT SELECTION-SCREEN OUTPUT - 4.
- Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 1.
- Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 2.
- Sample Program On AT SELECTION-SCREEN ON HELP REQUEST FOR field- 1.
Your suggestions and comments are welcome in this section.
Please mail all your contributions to administrator@abapmadeeasy.com We request you to mention your Name, Designation, Experience & Organization you are working for. Your posts will be verified and posted in this site with your name.