HTML VIEWER  cl_gui_html_viewer and MIME objects - can't display

Hi,
I try to display a dynamic HTML page with some pictures staright fro a ABAP list:
I have the following code snipet:
CALL METHOD html_control - >load_mime_object
     EXPORTING
          object_id  = 'ZWN'
          object_url = 'ZWN.GIF'
     EXCEPTIONS
          OTHERS     = 1.
CALL METHOD html_control - >load_data
  EXPORTING
     type                 = 'text'
    subtype              = 'html'
  IMPORTING
    assigned_url         = v_doc_url
  CHANGING
    data_table           = lt_my_html
  EXCEPTIONS
    dp_invalid_parameter = 1
    dp_error_general     = 2.
IF sy-subrc EQ 0.
  CALL METHOD html_control - >show_url
    EXPORTING
     url      = v_doc_url
      in_place = ' '.
endif.
All objects are checked in via SMW0.
In the HTML Code, I have the pictures this regular way:
....<im g sr c=zwn.gif......
If I have it run like this, the pictures are not displayed.
If I do it the way to leave out the HTML page and display it directly:
CALL Method ....load_mime_object.....
CALL Method....show_url, the picture is displayed.
What am I doing wrong?

Hello Holger,
as the status of this thread is "Answered", I would be very thankful to get your solution.
Does it only work with the in-place-option or did you find something else.
THANK YOU !!!

Similar Messages

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

  • I'D LIKE TO VIEW MY SAFARI WHERE I CAN STILL DISPLAY MY DOCK AND MENU BAR....HOW DO I DO THIS...DO NOT WANT FULL SCREEN

    I'D LIKE TO VIEW SAFARI WHERE I CAN STILL DISPLAY MY DOCK AND MENU BAR...DO NOT WANT FULL SCREEN.  HOW DO I DO THIS?

    You can also go up to "View," and look all the way down to "Exit Full Screen."
    Command+Control+f will toggle it off and on.

  • Icon (mime objects) not getting displayed in Integrated ITS

    Hi all,
    We have activated integrated ITS. Created service in SICF but the ICONS of Buttons are not shown. Also we cannot click any button to start the action.
    Please advise.
    Regards,
    FS

    Hi FS,
    The Mime Types in SAP Its Integrated are on this path: /sap/public/bc/its/mimes/
    You can reference your icon with the URL: http://host:port/sap/public/bc/its/mimes/service/theme/icon.gif
    If you have the icon of theme 99 in the SE80 Internet Service and your icon name is square.gif, and your service name is ZSERVICE, the call are:
    HTMLB:
    img src="/sap/public/bc/its/mimes/ZSERVICE/99/square.gif"  between symbols "<" and ">"
    URL in the Explorer:
    http://host:port/sap/public/bc/its/mimes/ZSERVICE/99/square.gif
    Hope it´s help.
    Best Regards.
    Edited by: Alberto Ruiz on Apr 8, 2009 4:02 PM

  • I can not open timeline and the canvas can not display because out of memory.

    I can not open timeline and the canvas can not diplay. I get a pop up saying "error out of memory" what does it mean and what can I do?

    Usually this is because you've got graphics that are cmyk or grayscale not RGB, or that are larger than 4000 by 4000 pixels.   Move them on your hard disk so fcp can't find them and make them rgb and resize to an acceptable pixel dimension. 

  • No video with supported formate and mime type found

    I am able to view videos on all but 1 website: http://www.start-american-sign-language.com/free-sign-language-asl1.html
    When I view that page, the video box only shows the x with "no video with supported formate and mime type found" being displayed.
    I have updated to the most recent palemoon (25.3.0) and have the following plugins installed
    DRM 9.0.0.4503
    Shockwave flash 16.0.0.305
    Silverlight 5.1.30514.0
    VLC Web Plugin 2.2.0.0
    Windows media Player Dynamic Link LIbrary 3.0.2.629
    I have cleared my cache and cookies, and am unable to view the video in question. If I go to https://www.youtube.com/html5, it indicates that I have an operable Webelement player and Web VP8, and all others are exclamation points.
    Does anyone know why I can't watch the (mp4) video(s) in question? I have turned up no viable solutions using the forums or google.
    Thanks!

    This happens when there is no support in your Windows XP version to play any of the media file formats that the website offers with the HTML5 media player (i.e. not a Flash player is used, but a video tag).
    That are MP4 files with type="video/mp4"
    *VLC shows: Codec: H264 - MPEG-4 AVC (part 10) (avc1)
    You might be out of luck on Windows XP and your only option would be to use an external media player and paste the links in its location field.

  • BSP css & mime objects not found when accessed via iView in the Portal

    Hi
    A locally developed BSP Application has defined it's own CSS and MIME objects.
    This works well when accessed via the Integrated ITS in ECC6.
    However, when we access this the BSP application from an iView in a Portal (NW04S), the css and MIME objects do not appear to be loaded.
    What are we missing?
    Thanks
    Doug

    Hi Doug,
      have you found out the reason for this issue, i encountered the same problem when i access the HCM_LEARNING bsp, would you  please give some addvice if you have any idea?
    thanks,
    billy

  • How can i display image in mx:TextArea Component?

    I found display img tag in htmlText of mx:TextArea component
    is very difficult in Flex Air
    I new a simple air project in flex builder, put the code
    below in it, i put a glad.png file in the src folder, every thing
    is OK, when i run it, image cannot be displayed. why this happend,
    I search the google for the solution, it seems there is a bug in
    air, and told me to use mx:HTML coponent, but that component still
    can not display img tag.
    could any one help me with this?
    <mx:TextArea width="100%" height="100%">
    <mx:htmlText>
    <![CDATA[
    <a href='
    http://www.adobe.com'><img
    src='glad.png'/></a>Click the image to go to the Adobe
    home page.
    ]]>
    </mx:htmlText>
    </mx:TextArea>

    I ran into a similar problem and wasn't able to find a way to have regular Flex components (like Text and TextArea) display <img> tags in their htmlText.  Everything works find in a web-based Flex application, but once the same code was used in AIR, the images just wouldn't display.
    I changed my display to use the mx:HTML component and everything worked fine (I was using only external images).

  • How to create MIME object to display in HTML viewer

    Gurus,
    I want to display the picture in HTML Viewer. we have method LOAD_MIME_OBJECT.
    Can you please let me know what are pre requisite for this method and how to pass object_id and Object_url for this method.
    Thanks,
    Suneel

    hi
    good
    CALL METHOD html_control - >load_mime_object
    EXPORTING
    object_id = 'ZWN'
    object_url = 'ZWN.GIF'
    EXCEPTIONS
    OTHERS = 1.
    CALL METHOD html_control - >load_data
    EXPORTING
    type = 'text'
    subtype = 'html'
    IMPORTING
    assigned_url = v_doc_url
    CHANGING
    data_table = lt_my_html
    EXCEPTIONS
    dp_invalid_parameter = 1
    dp_error_general = 2.
    IF sy-subrc EQ 0.
    CALL METHOD html_control - >show_url
    EXPORTING
    url = v_doc_url
    in_place = ' '.
    endif.
    All objects are checked in via SMW0.
    In the HTML Code, I have the pictures this regular way:
    ....<im g sr c=zwn.gif......
    <REMOVED BY MODERATOT>
    thanks
    mrutyun^
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:08 PM

  • Question: iframe and html mime object

    Friends,
    I am having a very wierd issue.
    In our wda application, we have a view called TC_VIEW. The TC_VIEW has a iframe that is supposed to display a html file from the mimes repository.
    At runtime, I build the url to the mimes html page and then I set it in a context attribute which is bound to the iframes source property.
    When the application loads, the user clicks on a button and reaches the TC_VIEW. The reason I mentioned this is because at this point the users is logged in and can move around in the application. When the TC_VIEW loads in the browser the iframe is asking for a login to be able to view the html file in the mimes repository.
    I was thinking that because the user has already logged in, the iframe should not ask for another login.
    Has anybody faced this problem, any solutions?

    Hi Prashant,
    The content of the iframe runs in a different session. You either need to supply additional login information or use SSO or other means to have a user logged in automatically.
    Best regards,
    Thomas

  • Display icon using MIME Objects and BSP Tags on Pop up

    HI all,
    My requirement is to add the warning icon in my pop up along with the text..
    I accomplished this using the warning message
    DATA: lr_msg_service TYPE REF TO cl_bsp_wd_message_service, lr_msg_service ?= view_manager->get_message_service( ). lr_msg_service->add_message( iv_msg_type = 'W' iv_msg_id = '000' iv_msg_number = '007' ).
    But i wish to know the other way to accomplish this using the Mime Objects..
    Can any one pls lemme know how do i achieve this using the Mime Objects + BSP HTML Tag.
    Kindly help !!

    If it doesn't work with a custom theme then the theme makers didn't include that icon in its theme. You can contact the creators of those themes and inform them about that.
    You can re-enable the sliding info bar at the top of the browser.
    You can look at these prefs on the about:config page and reset them via the right-click context menu:<br />
    Info bar at the top: privacy.popups.showBrowserMessage<br />
    Status bar icon: browser.popups.showPopupBlocker<br />

  • How to migrate Themes, HTML templates, MIME objects to ECC6.0

    Hi Friends
    How to migrate Themes, HTML templates, MIME objects which are developed in SAP Web@Studio.
    or How to use program SIAC_UPLOAD ??
    regards
    siddharth

    Hello Murray,
    Your steps sound correct.  I would add that you generally need the following:
    1. publish the IAC, SYSTEM, and WEBGUI Internet Services (also from SE80)
    2. make sure the Integrated ITS is working.  Meaning you should activate the ITS in the profile parameter, this can be seen in transaction SITSPMON.  Some services in transaction SICF also need to be activated, like the default_host/sap/public/bc/its
    From your error message though it looks like the URL you have used is either incorrect or you have used the External Alias feature in SICF?  The URL for the ITS is usually http://host:port/sap/bc/gui/sap/its/service.  Second, the error is about a language resource file (.htrc), you have not specified if you created one or not.  To create one in the language you are logged in with just go to SE80, open your Internet Service and double click on the "Topic xx".  Don't forget to publish after creating and saving it.
    Edgar

  • Can we code to import MIME object(Image)  on bsp page

    hi
    can we code to import MIME object(Image)  on bsp page
    i have one bsp webpage like employee page , in which i have option to attach image so , i want that user attach image and image shuld be go in sap mime object.
    thanks

    Hi,
    save the image into ur system.
    Right click on object name->create->MIME object->import.
    Then select hte image which u want to import and save it.
    Then in the layout write code as
    <html>
    <img height="130" src="image.bmp ">
    </html>
    Regards,
    jaya

  • Can't  view Impact and Lineage tab in Meta data report

    Post Author: mohideen_km
    CA Forum: Data Integration
    Hi guys,
    I have a problem in meta Data Report ..
    IN Impact and Lineage Analysis
    I can View only OVerview Tab.I can not view Impact and Lineage
    Help me to figure out..
    Mohideen

    Hi,
    Select text column (varchar column) -> Treat Text as -> custom text format ->Remove @ (default) -> add [html]<script>sometext(‘@’)</script> followed by your javascript
    for eg:
    [html]<script>buildGoogleChart(‘@’)</script> <head> <script type="text/javascript"> function show_alert() { alert("Hello! I am an alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert box" /> </body> </html>
    hope helps u.........
    cheers,
    Aravind

  • How can I quickly view pdf files like I can do with Windows Picture and Fax viewer for jpg files?

    How can I quickly view pdf files like I can do with Windows Picture and Fax viewer for jpg files? I need to look at several thousand PDF files. It takes too long to open each one individually. The only thing I could think of is combining them into large groups and then using the Navigation index. But I like the way windows Picture and Fax Viewer does it because you can keep the files separate. Combining PDFs causes loss of individual file names. That would be a problem since I do need to have the individual file names.

    Windows Picture and Fax Viewer is a DLL and is started via a rundll32.exe call and can't be set as an application to handle images in Firefox 3 and later versions.
    Try to set Windows Picture and Fax Viewer as the default viewer in Windows, then it should be listed automatically in the Mozilla Firefox Browse dialog.
    *http://www.winhelponline.com/articles/115/1/Windows-Picture-and-Fax-Viewer-as-the-default-viewer-in-Mozilla-Firefox.html
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

Maybe you are looking for

  • Schedule Line Error in MD04

    Hi All, I am having the following scenario in my SAP system.  We have 2 Sales Orders ( Requested Delivery Date ) in the past where we would like to cancel ( in agreement with the Customer ).  We then went to VA02 to change the Scheduline Category fro

  • Disabling mobile view in sharepoint 2013 O365 Public Facing subsite

    Hi all, I have a public facing o365 site with subsites. I want to disable the mobile view for this site and all its subsites. it looks like the mobile view is disabled for the root site but all the subsites have it turned on. can anyone help? thanks

  • Screen resolution is limited to 1280 x 720

    Hello. I just got my new iMac 27 3.2 Mhz The screen resolution is limited to 1280 x 720. I reinitialized the PR Ram without success. No other option is displayed in the preferences. someone has already this problem ?

  • Macbook pro md313 over heat, is it normal ?

    Macbook pro md313 over heat, is it normal ? i bought macbook pro md313 2 days ago, its really really over heat it burns my legs and very loud fan, is it normal ? and if its not how to fix this problem ?

  • ITunes Error Signature

    iTunes wont start after installing EventType : BEX P1 : iTunes.exe P2 : 10.2.1.1 P3 : 4d756476 P4 : icuuc40.dll P5 : 4.0.0.3207 P6 : 4d3b6a8e P7 : 00073335 P8 : c0000409 P9 : 00000000 C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WER8cb7.dir00\iTunes.exe.mdmp C