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

Similar Messages

  • 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

  • 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

  • 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

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

  • 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

  • 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

  • Image in MIME Repository is not showing on WAD or Webreport

    Hi,
    The image logo.gif is stored and can be shown in MIME Repository /sap/bw/Customer/Images. I have developed a webtemplate in WAD 7.0 addresses to those images by
    <img alt="logo" src="/sap/bw/Mime/Customer/Images/logo.gif />
    It is not showing i WAD nor in webreport when it is executed from WAD.
    I have tried <img alt="logo" src="bwmimerep://sap/bw/Mime/Customer/Images/logo.gif />
    it does not work neither.
    I have also tried to test the URL directly on the webbrowser  without success
    http:// (application server with port number)/sap/bw/Mime/Customer/Images/logo.gif
    What is the problem? How to make it work?
    Thanks and best regards,
    Zabrina

    hi,
    maybe the folder containing your logo is not served, so try this:
    tcode SICF and search if your folder is served or not (grayed), if it's grayed then right click the main service (sap) deactivate and activate again.
    you can also try to put your logo in folder under  /sap/bw/bex
    hope it helps.

  • How to upload image in mime repository

    i want a report to upload  image in mime repository.
    , i want a report to delete the image (every week) from mime repository
    and how to get the url of that image ....
    Regards
    Anbu B

    Hi,
    Hope the following Threads will help you regarding your problem.
    How to upload an image to mime repository to display in alv grid with objec
    Thanks.
    Nitesh

  • 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

  • Development and access to external WSDL URL

    Hi All,
    I am developing a SOA application with BPEL composite which also makes calls to an external third party webservice. Due to security reasons, the external third party webservice URL is only accessible from our Development server machine (and not my local machine running JDeveloper). Issue with this is the SOA application development is done using Jdeveloper 11.1.1.4 on my local machine.
    Overview of my application is
    WebService (Synchronous Request/Response Client interface ) ---> BPEL ---> Third Party webService (Partnerlink)
    1) Using the Client interface the user enters startTime and EndTime values
    2) The startTime and endTime is input message to the BPEL process.
    3) The BPEL process then sends the request to the third party web service (partnerlink) and gets a response message back and returns to the client.
    I tried workaround for the same by asking the third party for WSDL and associated XSDs and included these locally in my SOA application project. However trying to deploy the completed SOA application and keep getting this error.
    ERROR MESSAGE_
    [03:40:25 PM] Error message from server:
    There was an error deploying the composite on WLS_SOA: Error occurred during deployment of component: DataRetrievalService to service engine: implementation.bpel, for composite: DataRetrievalService: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable RetrieveEventSummary_GetEventSummary_InputVariable; the schema processor cannot find the element {http://schemas.internet.com/asiapac/cad/integration/1.0.0}GetEventSummaryRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@1cf57b6b.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
    Questions_
    1) Please suggest, is it possible to develop a SOA application which makes service call to external URL, while the local development machine cannot access the external WSDL URL.
    2) Also, in such cases in future deployments to test and production do I still need access to external WSDL URL from my machine. I deploy the completed SOA application from my local machine to the Development Server. The Development Server machine is configured to accessed the third-party WSDL URL.
    Thanks
    Edited by: user5108636 on 11/07/2011 23:53

    It seems WSDL is not complete or invalid. Check whether it references element {http://schemas.internet.com/asiapac/cad/integration/1.0.0}GetEventSummaryRequest and this element has been defined in the XSD imported/defined in WSDL.
    1) Please suggest, is it possible to develop a SOA application which makes service call to external URL, while the local development machine cannot access the external WSDL URL.Yes, it is possible but complete and valid WSDL must be available locally.
    2) Also, in such cases in future deployments to test and production do I still need access to external WSDL URL from my machine. I deploy the completed SOA application from my local machine to the Development Server. The Development Server machine is configured to accessed the third-party WSDL URL.If server can access the third party WS URL then that is sufficient. No need to have access from local machine. Just deploy it on server and then test there.
    Regards,
    Anuj

  • Error while trying to access a Repository Item thru ACC

    Hi,
    I was trying to access a Repository Item from ACC , I am getting this following error :
    Error reading list or array index from the database. This means the database table holding this property does not have sequential integers starting with 0 in its multi-column. This should only happen if the database table was modified directly (outside of Dynamo).
    java.lang.Exception
      at atg.adapter.gsa.ListTable.loadHelper(ListTable.java:190)
      at atg.adapter.gsa.ListTable.loadProperties(ListTable.java:97)
      at atg.adapter.gsa.GSAItemDescriptor.loadProperties(GSAItemDescriptor.java:5874)
      at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:5986)
      at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:1339)
      at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1232)
      at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1510)
      at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:151)
      at atg.repository.nucleus.RepositoryItemPropertyMapper.getPropertyValue(RepositoryItemPropertyMapper.java:151)
      at atg.beans.DynamicBeans.getPropertyValue(DynamicBeans.java:333)
      at atg.beans.DynamicBeanState.initializeFrom(DynamicBeanState.java:152)
      at atg.beans.DynamicBeanState.<init>(DynamicBeanState.java:122)
      at atg.ui.repository.model.RepositoryItemState.<init>(RepositoryItemState.java:428)
      at atg.ui.repository.model.RepositoryAgentImpl.createRepositoryItemState(RepositoryAgentImpl.java:2934)
      at atg.ui.repository.model.RepositoryAgentImpl.getRepositoryItem(RepositoryAgentImpl.java:3901)
      at atg.ui.repository.model.RepositoryAgentImpl.getRepositoryItem(RepositoryAgentImpl.java:1225)
      at atg.ui.repository.model.RepositoryAgentImpl.getCompressedRepositoryItem(RepositoryAgentImpl.java:1251)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:273)
      at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:127)
      at sun.reflect.GeneratedMethodAccessor401.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
      at sun.rmi.transport.Transport$1.run(Transport.java:159)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:662)

    Got corrected with changing data-type for a property in the definition file.

  • How to set the user who can access to repository

    Hi,
    I know we can create user and group in the tools->security.And if this users is belong to Administrators Group, it can access to RPD and do some modify..
    Can we create group or user who can access RPD in some situation(like mentioned in HELP, A can access to repository on Mondays and Wednesdays, B can access to repository on Saturdays and Sundays) and how to set the privilege..
    Thanks
    anne

    Hi Anne,
    The example specified in Help is about restricting query execution on weekdays/weekends for a particular webgroup. Inorder to configure such access ,
    Double click on the web group name -> Query Limits tab ->Click on Restrict button provided against the physical connection pool ->Select Allow/Disallow by selecting a particular time period.
    Rgds,
    Dpka

  • Error in Accessing the Report Server URL

    Hi All,
              I am trying to access the Report Server URL in PowerPivot.But facing below issue .Can any one help me how can I solve the issue
    Thanks,  
    Sid

    Hi Visakh,
                    Yes,The user is holding the permission as "Global User" in sql.Hope you help me in solve this issue
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .
    Hi siddiqali,
    According to the screenshot you posted above, the use account didn't have sufficient permission to open the report, please check the following prerequisites before you perform the action:
    You must use a report definition (.rdl) file as a data source. Importing from a report model is not supported.
    You must have permission to open the report under your Windows user account, and you must know the address of the report or the report server that hosts it. You can check your permissions by trying to open the report in a Web browser first.
    If the report opens, it confirms that you have sufficient permissions and the correct URL.
    Reporting Services must be version SQL Server 2008 R2 or SQL Server 2012. Those versions include the data feed export feature that streams report data in the XML data feed format. You can identify the report server by the Export as Data Feed option
    that appears in the report toolbar when you open the report in browser:
    For detail information, please see:
    Import Data from a Reporting Services Report:
    http://technet.microsoft.com/en-us/library/gg413491.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • 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

Maybe you are looking for

  • How do I get Premiere Pro to capture in a different codec?

    I have been attempting to capture footage from a Sony HVR-V1U into Premiere Pro CC 2014. I am running an HDMI cable from the camera to a BlackMagic Intensity Pro card. The only options I have are Uncompressed 8-bit 4:2:2, MotionJPEG, and DVCPROHD. I

  • Best File Format For Online Line Art?

    I thought the conventional wisdom was that all line art for the screen should be saved as GIFs, all photographic line art should be saved as JPEGs. Then PNGs came along and offered an alternative to GIFs. I've been exploring this because I've been ha

  • Looking for Adobe certified instructor in Munich, Germany

    Hi, I am looking for an Adobe certified instructor who could spend 1/2 day in our institute to go through Adobe Acrobat Digital Signatures options & how best to use these with certificates. At the moment we use the signing process but keep bumping in

  • Will all of the 32 bit apps work in the new 64 bit iOS7?

    Guys, Will all of the 32 bit apps work in the new 64 bit iOS7? Regards, Phil Macintosh b'gosh

  • After effects cc keeps disappearing once opened.

    Just installed After effects cc on PC, no issues during installation but the program now opens for 2 seconds before disappearing. No error message is shown, it just closes itself down. Anyone else have this issue? Any suggestions? I have tried signin