2006 Jun 17 4:43 AM
Is there any option to add icons to parameters/selection option fields. This can be done if screen is designed via Screen painter but looking for option if screen is defined using selection-screen option.
Thanks
anu
2006 Jun 17 5:02 AM
Here is some sample code. This shows how to put some text with your icon as well.
report zrich_0001 .
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
parameters: p_check.
selection-screen comment 40(20) icon1.
selection-screen end of block b1.
at selection-screen output.
* Write pushbutton text
write icon_configuration as icon to icon1.
concatenate icon1 'Your Icon' into icon1
separated by space.
start-of-selection.
Regards,
RIch Heilman
Is there any option to add icons to parameters/selection option fields. This can be done if screen is designed via Screen painter but looking for option if screen is defined using selection-screen option.
Thanks
anu
2006 Jun 17 5:02 AM
Here is some sample code. This shows how to put some text with your icon as well.
report zrich_0001 .
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
parameters: p_check.
selection-screen comment 40(20) icon1.
selection-screen end of block b1.
at selection-screen output.
* Write pushbutton text
write icon_configuration as icon to icon1.
concatenate icon1 'Your Icon' into icon1
separated by space.
start-of-selection.
Regards,
RIch Heilman
2006 Jun 17 5:16 AM
Hi Rich,
Thanks a lot for speedy response. it solved my problem.
Thanks again
anu
2006 Jun 17 5:27 AM
That can be done like this.
report zrich_0001 .
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
selection-screen begin of line.
selection-screen comment 1(5) icon1.
selection-screen comment 7(20) fld_lab.
parameters: p_check.
selection-screen end of line.
selection-screen end of block b1.
at selection-screen output.
write icon_configuration as icon to icon1.
fld_lab = 'This is the label'.
start-of-selection.
Regards,
Rich Heilman
2006 Jun 17 5:21 AM
just have an querry, how this icon can be placed on left hand side. close to field lname.
2006 Jun 17 5:28 AM
Or like this.
report zrich_0001 .
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
selection-screen begin of line.
selection-screen comment 1(17) fld_lab.
selection-screen comment 18(5) icon1.
parameters: p_check.
selection-screen end of line.
selection-screen end of block b1.
at selection-screen output.
write icon_configuration as icon to icon1.
fld_lab = 'This is the label'.
start-of-selection.
Regards,
Rich Heilman
2006 Jun 17 6:26 AM
2009 Jun 04 7:02 AM
report zrich_0001 .
type-pools: icon.
selection-screen begin of block b1 with frame title text-001.
selection-screen begin of line.
selection-screen comment 1(5) icon1.
selection-screen comment 7(20) fld_lab.
parameters: p_check.
selection-screen end of line.
selection-screen end of block b1.
at selection-screen output.
write icon_configuration as icon to icon1.
fld_lab = 'This is the label'.
start-of-selection.
2009 Jul 10 6:54 AM
>
> report zrich_0001 .
>
> type-pools: icon.
>
> selection-screen begin of block b1 with frame title text-001.
> selection-screen begin of line.
> selection-screen comment 1(5) icon1.
> selection-screen comment 7(20) fld_lab.
> parameters: p_check.
> selection-screen end of line.
> selection-screen end of block b1.
>
> at selection-screen output.
>
> write icon_configuration as icon to icon1.
> fld_lab = 'This is the label'.
>
> start-of-selection.
ROTFL!!!
pk
2009 Jul 10 8:01 AM
Ah stuff it. I'll go straight for guestification on this one. From "Hi" to "Bye"
matt
2009 Jul 10 8:11 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |