Formatting tree UI element in web dynpro

Hi,
I am new to web dynpro java.
I want to format tree in web dynpro java.I mean i want to add spaces between the nodes of a tree or can i get something like hgutter functionality between the nodes.
Regards,
ujjwal kumar

Hi
No
Only thing u can do is set Is Design to Emphasized (Bold) and add any images into Node and item both.
depends on image size u will get some space between text of tree.
(Applicable with CE 7.1 onwards not in 7.0)
Tree  [help|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/de59f7c2-0401-0010-f08d-8659cef543ce]
Best Regards
Satish Kumar
Edited by: satish jhariya on Mar 18, 2009 4:49 PM

Similar Messages

  • Ticker UI Element in Web Dynpro

    Hi All,
    I have a requirement to display dynamic horizontal scrolling text, (like a ticker). The text is dynamic depending on which section of the form the user is current in and is retrieved from a RFC call.
    I noticed there is no ticker UI element in Web Dynpro like there is in Visual Composer.
    I'm using NWDS 7.0.18.
    Can anyone suggest a workaround? Is Iframe an option and if so, how?
    Thanks in advance.
    K

    Hi anuradha ,
    I think it is not possible to convert xls file's xtring to a propert string format.
    only .csv fromat file will give you the proper string when converted from xstring to string.
    thanks
    sarbjeet singh

  • Integration of a Tree Structure in a Web Dynpro Table

    Hi,
    I am implementing an Integration of a Tree Structure in a Web Dynpro Table.
    The Tree-Table os working as required, but I can not work with the OnLeadSelect Action of the table.
    The Action does not work as required, meanning, it returns all the time the first row and not the "lead select".
    As far as I read I should add some code to the wdDoModifyView method, but I did not figure out exactly what...
    Thanks in advance,
    Aviad

    check this URL:
    /people/valery.silaev/blog/2005/06/20/master-of-columns-part-ii

  • Unable to download file from FileDownload UI Element - Java Web Dynpro

    Hello Experts,
    I am facing a strange issue.Scenario is:
    I created an java web Dynpro application (Please note that it is just a standalone WD app, not integrated in portal) with just one FileUpload UI Element ,one FileDownload UI element and one button (for triggering an action).
    I browse a file (e.g. text,pdf,doc etc.) and click on button. It uploads the file and when I click on download, there are two cases:
         1) Simply click on download does not downloads the file and shows error: "Unable to download <file name> from <server name>.  Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." Though it is opening the file,showing the content.
         2) I opened that portal URL in a new tab in same session and logged in with a portal user. Now if I click on download link of same WD app opened in different tab of same session, it downloads the file without any error.
    I am using portal 7.0
    Can somebody point what's going wrong with case 1?
    Helpful pointers will be appreciated.
    Thanks,
    Kirtiman

    Hi Sid,
    I did not gave any authentication of WD app as it is anonymous app. There is no parameter set in application properties.
    As I run the app, it is showing the initial screen with UI elemtns and till upload works fine,.It has to be an anonymous app, so cannot ask for credential from user.
    Thanks
    Kirtiman

  • Adobe Library Elements in Web Dynpro

    Hi,
    I cannot see the Web Dynpro tab elements under the library palette, even though I have defined the check and submit actions for the interactive form.
    My NWDS is SP12, and Adobe Reader is 7.0.5. Can anyone point me in the right direction?
    Thanks,
    Manik

    Hi Manik,
    Close your NWDS and then open once again. There were some problems like this. When you restart your NWDS such problems disappear.
    Regards,
    Bhavik

  • Disable Technical Information for UI Element in WEB DYNPRO ABAP

    Hi expert,
    I want to disable  Technical Information for UI Element in  my web-dynpro application i am alredy disable  in user setting by parameters WDDISABLEUSERPERSONALIZATION by i want to disbale other two options 1 Display quick help.
                2 More field help.
    KINDLY GIVE ME SUTIABLE SOULATION.
    REGARD'S
    Vikash

    Hi Vikash,
    Check this thread, may be you'll get some clues from here.
    [How to restrict right click to show user setting in WebDynpro ALV?;.
    Regards
    Manas Dua

  • Positions of elements in Web Dynpro

    Hi experts!
    I'm trying to get to know Web Dynpro a little bit better, but now I don't know what to do...
    I'm building elements on a view dynamically. I'm adding a transparent container and then I want to add elements  (buttons ecc). I give the container the Matrix Layout, but I want to define the postions of my elements-like a textview on the left side and a button on the right side. Now my result is that the button on the right side is far more on the right than the other transparent containers I am adding later...
    Can somebody please advise me how I can control the postions of these elements better?
    Thanks in advance!
    Points will be rewarded for helpful answers!
    Felix

    Hi,
    have you tried to set the button in a seperate container?
    else you can maybe set your main layout type to gridlayout (to place the containers in)
    and later use the matrix only within the containers, that way the containers on the
    right side are always aligned (when you set stretched horizontaly eq to abap_true in your gridlayout)
    when you want a container to be filling more than one column, you can play with the colspan
    grtz,
    Koen

  • InteractiveForm UI Element in Web Dynpro Java - Image not displayed on form

    Hello Experts,
    Using: NetWeaver Developer Studio 7.0.1_06; Adobe Livecycle Designer 8.1.
    I have an image "image.png" in my src/mimes/components/com.mm.InteractiveFormComp folder within my web dynpro java project.
    I load the image into my context in wdDoInit method in the comp controller:
    wdContext.currentContextElement().setImage("image.png");
    In the interactiveform I have an ImageField on the form and have set its properties as follows:
    Field - URL = http:[host]:[port]/webdynpro/dispatcher/InteractiveFormComp/src/mimes/components/com.mm.InteractiveFormComp/image.png
    Field - Embed Image Data = "checked"
    Binding - Default Binding = Image
    However, no image ever shows up on the form. I have also been through many threads in the forums but havent found a solution. Can anyone please assist me?
    Regards,
    MM.

    Hello,
    I tried using jpg and bmp. Didn't work.
    Any other suggestions?
    Regards,
    MM
    Solved it!
    Edited by: Marshall Mathers on Mar 9, 2011 9:53 PM

  • To get content of file upload element in web dynpro

    Hi . . .
    h1 : how can i get the string content   (i.e., path of file) store in variable in web dynpro abap . . . .

    Hi . . .
    h1 : how can i get the string content   (i.e., path of file) store in variable in web dynpro abap . . . .

  • Modify content of Button Choice UI Element in Web Dynpro ABAP

    Hi experts,
    How can I modify the content of button choice in webdynpro abap ?? ( I want to delete one row  from the list).
    See the attachement below .
    Web dynpro component : /SAPSRM/WDC_DODC_PARTNER
    Cordialy

    Hi,
    please check the method /SAPSRM/CL_CH_WD_DODM_PARTNERS->/SAPSRM/IF_CLL_DODM_PARTNERS~GET_ADD_BUTTON_PARTNERS.
    You should be able to create an enhancement at the end of this method.
    Regards
    Konstantin

  • Office UI element in Web Dynpro ABAP

    Hi ,
    I am using Office UI element to display a excel on WDA screen . The excel has some macros .
    I need to send some data of excel to the DB on click of Save .
    How do i read the excel data ? The data is in the format of XSTRING .
    I tried to convert to STring and then Table . But its giving me dump .
    Can anyone Suggest how can i do this ?

    Hi anuradha ,
    I think it is not possible to convert xls file's xtring to a propert string format.
    only .csv fromat file will give you the proper string when converted from xstring to string.
    thanks
    sarbjeet singh

  • Input element in web dynpro java not working

    Hi,
    Iam new to webdynpro java. iam trying on external context mapping example from sap help.when i run the application i have assigned a context to a input element that should be accessed  by another other component's window view .when i follow steps given in diagram for external context mapping when i run the application i am not able to enter the data into the input textbox.it became read only.plz suggest me a good example for external context mapping and some times i am not able to enter a value for input field when i assign a context attribute to it.i have assigned a node context to the input element.
    Thanks and regards
    prasad

    Hi Prasad,
    An externally mapped node always exists within the context of a component interface controller and have its isInputElement property set to true.
    External context mapping is possible only for independent nodes of a component interface controller not independent attributes.
    Also, for external context mapping, look at below thread -
    external context mapping
    Regards,
    Sen

  • Creating Dynamic UI Elements in Web Dynpro ABAP

    Hi,
    I want to an application in which the context nodes and the UI Elements for the second screen get created dynamically at run time based on the input on the first screen
    First i have used this method :
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct()
    to  create the dynamic context nodes.
    I have checked in debugger and the dynamic context node is getting creates successfully.
    I have saved the reference for the context node in DYN_NODE.
    Now for creating the dynamic UI Elements corresponding to the attributes of this context node, i call the method :
    cl_wd_dynamic_tool=>create_form_from_node(
    ui_parent = group_1
    node = dyn_node
    inputlength = 20 ).
    But this thing is dumping.
    This is the dump.
    The following error text was processed in the system CG7 : Adapter error in &VIEW_ELEMENT_TYPE& "BP_ICLIENT" of view "ZWD_ONLINE_FORMS.FINAL_VIEW": Context binding of property VALUE cannot be resolved: Node FINAL_VIEW.1.BP does not contain any elements
    Where BP_ICLIENT is the first attribute of the dynmaic context node BP  created..
    Please Help.
    Thanks
    Shivi

    Refer this wiki :
    https://wiki.sdn.sap.com/wiki/display/WDABAP/CreatingUIElementsDynamicallyinAbapWebdynpro+Application
    More links are available on SDN reg Dynammci UI creations :
    Have a look at the documentation for the WDDOMODIFYVIEW section of the phase model:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d2/8acd409cc4dd50e10000000a1550b0/frameset.htm
    There is also the class CL_WD_DYNAMIC_TOOL:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/6935425394033be10000000a1550b0/frameset.htm
    Also have a look at the example application DEMODYNAMIC.
    eLearning on the topic here as well:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89
    Edited by: Saurav Mago on Oct 26, 2009 12:23 PM

  • Tab order issues with UI elements in Web Dynpro

    Hi Folks:
    We recently upgraded to NW 2004s and now i am running NWDS v 7.0.
    I have noticed many behavioral changes since the upgrade.  One of the more problematic and annoying issue is the tab order of the UI elements.  In the prior version, the label element never had the control while tabbing.  But now the Label also is part of the tab order.   There is no property ( that i have been able to figure out) that stands out to fix  this issue.
    I am i missing something or doing something wrong.  Greatly appreciate any input.
    Thanks & regards
    Renchy Thomas

    I figured it out.   You have to bind the label to the UI element it is a label for - using the labelFor property of the Label element.
    Duh!!  i should have thought of it before but it is true that the older version was not enforcing this rule.
    rgds
    Renchy

  • Web Dynpro Tree expanding

    Hi there!
    I am using the tree element in web dynpro.
    Not the tree in the table.
    I need to expand a part of the tree during loading
    I do not find an example.
    Any help is warmly appreciated.
    Thanks in advance, Frank

    Hi,
    the "dynamic" tree expansion depends on who you populate the tree content e.g. how you load the data to your tree.
    In my application, I have choosen to load the root nodes, first - all over sub-nodes (including items) are loaded "on demand" that means the user clicks on the node. This click will trigger the the action onLoadChildren which pulls the data from a data provider and binds the retrieved data to the corresponding
    context node.
    This expansion can be perfomed automatically by a recursive method which is called when a user pushes a button called "Expand all"....
    I don't have much time to explain the details, but I will provided the source code..., hope it helps!
    Darko
    Source Code -
    Import to the Method:
    i_node_ref type IF_WD_CONTEXT_NODE = Reference to the context node
    METHOD nav_tree_expand_all.
    Data declaration
      DATA node_elements TYPE wdr_context_element_set.
      DATA node_element  LIKE LINE OF node_elements.
      DATA child_node    TYPE REF TO if_wd_context_node.
      DATA ls_tree_attr  TYPE zlm_str_tree_gen.
      DATA lt_tree       TYPE zlm_tty_tree_gen.
    Get all node elements
      node_elements = i_node_ref->get_elements( ).
    Loop over each element
      LOOP AT node_elements INTO node_element.
        " Get Static attributes
        node_element->get_static_attributes( IMPORTING static_attributes = ls_tree_attr ).
        " Check if data has already been loaded
        IF ls_tree_attr-children_loaded = abap_true.
          " now we know that the data has been loaded, only the elements have to be declared as expanded
          ls_tree_attr-is_expanded = abap_true.
          node_element->set_static_attributes( EXPORTING static_attributes = ls_tree_attr ).
          " get possible other nodes recursively
          child_node = node_element->get_child_node( 'SUBTREE' ).
          me->nav_tree_expand_all( EXPORTING i_node_ref      = child_node
                                             i_screen_id     = i_screen_id
                                             i_component_id  = i_component_id ).
        ELSE.
          " data has not been loaded yet...
          " First load the nodes...
         clear lt_tree.
          me->get_nav_tree_nodes( .....importing lt_tree.). Custom specific data retrieval
          IF lt_tree IS NOT INITIAL.
            child_node = node_element->get_child_node( 'SUBTREE' ).
            child_node->bind_table( lt_tree ).
            " Update Attributes of the node
            ls_tree_attr-is_expanded     = abap_true.
            ls_tree_attr-children_loaded = abap_true.
            node_element->set_static_attributes( EXPORTING static_attributes = ls_tree_attr ).
            " Call the method again recursively...
            me->nav_tree_expand_all( EXPORTING i_node_ref      = child_node
                                               i_screen_id     = i_screen_id
                                               i_component_id  = i_component_id ).
          ENDIF.
          " ... then load the items
          CLEAR lt_tree.
          me->get_nav_tree_items( .....importing lt_tree.).  Custom specific data retrieval
          IF lt_tree IS NOT INITIAL.
            " Update Attributes of the node
            ls_tree_attr-is_expanded     = abap_true.
            ls_tree_attr-children_loaded = abap_true.
            node_element->set_static_attributes( EXPORTING static_attributes = ls_tree_attr ).
            child_node = node_element->get_child_node( 'ITEM' ).
            child_node->bind_table( lt_tree ).
          ENDIF.
        ENDIF.
      ENDLOOP.
      RETURN.
    Edited by: Darko Mocelj on May 7, 2008 8:57 PM

Maybe you are looking for

  • Part1 is not Generating for Vendor Subsequent Delivery

    Hi ASAP I hope you must be doing great; steps are as follow which Iu2019m following for vendor return and subsequent delivery for Raw / Capital goods. 1. PO -> MIGO (101) -> Excise capture & Posting using J1IEX -> MIRO. For excise, part1 & 2 to relev

  • How to see inbox/ other mail without closing the e-mail I'm writing?

    New Mac user seeks help! If I'm writing an e-mail, I don't seem to be able to switch to my in-box without closing and saving the e-mail first (it's like having an open dialogue box in windows, where you can see but not access the program underneath u

  • Critical Error: An unhandled error has occurred. Please contact your system administrator.

    Hi all, Does anyone have any idea what the following error relates to? "Critical Error: An unhandled error has occurred. Please contact your system administrator. Debug information: System.IO.FileNotFoundException; Could not load file or assembly 'Mi

  • Legend text length 30

    I am trying to set my legend names to a string longer then 29 charters but can not.  If I try to set it to a string larger then 29 I get a Runtime error that the attribute value passed is not a valid value but do not get the error if the string is 29

  • Calculating Used Space in Tablespace

    Is there some way that I could calculate memory used by a particular schema or user in a particual tablespace?