Sorting issue in Classic table

Hi,
In my page we have two tables, Header and Detail. On selection of any record on the HeaderTable, corresponding records are fetche of the details table. Sorting is working fine on the details table. We want to implement sorting on the header table as well.
When i am sorting a table by clicking on one of the Column Header, i am getting the following Warningmessage
" Warning - The table cannot be sorted because it has pending changes which would be lost. "
Please let me know, what could be the probable cause of this error.

It would probably because of selectFag in your header table.
Goto VORowImpl.java and change setAttributeInternal() to populateAttribute() in setSelectFlagXXXXXX(....) method.
if the problem is not solved then look for any other setXXX() methods in your Controller and AMs to the HeaderVO.
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Sorting Issue in ALV table

    Hi,
    I have included a ALV table in my application. A column in the table is containing a list of amounts. When i am trying to sort it in ascending or descending order, the values are not listed properly. I am using "PAD_AMT7S" as the data type for the attribute which will accept up to 2 decimals. The issue is,
    if the column is containing values like
    0.00,
    8.75,
    17.00,
    8.50 and
    17.50.
    if i perform ascending type of sorting the values are re-arranged as,
    0.00
    17.00
    17.50
    8.50
    8.75
    and on descending
    8.75
    8.50
    17.50
    17.00
    0.00
    Which are all incorrect. Please provide me your suggestions..
    Thanks,
    Mugundhan

    Hi,
    Are you using the IF_WD_TABLE_METHOD_HNDL for the sort, or you wrote your own code?
    IF_WD_TABLE_METHOD_HNDL worked incorrectly for some special fields, in these cases I had to write the sorting code manually.
    e.g.
    CALL METHOD WDEVENT->GET_STRING
       EXPORTING
         NAME   = 'COL'
       RECEIVING
         VALUE  = lv_col_name.
      CALL METHOD WDEVENT->GET_STRING
       EXPORTING
         NAME   = 'DIRECTION'
       RECEIVING
         VALUE  = lv_direction.
      CASE lv_col_name.
        WHEN 'TABLE_FIELD1'.
          IF lv_direction EQ '00'.
            SORT lt_table BY CURR ASCENDING.
            ELSE.
              SORT lt_table BY CURR  DESCENDING .
          ENDIF.
    Is the table sorted incorrectly here?
    Bye
    N.

  • Sorting issue in Advance table region

    Hi All,
    Facing issue in sorting.
    I have an advance table region , I have set the property
    Sort Allowed : Yes ; Sort By View Attribute : View attribute Name
    This is working for all the columns but it is failing for date columns.
    Data is not getting sorted for date columns.
    Output format of Date is : 09-Feb13 09:08:01
    Please help.
    Do let me know if any further information is required.

    Hi All,
    Can anyone lookinto this  ...
    Am still waiting for an update ...

  • Sort issue in a table

    Hi all,
    My requirement is i have to sort the data in a table based on a column_name.
    so i took the following steps.
    create table temp_template_fields as select * from template_fields
    order by column_name;
    delete from template_fields;
    insert into template_fields select * from temp_template_fields order by column_name;
    commit;
    drop table temp_template_fields;
    Even then the data in the table template_fields is not getting sorted..
    I dont understand y is it not happenning.. Pls help me ASAP.
    thanks in advance.

    1) Why do you have to sort the data in a table? There are a handful of valid reasons for this (i.e. improving compression), but it's generally not a useful exercise if you have a heap organized table.
    2) How do you know that the data "is not getting sorted"?
    Making a couple of assumptions, I am guessing that you are trying to set up a table that will always return rows in a sorted order when your queries don't specify an ORDER BY clause. That is not possible in Oracle-- the only way to ensure that the rows returned by a query are ordered is to put an ORDER BY clause on the query.
    Justin

  • Sorting Order for SAP Tables in DB2 database

    Dear Experts -
    ISSUE: When an ABAP program selects data from the DB into an internal
    table, it is changing the way the data is sorted. In other words, the
    internal table data is in a different sort order than what is in the
    DB. It is not working this way in all other non-production systems
    (DEV, QAS, SAX, etc).
    Temporary solution for the programs that have been identified as
    impacted: Use the ABAP Command 'sort' on the internal table.
    Permanent solution needed : Since it is impossible to identify all
    of the programs that will be impacted, we need PRD to work like DEV,
    QAS, SAX, etc. when selecting data into internal tables. The data
    should be in the same order as it is in the DB (sorted by the key).
    ADDITIONAL INFO: DB2 storage disks crashed a day before. H/W team recovered everything. We are facing this only after the recovery.
    Thanks,
    Dinesh

    can you please check in your code if the sql that is being sent has an order by clause .
    Please let us know the SQL statements that is basically used to fill up the internal table.
    When data is fetched from the database, it is not sorted always. Probably you had a clustered index on the tables and the clustering is not there now.
    Edited by: Ratnajit Dey on Dec 16, 2011 1:56 PM

  • Sorting Problem in FND_MENU_ENTRIES_TL Table

    Hi,
    FND_MENU_ENTRIES_TL Table storing the record FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE).
    I am confused, whether i need to recreate the index in R12, so the records will get store MENU_ID,ENTRY_SEQUENCE,LANGUAGE wise.
    Could any one please suggest me how to resolve this problem.
    Thanks,
    Praba T

    815667 wrote:
    Hi,
    FND_MENU_ENTRIES_TL Table storing the record FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE).
    I am confused, whether i need to recreate the index in R12, so the records will get store MENU_ID,ENTRY_SEQUENCE,LANGUAGE wise.
    Could any one please suggest me how to resolve this problem.
    Thanks,
    Praba TPl do not abuse the forums by cross-posting in multiple forums
    Sorting Problem in FND_MENU_ENTRIES_TL Table
    Sorting Problem in FND_MENU_ENTRIES_TL Table
    Your issue is related to EBS, not to database upgrades (which is the topic of this forum)
    Srini

  • "Additional Text" set for messageTextInput fields in Classic Table

    i have set "Additional Text" for messageTextInput fields in Classic Table and am expecting that to display when the mouse is hovering on that field. however, that is not happening...
    what am i doing wrong ? and what can i do to achieve that (NOTE - i cannot do either short or Long Tip because that looks wierd when data is displayed in a table (multiple rows))
    thank you.
    UPDATE - could anyone tell me where/when/how does the "Additional Text" data get displayed when the page is rendered ? there is hardly any info on this in the devguide and forum. If "Addtional Text" is not the right way to provide additional information on a field what else can be used (note these fields are in a classic table so i cannot use short/long tip)......
    Edited by: user11972136 on Feb 4, 2013 10:33 AM

    Hi,
    I tried this case and its working for me.
    Could you tell us what version of Jdev and OAF you are using? There might be some issue with that version.
    Regards,
    Sandeep M.

  • Sorting not working if table linked to another table

    Got a table with student marks:
    Table 1 student
    mark
    A
    98
    B
    79
    C
    82
    if I copy/paste the marks to another table then sort (ascending, sort by B entire table), it is sorting as expected:
    Table 2 student
    Mark
    B
    79
    C
    82
    A
    98
    if instead I go in Table 2 and enter a formula in B2 to get the mark from table 1 (=Table1::B2), fill down the cells, Table 2 will not sort correctly and output this instead!!!!:
    Table 2 student
    Mark
    B
    98
    C
    79
    A
    82
    Yet another bug and it got submitted to Apple but if more users complain as well (using Provide Numbers Feedback), we might finally get Apple to release a bug-free version of Numbers that works as well as Excel for such basic tasks.

    squarebox is styled in three different places
    http://mljdesigns.com.au/Beaumaris%20North_2-2013/index-beaunps4.css line#513
    http://mljdesigns.com.au/Beaumaris%20North_2-2013/index-beaunps4.css line#623
    In the main document line#10
    I do noy know if this has anything to do with your problem as I cannot fault the position of the image.
    You may also want to have a look at line#104 of the main document where there is a stray ending division tag.

  • Adding a 'sort by' option to table data in webhelp output

    RH8 HTML
    Hi all,
    Just wondering (again) if its possible to add a sort feature to a table?
    currently, I've got multiple topics that look like the following. They are a breakdown of all fields/buttons and their functions
    field name
    description
    example
    customer id
    description of field
    example data to be entered
    name
    description of field
    example data to be entered
    customer order no
    description of field
    example data to be entered
    job title
    description of field
    example data to be entered
    this is the order that the fields appear on the user form, I'm wondering if I could add a 'Sort By A-Z' and 'Sort by Appearance' options so the user can view the fields, descriptions, and examples either by the order it appears, or in alphabetical order - all the while the description and example fields moving with the sort.
    Just gives a bit more functionality for users so they can find a field quickly if the list is a bit bigger by using an alpha sort
    Thanks for any help.

    Hi,
    Normally, the browser shows a pointer over a hyperlink. You might have the script set up slightly different than Peter.
    A quick fix is as following:
    Identify the element you want to see a pointer, probably something like TableHeading. In your css, add:
    P.TableHeading
    Be carefull with this, it may confuse people if they see a mouse cursor they don't expect. Your best bet is still to figure out if you have set the script up exactly as described on Peter's page.
    Greet,
    Willam
    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

  • Error while sorting the model node table

    hi
    if(firstTime)
                     view.nowCreateAllCustomExtensionFields();
               IWDTable tab= (IWDTable)view.getElement("tbl_car");
               wdContext.currentContextElement().setCarTableSorter(new TableSorter(tab,wdThis.wdGetCarTableSorterAction(),null)); 
    i have written the above code in domodifyview()  {}
    and   tbl_car is the id of the my table. and the table is of type
    model node .
    wdContext.currentContextElement().getCarTableSorter().sort(wdEvent,wdContext.nodeIt_Car_Data());
    created a sort action  for the table , present in the  table
    properties and  iam getting a error under sort()  saying
    method sort(iwdcustomevent,iwdnode,string)  is  of type 
    tablesorter and  not  applicable for  
      (wdcustomevent,iprivateview.nodename) 
    can any one help me ?

    replace
    if(firstTime)
    view.nowCreateAllCustomExtensionFields();
    IWDTable tab= (IWDTable)view.getElement("tbl_car");
    wdContext.currentContextElement().setCarTableSorter(new TableSorter(tab,wdThis.wdGetCarTableSorterAction(),null));
    by
    if(firstTime)
    view.nowCreateAllCustomExtensionFields();
    IWDTable tab= (IWDTable)view.getElement("tbl_car");
    wdContext.currentContextElement().setCarTableSorter(new TableSorter(tab,wdThis.wdGetCarTableSorterAction(),new HashTable()));
    nikhil

  • 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

  • Problem in Formatting Total Column in Classic Table

    Hi,
    I am using Classic Table.
    I am able to format the column data but i am unable to format the column total value. I searched in forum and tryed something like in the following thread..
    Problem in formatting Total Value in advanced table
    since i am using Classic Tables i am unable to do it.
    I also tried the following
    OATableBean table = ....
    OATotalRowBean totalRowBean = (OATotalRowBean)table.getColumnFooter();
    System.out.println("Formattotal : "+totalRowBean);
    if (totalRowBean != null)
    oracle.cabo.ui.validate.Formatter formatter = new OADecimalValidater("#,##0.00;#,##0.00","#,##0.00;#,##0.00");
    totalRowBean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter);
    in this case the total is not formatted.
    I also refered developer guide. There i found how to set value to total column.. but how to get the value its not given..
    Any body pls help in this regards
    Thanks & Regards

    Hi,
    When i am using Classic Table i am able to format column data but i am not able to format the column Total
    Code i using ;
    OATableBean table = (OATableBean) webBean.findChildRecursive("EmpTestVO12");
    table.prepareForRendering(pageContext);
    OAMessageStyledTextBean totalBean = (OAMessageStyledTextBean)table.findChildRecursive("Salary");
    if(totalBean!=null)
    Formatter formatter = new OADecimalValidater("#,##0.00;(#,##0.00)","#,##0.00;(#,##0.00)");
    totalBean.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter);
    //Properly formatting column data
    Whe i am using OAAdvance Table bean i am able to format the total but i am unabele to format the Column data. Using following code..
    OAAdvancedTableBean tableBean=(OAAdvancedTableBean)webBean.findChildRecursive("region2");
    tableBean.prepareForRendering(pageContext);
    OAColumnBean c1=(OAColumnBean)webBean.findChildRecursive("column12");
    if(c1!=null)
    c1.setAttributeValue(CURRENCY_CODE,"USD");
    Can anybody pls tell me how can i achieve both (column values and totals formatting) using either Classic Table or Advance Table..
    Thanks & Regards,
    Ram

  • Default column sort order for 11g table

    Could anyone give me some indication on how I would go about setting the default sort order for a table?
    I have a table with a few columns, and dataset returns in a particular order, but my table decides to sort if in any given order until I manually click on the column header and sort it.
    I would like to have it done by default on a particular field.
    Any info is appreciated.
    Thanks
    Jonny

    As Chris says, the easiest way and best re-use way is to use the order-by clause in your underlying model layer SQL query. For instance in ADF BC this would be in a View Object's query.
    However as you haven't dictated your model layer technology, there is another way in JDev 11g. In your web page that contains the ADF Faces RC table, select the binding tab at the bottom of the page, then double click on the iterator in the binding page, and in the Edit Iterator Binding dialog, select the Sort Criteria tab. This allows you to override the sort order on the iterator's columns.
    CM.

  • Sorting issue after upgrade from 9i to 10g

    Dear all,
    It is found that the sorting behavior is different after upgrade from 9i to 10g.
    In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
    After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
    Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
    Thanks for your help,
    M.T.

    903714 wrote:
    Dear all,
    It is found that the sorting behavior is different after upgrade from 9i to 10g.
    In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
    After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
    Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
    Thanks for your help,
    M.T. This is expected behavior in 10g. Oracle will not order the dataset for you unless and until you explicitly specify it.
    So without using order by clause in 10g, oracle doesn't guarantee that rows will be ordered.
    To go back to old behavior like 9i, you can set a workaround by
    alter session set "_newsort_enabled"=false;
    Also see MOS - Order Of Data Retrieval Differs after upgrading 9i To 10g [ID 456707.1]

  • Function module which sort the entries in Table maintance generator

    hi
        I want to know the function module which is used to sort the entirs in table maintance genrator.
    Thanks

    Hi,
    Go to the TMG program .You can change the code there.
    Rgds,
    Anversha

Maybe you are looking for

  • How do I install a 3rd Hard drive?

    I have a 2000 Quicksilver that already has two hard drives installed. My question is, now that I have purchased a 3rd hard drive, where do I mount it? I see an open space below the CD drive and ZIP drive, but no mounting bracket/sled. Is there a piec

  • How do i change the location of all my music to a diffeant drive

    installed a new drive on my computer and want to transfer all music there, can iTunes do this or do I have to transfer manually or do i have to uninstall then re-install itunes to new drive ?

  • Query Producing Incorrect Results

    Hello: I am trying to perform a number of queries on a database and although I am not receiving an error message; I know that the returned results are incorrect. For example, in my test data; I have only 1 record that matches the SchoolBoardID (There

  • Recovery silently truncates committed transactions on corrupted last log??

    It looks like LastFileReader.readNextEntry() stops at the first corruption and then traces an error? I came across this stepping through RecoveryEdgeTest.testNoCheckpointStart() and it seems to be the same in 3.2 -> latest 4.0 } catch (ChecksumExcept

  • Collage of photos to treat in Camera Raw

    I'm creating a collage of 3 or 4 photos that I want to bring into ACR to treat them so they all have the same look. Normally when I do this treatment to a photo I open it as a smart object, make copies, and bring it into ACR a few times for different