2007 Oct 01 8:46 AM
hi friends,
textfield is disabled when the screen is displayed to the user(i did this thing). when a button is clicked on the screen i have to enable the text field on the screen.how to do this.
please help me in this regard
hi friends,
textfield is disabled when the screen is displayed to the user(i did this thing). when a button is clicked on the screen i have to enable the text field on the screen.how to do this.
please help me in this regard
2007 Oct 01 8:52 AM
2007 Oct 01 8:57 AM
Hi,
Declare a button:
SELECTION-SCREEN: PUSHBUTTON 2(10) but1 USER-COMMAND dis.AT SELECTION-SCREEN.
CASE sscrfields-ucomm.
WHEN 'DIS'.
dis = 'X'. "a char 1 variable
ENDCASE.AT SELECTION-SCREEN OUTPUT.
IF dis = 'X'.
LOOP AT screen.
IF screen-name = 'YOUR_FIELD_NAME'.
screen-input = '1'.
modify screen.
ENDIF.
ENDLOOP.
ENDIF.Regs & rews if helpful
2007 Oct 01 9:01 AM
Hi Janaki Ram..
In the PBO module use this code
LOOP AT SCREEN.
IF SCREEN-NAME '<TEXT FIELD>'.
SCREEN-INPUT = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
<b>Reward if Helpful.</b>
.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |