Scrollable bar in webdynpro java tables

Hi All,
Is it possible to have a vertical scroll bar in tables? i have used the scrollable container UI element,and increased the table row visiblity as 20 still i'm not getting the scroll bar.
Can anybody help on this?
Regards,
V Karthi

Hi karthi,
Refer the thread.
Vertical Scroll Bar in Table
Vertical scroll bar for the table
Regards,
Sri
Edited by: Srikanth Thatipally on Jul 7, 2009 2:09 PM

Similar Messages

  • Horizontal scroll in webdynpro java table

    Hello,
    I have a webdynpro java application in which i have a table with 15 columns. I have set the scrollableColCount property of the table to 5.
    Now on click of some link(LinkToAction), i want to scroll horizontally to column 8. Can i do this from the program?
    Please help me with the code.
    Thank you,
    Navya

    Dear navya,
    IWDTable table = (IWDTable)view.getElement("TableName");
    table.setFirstVisibleScrollableCol("columID");
    here table name is your tablename , and columnID is your 8th Coulmn name
    what you can do is create an attribute of type IWDTable in context , and set your table id to it in view
    wdDoModifyView() method
    if(firstTime)
    wdContext.current**********Element().set******TablelID((IWDTable)view.getElement("TableName"));
    onActionLink() // which is binded to your linktoAction UI Element
      wdContext.current**********Element().get******TablelID.setFirstVisibleScrollableCol("columID");
    Regards
    Govardan

  • Webdynpro java table didn't working correct on Blackberry mobile simulator

    Hello,
    I am using BlackBerry Simulator 9630 the application developed using webdynpro java AS 7.00 sp 17
    In the table I am using check box to select rows.
    but when the application rendered the table , using button to select / de-select rows, I can't see the result on the context node
    (It is mark as selected on the simulator).
    I also can't get the lead selection when using link to action event from the table.
    I am using full domain name and also sap-wd-client = WmlClient.
    Thanks in advance for the help.
    Nir

    Hi Nir,
    This parameter (WmlClient) generates an output wml. Default this output is no longer used or recommended. Opt for the Blackberry OS 5.x and do not use render parameters, or try with the parameter Pie03Client.
    regards,
    Angelo

  • Delete the Record in Webdynpro java

    Hi   Gurus
              I had one issue in webdynpro java , I need to delete row in Table  if I delete the row in webdynpro java table at the same time the row it needs to delete in Back end  table also .
    We are useing NWDS 7.2  and we are using Adaptive Web Service model for to consume function module
         Guys it's a urgent requirement for me please share your knowledge
    Thanks

    Hi
       ABAPERS already they given one  funtion module , for that in back end they written a querry for to delete the record ,
    So now I want to Import that Adaptive webservice into webdynpro java , I will create a button in webdynpro java for Delete
    here what code I neeed to mention , If I  Delete the record in Table  it has to delete in the backend also.
        Guys please share your ideas
    Thanks
    Sony

  • How to add table in SAP Non interactive forms in webdynpro java

    Hi Experts,
    I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
    This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
    Please suggest.
    Thanks,
    Rajani
    Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AM

    Rajani,
    Take a look at below links, it will help you.
    [Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
    [Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
    [How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
    [How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
    Chintan

  • Dynamic table in Webdynpro Java

    Hi Colleagues,
    I need to develop a table dynamically in webdynpro(Java), the table should not contain scrollbar, header, lines and border...Actual requirement is to group 12 elements in the from of a table
    could anyone please help me here?
    Thanks & Regards
    Swetha

    Hi Armin,
    In a window i have to develop a part of window which looks like this
    Image             URL                      Description
    Image             URL                      Description
    Image             URL                      Description
    Image             URL                      Description
    I have tried doing this using Flow layout for each line
    But when i follwed that the last column "description" is not alligned in a straight line(for all rows)
    structure is not even as shown above
    (varying depending upon the length of the URL)
    Here i have attached the piece of code i  used
    IWDTransparentContainer MainContainer1 = (IWDTransparentContainer)view.createElement(IWDTransparentContainer.class);
           IWDFlowLayout flowlayout1 =  (IWDFlowLayout)MainContainer1.createLayout(IWDFlowLayout.class);
    ////For adding Image 
           IWDImage image = (IWDImage)view.createElement(IWDImage.class);
           image.createLayoutData(IWDFlowData.class);      
           image.setSource("~sapicons/s_b_alet.gif");
    /////for Adding URL
           IWDLinkToAction link1 = (IWDLinkToAction)view.createElement(IWDLinkToAction.class);     
           IWDTextAccessor link1text = wdComponentAPI.getTextAccessor();
           link1.setText("Collaboration Window");
           IWDAction Action1  = (IWDAction)view.getAction("Openlink");
           link1.setOnAction(Action1);
           IWDFlowData linkdata1 = link1.createLayoutData(IWDFlowData.class);
           WDLayoutCellDesign rightpad = WDLayoutCellDesign.R_PAD;
           WDLayoutCellSeparator seperator = WDLayoutCellSeparator.LARGE;
           linkdata1.setCellDesign(rightpad);
           linkdata1.setVGutter(seperator);
    ///for adding description      
           IWDTextView text1 = (IWDTextView)view.createElement(IWDTextView.class);
           text1.setText("Testing");
           IWDFlowData textdata1 = text1.createLayoutData(IWDFlowData.class);
           textdata1.setCellDesign(rightpad);
           textdata1.setVGutter(seperator);
           MainContainer1.addChild(image);
           MainContainer1.addChild(link1);
           MainContainer1.addChild(text1);
           IWDGridData maincont1 = MainContainer1.createLayoutData(IWDGridData.class);
           maincont1.setPaddingLeft("10px");
           maincont1.setPaddingTop("20px");
    I found that this static way of adding rows is not the right way( Keeping in mind the future enhancements)
    So thought of trying it through table
    i have used IWDtable ...but the look does'nt meets the requirement at all(it has header....border..scrollbar..rows and colums are seperated by lines---> which are not needed)
    Could you please let me know is there a approach to do this?
    Thanks & Regards
    Swetha
    Edited by: Swetha Nellore on Feb 18, 2009 12:32 PM
    Edited by: Swetha Nellore on Feb 18, 2009 12:33 PM
    Edited by: Swetha Nellore on Feb 18, 2009 12:34 PM

  • Build gui for existing oracle database tables with webdynpro java?

    hi
    i want to build a GUI to maintain existing oracle tables
    so far we used oracleFORMS to do so
    is there a good approach for webdynpro java? or do you recommend other sap tools?
    can we generate the gui with a wizard based on the fields in the table?
    do we have to generate sql statements or type in manually?
    regards
    joerg

    Hi Joerg,
    generally that is possible, but you'll have to implement the data access by yourself, by means of EJB or another Java persistance framework such as JDO, SQLMaps, Hibernate, whatever...
    Web Dynpro allows to build a GUI based upon a model - in this case this could be some POJOs (DTOs) representing your database tables, which are communicated to the GUI by your data access layer. Consider a model as a simple Java bean representing database data.
    This approach would require to build a data access layer which incorporates manually generated sql statements, so you'll have to have expert database and java knowledge.
    There might be other approaches, this is just to demonstrate one working possibility.
    regards,
    Christian

  • Table ui element in webdynpro java.

    Hi Friends,
    I am krishna i am working as sap webdynpro abap consultant . But right now i got the requirement on sap webdynpro java.  
    so please give me the required details.
    Here are my questions.
    1. how to populate the data into the table.
    2. and the back end is erp, i have to use rfc. to display the data into the table .
    3. so how to integrate the rfc into webdynpro java.
    if u send with screen shots that would be very help for me.
    Waiting for your reply.
    Thanks & Regards.
    Krishna.

    It's very simple.
    1) Import your RFC.
    For this:
    -Right click on Models->Create Model->Select Import Adaptaive RFC then follow the steps.
    -Go to Used Models. Right click -> Add... -> then select the model that you created.
    2) I guess you have a view that is using a controller (Custom/Component) so:
    -Go to Context Tab-
    -Create a model node.
    -Bind the model node with the model that you created.
    -Go to the view where you want to put the Table ui element and add the table (Outline window->right click->Insert Child->Table)
    -Go to context tab, add a model node, en map it (Edit context mapping) with the model node that you created in the controller.
    -Go back to layout tab. Then in table properties, in datasource click on the "..." and select the output node of the model that you have created in the view.
    -Then in Outline Window-> Right click on the table element-> Create binding-> check the attributes that you want to be binded to the table.
    -Then follow the steps.
    You have now your table binded to the rfc.
    Finally what you have to do is to create a method to execute the rfc. Usually it is written in the controller. Something like this:
    public void execute<YourBapiName>( )
        //@@begin execute<YourBapiName>()
         IWDMessageManager manager = wdComponentAPI.getMessageManager();
         try
           wdContext.current<YourBapiName>Element().modelObject().execute();
           wdContext.node<YourBapiOutputNode>().invalidate();
           wdContext.current<YourBapiName>Element().modelObject().modelInstance().disconnectIfAlive();
         catch(WDDynamicRFCExecuteException e)
           manager.reportException(e.getMessage(), false);
        //@@end
    To call this method, first, you have to bind the input parameters and then execute it (you can do this wherever you want):
    <YourBapiName> input = new <YourBapiName>();
    input.set<YourBapiParameters>(<YourParameter>);
    wdContext.current<YourBapiName>Element.bind(input);
    wdThis.wdGet<YourControllerName>(Controller().execute <YourBapiName>();
    I hope it helps.
    Bye bye.

  • How to insert a button on the column header of a table in webdynpro java

    Hi
    Can anyone tell me how to insert a button on the column header of a table in webdynpro java?
    regards
    sunit

    Hi sunit,
    Instead of adding button in the column header , in the column
    add a fixed top cell.
        right click on the column
        Insert FixedTopCell
        Right click on the fixedTopCell
        insert Editor.
       select button.
    then button will be only in the top most row.
    Hope it will satisfy ur requirement
    Regards
    Smitha

  • Binding and displaying data to table in webdynpro java

    hi all,
    i want to know how to bind the output values to table in webdynpro java.
    i know how to bind values in context to table,but if we want to display the values from database(back end ) and display in table present in the view.
    eg: i have table in view and want to get values from backend(SQL server) and display it in that table.
    plz help me to know ..
    thanks
    sirisha

    Hi Saisirisha,
    Try this.
    1> Take a Value Node(Employee) cardinality 0..n.
    Employee Structure
    Employee
    |------Surname(Attribute)
    |------FirstName(Attribute)
    |------Category(Attribute)
    2> Bind this value node(Employee) in the View datasource of table.
    3> Try the code inside wdDoInit method.
    try {
         // Load the JDBC-ODBC bridge
         Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
         // specify the ODBC data source's URL
         String url = "jdbc:odbc:SSPer";
         // connect
         Connection con = DriverManager.getConnection(url,"North","Ken");
         // create and execute a SELECT
         Statement stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery
         ("SELECT Surname,FirstName,Category FROM Per");
         while (rs.next()) {
         // get current row values
         String Surname = rs.getString(1);
         String FirstName = rs.getString(2);
         int Category = rs.getInt(3);
         //create table row and add the value in the table
         IPrivate<Put View Name>.IEmployeeElement empElm = wdContext.createEmployeeElement();
            empElm.setSurname(Surname);
         empElm.setFirstName(FirstName);
         empElm.setCategory(Category);
         wdContext.nodeEmployee().addElement(empElm);
         // close statement and connection
         stmt.close();
         con.close();
    } catch (java.lang.Exception ex) {
         wdComponentAPI.getMessageManager().reportException("Exception : "ex.getMessage()+,true);
    http://www.developer.com/java/data/article.php/3417381
    Regards,
    Mithu

  • Providing sorting filters for a table in webdynpro java application

    ho to provide sorting  , filters , for a table in webdynpro java application .

    Hi Pradeep,
    Please go through the following article on implementation of filtering and sorting:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f024364b-3086-2b10-b2be-c0ed7d33fe65
    The article contains a link to a sample application using the TableSorter and TableFilter Class.
    The same classes can be used by any other web dynpro application. Download the sample application and copy the classes. In case of a specific requirement, modify the TableSorter and TableFilter classes.
    Regards,
    Kartikaye

  • Formatting dates in a table in webdynpro java for mutliple entries.

    Hi all,
    I have a requirement to format date values in a table for multiple entries to dd/MM/yyyy format in webdynpro java for mutiple line items in that table.
    Please help me out with the technique for the same.
    Thanks and Regards,
    Soumyadeep.

    Hi,
    here is the code for changing the formatting the date.
    Date currentDate = new Date ();
                DateFormat df =  DateFormat.getDateInstance(DateFormat.SHORT);
                String today = df.format(currentDate);
                SimpleDateFormat sdfInput = new SimpleDateFormat("dd/mm/yyyy");
                SimpleDateFormat sdfOutput = new SimpleDateFormat ("mm/dd/yyyy");
    try {
                      String dateft = sdfOutput.format((Date) sdfInput.parse(df.format(currentDate)));
                } catch (ParseException e) {

  • Access ABAP table in Webdynpro Java application

    Hi All
    Is it possible to access ABAP table in Webdynpro Java application
    Please provide your input
    Thanks
    Karthi D.

    Hi you will connect to the remote SAP system, the
    backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
    of your Web Dynpro project
    In WebDynpro java you RFC by using Model :
    Adaptive RFC Model
    1. automatically adapts to changes in function module signature
    2 provides support for data types and extensibility
    3.support for different structure definitions in different backend
    systems (release dependent structures, custom adaptation)
    Basic principles and guidelines
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    See this blog
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks,
    Tulasi

  • Could anyone provide sample of WebDynpro Java TableFilter for Dynamic Table

    Hi
    I have a dynamic table I have given a context node as a data source and it executes a Web Service and populates itself based on the resultset of query this node contains no of columns and rows
    The table changes dynamically everytime the user selects different table type
    When I created a TableFilter I used IWDTableColumn from the current view and looped though the context elements and binded the values of attributes of each context element to this column inside a loop. TableSort works, But I  am not able to get the Filter working for the Dynamic Table , when I click on Filter Button the Filter does not filterand  just sorts.
    Not sure what is wrong but if someone can give some inputs,leads I will highly appreciate if some one has  a  sample of WebDynpro Java TableFilter for Dynamic Table
    Thanks in advance,
    Ragu.

    Hi Ragu,
    Please check the link for table filtering.
    http://wiki.sdn.sap.com/wiki/display/WDJava/GenericTableFilter+Code
    since your dynamic table uses webservice I assume it has fixed context attributes, just put the filter into wdDoModify method everytime you execute/trigger the webservice.
    Regards,

  • Dynamic table generation in webdynpro java

    Hello All,
      could you please  tell  me, how can i create Dynamic table in Webdynpro java.
         can some one help me out on this?
    Thanks
    Venkat.

    Hi,
    Please check this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489f765?quicklink=index&overridelayout=true].
    Also search SDN for this query. You can get lot of help from the search.
    Regards,
    Manoj

Maybe you are looking for

  • HT1399 How can I stop my MacBook's iTunes from asking if I want to delete tracks each time I press to play one?

    How can I stop my MacBook's iTunes from asking if I want to delete tracks each time I press to play one? Is it a bug from iTunes's version 11.0.5? Since I dowloaded and installed iTunes' version 11.0.5 on my MacBook, it is behaving strangely: - displ

  • OIM 11g error while running the scheduler

    Hi All, we have created on few custom schedulers to carry out trustetd recon and doing the create , modify and delete operations on OIM entities. all were running fine earlier. Now we started facing the below error while running any scheduler. Please

  • Support Message and cProject

    Hi experts, I'm working with Solman Service desk and I would like to know how can I do to create support message in cProject? Somebody help me. Thanks Daniely

  • OEM 12c  Agent does not show down status.

    Hi, I'm testing EM 12c. I added host target to oem and then kill agent process on host. When open agent page (Setup-Agent-Testingagent) see error. Communication between the Oracle Management Service host to the Agent host is unavailable. Any function

  • Editing 2 cameras in a timeline on FCE4

    Hey, I'm currently working on a project that flips between two cameras (to show a person side on and front on) and keep needing to move the clips slightly on the timeline to sync up sound. However every time I move a clip I have to re-render the proj