Freeze Panes in Web Dynpro Table

Dear all,
How r u ?
Is it possible to Freeze Columns (panes) in a Web Dynpro Table ?
Kindly let me know any way this could be made possible.
Thanks!
Best Regards....
Sankar Kumar
+91 98403 47141

Hello Harish,
Sankar want to know, Suppose i have a table having 20+ column and i have set scrollableColCount by 10. so 10 column will be visible in starting. Now if i scroll it 1st column will hidden and 11th will be visible.so on..
Now we want that 1st column should be visible all time. Like Freezing of first column and rest of all should move.
BR
Chandra

Similar Messages

  • How to use EVS with different data in each row, in a Java Web Dynpro table?

    Hi all,
    I am using EVS in a column of java web dynpro table.
    Let's say the name, and context attribute, of this column is column1.
    It's filled dynamically using an RFC, that uses as input parameter the value of another column, and related context attribute, from the same table (Let's call it column2).  Obviously, from the same row. So, in other words: the values of the EVS in column1 of row1, are dependent of the value of column2 of row1. And the values of the EVS in column1 of row2, are dependent of the value of column2 of row2. And so on... Hope i could explain myself ok.
    The code I'm using works great for filling the EVS dynamically:
    IWDAttributeInfo attrInfo = wdContext.nodeDetail().getNodeInfo().getAttribute(nodeElement.COLUMN1);
    ISimpleTypeModifiable siType = attrInfo.getModifiableSimpleType();
    IModifiableSimpleValueSet<String> value = siType.getSVServices().getModifiableSimpleValueSet();
    value.clear();
    if(this.initRFC_Input(nodeElement.getColumn2())){
         for (int i = 0; i < wdContext.nodeRFCresult().size(); i++){
              value.put(wdContext.nodeRFCresult().getRFCresultElementAt(i).getLgort()
                 , wdContext.nodeRFCresult().getRFCresultElementAt(i).getLgobe());
    In this code, nodeElement is the context row of the table that is passed dynamically to the method when the value of colum2 is changed.
    HOWEVER, the problem I'm having is that after executing this code, EACH NEW ROW that is added to the table has by default the same values as the first row, in the column1 EVS. And, for example, if I refresh the values of the column1 EVS in row 2, all EVS values in the other rows are also refreshed with the same values as the ones of EVS in row 2.
    How can I make sure each row EVS has its own set of independent values, so they don't mess with each other?
    Hope you guys can help me. And please, let me know if I didn't explain myself correctly!
    Thanks!

    I just did as you said (I think), but it's still having the same behaviour as before (same data for all EVS in the table).
    Here´s what I did:
    I
    In node "Detail" (cardinality 0...n, singleton set to true), which is binded to the table, I created a child node named "Column1Values" wth cardinality 1...1 and singleton set to false.
    "Column1Values" node has an attribute called "column1", of type String.
    I did the binding between attribute "column1" and the column1 inputfield celleditor in the table.
    I created an event called Column2Changed and binded it to the column2 celleditor of the table. I added a parameter called nodeElement of type IPrivateCompView.IDetailElement to this event, and mapped it to the column2 editor in the table so that I can dynamically get the nodeElement that is being affected.
    I added the following code to the onActionColumn2Changed(wdEvent, nodeElement) method that gets created in the view:
    IWDAttributeInfo attrInfo = nodeElement.nodeColumn1Values().getNodeInfo().getAttribute("column1");
    ISimpleTypeModifiable siType = attrInfo.getModifiableSimpleType();
    IModifiableSimpleValueSet<String> value = siType.getSVServices().getModifiableSimpleValueSet();
    if(this.initRFC_Input(nodeElement.getColumn2())){
         for(int i =0; i < wdContext.nodeRFCresults().size(); i++){
              value.put(wdContext.nodeRFCresults().getRFCresultsElementAt(i).getId(),
                                  wdContext.nodeRFCresults().getRFCresultsElementAt(i).getDesc());
    And with this, I still get the original problem... When the EVS of one row is updated, ALL other EVS of the table get also updated with the same values.
    What am I missing? Sorry Govardan, I bet I'm not seeing something really obvious... hopefully you can point me in the right direction.
    Thanks!

  • Load and Display Multiple Images in a Web Dynpro Table

    I am new to Web Dynpro and I am wondering if anyone can help me with an application that I am currently developing. I have a particular requirement to store images in a database table (not MIME repository) and then display them in a WD table element. An image can be of JPEG, PNG or TIFF format and is associated with an employee record.
    I want to create a view in my application that displays multiple images in a table, one image per row. I want to do this using Web Dynpro for ABAP, not Java. I have looked into pretty much all examples available for Web Dynpro and came to the conclusion that Components such as WDR_TEST_EVENTS and WDR_TEST_UI_ELEMENTS do not have any examples of images being stored in a database table and viewed in/from a Web Dynpro table element. Programs such as RSDEMO_PICTURE_CONTROL, DEMO_PICTURE_CONTROL and SAP_PICTURE_DEMO do not show this either.
    The images to be displayed in the Dynpro table are to come from a z-type table, stored in a column of data type XSTRING (RAW STRING). So I would also like to know how to upload these images into this z-type table using ABAP code (not Java).
    Your help would be greatly appreciated.
    Kenn

    Hi,
    May be this is the is the correct place to post your query.
    Web Dynpro ABAP
    Regards,
    Swarna Munukoti.
    Edited by: Swarna Munukoti on Jul 16, 2009 3:52 PM

  • Display data in Web DynPro table from database via EJB

    I have a JavaBeans model which has a method populateDataToTable()to retrieve data from database via Session bean (calling entity bean, returning ArrayList of data) and the data needed to be display in the Web DynPro table.
    User Interface (Web DynPro) <-> JavaBeans Model <-> Busineess Logic (session bean) <-> Persistence (Entity Bean)<-> DB table.
    The context bindiing and table part is ok. How do i load the data to the table ? what the coding to put in wdDoInit() ?
    Any help would be appreciated.

    in wdinit(),
    Collection col = new ArrayList();
    try{                    
      MyCommandBean bean = new MyCommandBean();
      col = bean.getDataFromDbViaEJB();
      wdContext.nodeMyCommandBean().bind(col);
    } catch (Exception ex) {
       ex.printStackTrace(ex); 
    in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
    Collection col = new ArrayList();
    Collection newcol = new ArrayList();
    //include your own context initialization etc...
    col = local.getDataViaSessionBean(param);
    // if your returned result also a bean class, reassigned it to current MyCommandBean
    for (Iterator iterator = col.iterator(); iterator.hasNext();) {
        MyOtherBean otherBean=(MyOtherBean)iterator.next();
        MyCommmandBean bean = new MyCommandBean();
        bean.attribute1 = outBean.getAttirbute1();
        // get other attibutes
        newcol.add(bean);
    return newcol;

  • Drag and Drop between Web Dynpro Tables on Cell Basis

    Hi Experts,
    I need to develop a Drag and Drop Functionality as follows:
    I have two tables. I want to drag a row of the first table and drop it in a particular cell of the second table.
    Is it possible to implement this using the Web Dynpro Drap and Drop Functionality?
    If not, does anybody have an idea of how to implement this using other concepts (Flash Integration, Building up a Grid of Images and defining those as drop tragets, etc..)??
    Valuable Advice is highly appreciated!
    THANKS, Johannes

    Thanks for the Video.. It gives some information about Drag and Drop, but still, it does not say what I need to know.
    Again:
    I need to know if there is a way to drag particular cells in a Web Dynpro Table to other locations in that same table. Plus: I need to know if there is a way to drag and drop rows of one table into particular cell of another table.
    Similar to what we do in our Outlook Calendars: We have a week in view and we see our appointments as blocks within that week view. Now, we can drag and drop these blocks to other locations. That is what I need to implement!
    Does anybody have an idea?
    THANKS, Johannes

  • Internet Explorer limitation for Web Dynpro Table Data

    Hello everybody,
    I am having a trouble while trying to display a Web Dynpro table in Internet Explorer. This table is bound to a Context Node that is filled up manually with code, and for example if I passed more than 116 elements to the node the table only shows 116. Since this issue only happens with IE, I consider that it is related to the client part, something related with JavaScript. Any idea/suggestion?
    Many thanks in advance,
    Jesus

    Hello Siva,
    Thank you very much for your response. There is no message error, it is just not showing the entire node content, the weirdest thing is that even though WD is client independent this only happens with Internet Explorer. It works properly with any other browser such as Mozilla FF, Chrome and Safari browsers when the table has above 116 elements. When the table has below 116 elements it works properly with any browser. I have tried with IE6.0 and 7.0 using NWDS 7.0 and EP 7.0 SP 18.
    The table is child of a Group element which in turn is child of the Root Element.
    Best Regards,
    Baez

  • Copy from clipboard and paste in Web Dynpro table

    Hi
    I have a client requirement where the client wants to copy the table from some already existing application and paste the data  directly in web dynpro java table.  It is similiar to copy the data from clipboard and paste it directly in web dynpro table.
    I would like to know is it feasible. If yes, please provide some links or guide me on achieving the same.
    Thanks
    Harsimran

    Hi
    I think one way you can do it,
      1 . try to export the table dato to excel sheet.(copy and paste to excel)
       2. Importing the excel data to WD table.
      for more details about reading excel data, there is many blog on sdn just check it.
    Hope will help you
    Thanks

  • 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

  • Tree Structure in a CE Web Dynpro Table

    Hi,
    Anyone has any idea how to do it in the CE Edition?
    I've tried to follow the steps of the older versions and it didn't work:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/bc/601c420d84db2ce10000000a1550b0/frameset.htm
    Thanks and regards,
    Eduardo

    Hi Armin,
    The tutorial asks me to: "Insert a Web Dynpro table, including the UI element TreeByNestingTableColumn (also known as the master column) in the layout of the TreeTableView."
    I didn't find this TreeByNestingTableColumn, do you have any idea what i'm doing wrong?
    Thanks and Regards,
    Eduardo

  • Using portal theme in web dynpro tables

    We are currently running EP6 (NW04).  Is there a way to make our java web dynpro table ui elements use the portal theme?  All tables appear blue unless they are checked as readonly in which case they are white. 
    I see there is a TableCellDesign ui element, but that is not available until NW04s and we are not there yet.
    Please assist. (and thank you!)
    Jeff Karls

    hi
    You are right about NW04s portal theme editor and we are able to change colour
    the tablecelleditor ui. But as far as i remember i was able to change properties like selected cell colour, non selected cell colour and mulitselected cell colour.
    However if you are not able to change it in EP 6.0 (NW04) then use the webdynpro themes. I suppose you will be able to do everything there.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d2b1d790-0201-0010-25b7-d1fb059a8ad9">How to edit webdynpro themes</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/1e/535d420447e054e10000000a155106/frameset.htm">Setting the theme in Visual admin</a>
    Hope it helps.
    regards
    LNV

  • Unable to display text with image in a cell of web dynpro table.

    Hello,
    I am unable to display an image with the text inside a cell of web dynpro table. The image doesn't come at all. I am trying to display the image of an object and the object description alongside within the same cell.
    Thanks and Regards,
    Abhijnan

    Hi
    Pls check the below link
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm
    The only problem is only the below UI elements are supported
    ■Button
    ■ToggleButton
    ■LinkToUrl
    ■LinkToAction
    ■FileDownload

  • Making some cells bolded in web dynpro table

    Hi,
    I searched but i did not find suitable solution about bolding and coloring text in some cells in web dynpro table.
    Is it possible?
    If possible is there code sample?
    Thanks.

    hi
    check this links 
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417400)ID1938237850DB02101680362526771086End?blog=/pub/wlg/3548
    How to make last row in the table in Bold font

  • Sending Web Dynpro table contents via Email

    Hi,
    I have a requirement where in I need to send an email from the Web Dynpro Application.
    I am using JavaMail for this purpose. And I am able to send text messages to the required Email Id.
    But my requirement is that I need to send the contents of one of the Web Dynpro table along with the text message.
    Is it possible to send the table contents via mail?
    Kindly let me know if there is any other approach.
    Regards,
    Shilpa B.V

    Hi,
    I don't think there are any methods in IWDTable or the IWDNode which can dump entire data on to something which we can pickup.
    The only way is to iterate through the elements in the node and construct a big string buffer with HTML Table code and include the other part of the mail also in the same string buffer as html. Then set the MIME type of your mail to HTML and send the mail.
    Check sending HTML content via email
    http://java.sun.com/developer/onlineTraining/JavaMail/contents.html#ProcessingHTMLMessages
    Regards
    Srini

  • Creating a Web Dynpro table UI element

    Hi guys,
    I'm a new member and new Web Dynpro Java developer & I'm so glad to be getting involved in this community. My question is that I've created a table then I wanted to fill this table with data records but I didn't know how to do so. Should I use a variable and of what type that can be? Are there any defined types I can use?
    Thanks for advance.
    Edited by: Hisham Saud on May 25, 2008 7:36 AM
    Edited by: Hisham Saud on May 25, 2008 7:37 AM

    Hi,
    Create three value attributes in ur view context say Name,Age,Qualification and create a value node say studentInfo  with above three attributes.
    In ur view layout right click root elelment container and select apply tempelate.then select form and then select Independent value attributes Name,Age,Qualification and ur form would be created.
    After that add a button say submit.
    create an action submit and bind it to this button.
    then write following code in buttons action
    IPrivateMycompView.IStudentinfoElement nodelel;
           nodelel = wdContext.nodeStudentinfo().createStudentinfoElement();
           nodelel.setName(wdContext.currentContextElement().getName());
           nodelel.setAge(wdContext.currentContextElement().getAge());
           nodelel.setQualification(wdContext.currentContextElement().getQualification());
           wdContext.nodeStudentinfo().addElement(nodelel);
    Now right click root elemet container and select Apply tempelate the select table and select Studentinfo node and ur table would be created.
    Whenevr u click on the submit button all the data u have entered will be displayed in the table
    Rewards point if helpful

  • Web Dynpro Tables from EJB

    I am new to Web Dynpro and I'm trying to write an application that displays data from and EJB in a table in web dynpro.  The EJB returns an array "items[]" to my command bean.  Is there a way to create a table based on the array "items[]" and several properties of the item.

    Hi Jonathan,
    If the properties of the items are static (i.e. not going to change in the course of time), you can create Table with fixed TableColumns (no. of Table columns = no of properties of item) which has TableCellEditor which can be TextView if the data is display only.
    You have to also create context structure which has root node and attributes corresponding to each of the property of item and bind the node to datasource property of Table and bind attributes to each TableCellEditor(TextView's text attribute).
    Just populate the data from your bean to the context creating nodeElements for each item and setting contextAttribute value as the property value.
    Refer https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/bad3e990-0201-0010-3985-fa0936d901b4 for table
    If the properties are dynamic (i.e. changing due course of time). You can create the TableColumns, TableCellEditors dynamically and also the context attributes dynamically in wdDoModifyView.
    Refer Dynamic table column creation for more details
    Hope this helps.
    Thanks and Regards,
    Rohit Jaiswal

Maybe you are looking for

  • Warranty extension for Satellite U400

    Hello! I have a question about possibility to extend warranty for my laptop. On the official web-ste there is information about my device and it;s written over there: "Standard Warranty Coverage: International Days:365 Expiration Date: 2010-05-25 Ext

  • Runtime error in FM HR_HK_DIFF_BT_2_DATES

    hi experts, i am getting runtime error at years = ( l_date3+0(4) + ( l_total_number_days / days_in_year ) ). in the FM HR_HK_DIFF_BT_2_DATES. the runtime error is  Overflow during the arithmetical operation (type P) in program "SAPL3HKC". can any one

  • My iPod Touch 4th Gen won't play certain songs?

    Okay, so here's what happened. I opened my iTunes (the latest one) and it's also on the latest iOS, and then plugged my iPod touch into the computer. Since an album didn't have album artwork and I wanted an album artwork to show up in my ipod, I adde

  • Pasting data from Excel sheet to Table in web dynpro View

    Hii All, Is it possible to copy data ( some rows) from Excel sheet and paste in table in a view? I tried doing this, but only first element is getting pasted.. Does anybody know how to do this? Is there any way to perform similar thing? Pls help. reg

  • Renaming files in folder

    trying to figure out how to use automator to rename files within a folder. searched on youtube but none of the methods seem to work on my mac. if anyone knows of a great tutorial for this i would love to have it. thanks' Owen