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
The max number of calling modes stacked at one time is?
What are the names of the function modules that will be generated upon activation of a lock object?
How can I make a differentiation between dependent and independent data? : abap hr
What are different data types in abap/4?
Advantages and disadvantages of different types of bdc's?
What is an update task?
How can we access the correction and transport system?
1.If there is one receiver,then To send 10 materials at a time through BD10 tcode, How many Master Idoc create? 2.If there is one receiver,then To send 1 material at a time through BD10 tcode, how many Master Idoc generated? 3.Can I Send Multiple Messges through BD10 tcode?
What is the difference between table and template?
can anyone please tell me, in orient paper mill project which fields exits for creating report.
When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?
What is a modification assistant?
Describe the difference between macro and subroutine?
What is a size category? : abap data dictionary
Differentiate between transparent tables, cluster tables and pooled tables