Changing the column order in Table UI

Hi I researched a lot and since my ALV didnt work Im back to Table ui . I implemented sorting and Export to Excel functionalities in table ui element just like in ALV. But now The client also wants to have the ability to change the order of columns of the table (like in ALV under settings link).
Could someone just direct me to a proper tutorial or something where i can see the tutorial and make it please.
Thanks.

Ok.Just one thing. When we right click on the table on screen then it opens up a user settings where the user can adjust user-specific settings.
Im just planning to do this. Ill give them this settings with a button on the top of the table. So basically even if i know that the user settings of the table can be opened by right clicking that .But it'll be great if I can put that action of opening up the user settings popup in a button onaction event and placing that button on top of the table.

Similar Messages

  • How to change the column order in the DB?

    Hi all,
    For example,
         there is an employee database with the field names empno(1),empname(2), empphone(3), empaddress(4), empsal(5). the values in the brackets are the column order i.e., the order in which the column names are placed.
         I have the details of the employee records in a .txt file and i have to upload the file with the same column order with some delimiter. I done it but in future if any one have the details of the employee details with some other column order i.e., empaddress(1), empsal(5), empno(3), empname(4), empphone(5)
         how i can change the column order of the database ...
    Thanx in advance...
    Bye,

    how i can change the column order of the databaseYou don't. You specify the column order in you're insert.
    PreparedStatement pstmt = conn.prepareStatement ("insert into EMP (EMPNO, ENAME) values (?, ?)");
    pstmt.setInt (1, 1500);
    pstmt.setString (2, "A Name");
    pstmt.execute ();
    Steve.

  • Error while trying to change the Column description in Table Control

    Hi,
    I have created a table control using the wizard in Module Pool.
    When i try to change the column description of the table control or adjust any other element which is already available on the screen and not in table control. It gives me an error
    Unable to transfer data. End Program?
    Any help would be appreciated.
    Thanks
    Sarves S V K

    Hi.,
    Check these  [Table Control Change Column Description|Add new columns in table control in custom screen program;
    and  [Add Columns in Table Control|Re: Table control columns]
    else  delete and create Table control Again..!!
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Changing the column postion in table control

    Hi All,
    In table control i want to change the columns postion according to users requirement.
    How to do that?
    Thanks for advance.
    Regards,
    krishna

    Hi,
      In the top right hand side of the table control..there will be button for variant..
      there you can create a variant..in the variant..you can move the columns around and save it as variant..then they can choose the variant..
    Thanks
    Naren

  • How to change the column order in OVS - NOT USING Enhancement Pack 1

    Hi Guys,
    we are currently using NWDS 7.1.
    I cannot seem to chang the order of the columns when the OVS pops up.  We have tried to change the order of the fileds of the custom SAP BAPI that is used for this OVS but no success.
    Please advise on possible changes of the actual BAPI that might help, or things we can do Java side.
    Kind Regards,
    Christiaan

    Hi Christiaan,
    This can be done from Java side in itself.
    This depends on the order in which you add attributes to the node in the context for ovs output.Recreate the context node of ovs output and add attributes one after the other in the same order you want it to appear in the ovs pop - up.That simple.
    Hope this helps.
    Regards,
    Ashok

  • Changing the column order

    Deleted. Posted on the wrong forum.
    Message was edited by:
    kramer

    If you have a 250 column table - and primaryly use the last field (maybe row chained to yet another block), then moving that field to first position may do wonders for both your cpu and your IO times. (If Oracle hast to read the last field, she has to parse all fields in order to find the requested field no 250).
    And using ie VB.ASP doing a select * into a rowset, you could very well just read the fields in order instead of rs(1) instead of rs("fieldname") - not everything is pl*sql with nice types :-)

  • How to restrict the columns order movement at runtime in 7.3

    Hi Experts
    We are using EP7.3 Portal.
    We have modified the  Cats table in a customized ESS Cats DC . We have added a another table
    say subTotals table (This table does not have header) to calculate the hours as per business requiremnt just below the cats table with proper allignment.
    Now at run time i.e when launched through Iview in the portal, the user can able to
    personalize the columns order of Cats Table (Moving columns from one place to other) by Right click on the
    table>User settings->other-->Re Arrange the columns
    We have 2 tables so moving the first table column order will effect the second table which displays the totals (This is readonly)
    Our requirement is we should not allow the user to change the column order at run time (At least we need to restrict 8 columns outof 13 to 14 columns)
    How can we restrict the columns order through code i.e by controlling the property if any
    Regards
    KALYAN

    nwa->configuration management->infrastructure  --->application modules
    filter the name column with "tcwddispwda"
    select the entry(should be only one after filter)
    select the "web dynpro properties" tab
    select the "default" in the table
    AllowUserPersonalization----->false

  • Ho do I change the physical order of the columns in a table

    I want to change the physical order of the columns in a table, so that I get the expected order when I query like :
    select * from <tablename>

    Hi!
    There are different methods of doing that, you can either create a view on that table which will retrieve the columns in the correct order, or you can copy and rename the table using CREATE TABLE AS SELECT ..., or you can use the online table redefinition functionality if your using 10g.
    Regards,
    Petra

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • How to change the column name as bold in adf table

    Hi,
    How can I change the column name with bolder style and blue colour in adf Table?
    I changed the color and font weight in af:column properties, but its effecting the data in that column but not with the column Header Text property.(i have given column name in header text).
    can any one have any idea how to do this?
    and I have taken panel tabbed layout and in that i'm displaying this table.
    but this table has scroll beneath of it to show all columns.
    but i want to display all columns (for this, page should have scroll at the bottom side).
    how can I achieve this???

    Hi,
    Add the following CSS Code to the custom skin css file that is to be created as per the suggestions above.
    *af|column::column-header-cell{*
    color:Blue;
    font-weight:bold;
    This would ensure that all the table column headers are blue in color and bolder font style through-out the application.
    By the way, what version of JDeveloper are you using?
    Thanks,
    Navaneeth

  • Can i change the column width in a table row dynamically

    Hi,
    There are two columns in one of the row of the table, can i change the width of the cells dynamically.
    Sometimes one of them will be blank and the other cell has to print the entire string .
    Left cell is left aligned and the right cell is right aligned.
    I tried to change the width using field.W but it didnot work.
    Regards,
    Sobhan

    Hi,
    We can change the column width of a column dynamically. Try the javascript code in the appropriate event.
    Table.columnWidths = "2in 3in 4in 5in";
    Thanks & Regards,
    Sanoosh

  • How can we change the column sequence from 1st to 7th position

    Hi
    I have a table in which I have a column naming DNAME and it is is on the first position I want to change its position to 7 that is the last one. The table is huge filled with data.
    Is there ant way in which I can cange the position of the column with out recreating in into another table and then renaming it.
    Thanks

    Hello,
    The sequence of a column in a table is meaningless and you should treat it as such. The column ordering you see when you run a "select * from ..." query is based on the physical implementation of the table, which is completely separate from the logical interpretation, and should not be relied on in a programmatic context. It should essentially be viewed as "random" and prone to change with the physical storage properties of the table (although this is not always the case, there is no assurance of this).
    One way to do this (which happens to be the easiest and least resource-intensive in this case) is to create a view (derived relation) of the base table, with the columns ordered in the specific sequence you desire. But really, the column ordering here is still meaningless, and the only time your application should rely on the order is when you specifically list the columns you require in a query -- but NEVER a "select *".
    cheers,
    Anthony

  • Query to get the data of all the columns in a table except any one column

    Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
    For Example:
    Let us consider the EMP table.,
    From this table except the column comm all the remaining columns of the table should be listed
    For this we can write a query like this..
    Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
    Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
    As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
    but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
    Is there any other way of writing the query to get the required result..?
    Thanks..

    Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
    If you really need to list all the columns for a table because you don't want to type them, just use something like...
    SQL> ed
    Wrote file afiedt.buf
      1  select trim(',' from sys_connect_by_path(column_name,',')) as columns
      2  from (select column_name, row_number() over (order by column_id) as column_id
      3        from user_tab_cols
      4        where column_name not in ('COMM')
      5        and   table_name = 'EMP'
      6       )
      7  where connect_by_isleaf = 1
      8  connect by column_id = prior column_id + 1
      9* start with column_id = 1
    SQL> /
    COLUMNS
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
    SQL>

  • Changing the column position & width using Screen Variant..

    Hi Experts,
        Iam trying to change the column position and width for the standard transaction (eg. FB60 or VA02) using the transaction code SHD0 (Transaction and Screen Variant).
        Iam able to create and save the transaction and screen variant and i could see the check box options for table control like
        a. Auto Column Position
        b. Auto Column Width
         I tried checking and unchecking both the check boxes but iam unable to modify / maintain the column position and width.
         Please guide me in changing the column position and width.
       Thanks in Advance.

    Hi Mudit,
    Kindly go through this link below:
    http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/content.htm
    Hope it helps you
    Regrds
    Mansi

  • How do I change the sort order in the file picker?

    Hi there,
    I've recently hit a problem with the Save and Open dialogs in Mavericks. Some how I have changed the sort order within the Column View so that it sorts by modified date and no longer by name. Unfortunately I can't work out how that happened or how to get it back so that it sorts by Name.
    Please could anyone help?

    Normally, you click on this thing (shown below) and select the sorting preference.

Maybe you are looking for

  • Lumia 710 - automatic time option is missing?

     Been googling and can't find an answer anywhere. Someone at WPCentral suggested contacting my carrier, but it's 6am at the moment so thought I'd ask here first.  I can set the time manually just fine. But the phone isn't super accurate at time keepi

  • Multiple Vulnerabilities in Cisco ASA Software Upgrade

    Hello, Has anyone upgraded their ASA's IOS to the recommended version as mentioned in this link --> http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20131009-asa? I have upgrade my 8.2 & 8.6 softwares to the new release v

  • How to replace Office Publisher?

    Happy new owner of the MacBook. Having produced a lot of stuff on my PC with Office 2003 Publisher - What program to choose for my Mac? I love the iWeb features and I have thought of buying the iWork set. Can anyone confirm if the iWork is compatible

  • Migrating from 10gR2 DB Control to Grid Control

    hi i've installed an Oracle10gR2 database with Database Control. now, i'd like to use Grid Control for managing both the 10g as well as an Oracle9iR2 database running on the same server. i'd like to use the existing Oracle10gR2 database as a manageme

  • Calling Winrar.exe from Execution Process Task by Passing Arguments

    Is any body having knowledge please let me know how to pass the arguments to winrar .exe to create a zip file from the Execution Process Task  in SSIS