How to change properties of UI element in SRM webdynpro

I am having handfull of experience in ABAP WEBDYNPRO. Now i got an apportunity work in Webdynpro in SRM. As all we know changing the property of UI element in SRM is not that easy like we do like Webdynpro in ABAP.
So i request anyone please provide me steps from scratch list what supposed to be done SRM. Aso please provide me regarding how enhancement carried with Webdynpro UI elements?

Hi Sahil,
There was a discussion before:
[Compare different ways of customize Web Dynpro ABAP;
Regards,
Donald

Similar Messages

  • How to create a roadmap ui element dynamically in webdynpro abap?

    Dear  team
    iam new for webdynpro my question is how to create the road map programme dynamically using webdynpro
    could you tell me what are the steps i have to take, what are the elements i have to bind?
    and what code & where i have to write the code?
    regards
    sathya

    Hi Sathya,
                  Write the follwing code in WDDOMODIFYVIEW method to create a Dynamic ROADMAP and also create an attribute of
                   type string to control the selection of steps in road map.
    method WDDOMODIFYVIEW .
      data : lr_ele type ref to if_wd_view_element.
      data : lr_rm type ref to cl_wd_road_map.
      data : lr_step type ref to cl_wd_road_map_step.
      data: lr_container type ref to cl_wd_transparent_container.
      data : lr_flowdata type ref to cl_wd_flow_data.
      CALL METHOD view->get_root_element
        receiving
          root_view_element = lr_ele.
      lr_container ?= lr_ele.
    CALL METHOD cl_wd_road_map=>new_road_map
      EXPORTING
        id                       = 'ROADMAP'
      receiving
        control                  = lr_rm.
    CALL METHOD lr_rm->bind_selected_step
      EXPORTING
        path   = 'VALUE'.
    CALL METHOD cl_wd_flow_data=>new_flow_data
      EXPORTING
        element     = lr_rm
      receiving
        control     = lr_flowdata.
    CALL METHOD lr_container->add_child
      EXPORTING
        index     = 1
        the_child = lr_rm.
    CALL METHOD cl_wd_road_map_step=>new_road_map_step
      EXPORTING
        id                  = 'ONE'
        name                = '1'
      receiving
        control             = lr_step.
    CALL METHOD lr_rm->add_step
      EXPORTING
        index    = 1
        the_step = lr_step.
    CALL METHOD cl_wd_road_map_step=>new_road_map_step
      EXPORTING
        id                  = 'TWO'
        name                = '2'
      receiving
        control             = lr_step.
    CALL METHOD lr_rm->add_step
      EXPORTING
        index    = 2
        the_step = lr_step.
    CALL METHOD cl_wd_road_map_step=>new_road_map_step
      EXPORTING
        id                  = 'THREE'
        name                = '3'
      receiving
        control             = lr_step.
    CALL METHOD lr_rm->add_step
      EXPORTING
        index    = 3
        the_step = lr_step.
    endmethod.
    Then you can use the context attribute to navigate between the steps and do respective actions.

  • How to change properties of a TableCell over Code ?

    Hy all,
    i want to enable a cell of the selected row over code.
    How can i do this ?
    I dont know, how to get the UI-Element table of my view over code.
    I have read the API and have seen all the method to change the properties, but not found the method to get any of my UI-Elements of the actual view.
    Is there any method to get or browse all the UI-Elements of the view ?
    Have anyone a code-example to get a UI-Element of a view ?
    Thanks for help.
    by Jürgen

    Hy Valery,
    my scenario is to enable a Button or LinkToURL UI-Element in a table cell of the selected row. The data in the table are mapped from a node und the Button/LinkToURL Element was insertet by visual editor with property enable = false.
    I have a action onLeadSelection to get the parameters of the selected row to build the right URL.
    Do I have access in the action to the wdDoModifyView-Method to change the property ?
    How can i change the cell-enable-property of the selected row ?
    I can get the table, the array of tablecolumns and an iterator over the table. But i have not found a method
    to get the column like table.getColumn(XXX).
    I have read the IDWTable API with the following text:
      "Table columns are defined by aggregating TableColumn
       objects. Each table column has a table cell editor.
       Every property of the table cell editor may be bound
       either
          to an attribute of the context node X, or
          to a context root attribute.
    Now I am a little bit confused. Do I need a value attribute "URL" in my model node?
    But this should not solve my problem to enable a Cell of a table, or ?
    Thanks for help.
    Jürgen

  • How to change properties dinamically to all objects that are in a JPanel

    Hi experts!
    I have this code:
    JPanel pnlDataTxt;
    pnlDataTxt.add(new JTextField());
    But I want to change the properties of that JTextField after it has been added to the JPanel.
    How can I do that??

    Hi experts!
    I have this code:
    JPanel pnlDataTxt;
    pnlDataTxt.add(new JTextField());
    But I want to change the properties of that JTextField
    after it has been added to the JPanel.
    How can I do that??You have to create a handle to an instance of an object like:
    JTextField testField = new JTextField();
    JPanel pnlDataTxt;
    pnlDataTxt.add(testField);Now you can change the properties of "testField".

  • Change properties of UI Elements during runtime in Web Dynpro ABAP

    hey ,
    what is the convention for changing ui elements in runtime by method set_attribute_property ?
    for example :
    changing visibilty of text box :
    property= 1.
    *" call method set attribute property and pass value as 'X' to show
      call method lo_el_radio_node1_1->set_attribute_property
        exporting
          attribute_name = 'FIRST_NAME_1'
          property       = 1
          value          = 'X'.
    and in changing enable/disable  of text box :
    property = 4.
    *" call method set attribute property and pass value as 'X' to ENABLE
    call method lo_el_radio_node2_1->set_attribute_property
       exporting
         attribute_name = 'FIRST_NAME_2'
         property      = 4
         value         = 'X'.
    how the property value is defined ?
    link to full example :
    [link|http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP]
    Regards ,
    ASA

    Hi,
    I also need to change the read-only property of a field at runtime in webdynpro. The read only field should be enabled at runtime.
    I've used the  call method lo_nd_packslip->set_attribute_property
              exporting
               attribute_name = 'ZOPAK'
               property = '3'
               value = space .
    but I am not getting the desired output.
    Thanks,

  • How to change properties for some controls in runtime ?

    hi,
    I would like to change some of the properties for some controls in front panel in runtime. Number of control properties I want to change is depending of a log file user opens in final application.
    I attach an example where I'm trying to change the visibility of numeric controls. Problem I have I don't know which reference to connect to property node in case the control in for loop is not a numeric control. The example relies to label.text property but I could use the more generic classname property as well.  
    regards,
    petri
    Solved!
    Go to Solution.
    Attachments:
    dynamic reference.vi ‏11 KB

    pcardinale wrote:
    Initially, a control has no caption.  It's not just that the caption string is empty and the caption not visible, but the caption object does not exist.
    I think this should probably be changed in future versions, because even if each control had a caption, it would still be a negligible small part of the VI. The current behavior made sense many years ago where HD and memory space was very precious. Not any more!
    This issue comes up often enough that it warrants addressing the root of the problem.
    It is hard to convince the casual that the caption does not exist if he can simply do a "show caption" at edit time and it will show in all glory, even with the default set to the current label. It is confusing!
    There is even an idea about this that seems worth supporting (also read the link in the discussion).
    What do you think?
    LabVIEW Champion . Do more with less code and in less time .

  • How to change properties or add components in JPanel after initialization ?

    Hi,
    I am working on an applet where an image will be loaded in a JPanel from an URL. The JPanel is inside a JscrollPane.
    1.The image will be added on the JPanel later , not during initialization.
    2. JPanel size will be the size of the image.
    3 .the image size may change when the image is changed. Then the JPanel size also has to be updated.
    FYI I am using MediaTracker to load the image.
    I was trying updateUI() for scrollPane. But it is not working.
    How can I do it? Any suggestion?
    Thanks in advance.

    I have to use JPanel because I need flexible control on the imageYou said previously that the panel was the size of the image, so I don't understand what kind of flexible control you are talking about. Presumably you have code in the paintComponent(...) method of the JPanel something like:
    g.drawImage(0, 0, width, height)
    Well that is exactly what a JLabel would do.
    So if you need further custom painting then you would just override the paintComponent(...) method of JLabel to do your custom painting.

  • How to change value of array element using property node

    hello all : )
    im using an array of combo-box. the size of array is not fixed.
    i want to use the strings[ ] property of combo-box to enter selection texts but since i have placed it inside the array im unable to use this property.
    i used 'arrayelem' reference property and connected property node to it but didnt got strings [ ] in the selection.
    so is there any way i can use the strings [ ] property
    Solved!
    Go to Solution.

    the picture what I posted is a snippet. It is a png file which also contains a vi:
    http://www.ni.com/tutorial/9330/en/
    I have found this post. I am just reading it:
    http://forums.ni.com/t5/LabVIEW/combobox-in-array-why-does-it-work-this-way/m-p/2146916/highlight/tr...
    It might help...
    hmm, it is more complicated as I thought )
    edit: just to be CLEAR: so you want to create a new selection LIST for each of the array elements (comboboxes)) OR you just want to set all the comboboxes to a particular value which is ALREADY in the combobox list??

  • How to change properties of layout.

    Hi All,
    In ICWC agent inbox , when we perform a search , the result gets displayed in the form of page view.i.e. 20 mails gets displayed per page and the users have to scroll down thru pages.But the requirement is that the result should be in a single page view with scrolling option.Can anybone tell me if this is possible and how to do that.
    *Points assured for helpful answers
    Regards,
    Raghu.

    Hi,
      Your question is related to which CRM release?
      If it is for CRM 5.1 or later, may be you can check with the personalisation button on the search result list table view. They may be a setting for the number of entries in 1 page.
    Otherwise, you have to check up with an appropriate tag attribute for tag <thtmlb:tableView> like 'visiblerowcount', 'scrolling' etc.
    I do not have access to a CRM system right now, but it should be possible in either of these ways.
    Hope this helps!
    Thanks,
    Sudipta.

  • How to change properties of an image when the state changes? (normal, rollover, mouse down, action)

    I want to enlarge image (photo) while rolling over.

    Sure, This works but copying back the button does not replace the original, it just adds a new button, so for every change, there is a new copy added. I did notice this when I wanted to change the size of the button, they were both visible !
    Pierre

  • How to change properties in Synchronize Options [js][cs4]

    Hi all,
    From that above TOC Synchronize options scrrenshots i need to set the value of Smart Match Style Groups to flase, but i cant... Is ther e any way to set those properties.
    Regards,
    San

    Ofcourse its a book property, i can set the property as below
    myBook.styleSourceDocument =myBook.bookContents[i];//stDoc;
            //myBook.styleSourceDocument = app.documents[0];//File ('/Users/sankar/Desktop/TOC_1 column/templates/Untitled-9.indd');//stDoc.tocStyles[1];//.bookContents[0];//app.document .File('/Users/sankar/Desktop/TOC_1 column/templates/35865_00_Template.indd');//stDoc;
            myBook.synchronizeTableOfContentStyle  = true; // Synchronize TOCStyles
            myBook.synchronizeTextVariable = false;
            myBook.synchronizeTableStyle = false;
            myBook.synchronizeParagraphStyle = false;  
            myBook.synchronizeCharacterStyle = false; 
            myBook.synchronizeTrapStyle = false; 
            myBook.synchronizeMasterPage = false;  
            myBook.synchronizeObjectStyle = false; 
            myBook.synchronizeSwatch = false; 
            myBook.synchronizeCellStyle = false; 
            myBook.synchronizeBulletNumberingList = false;
            myBook.synchronizeConditionalText = false;  
            //myBook.smartMatchStyleGroups = false;
            //myBook.synchronizeCrossReferenceFormat = false; -- Cant
    and also i want to set smartMatchStyleGroups and synchronizeCrossReferenceFormat. And i searched there is no object for synchronizeCrossReferenceFormat( is it possible).
    Please give your valuable suggestion to control smartMatchStyleGroups
    Thanks in advance,
    San

  • [i]How to change the[/i]   background color in a webdynpro?

    Does somebody know how I can simpley change the background color in a webdynpro?

    You need to use external CSS..via the sap-ep-themeroot or sap-cssurl.
    For downloading and changing CSS. pls refer to
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8
    Note: as stated in the documentation for a external CSS, that is just placing it in /SAP/PUBLIC Folder, <b>did not work</b> for me....
    Do following it works..
    Create a BSP application, ZCUSTOMTHEME. GO to MIME Repository and create a folder zmytheme under ZCUSTOMTHEME
    open SE38 and execute BSP_UPDATE_MIMEREPOS and upload ur custom theme under this folder.. /sap/bc/bsp/sap/ZCUSTOMTHEME/zmytheme
    While calling ur WD application....append following at end of URL
    sap-ep-themeroot = /sap/bc/bsp/ZCUSTOMTHEME/zmytheme'

  • How to change the font style of user in webdynpro code

    Hi Experts
    I have retrieved the user in webdynpro code through ume api .
    But the username is getting displayed in bold by default.
    Could you suggest me how to convert it to normal font so that the username is not displayed in bold.
    Regards
    Chandana

    Hi,
    You haven't mentioned which UI elememt you are using to display the user name. For textView you can use the design property and set the value as standard.
    Regards
    Ayyapparaj

  • How to change the Bid Invitation

    Hi,
    Pls let me know how to change the saved bid invitation in SRM and the path and the roles required for the same.
    Also, the carry out sorcing screen is getting displayed in German what can be done for this.
    Can we create a Bid directly in SRM 5.O, Imean is it necessary that only fro SC or PR we can create Bid or we can create in directly from the carry out scourcing screen.
    Thanks,
    Manu

    Hi Manu,
    Bid invitation can be changed by the professional buyer role.
    Professional buyer can create bid invitation manually without reference to shopping cart  whenever the professional buyer requires from the spend analysis report in SRM 5.0 version.
    Koushik.

  • How to change the properties of individulal elements in an array?

    Hi all,
    I have an array (size is 25) of string and I want to disable and grayout half of them. But how do I do it? How do I change the properties of individual elements in an array? I have tried to use some of the examples given in the discussion forums, but it didint work for the task mentioned above. Anybody would be able to help me with a suitable example that can be specifically used for disable or enable the individual array  elements?
    Dev

    Telemaque wrote:
    The user will see the first half of the string elements filled-in and the lower half grayed-out (to be filled in later).  Make a test VI, play around.
    ... except that all elements "greyed out" with this method contain the default string for the array element (blank by default, but changeable). There is no way to have meaningful, unique text in the greyed out elements.
    I would suggest to use a listbox as control/indicator. Here elements can easily be disabled programmatically.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for