Image in webdynpro

Hi experts ,
              im very new to webdynpro , i like to upload the some image in my view how can i do that one ?

Thanks ,
Regards
Sankar.M

Similar Messages

  • How do you display a new image in  webdynpro view?

    How do you display a new image in  webdynpro view?
    Where is the image stored and how do we specify the image path?

    hi ,
    The UI element Image enables you to integrate graphics into the Web application in a format that is processed by the Web Server u2013 for example, GIF, JPG, and PNG format. Height and width of the graphic can be specified using the properties height and width. The graphic is displayed without borders.
    saveur image   as mime
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    Right click on ur component->mime object->import
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    amit

  • Upload image using webdynpro abap

    Gudday,
    I have a requirement to provide three functionalities like
    1)browse 2)upload 3)review the image using webdynpro ABAP.
    I tried with functionn module 'ARCHIV_CREATE_DIALOG_META'  which uploads images..but if i try to use the samething using service call in webdynpro ..it is throwing a dump..saying...'ARCHIV ID OF CLASS BASED NOT OCCURRED'
    Please suggest me how to proceed further ....its high priority....
    Awaiting your reply.
    Thanks,
    Deepthi.

    Hello Martina,
    Could you solve this problem?
    I need to upload documents in PA30 from Web Dynpro ABAP but the called funtions are not working. Could you please explain me how you resolved this?
    Thanks you very mutch!
    Regards
    Belé

  • How to add image to webdynpro screen . ?

    How to add image to webdynpro screen . ?

    hi,
    right click ur application and then click on create mime object.
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    You can even try creating the MIME objects in webdynrpo abap .
    Right click on ur component->mime object->import
    after importing you can see that image into your component as MIME object .Now insert a UI element image into your view layout .
    Go to the source property of IMAGE element and select F4 option , u will find a window is opening with some tabs
    Select tab COMPONENT IMAGES and component name select your component .
    You will find the image which you have imported into this section just select the image and save it.
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    Amit

  • How to display a image in webdynpro view using a bytearry

    Hi Frndz..
    How to display an image in a view using webdynpro java ..i have bytearry object in context ..like
    *byte[] img = wdContext.nodeYywwwdataImport_Input().nodeOutput().nodeOutMime().currentOutMimeElement().getLine();*_
    by using this i need to show image in view..
    Kindly help me ....
    Thankas in Advance
    Regards
    Rajesh

    Hi,
    byte[] img = wdContext.nodeYywwwdata_Import_Input().nodeOutput().nodeOutMime().currentOutMimeElement().getLine();
    use this code to create resource and you need to set this value to the context created to display the image suppose in the image UI and set the source property with this attribute:-
    IWDResource res=WDResourceFactory.createCachedResource(b,"MyImage",WDWebResourceType.JPG_IMAGE);
    IPrivateAppView.IVn_ImageTabElement imageEle=wdContext.createVn_ImageTabElement();
           imageEle .setVa_Name(res.toString());
    wdContext.nodeVn_ImageTab().addElement(imageEle);
    Hope this may help you.
    Deepak

  • Custom loading image in WebDynpro iView

    Hi All,
    I have replaced the default loading image in the com.sap.portal.appintegrator PAR with a custom image.
    As a result the new custom loading image is being shown in all iviews made fom that PAr e.g.BSP Iview, IAC iview etc.
    But only the webdynpro iview is still not able to show that image,but is instead showing no image during loading.
    Have checked every possibility.
    Can anyone suggest what could be the problem??
    Thank You.

    Juhi Bhatnagar
    Greetings!!!
    May i know , what is the procedure need to be followed to replace the default Loading ICON with our custom image.
    2. Does our custome image should be a image file (like jpg, png) or its like a command
    Kindly share the procedure for this...
    Appreciate your response in advance'
    Thanks

  • Complex layout and images on webdynpro

    Hello:
    I've been using webDynpro for some apps, and I couldn't help noticing how "hars" the final GUI is... is there a way that I can import an HTML file and start importing eviews from there?
    You know websites usually start in photoshop, I create the layout, images, branding there and then export as -> html and images so I get a really cool layout (designers point of view)
    Then I'd go to dreamweaver and insert all php jsp and programmatic stuff... I'd like to import the htmls into webdynpro instead of dreamweaver, is that possible? if not, how can I embed things like flash, javascript, etc?
    Thanks!
    alejandro

    Hi
    If you are looking for change layout, style, look and feel,... without recompile and that...
    why don't you use WebDynpro themes.
    Go thorugh the follwing Web Dynpro Java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
    To know how to use it and for the steps to be followed please follow the tutorial here
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to edit web dynpro themes.pdf
    the last url gives you a step by step procedure with wizards..
    Regards,
    RK

  • How to put an image in Webdynpro

    HI,
    I want to piut a logo in Webdynpro view.I have put the image(logo) in proper place.But I am not able to fetch the data from that folder in to my WD view.
    pLease suggest
    Regards
    -Sandip

    Hi Sandip,
    You want to embed a TextView UI element and an Image UI element in a Group UI element, kindly have a look :-
    http://help.sap.com/saphelp_nw70/helpdata/EN/5d/1d353ed106ec2ce10000000a114084/frameset.htm
    URL Generation Service :-
    http://help.sap.com/saphelp_nw70/helpdata/EN/9e/a073001903c9419592b14c2aa63669/frameset.htm
    Hope this is useful.
    Regards,
    Anagha

  • Displaying image in webdynpros

    Hi
    Im new to webdynpros. I went through the tuorial but unfortunately I do not understand the context part of it.
    I created a component and all i want to do is add an image. I insert child : Image. In the Element properties of the Image, in source..how do i add the image here?
    Any help is much appreciated
    Thanx

    Hi Namira,
    The "source" should be the path of the image and the "alt" should be the tooltip text
    1. You can copy the image files to the following directory "C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\webdynpro\web\sap.com\tcwddispwda\global\sapIcons" and you can mention the source as "~sapicons/<<img file name>>"
    2. Or you can create a folder in your server hard drive and maintain all your images in that folder. Create a HTTP alias and point the image to that folder. You can use the "http://servername:port/<<alias name>>/<<image file name>>"
    For creating HTTP alias refer the following, refer the forum thread
    https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Re: Problem with PDF show
    You can use the approach mentioned by Armin, but if you would like to use the images across all your applications, then you can follow the steps what I mentioned, so that the images will be maintained at one location.
    If you require some clarification do let me know.
    Regards,
    Santhosh.C
    Message was edited by: Santhosh Chandran

  • Image in Webdynpro Java Application

    Hi All,
    I have created a webdynpro application
    i kept imaage Lotus.jpg in src/mimes/components/component
    created a value node image attached this node to image ui source property
    in implementation
    weContext.currentcontextelment.setImage("Lotus.jpg");
    i am not abel to see image
    where am i going wrong
    Regards,
    Murali

    Hi Murali,
    I hope the above mentioned answers have solved ur problem. If yes then please close this thread else in webdynpro to show an image is very easy. As you mentioned you need to copy the image and paste it at Project>src>components>application copmponent>paste it. now you just need to got to the properties of the particular UI element in which you want to show the image. Then go to the imagesource property give the name exaclty similar to that of your pasted file for example if it's Lotus.jpg then give Lotus.jpg or if its Lotus then need not to add .jpg only add Lotus. This will definately work.
    Warm regards,
    Gaurav

  • Uploading Image in webdynpro View.

    hi,
    I am new in Webdynpro Java. I want to upload image ( for ex. A company Logo).
    Any inputs how to proceed for that ?
    Thanks in advance.

    -> Store the images in the MIME Directory.
    -> Declare a simple type data type in the Java Dictionary.
    ->Give values and description in the enumeration type.
    -> Declare a value attribute of Simple type in View Controller.
    -> Add a image UI Element and bind it  with two attributes(Ctx1 and Ctx2).
    Use the code below to get the name of image and further set it :
    String vehicleType = wdThis.wdGetContext().currentContextElement().getCtx1();
    wdThis.wdGetContext().currentContextElement().setCtx2(vehicleType+ ".jpg");
    Thanx.

  • How to upload images on WebDynpro(ABAP) screens

    Hello All,
    Could any one please help on how to create/change the image (jpeg/any file) dynamically on WebDynpro screen. I have seen couple of examples for uploading the text files in WDR_TEST_EVENTS, WDR_TEST_WEB_ICONS, but not found any standard program that explains about uploading images.
    Requirement: User has to select any image/thumbnail from local PC and it should be displayed on main screen, it's not only from MIME directory.
    We have the same logic in BSP Application (CFX_RFC_UI) to upload the thumbnail but am not sure whether we can use the same logic in WDC or not?
    I have seen the same logic for WebDynpro (JAVA) here: 
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    I would really appreciate if you could provide me the code/process ASAP.
    Thanks & Regards,
    Hari.

    Hi,
    I have written the code as per given logic with no errors, after selecting jpeg file from local PC when I click on 'upload' button it is giving a following short dump.
    Could you please let me know how to rectify it.
    Error when processing your request
    What has happened?
    The URL http://rocpld02.wwwint.corp:8000/sap/bc/webdynpro/sap/zms_image_01/ was not called due to an error.
    Note
    The following error text was processed in the system PLD : Exception condition "CNTL_ERROR" raised.
    The error occurred on the application server rocpld02_PLD_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_GUI_CUSTOM_CONTAINER=======CP
    Method: ONACTIONONBUTTONCLICK of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Regards,
    Hari.

  • Pass image from webdynpro app through context nodes

    Hi All,
    Just wondering is there any way I can pass dynamically images from my WDA app to my interactive form through an XML interface?
    I can upload my images into the MIME repository during design time, can I get the XSTRINGs of these, bind it to a context attribute then use the XML interface into the Interactive Form and have it bind that into an image field ?  (do I need to convert XSTRINGs into base64 encoded formats?)
    Sorry I'm a bit confused, a lot of the blogs I've seen all use ABAP dictionary based interfaces, is this the only way you can pass graphics from WDA into an Adobe Form dynamically?
    Also, what do we need to do to pass values from our WDA context into an ABAP dictionary interface form?
    Edited by: Danny Yee on Oct 7, 2011 10:10 AM

    Hi Danny,
    If you use file upload UI element in webdynpro, it will store the file in xstring format. Am not sure about images, but i think it will upload images also.
    what do you mean by ABAP dictionary interface form? is it adobe form? if yes, then in your case quite simple.
    first use upload ui element then read the xstring attribute value then try to bind  the same value to datasource property of adobe interactive form.
    Regards
    Srinivas

  • Image disappears - WebDynpro Java

    Hi All,
         I have a WebDynpro Java application, which has image, and other UIs. There is a image displayed in the image UI. When there is some actin in the UI, by clicking any of the UI, the image disappears, after other action it comes back again. Where could be the problem ?
    Thanks,
    Prabhakar.

    I am giving here the hierarchy of the Layout.
    RootUI
       |___TransparentContainer_1 (child of RootUI)
                |___ImageUI_1 (child of TransparentContainer_1)
       |___TransparentContainer_2 (child of RootUI)
                |___ScrollContainer (child of TransparentContainer_2)
                         |___ImageUI_2 (child of ScrollContainer)
    There is a drop down which has values 'Fit to Window' and '100 %'. Either one of the UI's 'ImageUI_1' or 'ImageUI_2' will be visible based on the drop down value.
    Regards,
    Prabhakar.

  • Need code for dynamic insertion of a MIME object(image) into WebDynpro View

    Hi experts,
    I am attempting to insert an image into a view at runtime, using lines of code.
    I know that this code must be present in the WDDOMODIFYVIEW method of that particular view.
    However I am not sure about the lines of code which can do this. Can anyone please help me out with this........
    Thanks in advance,
    Adithya.

    Hi.,
    Yes you can add MIME at runtime ., Check this.,
    [MIME at run in WDA |Can mime object be created at run-time?;
    also ., [Display logo at runtime in WDA|Mime logo not displaying;
    hope this helps u.,
    Thanks & Regards
    Kiran

Maybe you are looking for

  • Split PO

    Hi, While creating a split PO, i am getting error message as "can not retrieve tax information". I checked and still getting the same message. any solution pls Lava

  • Why is my hard drive running all the time in Mountain Lion

    My hard drive is powering up far more than it ever did with Lion, and this of course is killing battery power rapidly. Any one know why my hard drive runs so often on the new OS? Thanks!

  • Ipad mini stuck on child mode

    ipad mini stuck on child mode.  won't scroll. 

  • How to Control Sort Order of Playlists in iTunes?

    As far as I can tell, somewhere along the way iTunes stopped sorting playlists alphabetically, numbers before letters, and started sorting playlists alphabetically, letters before numbers. Or at least that's how it now happens on my iPhone; I think t

  • Incorrect quantity updates of sub-order in collective order

    Hi, We are using Cable solutions ver: 4.6c. When the quantity of the leading order is changed (co02), the sub-order quntities are not changing accordingly. Let me explain you in detail. Following are the settings in Material Master. Material      Bas