REGARDING MIME OBJECTS
i have to change a logo in the mime objects for an internet service. how can i change so that it should have the same name as the previous one. and if i change the logo that has got different name then whether i will have to make corresponding changes in the templates also?.or name if the logo wont affect its display.
my main problem is replacing one logo with a new one.
Hi
Which SRM version are you using ?
<b>Please try the following links, which will definitely help.</b>
Re: URL assignment for picture (.jpg) file stored in MIME repository of SRM
How to change images
MIME Type
Re: Change of Logo in Loginscreen
Re: Badi for custom Logo in shopping cart initial screen..
Re: how to change first page in SRM Portal
Add company logo to initial screen of EBP
Re: SRM portal page customization
Re: Change of ITS screens
Do let me know.
Regards
- Atul
Similar Messages
-
Mimes Object doesn't exixts warning message in bi report on Portal.
Hi All,
We have integrated bi 7.0 reports on portal 7.01 . reports are working fine first time with out any warning .
But when we try to change the drop down value for display as field (Table, Graphic, Table and Graphic) or when we click any buutton New Analysis, Open , Save As etc we are getting following error.
MIME object "/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.ui.acs/resources/js/sapbi_ac_tray_comp.js" does not exist
MIME object "/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.ui.acs/resources/js/sapbi_ac_tray_comp.js" does not exist
Please help us to resolve this issue.
Regards
RajendraHi all
Any suggestion?
Regards
Rajendra -
Add a file to to MIME object at runtime
In runtime, Is there any option to create a file at runtime and after that add that file to MIME objects??
Yes, this is possible.
The Image source can be a context attribute.
You would need to populate the attribute appropriately.
When you say create a file, do you mean file download ?
See the UI element to download a file.
If you wish to generate a graphic, you can call the IGS (internet graphic server)
to build a jpg.
See the samples in the WD component WDR_TEST_UI_ELEMENTS
regards
Phil -
How can i reference a MIME object within a correspondence format through...
how can i reference a MIME object within a correspondence format through TX oofo or se71?
Hi, I need to put a MIME object within a correspondence's format that i've already done through Tx oofo. My problem is, that i don't know exactly how can i make the reference of that MIME object in the format? and What structure type do i have to use in order to make appear the MIME object in my correspondence's format? Does anybody can help me with this?
Regards HectorFrank,
I tried to find some examples/samples on how to create CollectionModel for a table component but not successful.
Can you clarify the following ?
1. "CollectionModel" is referenced only by af:table attributes "value", "selectedRowKeys" and "selectionListener".
The rest of af:table attributes such as "rows", "fetchSize" used to reference the iterator binding in the binding container via the EL expression "#{bindings.VOIteratorBinding.xxx} .
What should I replace that EL expression with?
2. I heck out the bean method to create the CollectionModel as following, is it close to what you mean?
public void initBusinessDataDashboardView() {
OperationBinding operation = BeanUtils.getOperationBinding("getPanelBusinessData");
Map params = operation.getParamsMap();
Key panelKey = getPanelInfoView().getKey();
params.put("panelKey", panelKey);
params.put("maximizedView", false);
panelView = (ViewObject)operation.execute();
// Heck code to create CollectionModel
RowSet rowSet = panelView.getRowSet();
ArrayList rowList = new ArrayList();
while (rowSet.hasNext()) {
rowList.add(rowSet.next());
model = new ChildPropertyTreeModel(rowList, null);
// To be used to set up af:table value, selectRowKeys, selectionListener via EL expr #{backingBeanScope.MyBean.model.xxx}
public CollectionModel getModel() {
return model;
Am I on the right track?
Edited by: Pricilla on May 4, 2010 2:20 PM -
Calling a mime object in the WebDynPro ABAP code dynamically
Hi ,
Can anyone let me know the API to access the mime objects dynamically in the WD ABAP code. I have a text file in the WD ABAP component as a text file.
I would like to pick the file with the help of API's and read the content of the file using Mime Object API's .
Can anyone help me out in this.
Best Regards
SidHi,
do the methods of CL_WD_WEB_ICON help?
Regards, Heidi -
Dynamic insertion of MIME object into a web dynpro component
Hi,
I want to dynamically insert a MIME object of type JPEG or type GIF into my web dynpro component at runtime.
I was unable to find the database table which contains the list of MIME objects for a particular web dynpro component.
Can you please help me out with this?
Thanks in advance,
Adithya
Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
Edited by: Thomas Zloch on May 23, 2011 9:55 AMHi Muzammil Bichoo ,
when you copy the wda component, it will be copied and will be in active state, once all the components are activated means, windows, views, everything will be available.
now create application for your component, if you have more than one window(interface view) select the one which you need for the application.
Regards
Sarath -
BSP OTRs and MIME Objects do not appear
Dear SDN Members:
I have been facing a very peculiar issue. At first we had problems in our Z* BSP Application with SY-SUBRC values after a
READ TABLE itab INTO wa WITH KEY field1 = var_field1.
If there were no matching record(s) in Internal table, the SY-SUBRC value was still '0' (Zero) and not 4 etc..
Now another problem has cropped up...
At a point in the program (Layout section), there are some HTML lines and OTRs+MIME objects to be executed.
The program executes those lines as visible in debugger, but does not display the same on Internet Explorer screen. The OTRs and .gif files do not appear in this case. A small preview of the code is pasted here below:
We have recently upgraded our Quality/Testing server to CRM 4.0 from CRM 3.0 and are doing Application Testing.
<td class="body" width="100" style="vertical-align:middle; text-align:center">
<% if a_fcode_tknra = 'change' and application->c_rolle_user <> 'P' and ls_release-releaseid = '-'. %>
<input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_chng.gif" name="onInputProcessing(change_au_detail__<%=ls_au_ext-auid%>)"
alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_AENDERN)%>">
<input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_dele.gif" name="onInputProcessing(delete_au_detail__<%=ls_au_ext-auid%>)"
alt="<%=otr(zsm_samos/delete)%>" onClick="delete_and_confirm();">
<% endif. %>
<% if a_fcode_tknra = 'change' or a_fcode_tknra = 'display'. %>
<input type="image" style="background-color:#EEEEEE" src="/SAP/BC/BSP/SAP/ZSM_TKNRA_PLUS/IMAGES/s_b_disp.gif" name="onInputProcessing(display_au_detail_<%=ls_au_ext-auid%>)"
alt="<%=otr(ZSM_SAMOS/ZSM_TKN_RA_RA_KE_P05_ANZEIGEN)%>">
<% endif. %>
</td>
Please help me understand how to go about solving this.
Regards.
Vivek.Thanks Raja for posting back. The issue is slightly more complex: there are other "src" usages, but they are working fine in other sections of the layout code. The MIME objects have all been stored at right places.
This BSP Application has been in use since 2-3 years. Only while we posed for CRM 3.xx to 4.xx upgrade, we are facing these issues in Quality Testing.
We have tried some 2-3 permutations and combinations for this part of code, but nothing works. Do you think the source path changes in different CRM versions? Or do OTRs face some compatibility issues? Do guide me with them.
The READ table issue is a shocker for us as well!
Ofcourse the work area is empty, as nothing's there to be read! Now we have placed a double check with "work area NOT INITIAL" to override this problem. In fact this is on SAP OSS as Priority 1 issue but no definite solution has been provided till date, except that they were talking of some Kernel patch (...??).
Do let me know if you can think of some reason for this abnormal behavior, as right now everything is "out-of-the-box".
Thanks.
Vivek. -
How to put bsp application mime object path in WAD 7.0?
hi all.
I'm already know 'bwmimerep:///sap/bw/mime/Customer' will be changed to /sap/bw/customer/ mime repository path when it's published in WAD7.0.
but is there any way get mime path custom BSP Application?
for example If I made test.jpg in 'ZBW' bsp application
I should use full url 'http://domain:8000/sap/bc/bsp/sap/zbw/test.jpg' instead of relative url '/sap/bc/bsp/sap/zbw/test.jpg' if I include url in WAD7.0
is there any idea put relative url in WAD 7.0 certianly I don't want include full url because develop and product server domain is different.
thanks.it looks like bwmimerep:/// prefix is the only one available which points to SAP->BW under mime repository.
the standard help states (http://help.sap.com/saphelp_ppm400/helpdata/en/44/5001d197c01193e10000000a155369/frameset.htm) to use custom images in WAD
"You can store your MIME objects anywhere in the MIME Repository under SAP->BW"
May be we need a mechanism to create bcmimerep, publicmimerep, etc.
Regards
Raja -
Need code for dynamic insertion of a MIME object(image) into WebDynpro View
Hi experts,
I am attempting to insert an image into a view at runtime, using lines of code.
I know that this code must be present in the WDDOMODIFYVIEW method of that particular view.
However I am not sure about the lines of code which can do this. Can anyone please help me out with this........
Thanks in advance,
Adithya.Hi.,
Yes you can add MIME at runtime ., Check this.,
[MIME at run in WDA |Can mime object be created at run-time?;
also ., [Display logo at runtime in WDA|Mime logo not displaying;
hope this helps u.,
Thanks & Regards
Kiran -
Hi Experts, I have small issue with Mime object in webdynpro component?
Issue: i have imported mime object with some changes on existing mime object, But this is not reflecting it was displaying old one only,New changes are not reflecting.
Requirement : We are creating buttons with some CSS style and that image type .PNG and that image we are importing into web dynpro component as a Mime object , This same image we are creating for defferenet languages(EX : image name : Searcch_EN.png , Search_DE.png), this images we are binding the button image source property . and we are calling this image through the code.
Now problem : I want change one image Ex : Sumbit_EN.png . i need to change this button i image like " SUBMIT_EN.png". So i have created this image as per requirement and i have imported into mime object. But it was not reflecting.
Please Help me on this...
Regards,
Venugopal.PHi Venu,
You need to clear the cache of mime object to see the changes done.
Please follow the below steps
Right click on mim object or your image
Choose option "Expiration Time client cache" from menu
Check the individual expiry date check box and un-check the Expiry active as below
Note: you can do it for individual imange or for all mimes in a component
Hope this helps you.
Regards,
Rama -
Web Dynpro ABAP: How to access the content of a mime object?
Hi everyone,
does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
DATA: xml_content type xstring.
xml_content = read_mime_object("test_123.xml").
Any ideas?
Regards,
Nilsdude here's the modification that i've done but I can't still access the content of the properties...
Mail mail = new Mail();
String message2 = sqlException.getMessage();
File file = new File("Add.properties");
Properties props = new Properties();
props.load(new FileInputStream(file));
String[] emailadd = {props.getProperty("emailadd","defaultValue")};
mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
Message was edited by:
ryshi1264 -
Hello All,
I've imported JSP file into my BSP Application ( not MVC ) as a MIME Object.
Now I want to know the location of this object in the MIME Repository.
So I went to SICF and checked the MIMES across my BSP application.
But no MIMES Folder is there under my BSP Application.
Where is my JSP File stored on the Application Server ?
How to chk where it is stored ?
How to know the file path of my JSP FIle ?
Can any one help me out reg. the above ?
Regards,
Deepu.Kif its in the MIME folder of your BSP application, then the path is
http://abaphost.domain.com:port/sap/bc/bsp/sap/yourbspapp/mimefilename.extension -
How to place am mime object on the smartform ?
Hi All,
How to place am mime object on the smartform ?
Is there any function module to read a mime object from mime repository?
Any help would be appreciated.
Regards,
Raja Ram.Hi Vishwa,
Thanks for your prompt response.
How to get the obj ID of a MIME object?
I checked in So2_MIME_REPOSITORY bur couldn't find?
Is there any mapping table between MIME object and object ID ?
I am very new to MIME objects.
Please tell me.
Regards,
Raja Ram. -
Loading of MIME objects into HTML pages
Hi Everyone
I am trying to load two logos as mime objects into an HTML page.
I am using
call method web_page->load_mime_object
After that I use
call method web_page->show_url
Whenever I call this last method with parameter in_place as a space (to call an external browser) my logos are not displayed.
If I call the method with in_place as 'X' the logos appear.
The mime objects reside in the SAP web repository (trans smw0).
Any ideas how to pull the logos into the external page?
Regards
JohanHi Satya
Thanks very much for your reply. I do not use ITS for my purposes but it is something to be remembered for next time.
I have actually solved the problem but only with a "second price" solution.
In the HTML form I have pointed the source of my two images to a shared folder somewhere on our dev server. For our purpose this will always work.
What I am thinking is that if SAP allows an external browser to be used it should also give the means of loading the images. Maybe I just don't know how.
Now that I think about it more - I should go and try your suggestion in any case and see if it works.
I thank you again and if anyone comes with more ideas they will be as welcome.
Regards
Johan -
How to clear cache after mime object is updated?
Hi Expert,
I create a mime object (such as "test1.jpg") in mime repository.
In web dynpro, I add two UI elements: a formatted text edit and a File-Upload "Insert Image",
after I click the File-Upload "Insert Image",
I select an image file (such as test2.jpg) from local directory, and upload the content of the image file to mime object(test1.jpg) in mime repository.
at the same time, I insert a line into formatted-text-edit as "<img src="/SAP/Public/.../test1.jpg" />".
I double click the mime object (test1.jpg), its content has changed as test2.jpg,
however, formatted-text-edit still displays the content of test1.jpg.
When I mannually clear the cache of IE, and refresh the web, Formatted-text-edit display the content of test2.jpg.
It's obvious that the cache of http server isn't cleared.
How to clear cache after mime object is updated?
Any suggestions are welcomed.
Thank you.
Best Regards,
Derek
P.S. the source code:
lv_url = '/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg'.
lo_mine_rep = cl_mime_repository_api=>get_api( ).
lo_mine_rep->put(
EXPORTING
i_url = lv_url
i_content = lv_file_string ).
Edited by: Derek Zhao on Sep 20, 2010 6:21 AMHi Derek,
Have you tried the method INVALIDATE_ICM_CACHE of class CL_MIME_REPOSITORY_API ?
Regards,
Anand
Maybe you are looking for
-
How do I delete a 2 photo stream folder from my Iphone 4 device
I followe the instructions on resetting my photo stream. It deleted all the pics from one Photo Stream Folder but not the other. I dont even know how I got 2 photo stream folders. Can someone tell me how to get rid of the pics in the second folder an
-
How to pay a foreign vendor on a French Bank Account
Hi Team We have a issue where we need to clear a Forien Vendor. So we used a payment menthod say "T" where is marked Foriegn payments allowed.But F110 did not work as the Bank Account was Local . Company belongs to France Vendor belongs to Swiss Vend
-
HT1212 hi my i pad is disabled tried to connect itunes and its coming up with a error message
please help me out to solve the problem my ipad is disabled after six wrong passwords i tried to restore it with itunes and its ending up with error message
-
Javac problem due to a wrong classpath - WHY?
Hi, this is the initial part of my classpath: luca@linux:~> echo $classpath :/java/jdk/jre/lib/rt.jar:/java/jikes/rvm/2.3.0.1/rvm.classes: As you can see the first entry is the rt.jar, while the second is a wrong path that leads to a directory tree w
-
How do I make left side of submit button display on form (Forceful theme)?
Hello, This is the page with the button problem - http://blue123a.businesscatalyst.com/select. I started a new trial site and selected the Forceful theme. I made a new form with a radio selection and added the form to a new page named "select". The s