Making particular rows as non editable before displaying the TABLE

Hi everyone,
                           I would like to know how to make a particular rows as non editable in UI element "TABLE" before it is displayed . The scenario is :
On entering the Personnel number, I am getting family dependants in the table. Then, I am selecting any of the family members on some condition and saving each member with the request.
Next time when i enter the same personnel number, I would like to show the table with already saved request for the family members rows as non editable & other members row as editable.????
Please provide a feasible solution.

Hi Pradeep,
follow as per suggested. if not work use cell variants concept. it will work.
Please check this wiki...
http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproforABAPCellVariants
Cheers,
Kris.

Similar Messages

  • One row as editable and other row as non-editable in table control

    Hi Experts,
               Is this possible to make one row as editable and another row is non editable in table control?
    My Requirement is
    1st row non editable field
    Customer code, description,amount will come from the previous screen this will be non editable for user.
    2nd row editable
    User has to enter the amount in 2nd row here the customer code description will be empty.
    If 4 customer are there
    1,3,5,7 should be non editable and 2,4,6,8 should be editable..
    Pls help me in this issue..
    Thanks in Advance!

    hI
    This is a simple Module POOL program with only Table control and nothing else
    " This is Tested to Enable one row and disabling the next row
    in TOP Include
    controls : tc type tableview using screen 100.
    DATA : OK TYPE SY-UCOMM.
    DATA : ITAB TYPE TABLE OF SPFLI WITH HEADER LINE.
    in PBO
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tc.
       MODULE TC_MOD.
      ENDLOOP.
    in PAI
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
      LOOP AT itab.
      ENDLOOP.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TEST'.
      SET TITLEBAR 'TEST'.
      DESCRIBE TABLE itab LINES tc-lines.
      IF tc-lines = 0.
        tc-lines = 20.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    MODULE tc_mod OUTPUT.
      DATA : mod TYPE i.
      LOOP AT SCREEN.
        mod =  tc-CURRENT_LINE MOD 2  .
        IF mod = 1.
          IF screen-name = 'SPFLI-CARRID'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMODULE.                 " TC_MOD  OUTPUT
    Edited by: Ramchander Krishnamraju on Jan 25, 2011 7:17 AM

  • Item field to non-editable mode(display mode) in Purchase Order(ME22n).

    Hi SDN,
    Based on the Comany code i need to modify the item level fields like <b>Item, Account Assignment, Material</b> to non-editable mode(display mode) in Purchase Order(ME22n).
    So i modifed in the method MODIFY_SCREEN_TC_LINE of class CL_TABLE_VIEW_MM and set the value L_FIELD_STATUS = *  for the screen filed MEPO1211-EBELP. When i execute, the whole column changed to display mode and the empty rows filled with 0(zero). But i want only grey mode for the line items that are present for that PO but not for the whole column. So can any one guide me to do so. I am using 4.6c.
    Thanks in Advance
    Regards
    Basha

    Hi Ramesh,
    Normally you can change the currency field, after entering information in Data base's table, go to Detail's table and change the rate as you want, then directly choose your PO number.
    so the system accept the rate entered aven though the PO had another rate.
    Regards.

  • Make rows as non editable in ALV

    Hi Experts,
    I have a standard ALV table where records are fetched from backend table. Here I have a field Approved as check box.
    My requirement is I need to make all the rows as non editable, if the Approved checkbox is checked. How can I achieve this.
    I went through the below discussion, but still am not clear of how to achieve it.
    How to set some rows in ALV to be editable or some non editable.
    I know to set a field as non editable in WD, but don't know how to set some specific rows as non editable in alv.
    Please help me.
    With Regards,
    Ramakrishnan M

    Hi,
    Create an Attribute in the Context say READ_ONLY of type wdy_boolean and bind the read only of cell editor to that attribute using set_read_only_fieldname( ) method. Then set the value of attribute READ_ONLY to abap_true/abap_false based on check box value.
    check this wiki for reference: How to edit conditionally row of a ALV table in Web Dynpro for ABAP - Web Dynpro ABAP - SCN Wiki
    Hope this helps u,
    Regards,
    Kiran

  • Making a row's text editable immediately

    Hi there.
    I have an NSTableView in my user interface, where new rows are added when the user presses a button or keyboard shortcut. Each row consists of two text cells (the table is comprised of two columns). Is there a way to immediately select the first text cell when a new row is added?
    I'd greatly appreciate any suggestions.
    Ricky.

    Hi,
    I have a button to add entries, connected to a method as follows:
    - (IBAction)addStatusEntry:(id)sender
    [statusController add:self];
    [self performSelector:@selector(startEdit) withObject:nil afterDelay:0.0];
    - (void)startEdit
    [statusTable editColumn:0 row:[statusTable selectedRow] withEvent:nil select:YES];

  • MWA: Issue while capturing the values entered, before displaying the LOV

    I have created a LOV in Mobile Web Application using PL/SQL procedure.
    I'm not able to get the values entered by the user before displaying the List of values.
    I need the values entered to pass it to the query.
    There might be a seeded event or method to capture these values.
    Any help would be appreciated.
    Thanks,

    Before invoking Input task, I have created a transformation to initailize the payload elements, so that in the UI these field elements will be become editable.
    I have an ADF table which is used to insert account details elements which is initialized in the transformation with namespace.You can simple use a ADF form to do this. Create ADF editable input fields in a panelFormLayout and wehn user enters values and clicks ona button .. pass those values to BPM payload.
    See - http://andrejusb.blogspot.com/2010/10/initializing-oracle-bpm-11g-process.html

  • Web Interface - "Execute function before displaying the layout" issue

    Hi Experts,
    In my project we have converted some BPS planning folder to Web interface. The steps are as below:
    1) Open the BPS planning folder using upspm. Copy the web interface as Web Enabled folder.
    2) Generate the web interface by clicking on go to --> Generate web interface
    3) Run transaction bps_wb. Open the web interface. Then generate web interface again
    4) Run the web interface by clicking on 'Display perview'
    5) In the web interface there are some some functions which get executed before displaying the layout.
    6) For such functions, push button gets created.
    7) I have set the visible property of such push button as false.
    8) Most of the time, when I am running the web interface, it
    is getting executed successfully.
    9) Some times, the web interface is not displaying the layouts successfully.In such cases I have observed that "Execute function before displaying the layout" is not working. Due to this some values like Fiscal Year is not getting set. So, the layout is not getting displayed.
    10) I understand that it may be due to compilation error.
    For example, I might have made some changes in the web interface. It must be saved and web interface must be regenerated before I diplay the interface again. Can you please help me in understanding the reason of this problem.
    11) Can you please help me understand the cause of point no 9. Is it a non-issue? What may be the reason that "Execute function before displaying the layout" does not work every time.
    Thanks

    Will a function that runs, before the data gets saved, work for you? You can configure such a function to run before the save command behind the save button you create in the planning application.

  • Editing non-editable regions as the webmaster

    I'm just learning to use Contribute, and I want to enable my client to edit some regions and not others (obviously). But I want to be able to edit the non-editable regions myself, in Dreamweaver. For example, I don't want them to be able to mess with the nav bar, but I do want to be able to specify which nav item is active when creating a new page. When I open a page based on a template and try to change those regions, it won't let me. Is there any way to make a region something I can edit, but my client can't? Thank you!

    In Contribute you can add/edit the contents inside the editable regions only. You can edit the contents of the non-editable region of the template using Dreamweaver.

  • Displaying the table using TableModel

    Hi,
    I am using TableModel to connect to a database and display the results. I am unable to display the table. It doesn't display anything. Below is the code from the TableModel I am using to connect to database. Could anyone help me find the errors please. any help would be ggreatly appreciated.
    public HolidayTableModel() throws ClassNotFoundException, SQLException
             tableData = new Vector();
             int currentRow = 0;  
            try
                 Class.forName("oracle.jdbc.driver.OracleDriver");
                 Connection con = DriverManager.getConnection("jdbc:odbc:thin:@rub:1521:1B","asd","asdf");                                   System.out.println("Connection Established...");
                sqlStatement = con.createStatement();
                ResultSet rs = sqlStatement.executeQuery("select * from hlday10t");                                      System.out.println("ResultSet Statement executed...");
                numCols = rs.getMetaData().getColumnCount();
                columnNames = new String[numCols]; //Get the column names and cache them                                      for(int column = 0; column<numCols; column++)
                     columnNames[column] = rs.getMetaData().getColumnLabel(column+1);
                  while (rs.next())
                     Vector rowVector = new Vector();
                     for (int currentCol = 1; currentCol < numCols; currentCol++)
                         rowVector.addElement(rs.getObject(currentCol));
                     tableData.addElement(rowVector);
                     con.close();
                    fireTableChanged(null);//Tell the listener a new table has arrived
            catch(ClassNotFoundException e){
                  System.out.println("*** Cannot find database driver classes: "+e.getMessage());                                                            
             catch(SQLException e) {
                 System.out.println("*** Cannot connect to this database: "+e.getMessage());                               } 

    Hi,
    My TableModel extends AbstractTabelModel. Here is the full code. Sorry for posting partial code before.
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.*;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.swing.table.AbstractTableModel;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    import java.net.*;
    import java.util.Properties;
    import java.applet.Applet;
    import oracle.jdbc.driver.*;
    public class HolidayTableModel extends AbstractTableModel {
         int rows = 0;
         Vector data = new Vector();
            String[] columnNames = {"HOLIDAY_CODE",
                             "HOLIDAY_DESCR",
                             "HOLIDAY_DATE",
                             "LAST_CHANGE_USERID",
                             "LAST_CHANGE_TMSTMP"};
            Connection con;
            Statement sqlStatement;
            int numCols = 0;
            int numRows = 0;
            Vector tableData;
            public HolidayTableModel() throws ClassNotFoundException, SQLException
               tableData = new Vector();
               int currentRow = 0;
               try
                  Class.forName("oracle.jdbc.driver.OracleDriver");
                  Connection con = DriverManager.getConnection("jdbc:odbc:thin:@d1b:1521:1B","asdf","asdf");
                  System.out.println("Connection Established...");
                  sqlStatement = con.createStatement();
                  ResultSet rs = sqlStatement.executeQuery("select * from hlday10t");
                  System.out.println("ResultSet Statement executed...");
                  numCols = rs.getMetaData().getColumnCount();
                  columnNames = new String[numCols];
                  //Get the column names and cache them
                  for(int column = 0; column<numCols; column++)
                     columnNames[column] = rs.getMetaData().getColumnLabel(column+1);
                  while (rs.next())
                     Vector rowVector = new Vector();
                     for (int currentCol = 1; currentCol < numCols; currentCol++)
                        rowVector.addElement(rs.getObject(currentCol));
                     tableData.addElement(rowVector);
                     con.close();
                     fireTableChanged(null);//Tell the listener a new table has arrived
               catch(ClassNotFoundException e){
                   System.out.println("*** Cannot find database driver classes: "+e.getMessage());
               catch(SQLException e) {
                    System.out.println("*** Cannot connect to this database: "+e.getMessage());
         public int getRowCount() {
              return tableData.size();
           public int getColumnCount() {
                return columnNames.length;
           public String getColumnName(int index) {
                return columnNames[index];
           public Object getValueAt(int row, int column)
               Vector rowVector = (Vector)tableData.elementAt(row);
               return (String)rowVector.elementAt(column);
         public void addRow(Vector rowData) {
              tableData.addElement(rowData);
              fireTableRowsInserted(tableData.size(), tableData.size() );
           public void removeRow(int row)
              data.removeElementAt(row);
              fireTableDataChanged();
           public boolean isCellEditable(int row, int column) {
              return true;
         public void setValueAt(Object o, int row, int column)
              // change a field of hi
              HolidayItem hi = (HolidayItem)data.elementAt(row);
              switch (column) {
                   case 4:
                        hi.hlday_code = (String)o;
                        break;
                   default:
                        System.out.println("Bad column when editing data: "+column);
                        break;
              fireTableCellUpdated(row, column);
    }

  • How do you display the tables of EBS R12 (VIS)?

    Hi,
    My sqlplus does not work but I have an Oracle sqldeveloper. How do you display the tables info of order management module in EBS R12 for windows?
    For example:
    Base tables
    oe_order_headers_all
    oe_lines_all
    oe_lot_serial_numbers
    oe_sales_credits
    oe_price_adjustments
    Interface tables:
    OE_HEADERS_IFACE_ALL
    OE_LINES_IFACE_ALL
    OE_RESERVTNS_IFACE_ALL
    OE_CREDITS_IFACE_ALL
    OE_PRICE_ADJS_IFACE_ALL
    OE_LOTSERIALS_IFACE_ALL
    OE_ACTIONS_IFACE_ALL
    Thanks,
    Fernando

    Hi Fernando,
    The tables for Order Management will mostly be in ONT schema - APPS schema only holds Views, Synonyms, PL/SQL Packages and similar abstractions.
    In SQL Developer make a connection to the APPS schema, then go to Synonyms and you'll see the tables (note you should filter as there are lots of objects in Apps schema)!
    In the synonym SQL tab you can see the base schema for the table, e.g.
    CREATE OR REPLACE SYNONYM "APPS"."OE_ORDER_HEADERS_ALL" FOR *"ONT"*."OE_ORDER_HEADERS_ALL";
    Make a connection to the base schema, e.g. ONT.
    Then you'll see the ONT tables under the Tables folder.
    Alternatively, connect as apps and execute SQL "desc OE_ORDER_HEADERS_ALL"
    Or look at the APPS schema views instead, e.g. OE_ORDER_HEADERS
    Regards,
    Gareth
    Edited by: gareth.roberts on Aug 18, 2009 11:52 AM

  • Error when displaying the table

    hellow,
        here i have to .htm pages, in first page i am entering the table name, and it has to display the table details in second page.
    but in second page i am getting error like field catalog not found
    plz help me.
    with regards
    babu

    hi babu rs
    Please post the code of the two bsp page with the layout as well as abap code. Only than anybody can help you.

  • Can I display the table content of a web page??

    Hi guys I am new to java and here I need to count the words in each table and display the table with largest number of words . This being a part of my huge project. Below is my code where I have succeeded in displaying all the tables present in the web page.But I need to count all the words in the table and display only that table which has largest number of words including all the tags. So java experts please help me with this piece of code...................
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.util.regex.*;
    public class findtable{
      public static void main(String[] args) {
        String inputLine = null;
        String wholeHtml = "";
    int trcount=0;
        try{
          URL yahoo = new URL("http://books.google.com/books?q=+subject:%22+Science+Fiction+%22&as_brr=3&rview=1&source=gbs_hplp_fict");
          URLConnection yahooConnection = yahoo.openConnection();
          BufferedReader br = new BufferedReader
            (new InputStreamReader(yahooConnection.getInputStream()));
          int start = 0;
          while ((inputLine = br.readLine()) != null) {
            wholeHtml += inputLine;
            if (inputLine.contains("<table")){
                      ++start;
            if (start != 0) {
              System.out.println(inputLine);
            if (inputLine.contains("</table>")) {
              --start;
        catch (MalformedURLException me) {
           System.out.println("MalformedURLException: " + me);
        catch (IOException ioe) {
          System.out.println("IOException: " + ioe);
        }So any help would be really really appreciated....
    The code should take care of nested tables also..
    So guys looking forward for the generous help....

    I have already parsed the HTML and checked all the closing of tags and corrected the indent using Tidy and then I have applied this code so some other suggestions please

  • It is possible to assign value range to non key fields in the table?

    Hi,
    I want to give some range of values to the fields which are non key fields in the table.
    is it possible?
    can anybody tell me the procedure.
    Thanks in Advance,
    venkat

    HI,
    It is higjly possible in case of Z-table. but in standard table you can't make any modification.
    You assign the value range to the domain of field.
    go to SE11 and open the database table.
    Select the Data Element of the fieldto which  you want assign the range.
    Click on its domain .
    click on Value Range tab.
    Set the range.
    Regards,
    anirban

  • Query to display the tables with referential integrity

    Hello,
    I need to display the Tables which are having referential integrity..
    Like need to dispaly the parent and child tables
    Please give me some idea on this..
    Thanks,

    Here's a nice query you can use:
    with temp_constraints as (
    select table_name
    ,      constraint_name pkey_constraint
    ,      null fkey_constraint
    ,      null r_constraint_name
    from   user_constraints
    where  constraint_type = 'P'
    union all
    select a.table_name
    ,      a.constraint_name pkey_constraint
    ,      b.constraint_name fkey_constraint
    ,      b.r_constraint_name
    from   user_constraints a, user_constraints b
    where  a.table_name = b.table_name
    and a.constraint_type = 'P'
    and b.constraint_type = 'R'
    select rpad( '*', (level-1)*2, '*' ) || table_name relation
    from   temp_constraints
    start with fkey_constraint is null
    connect by pkey_constraint <> r_constraint_name
    and prior  pkey_constraint = r_constraint_name;From http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:661009003696#tom69115451356231

  • How to display the table components that make up a structure?

    Hi,
    How does one display the table components that make up a structure?
    I want to see the table fields that make up the structure EKBEZ.
    Thx.
    Andy

    Hi
    GOTO SE11 , type the structure name in DataType optional feild , you will get the feilds that make the structure
    Kindly rewards the points accordignly
    Regards,
    Pranshu

Maybe you are looking for

  • Can I upgrade the HD on my mid 2009 macbook pro 13" to a SSD higher than 256gb?

    I have a mid 2009 MacBook Pro 13". I use it every day for school since september of 2009. I have a HUGE iTunes library (around 150gb) and I use DAW software to create music. I'm looking to upgrade from my current 250GB 5400-rpm Serial ATA hard drive

  • Time Capsule Dual: Working with Excel files in Windows Computer

    We just purchased the latest-gen Time Capsule to replace another earlier edition TC and we are having a strange problem. We have three iMacs and one PowerBook G4 connected wirelessly to the TC, along with two Windows XP machines which are wired in to

  • How to add "Product Unit" while entering a new price for a product?

    Hi All, I recently created a product in CRM.(in web ui)  .Then I navigated to the Price assignment block anc clicked on New.In that under the "rate" heading there is a field "Product Unit" for which I have no value in search help maintained..Now, how

  • Budget is prepared by respective department on basis of material required

    Hello All I had a doubts and need help If budget is prepared by respective department on basis of material required in the next year. Then how in sap we will able to track in sap. Budget can be plan on fund center and commitment item, when client mak

  • Where is the top of firefox?!

    The buttons on the top right ("X" "_"etc) are missing, and the top left button ("firefox") has 4 arrows instead of one. I recently had to uninstall and reinstall firefox and when I reinstalled it this happened. I tried uninstalling and reinstalling o