In a screen i have 2 radio buttons and 2 text fields,if i
select the one radio button one text field has to be enable
and when i select another one,other text field has to be
enable,in the at selection screen output event how it was
happen?this event has to effect once i press enter
naa.......... how the screen knowing that?
Answer Posted / ananda babu uppara
Check this code and try this.
DATA: d_ucomm LIKE sy-ucomm.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: india RADIOBUTTON GROUP rad1 USER-COMMAND act
DEFAULT 'X',
Field1(10) MODIF ID a,
austria RADIOBUTTON GROUP rad1,
Field2(10) MODIF ID b.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN.
d_ucomm = sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF india = 'X'.
IF screen-group1 = 'B'.
screen-active = 0.
ENDIF.
ELSEIF austria = 'X'.
IF screen-group1 = 'A'.
screen-active = 0.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What are the client dependant objects in abap / sap?
What are the differences between interactive and drill down reports?
What are the aggregate objects in data dictionary? : sap abap data dictionary
What is a transport?
Type casting and error handling
What is the syntax of packed number?
1 . how do u design technical documentation in abap ? 2 . what u currently devloped in sap abap ?
what are the various types of parameters and how are they distinguished from one another?
What is the Difference between At Line selection and At user-command?
What is the difference between get and get late?
What are the parameters in bdc_open_group? : abap bdc
How do you control printer functions from sapscript?
What are the functional areas? User groups?
Explain the Types of Select statements?
Explain about Recording Function?