Boolean Fields as JCheckbox in a Dynamic JTable

Hi,
I am building an application like an sql query browser. I want to show boolean fields as JCheckbox in JTable. But the problem is that the table is dynamic, i don't know which column is boolean. How can i handle this? Should i configure getValueAt() overrided method in my TableModel class? If yes, how? Or any other suggestion . . .
Regards.

As default, boolean fields are shown as jcheckbox in jtable if getValueAt() method in my TableModel returns Object (not by getting string value). I am not careful nowadays :)

Similar Messages

  • Detecting boolean value in JTable boolean field

    Hi
    I like to run a process after checking whether the user has selected a boolean field in JTable. I have created JTable with Boolean column, how do I detect the user has selected rows?
    Pl. help

    table.getSelectionModel().addListSelectionListener(...);
    For more information see this section from the Swing tutorial on "How to Write a List Selection Listener":
    http://java.sun.com/docs/books/tutorial/uiswing/events/listselectionlistener.html

  • Exclude one field from Logical Database's dynamic selection screen

    Hi Guru,
    I have a requirement to amend a program to exclude the document number field (bsik-belnr) from the dynamic selection-screen of the logical database KDF(Vendor Database) so that the program will not filter according to the document number.
    I have use the below syntax in my zprogram.
      selection-screen exclude select-options: doc-no.
    However I get syntax error "The addition EXCLUDE is only allowed in INCLUDE DBKDFSEL".
    Please advice.
    Best Regards,
    Fung

    The selection part of the logical database defines input fields for selecting data.
              The runtime environment displays these on the selection screen when you run an executable program linked to the logical database.
              Include called DB<ldbname>SEL.
            SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx.
                                                                    SELECTION-SCREEN EXCLUDE ... .
                                                    SELECTION-SCREEN END OF VERSION ver.
    Defines a selection screen version (with a three-character name ver ). Between BEGIN OF VERSION and END OF VERSION , you can exclude selection screen objects for the version ver , i.e. remove them from the selection screen with SELECTION-SCREEN EXCLUDE.
              SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab
    If one of these tables is active in the report (i.e. it is declared under TABLES or lies somewhere on the path from the root of the database hierarchy to a table declared with TABLES ), a pushbutton called 'Dynamic selections' appears on the selection screen.

  • Problem in filling field catalog as table is dynamic

    Hi All,
        I have to populate the data using the below function module and i am passing dynamic internal table <f_list> in place of list.
       i have to populate the field catalog fc_hier which is getting field by standard program but i have to add additional fields which are coming from dynamic internal table .
    fc_hier-fieldname   = l_fld_name.
      fc_hier-tabname     = <f_list>.
      fc_hier-seltext_s  = wa_char-name_char.
    append fc_hier  .                                                    >>>> but it is not allowing  this fc_hier-tabname     = <f_list> statement..*
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
          i_interface_check        = g_interface_check          "n777869
          i_callback_program       = alv_repid
          i_callback_pf_status_set = 'SET_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = alv_layout
          is_print                 = alv_pri
          it_fieldcat              = fc_hier[]
          i_default                = 'X'
          i_save                   = 'A'
          is_variant               = alv_variant
          it_events                = gt_events[]                "n777869
          i_tabname_header         = 'HEADER'
          i_tabname_item           = 'LIST'
          is_keyinfo               = alv_keyinfo
        TABLES
          t_outtab_header          = header[]
          t_outtab_item            = <f_list>
         t_outtab_item            = list[]
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    How can i assign  table name to fc_hier-tabname    as it is not taking <f_list> as input.
    Thanks in advance......
    Ankur

    >
    ankur garg wrote:
    >  fc_hier-fieldname   = l_fld_name.
    >   fc_hier-tabname     = <f_list>.
    >   fc_hier-seltext_s  = wa_char-name_char.
    > append fc_hier  .                                                    >>>> but it is not allowing  this fc_hier-tabname     = <f_list> statement..*
    >
    > How can i assign  table name to fc_hier-tabname    as it is not taking <f_list> as input.
    TABNAME is the name of the table & not the body of the table (TYPE slis_tabname CHAR30). You have to pass the name of the table & not the table contents !!
    Something like this :
    fc_hier-fieldname = l_fld_name.
    fc_hier-tabname = '<F_LIST>'.
    fc_hier-seltext_s = wa_char-name_char.
    append fc_hier.
    Anyways personally if i have dynamic tables to be used in ALV i prefer SALV which doesn't need a fieldcat
    BR,
    Suhas

  • Why are my fields not moving with my Dynamic stamp ? Only the artwork appears

    Why are my fields not moving with my Dynamic stamp ? Only the artwork appears

    Sounds like you're a candidate for Lightroom...based on the time you don't
    want to spend in Photoshop.
    Photoshop install media is likely created in large batches, perhaps in a
    foreign country, so it's understandable that you get Photoshop 11.0.0 is on
    the media.
    I don't know as I would use ProPhotoRGB as my working space in Photoshop.  I
    was merely suggesting that you look at your color settings to make sure
    things were the same on both machines.
    How do you know your actions are the same?  Did you copy the action
    recording from one computer to the other, or did you merely record the same
    steps on each one?  Have you compared the details of each action step in the
    Actions Palette to make sure they are the same?  The symptoms still sound
    like something different than sRGB being the output color-space, or the fact
    it isn't embedded on one or the other of the computers.
    How are you viewing the JPG when it looks the same or different than the
    RAW?  Are you looking at the side-by-side in Photoshop, or side-by-side in
    Bridge, or are you using a mixture of viewers, one Adobe, and one not?  And
    are you using the Canon Codec on Vista or not?  The Canon Codec would be
    showing the camera-preview in the RAW not the RAW adjustments that Adobe has
    done.
    While the OS shouldn't be causing a difference in how the action is run, a
    difference between OSes may make a difference in the processing to show up.
    The camera profile associated with a RAW file is visible in the
    third-from-right tab in ACR over at the right.  The one with the little
    DSLR-camera icon on the tab.
    Can you attach the two JPGs on a reply, here, or if not, upload a ZIP of the
    two JPGs and the RAW to a file-sharing site like http://www.rapidshare.com/
    and post the download link(s)?

  • Adding a boolean field to an existing sbo table

    hi everybody
    i want to add a boolean field to an existing sbo table.
    when i try to do it from the tools ... manage user fields
    i get only types like numeric string..
    i dont get the booelan type
    does anybody know how can i do that thanks.
    for now i used the numeric type and the values 0 and 1

    Hi,
    you can do it in the following way:
    checkBox = ((SAPbouiCOM.CheckBox)(item.Specific));
    checkBox.Caption = this.caption;
    <b>checkBox.DataBind.SetBound(true, tableName, alias);</b>
    checkBox.ValOn = "1";
    checkBox.ValOff = "0";
    Andrey

  • Boolean field mapping with mysql

    Hi,
    I'm using kodo 2.5.8 with mysql and ran into a problem with a boolean
    field.Despite setting it to 'true' it goes into database as 0 and so I'm
    never able to read it back as 'true'.In afct after manually changing the
    value in database to 1, I still get it as false.
    Following is the code that I use:
    I have a boolean field named 'isAdmin' along with other fields in User
    class.
    public class User{
    private String name; //primary key
    private String password;
    private String emailAddress;
    private boolean isAdmin;
    private String firstName;
    private String lastName;
    private String suffix;
    //pm is persistence manager
    pm.currentTransaction().begin();
    pm.makePersistent(user);
    pm.currentTransaction().commit();

    Surender-
    Strange. If you enable verbose SQL logging, what do you see the field
    being set as when you commit changes?
    In article <c2ssq3$pt5$[email protected]>, Surender Kumar wrote:
    Hi,
    I'm using kodo 2.5.8 with mysql and ran into a problem with a boolean
    field.Despite setting it to 'true' it goes into database as 0 and so I'm
    never able to read it back as 'true'.In afct after manually changing the
    value in database to 1, I still get it as false.
    Following is the code that I use:
    I have a boolean field named 'isAdmin' along with other fields in User
    class.
    public class User{
    private String name; //primary key
    private String password;
    private String emailAddress;
    private boolean isAdmin;
    private String firstName;
    private String lastName;
    private String suffix;
    //pm is persistence manager
    pm.currentTransaction().begin();
    pm.makePersistent(user);
    pm.currentTransaction().commit();
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • EJBQL with boolean field on Oracle

    Hi
    I am using the following query to find the default group of a customer where defaultGroup
    is a boolean field.
    SELECT DISTINCT OBJECT(g) FROM ServiceGroup g WHERE g.defaultGroup AND g.customer
    = ?1
    When I call this query I get the following error
    javax.ejb.EJBException: nested exception is: javax.ejb.TransactionRolledbackLocalException:
    EJB Exception: ; nested exception is: javax.ejb.EJBException: Problem in findCustomerDefault
    while preparing or executing statement: 'weblogic.jdbc.rmi.SerialPreparedStatement@e0bfd':
    java.sql.SQLException: ORA-00920: invalid relational operator
    I believe this has something to do with the fact that booleans are represented
    as numbers in Oracle as it works fine with another DB that supports boolean types.
    And when I run the following query in sql+ "select * from servicegroup where
    customer=1 and default_group" I get the same error. The getters and setters work
    fine it is just when it is used in a query. Anybody know of a way to fix this
    without having to change the CMP field to an int and put a boolean wrapper around
    it?
    Jeremy
    ps Running WLS7 and Oracle 9 on solaris

    Unfortunately, not using cursors is not an option for me. The DBA I talked to indicated to me that the only way to get a result set from a stored procedure in Oracle is to use a cursor. It doesn't really matter if that is correct or not, as all our stored procedures for Oracle are written assuming that is true. Here is the code for the stored procedure that uses a cursor:
    create or replace procedure DI0002
    (P_USER IN types.char32,
    P_CURSOR IN OUT types.GenCursor)
    IS
    BEGIN
       OPEN P_CURSOR FOR
    SELECT * FROM DITEST
    WHERE MBR_NAME = P_USER;
    END;types.GenCursor is a ref cursor, types.char32 is a 32 byte character value.
    Also, your suggestion doesn't address the problem I'm having with getUpdateCount always returning a -1.

  • Validation expression, with a Boolean field

    Hello,
    My issue is as follow: I want to make sure that if attribute 'A' = "1"; then attribute 'B' has values.
    Note: attribute 'A' is boolean.
    I did not succeed in setting up such a formula [I succeeded in setting up the opposite formula only: 
    IF(Attribute 'A',IS_NULL(Attribute B))
    Thx for any help,
    Rémi Dusaud

    Hi Remi,
    attribute 'A' is a field of type Boolean in main table, right which has two values 1 and some other value, right?
    if this is right then i hope you have also set True Value as 1 and False Value as something in MDM Console. Because Boolean field has only two values which you can set through Console by default True value = TRUE and False Value = FALSE, here you need to change it to 1 and other value as per your requirement.
    For the same this expression works as given by me in above post.
    If this is really Attributes, name as Attribute 'A' and Attribute 'B' in taxonomy mode of data manager.
    and by Boolean you mean here that Attribute of type Text but has two values 1 and some other value.
    if this is true then you want a record in maintable is associated with a category which is linked with these two Attributes, and if Attribute 'A' has Attribute Value as 1 then Attribute B should not be null, in this case firstly you have to create a validation and then right click on this validation and then Add Branch select here Branch Value(category which is linked with these two attributes). a new validation gets created with this branch Value.
    now write expression in this Branch validation expression as same:
    IF(attribute 'A' = "1", IS_NOT_NULL(attribute 'B'))
    But here you need to select Attribute 'A' and Attribute 'B' from Attributes Tab in validation expression.
    and select "1" from Text Values Tab in validation expression.
    let me know if you still face, in both ways this expression is working fine at my end.
    Regards,
    Mandeep Saini

  • Creating a dynamic JTable wit JComboBox

    I am trying to create a dynamic Jtable such that the first column is editable and the other columns contain JComboBoxes that contain as items all the elements of the first column. I can build the table, but I want to make it dynamic so that when the contents of a cell in the first column are changed, all the combo boxes are updated to reflect this change. In general, what is the best way to do this?

    import java.util.HashSet;
    import java.util.Vector;
    import javax.swing.DefaultCellEditor;
    import javax.swing.DefaultComboBoxModel;
    import javax.swing.JComboBox;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellEditor;
    * @author Ian Schneider
    public class DynamicJTableWithJComboBox {
        public static void main(String[] args) throws Exception {
            final DefaultTableModel data = new DefaultTableModel(new Object[] {"a","b","c"},10);
            final JComboBox jcb = new JComboBox();
            data.addTableModelListener(new TableModelListener() {
                public void tableChanged(TableModelEvent e) {
                    HashSet s = new HashSet();
                    for (int i = 0; i < data.getRowCount(); i++) {
                        s.add(data.getValueAt(i,0));
                    jcb.setModel(new DefaultComboBoxModel(new Vector(s)));
            TableCellEditor tce = new DefaultCellEditor(jcb);
            JTable jt = new JTable(data);
            for (int i = 1; i < data.getColumnCount(); i++) {
                jt.getColumnModel().getColumn(i).setCellEditor(tce);
            javax.swing.JFrame f = new javax.swing.JFrame();
            f.setDefaultCloseOperation(f.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(jt));
            f.pack();
            f.setVisible(true);
    }

  • How to populate boolean fields using MDM Java API's

    Hi Experts!
    I am trying to populate Boolean fields in main table of my repository using MDM JAVA API SP 05 patch 2.
    Problem is i am geting syntax error for any value that i try to put in.
    Please provide me sample code for the purpose.
    Thanks in advance!

    Hi,
    Here is the code snippet to populate boolean values from Main Table in the Repository:
    Populating boolean values from Main Table in the Repository:
    wdContext.currentNodeElement().setABC(Boolean.valueOf((strABC).toString()).booleanValue());
    Putting boolean values in the main table:
    Record objEmptyRecord = RecordFactory.createEmptyRecord(new TableId(strTableId));
    boolean bFieldValue = ((Boolean)strABC).booleanValue();
    objEmptyRecord.setFieldValue(new FieldId(strFieldId),new
    BooleanValue(bFieldValue));
    Hope this helps.
    Regards
    Neha Sharma

  • HSqlDb and bit / boolean field

    Hi there,
    I'm using a database schema with a table containing a bit column on
    HSqlDb 1.7.3.
    Using kodo schema tool the column is created as expected. I verified it
    with HSql Database Manager. Unfortunately, I can't commit any data to
    this table (see exception below).
    Maybe this may help: HSqlDb refers to a bit column as BOOLEAN.
    Kodo Version: 3.3.1
    Regards
    M. Stier
    Exception follows:
    kodo.jdbc.meta.MappingInfoNotFoundException: The "column"
    attribute/extension for field "org.test.Workspace.bLocked" names a
    column "Locked" in table "WORKSPACE" whose type (UNKNOWN(16)) is not
    compatible with the type of the field (BIT). [org.test.Workspace.bLocked
    [kodo.jdbc.meta.ValueFieldMapping]]
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:134)
         at
    kodo.jdbc.meta.ColumnFieldMapping.fromMappingInfo(ColumnFieldMapping.java:125)
         at
    kodo.jdbc.meta.ValueFieldMapping.fromMappingInfo(ValueFieldMapping.java:62)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:198)
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:470)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:991)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:971)
         at
    kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:934)
         at
    kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:654)
         at
    kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:796)
         at
    kodo.jdbc.meta.VerticalClassMapping.resolve(VerticalClassMapping.java:337)
         at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:431)
         at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:349)
         at kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
         at kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165)
         at kodo.runtime.KodoHelper.getSequenceGenerator(KodoHelper.java:341)

    Yes -- Kodo does not yet officially support anything more recent than
    HSQL 1.7.1. You can work around this incompatibility by using a
    different SchemaFactory. The default SchemaFactory asks the database for
    information about column types (which causes the problem); the dynamic
    SchemaFactory just assumes that the schema will meet the needs of your
    object model, and the file-based SchemaFactory consults a file for a
    description of the schema. See
    http://docs.solarmetric.com/ref_guide_schema.html#ref_guide_schema_info_factory
    for details.
    -Patrick
    M. Stier wrote:
    Hi there,
    I'm using a database schema with a table containing a bit column on
    HSqlDb 1.7.3.
    Using kodo schema tool the column is created as expected. I verified it
    with HSql Database Manager. Unfortunately, I can't commit any data to
    this table (see exception below).
    Maybe this may help: HSqlDb refers to a bit column as BOOLEAN.
    Kodo Version: 3.3.1
    Regards
    M. Stier
    Exception follows:
    kodo.jdbc.meta.MappingInfoNotFoundException: The "column"
    attribute/extension for field "org.test.Workspace.bLocked" names a
    column "Locked" in table "WORKSPACE" whose type (UNKNOWN(16)) is not
    compatible with the type of the field (BIT). [org.test.Workspace.bLocked
    [kodo.jdbc.meta.ValueFieldMapping]]
    at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:134)
    at
    kodo.jdbc.meta.ColumnFieldMapping.fromMappingInfo(ColumnFieldMapping.java:125)
    at
    kodo.jdbc.meta.ValueFieldMapping.fromMappingInfo(ValueFieldMapping.java:62)
    at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:198)
    at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:470)
    at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:991)
    at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:971)
    at
    kodo.jdbc.meta.AbstractClassMapping.getMappings(AbstractClassMapping.java:934)
    at
    kodo.jdbc.meta.AbstractClassMapping.getDeclaredFieldMappings(AbstractClassMapping.java:654)
    at
    kodo.jdbc.meta.AbstractClassMapping.resolve(AbstractClassMapping.java:796)
    at
    kodo.jdbc.meta.VerticalClassMapping.resolve(VerticalClassMapping.java:337)
    at kodo.jdbc.meta.MappingRepository.resolve(MappingRepository.java:431)
    at
    kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:349)
    at
    kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:177)
    at
    kodo.jdbc.meta.MappingRepository.getMetaData(MappingRepository.java:165)
    at kodo.runtime.KodoHelper.getSequenceGenerator(KodoHelper.java:341)

  • Association between Jcheckboxes and lines of JTable

    Hello everybody,
    I would like to add a JChekBox to each line of my JTable knowing that the number of lines is given only at the time of the execution. The problem is that the contructor of JscrollPane can take only one JComponent in parameters:
    JScrollPane scrollpane=new JScrollPane(MyJTable);
    How can I make association line-JChekBox dynamically.
    I m waiting for your answers impatiently.
    Thank you for being attentive

    I don't understand your question. You where given a link to the JTable tutorial, that showed you how to add check boxes to the table.
    This is done by adding Boolean values to the TableModel. So once you know the number of rows in the table you create a simple loop and do:
    table.setValueAt(row, new Boolean(true) );

  • Editable / Non editable input field CELL (individually) on ALV dynamically

    Hi again,
    I need more help with an issue.
    I have an ALV table with three columns that is necessary put values into input field cell editors, but these cells should be editable or not depending of business logic. I've got make editable or non in entire ROW LEVEL (method set_read_only_fieldname( 'READ_ONLY' )., but ¿how can I set editable or non at individual cells?
    Any idea to do that?
    Regards
    Edited by: vanbelal on Mar 24, 2010 3:33 PM

    Can you paste any example source code?
    I don't know how can I bind enabled property dynamically to individual CELL, I'm setting properties to whole column.
    lt_columns = lr_column_settings->get_columns( ).
      LOOP AT lt_columns INTO ls_columns.
             if ls_columns-id = 'COLUMN1' or 'COLUMN2' or 'COLUMN3'.
              CREATE OBJECT lr_input_field
                EXPORTING
                  value_fieldname = ls_columns-id.
              ls_columns-r_column->set_cell_editor( lr_input_field ).
    Should I put business logic here? how can I set enabled or not on CELL, at this point I'm processing whole column!!
              lr_input_field->set_enabled( abap_true ).
            endif.
      ENDLOOP.
    Edited by: vanbelal on Mar 24, 2010 4:12 PM

  • How to append new field in select clause of dynamic VO through CO

    I have dynamic VO "FaoWorkPerObjPerfRatingsVO" in controlloer below:
    public class FaoWorkApprObjectivesCO extends ApprObjectivesCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oam = oapagecontext.getApplicationModule(oawebbean);
    oracle.apps.fnd.framework.server.OADBTransaction oadbtransaction = oam.getOADBTransaction();
    OAViewObject oav = (OAViewObject)oam.findViewObject("FaoWorkPerObjPerfRatingsVO");
    if(oav != null)
    System.out.println("FAO Found VO PerObjPerfRatingsVO for ObjectivesAM. This means we have re-entered the page");
    } else
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    How can I append 2 new fields are MULTIRATERS_AVERAGE and COUNT_MULTIRATERS as statement below in select clause of dynamic VO above (FaoWorkPerObjPerfRatingsVO)
    fao_pems_utility.AVG_STEP_VALUE(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'MULTIRATER',
    Null,
    PCE.COMPETENCE_ID) MULTIRATERS_AVERAGE,
    fao_pems_utility.COUNT_RATINGS(Null,
    Null,
    fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    PCE.COMPETENCE_ID,
    Null,
    'MULTIRATER',
    Null) || ' out of ' ||
    (fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'GROUPAPPRAISER') +
    fao_pems_utility.HOW_MANY_RATING(fao_pems_utility.GET_APPRAISAL_ID(PCE.ASSESSMENT_ID),
    'REVIEWER')) COUNT_MULTIRATERS
    Thank you very much.

    Hi
    My VO is VO Extension below. In the seeded VO (oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO) doesn't include 2 fields that I want to add in VO.
    oav = (OAViewObject)oam.createViewObject("FaoWorkPerObjPerfRatingsVO", "oracle.apps.per.selfservice.objectives.server.PerObjPerfRatingsVO");
    Could you please provide me the coding to append 2 new fields in VO Extension approach. I would like to append them in select clause.
    Thank you.

Maybe you are looking for