2007 Jun 07 6:32 AM
i set the not possible properties for text box at the time of form creation.
how i set possible properties for that text box by abap coding.
Hi,
in PBO You can use LOOP AT SCREEN ..ENDLOOP..and change the properties..
Ex..
PROCESS BEFORE OUTPUT.
MODULE change.
MODULE change OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'TEXT BOX SCREEN FIELD NAME'.
BREAK..Put a break point here and check the values in SCREEN structure for the possible properties to change..
ENDIF.
ENDLOOP.
ENDMODULE.
Thanks,
Naren
2007 Jun 07 6:35 AM
Hi,
in PBO You can use LOOP AT SCREEN ..ENDLOOP..and change the properties..
Ex..
PROCESS BEFORE OUTPUT.
MODULE change.
MODULE change OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'TEXT BOX SCREEN FIELD NAME'.
BREAK..Put a break point here and check the values in SCREEN structure for the possible properties to change..
ENDIF.
ENDLOOP.
ENDMODULE.
Thanks,
Naren
2007 Jun 07 7:22 AM
2007 Jun 07 6:39 AM
write a loop with screen struture any screen will have screen structure defualt ...
'TEXT BOX SCREEN FIELD NAME' is the field of the text box
screen-value -> palce your value of that field .
LOOP AT SCREEN.
IF SCREEN-NAME = 'TEXT BOX SCREEN FIELD NAME'.
ENDIF.
ENDLOOP.
girish
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |