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?
Answers were Sorted based on User's Feedback
Answer / parthasarathi
We are Loop the Screen structure, so it's not an matter how
many times we are doing modification..
Normally it's work under the concept of PBO and PAI event..
So when u select the other radio button it act as PAI event..
so the modification had been done withe use of Screen
Structure.
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / saravanan
At selection-screen output triggers before the actual
display of the list. So, when u press ENTER button, 'Loop
at screen' written under the event gets triggered. And u
can set the screen parameter 'INVISIBLE' of the
corresponding field to '1'. This is how it works!
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / prafulla nayak
LOOP AT SCREEN.
IF RAD1 = 'X'.
IF SCREEN-NAME = 'MAT2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
IF RAD2 = 'X'.
IF SCREEN-NAME = 'MAT1'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
write it in PBO.
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / ananda babu uppara
Without interacting with the PAI and PBO events we can do
this task using "screen" structure.
Tomorrow i will post with code.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / 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 |
What is LDB?
Explain MM and SD flow from ABAP point of view?
scripts are client independent then how to transfer from one client to (i know RSTXR3TR AND SCC1 TCODE )another client?
By using which single table i can get all the detail from sale order to billing not used vbak, vbap, vbrk & vbrp.
what is the difference between user-exit & customer-exit?
Can search help be assigned to more than one table? Can matchcodes be assigned to more than one table?
Mention what is alv programming in abap?
What is an rdbms?
What are the update types possible? : abap data dictionary
Explain the properties of selection screen?
What is a development class? : abap data dictionary
what is difference between set screen and call screen ?