Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

2 icons in push button?

former_member194669
Active Contributor
0 Likes
1,610

All,

This request may look strange.

I have PF status button i need to place 2 icons into that.

I know this is not possible. anybody have suggestions?

All,

This request may look strange.

I have PF status button i need to place 2 icons into that.

I know this is not possible. anybody have suggestions?

7 REPLIES 7
Read only

Former Member
0 Likes
1,259

No is my answer, in which case you want this option..?

Read only

0 Likes
1,259

Hi,

From a report i am calling custom web dynpro application. This application have option to display & print option according to user authorisation. As per request from user in the Icon in the report should show both display/print icons combined together in a single icon.

User doesn't want to display text in the icon. as "display/print"

and also user doesn't want toggle icon (using dynamic status) according to user auth.

Read only

0 Likes
1,259

may be you can look for some icon of the similar sort, and providing the tool tip about the function. or else i heard some thing like SAP can support custom icons, that may work. i am not sure of the note.

Read only

Former Member
0 Likes
1,259

You may like to try creating 2 button side by side

I know that this is not a right solution.

Thanks

Kiran

Read only

Former Member
0 Likes
1,259

I tried but in vain. You can assign the same function code to 2 buttons and place them next to each other maybe.

regards,

Advait

Read only

naimesh_patel
Active Contributor
0 Likes
1,259

I tried with several combinations, but the finding is if the you write your ICON at the first place in the variable than and than it will come as the ICON on the Button.

I have created a button with the dynaminc text from the program.

In the variable W_TEST (my dynamic text), if I write like this than it will generate a Button with a Trash Can icon and with the @12@.


  write: '@11@' to w_test+0(10) as icon .  " 1st position
  write: '@12@' to w_test+10(10) as icon.

If I try to write ICON from the 2nd position in the W_TEST, i get the @11@ and @12@ as text on the button.


  write: '@11@' to w_test+1(10) as icon .  " 2nd position
  write: '@12@' to w_test+10(10) as icon.

So, Creating a new Icon which is combination of your required Icons will be the choice. I know that we can create a new Icon, but don't know how.

Regards,

Naimesh Patel

Read only

0 Likes
1,259

Naimesh,

Thanks for your reply.

creating new icons ... that will be long process and i doesn't want to change the %windir%system32sapbtmp.dll.

Thanks