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
How do you move on to the next screen in interactive reporting?
Is a logical database a requirement/must to write an abap/4 query?
What is locking? : abap data dictionary
What are the arithmetic operators in the sap abap?
What is difference between float and packed data type?
What are the different message types available in the abap/4 ?
What are Tickets in Realtime ?
What is meant by hot spots? : abap data dictionary
Hi, I have a requirement for locking the fax field in user master records. As you know user can edit the details using the System>profile>own data (SU3), it is causing some security threat to our model. What i want is users should not be able to change the fax field under communications when they get into su3.I have heard of user Exist functionality but don't know how to implement it. Can you suggest something, it will be greatly appreciated.
What is roll area?
can i use table key and key in an internal table and explain the functionalities of each one and what functionality does it give if both are used for same internal table
What do you mean by batch data communications programming?
Hi my dear friends,Please give the answers for the following link http://www.saptechnical.com/InterviewQ/interviewQ.htm
How do you connect to the remote server if you are working from the office for the client in remote place?
In what ways we can get the context sensitive f1 help on a field?