2009 Jul 24 10:41 AM
Dear All,
Here the code:
SELECTION SCREEN COMMENT dis-01
If i write:
MOVE 'titi' TO dis-01 -> comment is filled
But:
tmp='dis-01'
MOVE 'titi' TO ???? -> how use tmp variable to have comment filled ?
Thanks a lot,
Rodolphe.
2009 Jul 24 11:56 AM
Hi,
Try this code:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p_radio1 TYPE c RADIOBUTTON GROUP rad1.
SELECTION-SCREEN COMMENT 4(12) text-p01. <------- Put the hard coded value in a text element
SELECTION-SCREEN POSITION 27.
PARAMETERS : p_report TYPE sy-repid.
SELECTION-SCREEN END OF LINE.
Dear All,
Here the code:
SELECTION SCREEN COMMENT dis-01
If i write:
MOVE 'titi' TO dis-01 -> comment is filled
But:
tmp='dis-01'
MOVE 'titi' TO ???? -> how use tmp variable to have comment filled ?
Thanks a lot,
Rodolphe.
2009 Jul 24 11:20 AM
Hi,
Use like this
move 'titi' to tmp.
dis-01 = tmp.
selection-screen begin of line.
SELECTION-SCREEN COMMENT 5(10) dis-01.
selection-screen end of line.
Edited by: vikred on Jul 24, 2009 12:21 PM
Edited by: vikred on Jul 24, 2009 12:58 PM
2009 Jul 24 11:32 AM
Hi,
Use Initialization Event.
Sample Code:
data: p_var type sy-uzeit.
selection-screen begin of line.
selection-screen comment (34) p_comm.
parameter p_para type char10.
selection-screen end of line.
initialization.
p_var = sy-uzeit.
p_comm = p_var.Thanks,
Naveen Inuganti.
2009 Jul 24 11:56 AM
Hi,
Try this code:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p_radio1 TYPE c RADIOBUTTON GROUP rad1.
SELECTION-SCREEN COMMENT 4(12) text-p01. <------- Put the hard coded value in a text element
SELECTION-SCREEN POSITION 27.
PARAMETERS : p_report TYPE sy-repid.
SELECTION-SCREEN END OF LINE.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |