How to view an Image in ABAP Webdynpro on button action

Hi Experts,
I want to view an image on a button action without creating a new view or window.
I just need to display the image.
Thanks,
R Sahu

Hi Rabi,
Add Context Attribute "SOURCE_IMG" with type String.
Add Image UI "img_id" in layout and bind its source with this context attribute.
on any method where you want to change/show image dynamically, put this code :
here url can be path to image on local or any url-path for web image.
call method wd_context->set_attribute
       EXPORTING
         name = 'SOURCE_IMG'
         value          = url .
I hope this is what you are looking for.
Thank you
Meet Vajaria

Similar Messages

  • How to use background image in ABAP -  webdynpro

    Hi,
    My requirement is like that.
    I want to display a background image. Over the background image i want to display my ALV list or report.
    How to display my personalized image in background.
    Please assist me....
    Thanks in Adv.

    hi ,
    this is not possible:
    refer these threads :
    Background Image
    I Assign Background Image to a Group (Ans by Thomas)
    Image as Background Image possible?
    as correctly pointed above and in this thread
    use your own stylesheets
    refer this thread for more  information on styles :
    EP 7 Portal stylesheet with WD ABAP
    to display image in the foreground :
    refer this WIKI
    https://wiki.sdn.sap.com/wiki/display/stage/DisplayEmployeeImageinABAPWebDynpro+Application
    regards,
    amit

  • How to assign dynamic image at runtime or on Button Action to a Image UI

    Hi,
         Please let me know is it possible to assign Dynamic Images to Image UI element in a Visual Composer applications. Using Image Manager it is possible, but in my case Image Source i.e URL comes from ABAP RFC, so is it possible to assign Image at runtime.
        Please do let me know is it possible or not, If yes please do share your opinions.
    I am able to show image using HTML Page by passing URL at runtime to HTML page but here, I cant control the Image width & height.
       I am checking for possibility of using some script to manage width & height.
       Thanks a Ton.
    Regards
    Tushar

    Hi,
         Any inputs for the Query? Atleast, If I get some hint, will do to proceed....
    Regards
    Tushar Shinde

  • How to view large images ?

    i just updated my phone c601 from symbian anna to belle..may i know how to view large images in the nokia internet browser..i cant change it

    sorry,since i have just updated my mobile,i can't show you how large is it,
    but i can show you how small is it...
    even though i click 'more>view image',
    the image that shows me is just that small....
    Attachments:
    scr000001.jpg ‏102 KB

  • How to Use an Image to Customize the Static Button Widget

    Can I just get someone to help me figure out how to use an image to customize the static button widget, please?
    I have tried using several different types of images, but none of them seem to actually change the appearance of the button.
    Thanks!
    Laura
    Captivate 5.5

    I tried to use the tools within the widget itself - it offers you the opportunity to use an image (see screenshot below).
    I also opened it in Flash and tried to replace the images for one of the button styles there w/ my own, but in re-publishing the SWF from there I broke the widget.  When I attempted to use the edited widget, there were no customization controls available after I inserted it (see screenshot two below).

  • How to display HTML files using ABAP Webdynpro?

    Hi,
    I have a html index file and a bunch of other files accessed by the index file  in a specific directory on the SAP server. I'd like to display the index file via ABAP webdynpro and allow the users to click on what they need to see. How can I achieve this using utilizing the ABAP webdynpro technology ?
    Thanks!

    Hi Thomas,
    Thanks for taking the time to answer my question.
    I have the main html file and all other files needed by the main file in one directory on the application layer of SAP. I'd like to provide the user with a link, by clicking on which they should be able to get to the main html file using the browser. This is just a standalone application.
    I can try the approach using BSPs, however, I'm new to that area. Could you point me in the right direction to get started?

  • How to get workitem id in ABAP-Webdynpro application

    Hai All,
    When a user clicks on a work item in universal worklist, a ABAP-Webdynpro screen is called. I want to pass the workitem number to this ABAP-Webdynpro application. 
    Please let me know how to pass this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hai Kari,
    Thanks for the link, i am looking into it.
    Hai Naresh,
    Where should I give this link,
    http://abc.com:8001/sap/bc/webdynpro/sap/ztest? param1= Val
    What I have done is,
    In SWFVISU transaction I maintained the following entry,
    Task = TS99000208
    Visualization Type = WD_ABAP
    Visualization Parameter  Visualization Parameter value
    APPLICATION            =  ZWD_OFFICIAL_012
    NAMESPACE            =  SAP
    and registered this task in in universal worklist.
    Where the specify the code you mentioned. 
    Thanks & Regards,
    H.K.Hayath Basha.

  • How to set portal authorization in ABAP Webdynpro application

    Hi All,
    Do you have an idea how to set the visibility for Group UI element based on the Portal user authorization in ABAP Webdynpro , for example if the portal user A(or group A), logins into the portal on click of the ABAP Webdynpro IView then we need to set  invisible (hide) the Group UI element  in webdynpro ABAP Application.
    Do you have any sample code on the same to handle the portal authorization in Webdynpro ABAP?? , please let me know if couldnu2019t understand this requirement or my explanation
    Thanks,
    PortalUser100

    Hi Kris,
    Thanks for your reply.
    Like however we passed the UserID, can we pass Group ID also to the ABAP Webdynpro application??
    Can u get me other things, how to copy of the existing component and i want to give the new name for the component and there i need to modify, i dont want to disturb original component  before copy...let me know the procedure for the same??
    Regards,
    PortalUser100

  • How to create interactive forms in ABAP WebDynpro

    Hi Experts,
    we are trying to create our first interactive form with the "how to guide for ABAP WebDynpros".
    Unfortunatelly we have a big problem on Step 17, where we want to save the created WebDynpro Application. After safing the system shows a pop up with following error message:
    "you are not authorized to use function - Netzwerkadministration". Although we have all the necessary access rights in the system (ERP/Developer User).
    But if we go on and create a service call (it's a guided procedure) for an existing BAPI, we can't select the function module interface parameters that we want to add to the context via checkboxes. There are no checkboxes available. but the how-to-guides shows checkboxes.
    is maybe the first error the reason that we can't select the function modules? Please help. If you need the how-to-guide, please give me your eMail and I will provide it to you immediately.
    Thank you very much in advance and regards,
    H.-J. Kersten

    Hello
    I got the same problem when i try to create WD ABAP application.
    Did you find the solution?
    Regards
    Nir

  • How to read URL Parameters in ABAP WebDynpro ?

    Hi,
    How and where (which class, method) in ABAP WebDynpro we can read URL Parameters ? I found answers for WebDynpro JAVA but nothing for ABAP.
    Thanks
    Meenal

    Hi Meenal,
    Please see a post by Sanjay Agarwal titled 'Sequencing Problem in Web Dynpro ABAP'. I believe you will find your answer there.
    Cheers,
    Rich

  • How to view an image at runtime?

    Hi all,
    I am developing a web application using JSP,struts, ADF BC with JDeveloper 10.1.3.
    I have added
    <input type="image" src="../../images/calendr3.gif"/>
    in my Databound table on my JSP page.
    I can see the image at Design time but no image at runtime.
    What should I do to view the image at runtime??
    I have tried
    <input type="image" src="<%=request.getContextPath()%>/images/calendr3.gif"/>
    in this case JDeveloper completely stops functioning. I don't know why? Maybe it's not allowed to have a jsp tag within a databound jsp form???

    Hi,
    did you add the image to JDeveloper (hit the refresh button) so it gets deployed with the application ?
    Also, look at the generated JSP code to see how the image is accessed. I am sure you will find an improperly defined URL
    Frank

  • How to view an image @ 100% ?

    When I do some editing in iPhoto, especially sharpening, I'd like to see it @100%.
    There is no indication at what % I'm viewing the image.
    Is there any way to know that ?
    When clicking "edit" on the bottom, at what size the image opens?
    Thanks!

    ok, I found an Apple article from 2007 which explains how to do that. I'm posting it here for others:
    ===================================
    iPhoto: Sharpness adjustment may not be apparent when viewing at less than 100 percent
    Last Modified on: July 13, 2007
    Article: 301425
    When you view an image at less than full size, iPhoto smooths it (a technique known as anti-aliasing) to get rid of artifacts that result from scaling down the photo. The relationship between anti-aliasing and sharpening is a trade-off; although anti-aliasing does not modify the actual image file, it does counter the effect of sharpening when viewing the image at less than full size.
    Because of this, if you sharpen a photo, close it, then reopen it again at a less than 100-percent view, you may get the impression that your sharpness changes were not saved. In reality they were, but since the image has been re-aliased to fit your screen, the image's true sharpness may not be apparent.
    To evaluate whether an image is sharp or needs sharpening, you should view the photo at 100 percent/full size while editing in a separate window. To open the photo in a separate window, you can either Control-click the image and choose "Edit in a separate window" from the shortcut menu, or change your iPhoto preferences:
    From the iPhoto menu, choose Preferences.
    In the General pane, locate the preference for "Double-click photo."
    Set the radio button to "Opens photo in edit window."
    Close the preferences window.
    Now photos will open in a separate window when you double-click them. Once in the separate window, choose 100% from the Size pop-up menu. If you don't see the Size menu, widen the window until it appears.
    Tip: If you are editing the photo from one of the other view options, you can press the 1 key to quickly jump to 100 percent view.
    Other applications, such as Adobe Photoshop, handle anti-aliasing differently, so the degree of apparent sharpness can vary from one application to the next when viewing an image at a scaled-down size. You should see consistency when comparing the image at 100 percent across other applications.
    Important: Information about products not manufactured by Apple is provided for information purposes only, and does not constitute Apple's recommendation or endorsement. Please contact the vendor for additional information.
    ========================================

  • How to view blob/image in uix?

    Version: JDev 9.0.5.2
    Goal: To view an image that is coming from a database table.
    Set Up:
    In the database: I have a database table with a blob data type. The blob data type contains a pointer to the image in a database directory.
    In JDev.model: I have an Entity Object and View Object that contains the column attribute with a blob/blob domain data type.
    Question: How do I build a uix page that allows me to pull in the blob (image)?
    Thanks for the assistance.
    --Connie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Take a look at this, hope it helps.
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/creating_html_clients/uix_pimagewintermediatags.html

  • How Adobe viewer scales images?

    Hi,
    I am putting a JPEG file of lesser resolution than the PDF and is scaling it inside PDF. I have a doubt how the viewer scales the image while rendering? Is it just pixel replication or can we specify inside PDF to use some filters for scaling to get better quality? Can someone please help me regarding this doubt?
    Thanks,
    Sham

    I found the answer myself from the PDF standard. Image interpolation is done if the /Interpolate field in the image XObject is set true. I am quoting from the PDF standard below.
    "When the resolution of a source image is significantly lower than that of the output device, each source sample covers many device pixels. As a result, images can appear jaggy or blocky. These visual artifacts can be reduced by applying an image interpolation algorithm during rendering. Instead of painting all pixels covered by a source sample with the same color, image interpolation attempts to produce a smooth transition between adjacent sample values. Image interpolation is enabled by setting the Interpolate entry in the image dictionary to true. It is disabled by default because it may increase the time required to render the image."

  • How to view mail image in nokia lumia 720 phone

    i unable to view mail image and how to enable cc mail option

    For viewing the Images.. refer attachment 1 (which is for .xls file but should be the same for Images) ...
    For cc option .. Refer Attachment 2 (Tap on (...) to get the option)
    Attachments:
    Attachment Downloading.jpg ‏59 KB
    wp_ss_20130830_0001.jpg ‏28 KB

Maybe you are looking for