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 is the function of the transport system and workbench organiser?
What does hide statement do?
What is the difference between getting and get late?
What are the different types of mode (run code) in call transaction method?
Differentiate between transparent tables, cluster tables and pooled tables
What are the advantages and disadvantages of using views in abap programming ?
Define infotype ? : abap hr
hi..i hav developed an interactive report in which alv list display in basic list and 1st secondary list in alv grid display.I want to get summation(total) of the columns in the secondary list.I hav used 'do_sum' but i couldnt get.is there any other way to get summation(total) in secondary list which is an alv grid display
What is the difference between get and get late?
Setting up a BDC program where you find information from?
What are the list of screen elements?
What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?
How to call other programs?
What is a logical database?
Can you assign a matchcode object to a parameter? If so how?