2012 Sep 04 6:18 AM
Hi experts,
i have some selection screen fields, but initially i am displaying only one field in screen after enter some value in that field when i click one radio button remaining fields will display. My scenario is after enter the value when i press radio button all fields will dispaly and that first field will show like non editable field with my entered input value.
Please Help me
Thanks and Regards,
Linganathan.K
Moderator message : Requirements dumping not allowed, search for available information. Discussion locked.
Message was edited by: Vinod Kumar
Hi experts,
i have some selection screen fields, but initially i am displaying only one field in screen after enter some value in that field when i click one radio button remaining fields will display. My scenario is after enter the value when i press radio button all fields will dispaly and that first field will show like non editable field with my entered input value.
Please Help me
Thanks and Regards,
Linganathan.K
Moderator message : Requirements dumping not allowed, search for available information. Discussion locked.
Message was edited by: Vinod Kumar
2012 Sep 04 6:43 AM
Hi Linga,
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'PRJ'.
SCREEN-INVISIBLE = '0'.
SCREEN-INPUT = '1' .
SCREEN-OUTPUT = '1' .
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Where Screen-group1 will be modif ID. Put the screen loop with in the condtions based on your requirement for making it visible or non-visible
With regards,
2012 Sep 04 7:17 AM
Hiii,
See below code
TABLES : t001.
SELECTION-SCREEN: BEGIN OF BLOCK g1 WITH FRAME TITLE text-002.
PARAMETERS : date TYPE sy-datum MODIF ID dd.
PARAMETERS : xa RADIOBUTTON GROUP rb1 USER-COMMAND flag MODIF ID RB,
xb RADIOBUTTON GROUP rb1 MODIF ID RB.
SELECT-OPTIONS : s_bukrs for t001-bukrs MODIF ID aa,
s_land1 FOR t001-LAND1 MODIF ID aa.
SELECTION-SCREEN: END OF BLOCK g1.
AT SELECTION-SCREEN OUTPUT .
if date is NOT INITIAL and xa = '' and xb = ''.
LOOP AT SCREEN .
IF screen-group1 = 'DD' .
screen-input = 0.
screen-active = 1.
MODIFY SCREEN.
ENDIF.
IF screen-group1 = 'AA'.
screen-input = 0.
screen-active = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
ELSEIF date is NOT INITIAL AND xb = 'X'.
LOOP AT SCREEN .
IF screen-group1 = 'AA' .
screen-input = 1.
screen-active = 1.
MODIFY SCREEN.
endif.
endloop.
ELSEIF date is NOT INITIAL AND xa = 'X'.
LOOP AT SCREEN .
IF screen-group1 = 'AA' .
screen-input = 0.
screen-active = 0.
MODIFY SCREEN.
endif.
endloop.
ELSEIF date is INITIAL .
LOOP AT SCREEN .
IF screen-group1 = 'RB' OR screen-group1 = 'AA' .
screen-input = 0.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
2012 Sep 07 8:04 AM
Dear,
you want to do this with screen ?
means in module pool or executable report?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |