Toolbar: replace SAP icon with custom icon
Hello,
in the account overview (component BP_HEAD, view BPHEADOverview), the implementation class (CL_BP_HEAD_BPHEADOVERVIEW_IMPL) contains method IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS where the buttons for the account overview are collected.
Here you can check which buttons are used by SAP standard, e.g. for the PDF fact sheet, an icon is added:
ls_button-icon_src = '/sap/bc/bsp/sap/crm_ppm/w_pdf__s.gif' .
Now, I wanted to replace the given icon by another, customer-specific icon. I've tried to change the given URL to anything else, however, it didn't work. I even found out that the given URL is not necessary, it even works with this:
ls_button-icon_src = 'w_pdf__s.gif' .
ls_button-icon_src = 'i_do_not_exist/w_pdf__s.gif' .
Thus, I assume that there's some kind of mapping of the icon name (e.g. "w_pdf__s.gif") is mapped to any table entry or whatever hard-coded.
Does anyone having experience with replacing the icon with a custom-specific one and can provide the necessary steps?
Regards
Wolfgang
Hi Wolfgang,
You can use below sample code to get corresponding url for any standard sap icon:
lv_icon = 'ICON_LED_GREEN'.
* Convert icon code into URL and prepare bee
lv_icon = cl_bsp_mimes=>sap_icon( id = lv_icon ).
lr_image->src = lv_icon.
Also, all the icons are available in the database table 'ICON'.
I hope that helps.
Thanks,
Rohit
Similar Messages
-
How to replace SAP logo with customer logo
Hi Gurus,
How to replace or insert a customer logo when creating input schdules EvDRE function.
Cheers,
Reddy.Reddy,
You shld be able to copy and paste your logo (after deleting the SAP logo). ..as you would do in regular excel. If sometimes it doesn't work...use the insert picture functionality......regular excel/MS way.
Hope this helps.
Vishal. -
UIX Look&Feel with custom icons
I am trying to create my own look and feel configuration for a UIX application and I still want to allow customers to easily change the colors of the look and feel by just using a different .xss file.
This works nicely apart from the icons I used e.g. for the content container.
Now my question what do I have to do to automatically color my icons in colors defined in the .xss file as the regular BLAF does.
Can I declare this somehow in my LookAndFeelConfig.xml file? Or do I have to use the
<instance class="" method=""/> element for the image. If so are there any utility classes from UIX that help me change the color of an image?
thanks,
Guido
Currently what I have is smthg. like this:
<icon name="contentContainerLightHeaderStart">
<context-image uri="Images/fti_alternate/cnr_drk_tl.gif"/>
</icon>
With the icon having a fixed color idependent of any styles.repost. Is this supported or not?
I decompiled part of the UIX framework and it seems this is not really intended as the class coloring the Icons uses some fixed style names and is only useful for the OracleDesktopLookAndFeel.
Are you thinking of making something like this available in one of the next releases?
I think this would a be a very nice feature. At least what I suggest is that for Instance icons the method that returns the icon gets a RenderingContext (and maybe the name of the icon so you can have one method for mulitple icons) - this way a you can implement the code to color the icon in that method.
Let me know what you think.
Guido -
may macbook late aluminum stuck on apple icon with loading icon how can i fix it? i tries doing the command p+r thing
please help me asap. btw when i did the command p+r or command +option+p+r a lock icon with textbox at the bottom is there and i dont know what to type in.
-
I was attempting to upload a video to face book and decided to cancel, now I can not get the quicktime icon with Facebook icon embedded to delete? what are steps to clear desktop?
A warm welcome to Apple discussions!
A 2003 iMac cannot support Snow Leopard 10.6; you'd need an Intel processor and that cannot be retrofitted to your Mac. What does "About this Mac" in your Apple menu say for your processor speed? What does it say about how much RAM you have?
If the processor is 1ghz or faster, you can run OS 10.5; otherwise, you are maxed out at 10.4.11.
Also, are you running any commercial ("pay for") anti-virus or security software? They are notorious for slowing most Macs to a fraction of their speed potential.
A too-full hard drive can drag down performance, especially if you don't have a lot of physical RAM installed. If you single-click your hard drive icon and then do command i, you'll see the disk usage. Looks like this:
The value for "Used" should be no more than about 90 percent of "Capacity." In the example image, that drive has about 34 percent of its space used and 66 percent free--more than enough. Please post what you see for your Capacity and Used numbers
There are a few more things we might check but this is a good start.
Awaiting your information,
Allan -
All I get is usb icon with iTunes icon on iphone5-.
Posted earlier, but brand new iphone5 is locked,unresponsive. Have tried everything including trying to restore from itunes. Regardless, all I ever get on iphone is the uSB icon/with itunes icon (like it is asking you to connect to pc). I have tried windows, mac machines plus different USB cable still no luck. Is there anyway I can unbrick my phone?
ThxsFWIW/Hopefully might help someone else..... our issue was hardware related and after visit to genius bar left w/ new iphone 5.
On a seperate note..... VERY impressed with Apple/Genius Bar at my local store. Within 15 minutes had problem identified and on our way w/new phone. -
Problem with custom icon on toolbar (iPhone Beta 6 SDK)
I created two custom icons, using transparency so they are white lines on a transparent background, to add to a toolbar at the bottom of the screen.
toolbar.barStyle = UIBarStyleDefault;
UIBarButtonItem *theItem = [[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"MyImage.png"] style:UIBarButtonItemStylePlain target:self action:@selector(theAction:)] autorelease];
On the simulator, this shows properly a white icon on the grayish toolbar. On the device itself, it shows a white box the size of the icon. It still works.Problem persists in Beta 7. However a workaround (which might have worked in Beta 6, I don't know) is this: use GIF files with transparency, rather than PNG files with transparency. These display properly on both simulator and device.
-
If I attach an item with a custom icon to a new message, that custom icon is dropped. Any way of preventing that?
Comments appreciated.@Petteri_Paananen,
While exporting your AIR application..You will be asked whether to include files or not..(Include Files window appears) in which you need to make sure that they are checked.
Please refer to the screenshot..
Thanks,
Bhasker -
How to use Fireworks JQuery Mobile Theme with Custom Icons in Dreamweaver CS6?
I understand how to create the custom theme in FW, I created one extra icon using the icon placeholder option. I then export the theme. FW spits out 5 css files and the png sprites. What do I do with the css files for the different png dimensions?? I don't understand how to get what I created in FW to work properly in DW. I can get the theme working but DW creates the jquery folder with the default icons, I need to get my custom png sprite in there. When I do this, it seems that it shifts everything since the dimensions are wrong. The theme css that FW spits out has a @import url for the css files styling the diff sprites but it still doesn't work. I'm at a loss as to how to get it all to work together.
Sorry, no knowledge of FW themes, but it would seem easier to adjust the positioning code
than to try redo your sprite image. -
To replace SAP script with smartform in customer statement using t-code F.27
Hi, I have a requirement to replace SAP script while generating a customer statement form using F.27 with Smartform. The standard program which triggers the SAP script is RFKORD11. Can anyone tell me how can we achieve this. Thanks in advance. BR, Karthik.
Hi
do you find a solution for your issue? Or did anyone else know how to send raw data instead of the pdf or fixed file from transaction F.61?
Thanks for any ideas or help
Axel -
Can't publish with custom icons
Whenever I attempt to publish an AIR app for which I've selected a custom icon, I get an error message, "An attribute or element contains an invalid value in the application descriptor file. (application.icon.image128x128)"
Looking in the file "TL Report processor-app.xml" which is created alongside the app, I see that where presumably the path to the icon file should be, I see:
<image128x128>AppIconsForAIRPublish/AM initials.png</image128x128>
instead of the complete path to the PNG that I entered in the Publish settings.
What the f@*# gives?Hi Cj
There are a zillion threads on this general problem so you will find plenty of detailed ideas and fixes if you need to go digging. But your problem sounds like one I have from time to time even with 1.1.1. My fix has been to delete the notorious prepublishstate file from the domain package for your iweb site, and then to make minor changes to the pages where comments are not showing. Then republish your site and bingo there they are.
If I have spoken too much in code and riddles and you want to try this fix but need more precise details, just let me know.
Regards -
AIR app won't compile with custom icons
My AIr app won't compile when I choose anything but the
default icons. I created 4 pngs in Photoshop and it gives me the
error: Useage error (incorrect arguments)
Any help? I've tried using only 1 icon, all 4, and no icons.
Only no icons works.You dont have to use the GUI to set it, you can use the air
appliation XML.
inside your air-app.xml file look for something like:
<icon>
<image128x128>icons/myIcon128.png</image128x128>
<image48x48>icons/myIcon48.png</image48x48>
<image32x32>icons/myIcon32.png</image32x32>
<image16x16>icons/myIcon16.png</image16x16>
</icon>
if its not there add it, but replace the myIcon128.png with
your 128 point png image etc.
also the above assumes your icons are in a folder called
"icons" in the same directory as your air file.
Hope it helps. -
Create custom folders with custom icons like created by Vibe
I would like to create a custom folder and sub folder in the GW folder list to link to an outside feature. Ideally, it would display in a custom pane on the right like the email list, forum plugin or calendar view.
You might want to have a look at Russ Ward's WS Utilities: http://weststreetconsulting.com/WSC_Utils.htm
ImpGraph by the late Bruce Foster also did most of this, but is no longer available.
Steve Kubis' AutoText may also provide part of the solution (custom sized Anchored Frames): see: http://www.siliconprairiesoftware.com/Products.html
You can also create custom anchored frames on your Reference pages and then copy & paste from there. Automatically scaling an imported file to properly fit would require a custom FrameScript or plug-in - FM's auto-scaling on import may distort your graphic. -
Replace standard area with custom iview
Hi experts!!
I have the following question: can i replace a standard portal area with a custom iview??
If yes how can this be done??
I am a newbiew..any help would be really appreciated..
Thank u in advance!!!Grigoria,
are you talking about Portal Content area.
once you create the iview ,go to content Provided by SAP-End User Content-Standard Portal Users- open Default Framework Page-Open Desktop InnerPage-you will find Content Area-you can add your custom iview there and uncheck visible property to standard one.
I suggest you to create a copy of Default Framework page and work on that
Thanks
Bala Duvvuri -
Replace Detailed navigation with custom iview
Hi experts!!
I would like to know how i can replace the detailed navigation view with a custom iview.
Thank u in advance!!!check the below thread for more information
https://forums.sdn.sap.com/click.jspa?searchID=25630709&messageID=6367244
Detailed navigation iview is assinged to Default framework page.
My suggestion is you duplicate the default framework page and can replace the detailed navigaiton iview with ur iview. Also assign this cutom framework page to your user id by display rules.
Raghu
Maybe you are looking for
-
How to disable the new logon Window in Adobe Reader 11?
Some times, some corporate guys get an idea - and no one is around to stop them. For some reason, there's now a logon window in Adobe Reader taking up 1/3 of the screen...and it can't be disabled. Which mor....person...ever thought of something like
-
Mouse over a menu on the portal
hello We are using Portal Nw2004s SPS14. I would like to know if it possible that, when you put the mouse over a menu on the portal, a label appears with a long text. I mean, If it is possible, in the standard. Thanks and Regards Noemi
-
Is it possible to do a manual sync and store my songs,pics,video, etc. on my iPod classic while removing them from the iTunes on my computer to save space on computer?
-
Please let me know what to do to get back that add-on as I've formatted my PC.
-
I have an Iconia Tab 8 A1-840 that won't turn on the wifi
I have performed the factory reset. When it powers back on it goes through the setup process. When it gets to the wifi setup it will either state that I need to turn my wifi on or that it is turning the wifi on and hangs there.