2009 Mar 05 7:24 AM
Hi all,
I want to disable a field on selection screen.
How can achive this?
I have a programme with some selection fields. Now i want to disable one of the field on selection screen. With out chaning the code. Hw can i achive this?
Hi all,
I want to disable a field on selection screen.
How can achive this?
I have a programme with some selection fields. Now i want to disable one of the field on selection screen. With out chaning the code. Hw can i achive this?
2009 Mar 05 7:28 AM
Hi ,if you want to change code then you can do LOOP AT SCREEN in event at selection sceen output.
However if you are using LDB and the default selection screen is comming for the LDB then you can modify it by making report category
2009 Mar 05 7:30 AM
Hi,
Changing the mode of the parameters taken on selection screen without using coding can be done as:-
Goto transaction SE80 --> Open your program --> Select screen from the left hand side window --> double click on screen 1000 (default selection screen) --> double click on the parameter which need to be disabled --> using properties window set it as output only.
This will disable the field for input.
Hope this helps you.
Regards,
Tarun
2009 Mar 05 7:31 AM
Hi,
Create screen variant using the transaction SHD0 make it default and move it to all clients.
Regards,
Nandha
2009 Mar 05 7:44 AM
Hi,
Create a variant where you fill in all required data and check the :
- "hide field" check box when saving the variant to remove it form selection
- "protect field" to disable/Grey out the field
2009 Mar 05 7:48 AM
Hi Dude,
If you want to invisible a particular field on the standard application you can work with SHD0 Tcode
SHD0 for Transaction variant. then select the transaction variant.
Here you can do the things for filed like content,invisible, outputonly required
So according to your requirement you can hide or disable the filed
Hope it may helps for you
Thanks & Regards
Ramakrishna Pathi
2009 Mar 05 7:49 AM
Hi,
check with below code
TABLES: vttk, kna1.
SELECTION-SCREEN BEGIN OF BLOCK box WITH FRAME TITLE text-001.
PARAMETERS: p_email AS CHECKBOX USER-COMMAND flag .
SELECT-OPTIONS: email FOR kna1-kunnr LOWER CASE NO INTERVALS MODIF ID pd1.
SELECTION-SCREEN END OF BLOCK box.
AT SELECTION-SCREEN OUTPUT.
PERFORM set_screen.
FORM set_screen .
IF p_email EQ 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'PD1'.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = 'PD1'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDFORM.
Regards,
Madhu
2009 Mar 05 10:03 AM
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |