Not getting the content of the image

I am not able to get the content in the following code   CALL METHOD cl_mime_repository_api=>if_mr_api~get_api
    RECEIVING
      r_mr_api = gv_mr_api.
  CALL METHOD gv_mr_api->get
    EXPORTING
      i_url              = '/SAP/PUBLIC/mac.gif'
    IMPORTING
      e_is_folder        = is_folder
      e_content          = gv_content
      e_loio             = l_loio
    EXCEPTIONS
      parameter_missing  = 1
      error_occured      = 2
      not_found          = 3
      permission_failure = 4
      OTHERS             = 5.
It is throwing the permission_failure exception kindly help me on this
I am stuck for a while on this

try by passing  I_CHECK_AUTHORITY as blank by default its 'X' and will check for authority.
-Rajeev

Similar Messages

  • I have purchased the VGA Connectors for both a iMac and Macbook Pro so that i can connect my promethean board projector to the computer and I can not get the image on the screen.  Does anyone have any suggestions?

    I have purchased the VGA Connectors for both a iMac and Macbook Pro so that i can connect my promethean board projector to the computer and I can not get the image on the screen.  Does anyone have any suggestions?

    Irelandbound wrote:
    thank you, I have the adaptors so glad that would work.  I just heard adaptors burn out often.  So Just thought for my main iMac computer, a plug would be best.  I will get one once I move.
    Any other suggestions or things I should know about apple products in Ireland.  I know there are no Apple stores there.
    An adaptor doesn't burn out. It merely serves as a means to connect the power prongs on your device to the power supply.
    I believe you are thinking of a transformer, which you do not need. A transformer converts one voltage to another.
    You don't need to do that as the power supply of modern electronics can take almost any worldwide voltage.
    Look at the label on the device. It should indicate the input power acceptable of 100-240 VAC, 50-60 Hz.
    Additionally, I found the adapters cheaper in the UK than I found them in the US. They were available in most supermarket chains. I wasn't in Ireland, so I can't say one way or the other.
    If you have something that doesn't have that input power spec, it would require a transformer.
    On other items like electric clocks or things with motors, you can connect them up to a transformer and the voltage will be correct, but the frequency may not. For clocks, that will cause them to not keep time well. For motors, they will burn out.

  • Not getting the image no in ipad

    how can i transfer my image from my windows pc with the perticular iamage no. rite now i have transeferred all the images but the design no is not showing in my ipad ratina display.please help me for that
    iPhone 4

    Hi
    Use function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    itab     type   table of alsmex_tabline
    call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           exporting
                filename                = p_infile
                i_begin_col             = '1'
                i_begin_row             = '1'  "Do not require headings
                i_end_col               = '07'
                i_end_row               = '100'
           tables
                intern                  = itab
           exceptions
                inconsistent_parameters = 1
                upload_ole              = 2
                others                  = 3.
    You get the data in ITAB row wise. So say if your 3rd row is blank there will not be entry in your ITAB.
    While filling your final table based on ITAB you can esily identify the blank rows and append them where required.
    Edited by: Vinit Joshi on Mar 7, 2012 11:28 AM
    Edited by: Vinit Joshi on Mar 7, 2012 11:28 AM

  • Why I can not get the image file of component?

    Hello,
    I tried to get an image file from the component. After I run the code below, there is not any new file created. Could you tell me what's wrong with it?
    Rectangle d = this.getBounds();
    BufferedImage bi = new BufferedImage(d.width, d.height, BufferedImage.TYPE_INT_RGB);
    try {     
    ByteArrayOutputStream boutstream = new ByteArrayOutputStream();
    // save it to file
    FileOutputStream fimage = new FileOutputStream( new File( "image.png" ) );
    boutstream.writeTo(fimage);
    fimage.close();}
    catch (Exception ev){     
    System.err.println("error making jpeg image: " + ev);
    ev.printStackTrace();}

    BufferedImage bi = new BufferedImage(d.width,d.height, BufferedImage.TYPE_INT_RGB);Straight after the above line you need to put this line:
    d.paint(bi.getGraphics());
    This is what was suggested to me in this thread(http://forum.java.sun.com/thread.jsp?forum=57&thread=369379) anyway, and it worked for me!

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • I am not getting the Portal Content inside the System Landscape

    Hi,
    I am not getting the Portal Content inside the System Administrations-> System Configuration->System Landscape. This is not visible. I am SAP NetWeaver 7.0.
    What could be the possible reasons?
    Regards
    Kaushik Banerjee

    Kaushik,
    do you have the full tree in Contentadmin? do you have no entry in the systemadmin? or is it just empty in the lower nodes? this would be normal, you don't see the content in systemadmin, just the defined systems.
    kr, achim

  • Windows could not display the images available for installation

    I am trying to perform unattended installation of windows which I created with Windows AIK. When I add answer file on USB's with windows installation root I get "windows could not display..." message. Problem is there even when there are just a
    few simple lines (oobe, microsoft international core-WinPe).
    I replaced install.wim file of standard windows installation iso with customized install.wim and then created catalog file with windows system image manager.
    Kind people of world, please help!

    Hi bugili,
    Could you help us post the complete error information, it will more helpful when we locate the issue. I am not quite understand “add answer file on USB's with windows
    installation root”, do you mean the answer file and install file on the external device? Please try to confirm this image has the same Security permission with
     others image in WDS image share folder,  the WDS default image location is like
    x:\RemoteInstall\Images.
    If it not work please post the WDS error log,
    How to enable logging in Windows Deployment Services (WDS) in Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and in Windows Server 2012
    http://support.microsoft.com/kb/936625/en-us
    The simlar thread:
    Windows could not display the images available for installation.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/07fe03dd-9798-4583-8d0b-dc963c95434c/windows-could-not-display-the-images-available-for-installation?forum=winserversetupMore
    information:
    How to Add a Boot Image to WDS Server
    https://social.technet.microsoft.com/wiki/contents/articles/11643.how-to-add-a-boot-image-to-wds-server.aspx
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

  • Problem in getting the image through URL

    hi all,
    I facing the problem,Inwhich i am unable find the solution...I am using the following code to display the image
    public void doGet(HttpServletRequest request,HttpServletResponse response)
                        throws IOException, ServletException {
                   int data=0;
                   response.setContentType("image/png");
                   ServletOutputStream out = response.getOutputStream();
                   String file = request.getContextPath()+imageNames[0];
                   //String file = "C:/Program Files/Apache Group/Tomcat 4.1/webapps/ImageComm/WEB-INF/images"+imageNames[index];
                   BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
                   System.out.println("the size of the inputStream is..."+in.available());
                   System.out.println("the context path is..."+request.getContextPath());          
                   while ((data = in.read()) != -1) {
                   out.write(data);
    with the above i am not getting any error at the compile time but it was giving exception like FileNotFoundException.
    but the same thing(URL address) when i am copying on the browser it was displayig the image.
    (what might be the reason)
    one more thing when i commented on the url address and try to use the actual realpath address it was displaying the image with out any problem
    can anybody give me the solution like where to keep my images by which i can able to get the images through url address
    thanks in advance
    lakshman

    hi all,
    I am getting the image from the server.but the problem is i am getting the Exception as ArrayOutOfBound exception.
    It was displaying the Image for the first time.and when ever it was going for the second time in to the paint method it was displaying the IOException in reading the stream from the connection.
    can anybody give me the solution in rectifying that exception.
    thanks in advance
    lakshman

  • How to get the image stored in archieve link as an attachment in work item.

    Hi All,
    through transaction OAWD we are storing scanned images.
    Once this transaction is executed a workitem appears in the inbox of the initiator with the scanned invoice as attachment.
    When the user executes the work item FV60 screen is displayed where the user enters the data based on the scanned invoice attachment.
    After the user Parks the document the custom workflow triggers and a workitem appears in the inbox of an approver.
    Our requirement is that the scanned image should also appear as the attachment.
    Can you please suggest how to get the image stored in archieve link as an attachment in work item.
    Regards
    Shraddha

    Hi Martin,
    with every parked document a scanned image is linked.
    I need to create a link under objects and attachments in the work item, such that when the user clicks that link the image is displayed.
    At present the following functionality is available.
    The BO used is FIPP
    Objects and attachments:
    parkeddocument:AK0108500001252008.(via FIPP binding with WIOBJECT_ID)
    On clicking the link below objects and attachments: the parked document AK0108500001252008 opens in display mode.
    Now we want to have 2 links:
    parkeddocument:AK0108500001252008.
    image.
    When we click on the link image then the scanned invoice linked to the document should get opened.
    I am able to get the image id of the the image through  SAP_WAPI_GET__OBJECTS,
    export parameter leading_object provides the detail.
    But I am not able to figure out how to use it in my workflow to display it as an attachment.
    Hope this will give a better understanding of my question.
    can you please suggest as to how I should proceed with it.

  • I can not get the flash player plug in to work with Internet Explorer

    I can not get the flash player plug in to work with Internet Explorer

    Zoltan71 wrote:
    I just bought this computer. My Internet Explorer is version 11.0.1
    I have the box checked to Install new version automatically, but it has not done any upgrading.
    I can't get the computer to update anything as far as I can see.
    The flash plug in does work with the Crome browser but it will not work with Internet explorer.
    I looked in the manage add-ons and it says enabled.
    I also went into the safety tab and deselected
    Active X filtering.
    Restarted and still does not work.
    I need help.....
    Chrome uses a different and separate plug-in.
    There are things about IE you need to know, especially 11. Specifically:
    "User-Agent Strings"
    That doesn't mean a lot, I'm sure, but it's the root of your problems, and Flash Player has nothing to do with it.
    Microsoft "rewrote" the User-Agent Strings for the abomination they call their latest and greatest browser. User-Agent Strings are what websites use to identify the browser you're using and provide the proper content for it's browser engine, like ActiveX stuff, and Flash or HTML5 video. Thanks to the geniuses in Redmond, WA, the User-Agent Strings for IE11 (which has a Trident engine), ID it as either "Gecko" (Firefox) or "Webkit" (Chrome). Problem is: when the site the directs to the content for one of these two engines, the Trident engine in IE can't intepret it and the site then sees IE as an "unidentified" browser.
    The problem with an unidentified browser is that the plug-ins in that browser aren't recognized either, so even though you're up to date, it says you need the latest Flash Player when you use IE11. YouTube... has converted to HTML5 video so if it doesn't detect Flash Player, it can display HTML5 (MP4) video which requires no plug-in to play. Facebook can't do that, because HTML5 doesn't apply to games... only video.
    Microsoft has no plans to "fix" the mess they've created because they think it's a great idea to block you out of the websites you visit.
    They recommend using "Compatibility View" and pretending that you're using an older verison of IE... Problem with that is that it's seen limited success, and you have to enable it for EVERY page that has problems... individually.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • When I try to Bookmark a new page, I do not get the "Page Bookmarked or Edit This Bookmark" window. I t does place the site into my bookmarks but I have to go to "organize" bookmarks in order to put it where it belongs.

    When I try to Bookmark a new page, I do not get the "Page Bookmarked or Edit This Bookmark" window. I t does place the site into my bookmarks but I have to go to "organize" bookmarks in order to put it where it belongs.

    How are you saving a new bookmark?
    There 5 ways to save a new Bookmark in Firefox, the first 4 should offer to save the new bookmark in a folder:
    1.
    2. Right-click and select Bookmark this Page.
    3. Bookmarks > Bookmark this Page
    4. Double-click the Star that is on the right side of the Location bar.
    4a. (A single-click on the Star will save the new Bookmark to the Unsorted Bookmarks folder, without opening the Edit this Bookmark dialog.)
    5. Drag the website image in the URL bar into the Sidebar view of Bookmarks
    or to the Bookmarks menu bar item and then into the drop-down or onto the Bookmarks Toolbar

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • HT204382 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?

    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

  • Why am I not getting the buttons of Hide/Show, Refresh, Back, Home, Options ?

    Gorgeous Hello All,
    If anyone of you can please provide me a solution for the following, will help me in plentious and galore.
    Am using Adobe RoboHelp, Version 10 and IE version being 10.
    A hurdle :-
    When I File -> View -> Primary Layout : I am getting only these options of Search, Hide, Contents, Index, Glossary, Print being displayed on the screen, eventhough I have ticked for Hide/Show, Refresh, Back, Home (Home -> Advanced Properties -> Home : and declared the respective url as well) , Options  courtesy View -> Pods -> Project Set-up -> Double Click on Windows -> Double Click on NewWindow.
    Why am I not getting the buttons of Hide/Show, Refresh, Back, Home, Options when I File -> View -> Primary Layout ?
    Cheese - Vipin Nambiar

    Hey Piyush Buddy, where were you since my morning !!! :-) :-) :-)   Your simple question here made me realize where did I make the slip of my brain and now all the desired buttons are appearing on my screen. 
    I just made simple parameter changes called View -> Pods -> Single Source Layouts -> Right Click On Microsoft HTML Help -> Setted as Primary Layout (earlier my Primary Layout was setted up for Multiscreen HTML 5).
    THANKS GALORE Piyush buddy - Your simple question to me made a mammoth and galores of help to get my train on track.

  • Security Agent: Could not get the user record from OpenDirectory

    Hi,
    Two months ago I had to change my SSD due to a damage at the old one. In the Apple shop they installed OS X Lion with a image from their image-server.
    After that the Mac was quite slow in booting. With the old SSD (128 GB) booting takes 25 sec now it takes 75 sec.
    I tried different things to solve the problem without result. First I asked in the shop, then I googled the problem all with no real solution.
    Today now I searched in the log files. I found the following:
    09.02.12 11:03:07.861 SecurityAgent: Could not get the user record from OpenDirectory.
    09.02.12 11:03:07.861 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 10)
    09.02.12 11:03:34.907 SecurityAgent: Could not get the user record from OpenDirectory.
    09.02.12 11:03:34.907 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 1)
    09.02.12 11:03:34.907 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 1)
    09.02.12 11:03:38.653 WindowServer: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    09.02.12 11:03:58.245 SecurityAgent: User info context values set for andi
    09.02.12 11:03:58.246 SecurityAgent: User info context values set for andi
    09.02.12 11:03:58.356 SecurityAgent: Login Window login proceeding
    09.02.12 11:03:58.356 SecurityAgent: Login Window login proceeding
    This operation takes 30 secs during the boot process. Can somebody help me, to solve this problem?
    Regards
    Andreas
    MacBook Pro, Mid 2009
    2.66 GHz Intel Core 2 Duo
    8GB 1067 MHz DDR3
    SAMSUNG SSD 830 Series , 256 GB
    OS X 10.7.3

    cece2bali wrote: "it seems that your mac tries to connect to a server while booting. This action will erase all your network configuration..."
    Where can I go to learn more about this 'erasure' of network configuration if the mac tries to connect to a server while booting?
    I get the same error message as the OP. My account is an Admin on the machine. It's configured to automatically log in on boot -- except sometimes it fails. It has a login-item which runs a bash script that makes an https request to a nearby machine. Maybe I should make this script sleep a while so the https action happens after the boot sequence is done? (unlike SmashHuevo, my user needs to be an Admin)

Maybe you are looking for