Tooltips for icons in the MIME repository
Dear community,
when using the "old icons", i.e. those starting with 'ICON_', (which - I know - I shouldn't do), each icon comes with some sort of automatical tooltip. Whereever I use the icon, the tooltip is also there.
My questions:
- Is there a way to attach (translatable) tooltips to my own icons that I upload into the MIME folder of a webdynpro component?
- Is there a better place to put my icons to (where I could attach a tooltip)?
- And finally: Is there a way to change the tooltip of an icon?
Any hint is greatly appreciated.
Best regards,
Christoph
Hi Lekha,
oh, that is a misunderstanding! I certainly know about the tooltip-property for images.
My question refers to this "automatic" tooltip functionality that occurs whenever you use one of the ICON_* icons.
Consider the following example:
I have a table with a column containing always exactly on of several icons. To realize this I use the Image cell editor and bind the source property to a context attribute that contains the icon source.
Similarly, I could also bind the tooltip property of the cell editor to a context attribute that contains the tooltip text. The down side of this is that I have to introduce (and maintain) an additional context attribute, although the tooltip for one specific icon is always the same. This especially hurts if you have many tables with icons and extensive context mappings.
In contrast, if you just refer to an ICON_* icon, you ALWAYS get a tooltip automatically, e.g. ICON_DUMMY gives you the tooltip "placeholder icon".
Any hints here?
Best regards,
Christoph
Similar Messages
-
Write javascript function in the mime repository
Hey all,
I Wrote a javascript functions inside the WAD html, and it works great.
Now I want to distribute this code to many WAD's.
I belive that the right way is to move the code to the mime repository and call it from the WAD's.
How can I Call a function in a file.js file that exists in the se80?
Thanks in advanced
HagaiTry thowing this line in your <head> tag:
<script language="JavaScript" src="/sap/bw/Mime/Customer/JavaScript/myJSFile.js">
<!-- { } -->
</script>
When you refer to your javascript, just use
<script type="text/javascript">
//Javascript here
</script>
There are also caching issues when using javascript. After you make a change to your file, use TCODE smicm. In TCODE SMICM, from the file menu... Goto->HTTP Server Cache->Invalidate->Global in System. This will invalidate the cache so you can see your new changes.
Cheers,
-Brendon
Message was edited by: Brendon Lipchen
Message was edited by: Brendon Lipchen -
Where is the MiMe Repository ?
Hi guys,
I need to import some CSS Stylesheets into SAP BW
Where can I find the MIME Repository in BW ?
I don`t have it under my SAP Menu SAP -> BW - BEx ?A component called Web Analyzer doesn't exist.
Maybe you want to create your query directly on the web (not just a template).
In this case there in the Ad-hoc Query Designer, it's very similar to the Query Designer in tha Analyzer.
From the Web Application Designer, crating a new template, in the list of the items you can find the Ad.hoc Query designer, drag it in the work area, save and lounch the template. It will open a pop-up where you will choose the InfoProvider and then create your query as in the Analyzer.
Hope I've been helpful.
Greetings.
Fabrizio -
Display logo from mime repository in the html email
Hi Experts,
I have created a report which will generate an email using SO_NEW_DOCUMENT_ATT_SEND_API1 in html format. Everything works fine except for the logo which I have saved in the MIME repository.
I am calling these two functions to get the mime object in URL
'WWW_GET_MIME_OBJECT'
'DP_CREATE_URL'
From the second function I am getting the link of the logo in the variable gv_url .
And I am writing the code to include that URL in the html email body
However when the email is received, in place of picture it is just showing a box with an 'x' mark in it.
Please help me with this, thanks
Thanks
Ajith
Edited by: ajithfin_c on Jan 23, 2012 6:06 AM
Edited by: ajithfin_c on Jan 23, 2012 6:08 AMCheck out the help.sap.com for this. you get ->
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/a670692dbc494fb5416fdaa93ee1a9/content.htm">Insert graphics</a>
- anto -
Is possible leave a object type (MIME Repository) of the transport system?
Hi,
We'd like use the MIME Repository for storing pictures of our SAP CCM Catalog.
When we import a new MIME object a order is created. It is possible to avoid this. I mean I'd like to know if we can do this.
- In a prductive system (closed)
- Configure an object type to leave the transport system
Any idea about this?
Thanks for your attention
Regards
JorgeHi
Your program works fine you need only to write all DEFINITION and then all IMPLEMENTATION:
* CLASS one DEFINITION
CLASS ONE DEFINITION.
PUBLIC SECTION.
METHODS: ADDIT IMPORTING ADD_NUM1 TYPE ANY
ADD_NUM2 TYPE ANY
EXPORTING ADD_SUM TYPE ANY.
ENDCLASS.
* CLASS two DEFINITION
CLASS TWO DEFINITION INHERITING FROM ONE.
PUBLIC SECTION.
METHODS: OUT IMPORTING OUT_NUM1 TYPE ANY
OUT_NUM2 TYPE ANY
OUT_SUM TYPE ANY.
ENDCLASS.
* CLASS one IMPLEMENTATION
CLASS ONE IMPLEMENTATION.
METHOD ADDIT.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
ENDMETHOD.
ENDCLASS.
* CLASS two IMPLEMENTATION
CLASS TWO IMPLEMENTATION.
METHOD OUT.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDMETHOD.
ENDCLASS.
DATA O_ONE TYPE REF TO ONE.
DATA O_TWO TYPE REF TO TWO.
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
START-OF-SELECTION.
CREATE OBJECT: O_ONE, O_TWO.
NUM1 = 2. NUM2 = 4.
*when is called is used EXPORTING
CALL METHOD O_ONE->ADDIT
EXPORTING
ADD_NUM1 = NUM1
ADD_NUM2 = NUM2
IMPORTING
ADD_SUM = SUM.
*PERFORM addit USING num1 num2 CHANGING sum.
CALL METHOD O_TWO->OUT
EXPORTING
OUT_NUM1 = NUM1
OUT_NUM2 = NUM2
OUT_SUM = SUM.
NUM1 = 7. NUM2 = 11.
CALL METHOD O_ONE->ADDIT
EXPORTING
ADD_NUM1 = NUM1
ADD_NUM2 = NUM2
IMPORTING
ADD_SUM = SUM.
*PERFORM addit USING num1 num2 CHANGING sum.
CALL METHOD O_TWO->OUT
EXPORTING
OUT_NUM1 = NUM1
OUT_NUM2 = NUM2
OUT_SUM = SUM.
Max -
Comany logo insert for mime repository
Hi friends,
I have dought , i have see the company logo into wad 3.5 or 7 version , i have used 3.5 , i have to do
some steps 1)went to se80--- click mime repository
bex-icons--contextmenu --- import mime repository select desktop companycode image ok
2) next i went to wad 3.5click insert -- picture -
in this window select a picture from the list in that list
my selected image is not there , i have do any mistake
plz tell me procedure step by step in 3.4 or 7 version
thankyou.yes
-
Regarding displaying the photo in wd abap from mime repository
Hi All,
I have to display the photos which are availaible in the mime repository.If any one knows about it then please tell me in detail i.e. step by step.
Thank you all in advance.Create an Image element on you view and then go to the source property click on that and the n select the image from MIME.now the Image will be available on the view.
Thanks
Suman -
How to assign a tooltip for a field in ALV editable grid?
I have to display some instructions ( 50 chars long) for an editable field in alv.
How to do this?
BCALV_DEMO_TOOLTIP tells about assiging tooltip to an icon or symbol.
Thanks,
Ven..Neither of these two example programs help much in regards to tooltips against any field of any row. Both of these examples use tooltips for Icons. I have also been looking for a single example of tooltips usage outside of these two programs, and have found nothing in SAP, or on the internet, so far.
Having said that, I have tried to implement the same method used by the later example, but have not got this to work. What I think we need is an example of this functionality where these Icons are not used!. I believe.
Gary King -
Download Word .doc file saved in MIME Repository to local PC
I need to store a static Word document on the SAP server and download to the user's browser via a BSP application. I have found code in the IT00 BSP Application to download the Word doc in xstring form to the browser, which will work for what I'm doing. What I cannot seem to find, however, is how to retrieve the Word .doc file stored in the MIME repository and then subsequently how to convert this MIME object to an xstring value. Is there a class or function module available to retrieve and convert the MIME object to an xstring form so that it can be returned as a response back to the browser?
you can use the following code snippet to read mime repository content.
data: o_mr_api type ref to if_mr_api.
if o_mr_api is initial.
o_mr_api = cl_mime_repository_api=>if_mr_api~get_api( ).
endif.
call method o_mr_api->get
exporting
i_url = l_url
importing
e_is_folder = is_folder
e_content = l_current
e_loio = l_loio
exceptions
parameter_missing = 1
error_occured = 2
not_found = 3
permission_failure = 4
others = 5.
l_current will hold the image in a XSTRING var
Regards
Raja -
Hi !
For an automated test I need to deploy some text or HTML files to a Web AS ABAP.
Planned to use the mime repository for this, BUT ... Is there any possibility to access a folder of the MIME repository by a public URL (no login required) ? If yes, how do I build the URL (depending on the path in the MIME repository) ?
If no, anyone got an idea how else I could publish public html or text files so that they can be delivered like a "normal" ABAP application ?
Any help will be appreciated ...
Best regards,
AxelOK, here is an exemple :
This the URL of my company's logo which is used on the logon page of one of our BSP application. As the logo is displayed, before you are logged in, the URL needs to work with no authentication (which means with user SAPSYS).
http://my_server.my_domain/sap/public/bsp/sap/zlm_hds_system/logo.jpg
In SICF, we have created a link /sap/public/bsp/sap/zlm_hds_system which points toward /sap/bc/bsp/sap/zlm_hds_system
Regards,
Olivier -
Business Document Service versus Mime Repository
Dear experts,
we are looking for the best way to store a couple of graphics (Bitmap or JPEG), not thousands but maybe a few hundred, and due to lacking experience and information we cannot really decide wether they should preferably be saved in the BDS or in the mime repository.
Does anybody know if there is some sort of general information on when to use which one?
Pros and Cons of both types of repository? I couldn't find anything like that. In the books I've been reading on the usage of the SAP Picture Control I find example for both ways but without any notice concerning principal advantages that one of the techniques may have against the other.
Thanks in advance for your help !
regards
Andreas"Wiki documents" are a feature of Document Service. This is why Yannick complained that the name is a bit confusing.
There is also a "Wiki", which allows you to create/maintain wiki pages.
say if i want to customise it then what do i need to do and more importantly i want the steps to use document task flowsWhat do you want to customize? If you search Yannick's site there are also blog articles on how to customize task flows.
If you want to just use them, you can go ahead without customizations - I'd recommend to get familiar first what OOTB task flows can do for you. I guess for your use case they should be sufficient. -
Hi
I have to upload a logo from mime repository. I have uploaded the graphic into the mime repository, but I have no idea how to proceed. Please guide.
Regards
DineshCheck out the help.sap.com for this. you get ->
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/a670692dbc494fb5416fdaa93ee1a9/content.htm">Insert graphics</a>
- anto -
Form builder and MIME repository
Hello,
I want to add an image in my form.
This image is uploaded like a MIME Object to have an URL address.
But when I indicate this URL in the dedicated field, the image does not display.
Can you have a solution to display an image from a MIME repository.
Thanks for your answer.
Regards,
Séverine.Hi Séverine
note that the documentation in the Help Portal http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/a670692dbc494fb5416fdaa93ee1a9/frameset.htm under 4. states that you cannot access a graphic in the MIME repository via URL. You need to include it as graphic content. You need to define this in the print program.
To use a URL, you need to store the graphic on a dedicated server and create the reference to this server.
Cheers,
Markus Meisl
SAP NetWeaver Product Management -
Version mismatch between unified rendering and themes in Mime repository.
We are planning to modify the SAP_tradeshowplus theme to include our company logo etc. As a start point we try to download the latest themes using wd_themes program. On execution of the program following message is displayed.
The current version of unified rendering 7.11.3.2.0. All themes in the MIME repository should have this version This is not the
case present. Perform an upgrade. More so sap_tradeshowplus is not listed .
Our system version is mySAP ERP 6.0 + EHP4 + NW 7.01 - SP4 with all the latest notes applied as of 14th Aug 2009. Please advise how we can upgrade the themes to match the unified rendering version.
Regards
Rohit ChowdharyHi Thomas,
Thanks for the quick reply. I have gone through the note 1164679 and our intention was never to modify the sap_tradeshow_plus theme. I was just highlighting the point that sap_tradeshow_plus theme is not in the list produced by wd_themes.
Any help or ideas how we can bring the version of unified rendering and themes to the same level. We have a scheduled UAT for one of our major products starting last week of August and the last thing I want to have is the system crash / or dumps because version mismatch between UR and Themes. Please note until so far we haven't had any such issues during our Unit test.
Regards
Rohit Chowdhary -
Error while loading the runtime repository via HTTP
Hi Experts,
I am trying to delete an enhancement and when I enter the component name and the enhancement set in BSP_WD_CMPWB. I get the following error when right click the enhanced view and select delete : Error while loading the runtime repository via HTTP. How do I delete this enhancement?
Regards
Abdullah Ismail.if for some reason the runtime repository is not coherent, you get an error each time you try to read it (and this is the case when you open a component using the transaction BSP_WD_CMPWB)
this is because the XML file is interpreted by a CALL TRANSFORMATION statement, and any incorrect node will raise an uncaught exception
solution:
enhanced view is contained into BSP application you have created the first time you enhanced the component
go to SE80 and enter the BSP application where your objects are stored (the name you provided the first time)
there you can modify directly the objects, including the runtime repository which is stored under node "Pages with flow Logic"
once the correction is done, you can access again your component through transaction BSP_WD_CMPWB (and delete it properly if this is what you want to do)
Maybe you are looking for
-
OHS 11gR1 web-page not showing up after creation, registration of webgate
Hello there, The OHS webpage on host:7777 is not showing up after I created, registered the webgate on oam 11g console. I copied the 2 artifacts into the ohs proxy server box in the webgate/config folder and restarted OHS instance but now, the ohs pa
-
Hi Forum, I have a set types in a ztabs. I use a report to upload some products from a txt file in this fields. Everything is ok in test machine, but when i upload the file in productive machine this fields are filled but the boxes still not editabl
-
Request for new usb midi controller
Apple, please design a new midi keyboard controller designed around the touch screen technology you used for the IPhone. Include plugin controls for Logic Pro instruments. A 88 key weighted keyboard version for the hard-core acoustic piano folks and
-
Add certain field at dynamic selection screen in FBL3N transaction
Hello Expert, I would like to add entry date field (BKPF-CPUDT) at dynamic selection screen in FBL3N transaction. So, I went to SE36 transaction and changed something in selection view for SDF. However, it didn't work. Is there anyone who knows how t
-
Retrieve accessibility parameter.
Hi everyone, I have to retrieve the accessibilty parameter of user so I can display or not some button in webdynpro. If I set parameter ID ACCESSIBILITY_MODE with the value X in SU01, when I call method GET_IS_ACCESSIBLE in IF_WD_APPLICATION return v