Usage of MIMEs Repository

Hi,
    Please brief about the usage of MIMEs repository and how to use it. I wud appreciate a real time application of MIMEs object.
Cheers,
Sam

Hi Sam,
    There is a standard example named "WDT_QUIZ". In this they have used MIME object. If you want to use/download the image present in another webDynpo component, then select the image under the mime folder in the WebDynpro component and right click on the image and select Upload / DownLoad >> DownLoad.
Download the image in to local directory.
Then right click on the webdynpro component where we want this image to be uploaded. click on Create >> MIME object >> Import and select the image which we downloaded to the local system, a pop up appears click on save button.
Once we uploaded the image in to the WebDynpro component an entry named MIMEs appears, we can see the image under the mime's.
Hope this will help you.
Cheers,
Darshna.

Similar Messages

  • 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.

  • Uploading an image to MIME repository using upload UI element.

    Hello All.
    I am trying to upload an image to MIME repository using the upload UI element.
    How to achieve this.
    Rite now I am able to add it to the internal table but it is getting stored using some other name.
    I want it to get stored using the same name of the image file.
    Regards,
    SampathKumar.

    HI SampathKuma,
    could you please provide the steps/coding which you used? I have the same requirement..
    Thanks

  • 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

  • How do I Read a .js File from Mime Repository

    How can i read a .js file from Mime Repository,
    Mime Respository is for Re-Usability
    Since i need to call a function from a .js file again and again, i keep my .js file in Mime Repository so that i can call the function anywhere by calling the .js File.
    I have kept my .js File in a Mime Repository but when iam calling the function from Portal the function is not being Triggered, Can i know why it is behaving like that.

    Not required right now.Not resolved

  • Send a mail with a picture from mime repository

    Hello,
    I want to send a mail with a picture from mime repository.
    The mail is sended OK, but the receiver hasn't  the picture on the mail  (don't find the picture).
    Here is my syntax :
       st_objtxt-line = '<IMG SRC="SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" ALIGN=RIGHT WIDTH="100" HEIGHT="80">'.
        append st_objtxt to t_objtxt.
    "SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" is url of my object mime .
    Have you a idea to resolve this problem ? It's the syntax OK ?
    Thank for your responses.
    Regards.
    JCAIL

    Have you tried storing your picture as a business document?  Have a look at the class  cl_bds_document_set to read your picture from the BDS.

  • Error in WebDynpro Application in accessing "MIME Repository"

    Hi All,
    I am writing a XML file to Mime Repository from WebDynpro Application.
    To do this, I developed the below code:
      DATA mime_repository TYPE REF TO if_mr_api.
      DATA url TYPE string VALUE
    '/SAP/BC/WebDynpro/SAP/PUBLIC/BC/SSR/uuielibs/example.xml'.
      mime_repository = cl_mime_repository_api=>get_api( ).
      CALL METHOD mime_repository->put
        EXPORTING
          i_url                     = url
          i_content                 = content
          i_suppress_package_dialog = 'X'.
    In execution process,I am getting an error,
    "Screen output without connection to user" and "DYNPRO_SEND_IN_BACKGROUND"
    In calling the method IF_MR_API~PUT, I have passed "X" to I_SUPPRESS_PACKAGE_DIALOG to avoid Transport Request screen.
    Can you please suugest how can I overcoem this issue.

    Leha,
    Is this RFC expecting any mandatory parameters ? if that is the case make sure that you are sending the expected type mandatory parameter.  (you can print a message on the screen and verify this)
    If you are sure that you are sending the correct details to execute RFC, Please turn on the debiug session for the portal user in the backend and see whether the values are passing from the portal or not.
    How to switch on Debug mode in the backend for the specific user:
    Requirements:
    1. Make sure the user id existed in Portal and SAP Backend.
    2. Setup the debug mode for the user in the backend
    3. Run the application from the portal
    4. While executing the application from the portal , The backend stops the execution to debug, so from here you have to execute the FM step by step and verify whether you are getting the values from the portal or not.
    Steps to switch on Debug mode in the backend:
    Logon to ECC System>> To access the function module use SE37 tcode from the SAP Easy access menu>>Enter the Function Module name and click on Display>>From the SAP Menu click on Utilities>>Settings >>Debugging >>Enter the user ID to switch on the debug mode and Enter.
    Now the user ID is switched on for Debug. Go to the Function module Source Code>> palce the cursor at the start of the soruce code>>From the Menu go to Utilities>>BreakPoint>>Set?Delete Break Point
    This will set the break point for the mentioned user id and now you can veryfy the values on the backend.
    Once you complete the debug process please turnoff the debug mode.
    Thanks
    Krishna

  • Maximum Size Limit of MIME repository in ECC 6.0

    Dear Experts,
    I want to know the maximum size limit of MIME repository in ECC 6.0 server.
    Means, up to how many MIME objects or files can i store in the MIME?
    Thanks,
    Praveen Bitling

    Dear Experts,
    Can anyone please answer my query?
    Thanks,
    Praveen Bitling

  • 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 AM

    Check 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

  • Access MIME repository by URL

    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,
    Axel

    OK, 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

  • 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
    Hagai

    Try 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

  • How to read a MIME Repository Object in ABAP ?

    Hi all,
    How can I read a MIME Repository Object in ABAP code ?
    Thanks.

    Hi,
    check the package SMIMES, there you can find classes and function modules to acess the mime repository.
    Regards,
    CW

  • How to upload image in MIME repository  from bsp application

    Hi,
    I want to upload Image in MIME repository from my BSP Application. I want to access again or reuse uploaded image later in my BSP application. Can you please help me how to do this?
    I already go through http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/8c683c8de8a969e10000000a114084/frameset.htm.
    but this is not helpful in my case. It only uploads in cache (temporary) not in MIME repository.
    Thanks

    Hi Prashant,
    In Layout...
    <%
    data: icon_save   type string.
    icon_save   = cl_bsp_mimes=>sap_icon( id = 'ICON_SYSTEM_SAVE' ).
    %>
    For using image globally...
    If you need to upload an image to MIME Repos Go to transaction se80> MIME Repository>
    sap->bc->bsp->sap->public->bc->bsp->icons ---> right click on icons folder --> import mime objects
    Regards,
    Anubhav

  • Solution to upload images by creating mime repository

    Hi
    We need to implement a solution in retail where and enduser will upload the images of different retail items which needs to be accessed by buyers.
    We need to understand the best possible way on following
    1. How do we create repository where an image can be uploaded without creating transport requests.
    2. How can webdynpro application access the image if the archiving is done.
    Thank you
    Barin

    Hi,
    I am just putting one of my posted replies to you.
    1)You can use the program BSP_UPDATE_MIMEREPOS to upload the photos in the mime repository.
    2)Use the following code to get the content from your mime and set the content to your interactive UI element as Xstring format.
    data:
    mime_repository type ref to if_mr_api,
    content type xstring,
    url type string value '/SAP/BC/BSP/SAP/myBSPapplication/rajkumar.jpg' .
    mime_repository = cl_mime_repository_api=>get_api( ).
    call method mime_repository->get
    exporting
    i_url = url
    importing
    e_content = content.
    wd_context->set_attribute( name = 'DATAS' value = content ).
    Thanks,
    Rajkumar.S

  • 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

Maybe you are looking for

  • Mac Mini Compatibility

    I am considering buying a used Mac Mini off of ebay because they are so reasonable. All I'm want it for is to run my home automation. I have 3 other Macs and don't want them to be tied up. I'm not familiar with the Mac Mini at all. Are there any issu

  • Subsequent Debit/Credit Number Range

    Dear Experts, My client want seperate number range for Subsequent Debit/Credit in MIRO.. how can i can do this ..... Thanx Neeru

  • Web Interface Assistance/Question - General

    I would like to develop a web interface that I can embed in my netbeans created app. However, I do not know where to start. Here is would I would like to do: connect to a specific url Retreive the URL screen locate two fields used on the screen and s

  • Attachments won't open when on Wifi

    Hello, Many times i get the question why attachments in Outlook won't open when they are working at home (connected with WiFi). When they open an .xls, Excel will start and will be starting op for about 1 minute and then comes back with a grey screen

  • My files are suddenly going dark after certain operations?

    Last week a very strange (and new) thing began to happen.  If I have multiple files open in tabbed viewing and I perform certain operations on any one of the open files, all of the open files suddenly darken considerably.  It looks as though I had cr