Sorting option in item (material) display table

Hi Expert,
How can we give the sorting option in item (material) display output table?So that user can filter the data in long table where thousands of data is displaying.
Thanks,
Kundan

Hi Kundan,
for CE and 7.30 VC has changed to use ALV tables (standard webdynpro tables). There is a filter option included. If you use a previous version with flash compiler this will be more difficult.
From my point of view the only solution is to add a form to your iView on top of the table. Create an input field for every table column and use a submit action to filter the result.
Hope this helps.
Anja

Similar Messages

  • Disable sort option in ALV GRID DISPLAY

    Hi Experts,
    I have an Alv output with fixed layout, means user should not be allowed to edit/sort/toggle any of the columns, particularly sort functionality should be removed.
    I have already tried the function code logic with excluding table. That only makes the sort option disappear. Still when you select a particular column and right click, you will find that the Sort in Ascending order' and 'Sort in descending order' functions are still enabled. This was already raised as a thread but not answered.
    [alv sort option]
    Please help.
    Note: Disabling the icon doesnt help in disabling the functionality.

    Try by excluding the entire Sort group. Like:
    Data:
    t_toolbar_excld1 type ui_functions, "buttons to exclude
    wa_toolbar_excld&1 like line of t_toolbar_excld1.
    wa_toolbar_excld1 = cl_gui_alv_grid=>MC_FG_SORT.   " <<
    APPEND wa_toolbar_excld1 TO t_toolbar_excld1.
    CALL METHOD r_alv_grid1->set_table_for_first_display
      EXPORTING is_variant = w_is_variant1
         is_layout = w_is_layout1
         i_save = c_alv_save_cd
         it_toolbar_excluding = t_toolbar_excld1
      CHANGING it_outtab = my_table
        it_fieldcatalog = t_fieldcat1.
    Regards,
    Naimesh Patel

  • How to give the sorting option in displat table

    Hi Expert,
    How can we give the sorting option in item (material) display table?So that user can filter the data in long table where thousands of data is displaying
    Thanks,
    Kundan

    The sort option should be enabled by default. Click on the right side of each column to sort.

  • Sorting options in table maintenance

    Hi All,
    I have created one ztable and created table maintenace generator for the same and also created the transaction code for the same to maintain the data just like SM30.
    Here my requirement is as soon as we execute the transaction code, it will display all the fields to maintain. with the options of  change, new entries, copy as, select all, deselect all, delete etc..  But along with that I need to have the sorting options at the application tool bar.
    Thanks in advance.
    Regards
    Ramesh .

    you may have to change the tablemaintenance function group , you may need to include those option by changing the pf-status and the corresponding function needs to handled in the pai.
    instead of that...
    i would suggest you to use custom program to maintain the table entries.

  • How can i display all the query items to a table?

    how can i display all the query items to a table in a jsp file?
    i always have an out of memory error..

    any body??any idea?
    is it possible thru configuration or i have to write a program by the abaper??
    Biswa

  • Material field entry as optional for item category:B

    How to make material field entry setting as optional for Item category:B. By default the setting is Not allowed for material for Item category:B.

    Hi
    Instead of material code ,provide material text in PO & Put an Account Assignment Category

  • Auto sort in display:table?

    Hi, I hope im in the right forum... Here is my question, can I auto sort a display:table tag? Or can I call the sorting of a table without clicking tha table name? Thx...

    For calculating column level total, you can get the handle to the row that you have tabbed out. Check the following code
    In CO
    else if ("calculate".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM))){
    //get the Unique Row Reference for the Row on which the Even has been
    //generated.
    String lineRefId = (String)pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable [] param={lineRefId};
    //Call the AM method deleteInvoiceLine to delete the Invoice Lines
    am.invokeMethod("calculate",param);
    IN AM
    public void calculate(String lineRefId){
    //Fid the VORowImpl using the Unique Row
    // Reference
    LineVORowImpl lineRow = (LineVORowImpl)findRowByRef(lineRefId);
    //Now you can get the various attributes of this row
    xxx= lineRow.getXXX(); //Please take care of the Type casting
    yyy=lineRow.getYYY(); //Please take care of the Type casting
    //do the calculations and then set the values for the respective attributes.
    lineRow.setZZZ(abc);
    }

  • How can I customize the sort options in the product search?

    Is there a way to customize the sort options availabe when you search for a product?

    That is covered here: http://helpx.adobe.com/business-catalyst/kb/modules-quick-reference.html#News
    {module_productresults, rowLength, targetFrame, resultsPerPage, sortType, hideEmptyMessage, useLi}
    This module can only be used in conjuction with a product search form. Whenever you insert a product search form into a page the system also adds the {module_productresults} module right after the form. When viewed in the front end this module does not render anything until the form's "Search" button is presed and a search is triggered. This module and the product search form can also be placed on different pages, take a look at this article for more details on this particular setup.
    Parameters
    rowLength - will limit the number of items per row when items are displayed as a list. Default is 1 item per row.
    targetFrame - possible values are _blank, _self and _top. This parameter is used to specify the frame you want the item to open in.
    resultsPerPage - specifies the number of results the search will display per page.
    sortType - sortType can be alphabetical, price, date, or weight. Do note the sortType is ignored if the "Sort By" field is present in the product search form.
    hideEmptyMessage - specify True if you don't want the No Items Found message to be displayed
    UseLi - specify True to render the output in Li's instead of tables
    This module is rendered with these layouts
    Online Shop Layouts > Individual Product - Small
    This module also supports custom templates
    Examples
    {module_productresults,4,_blank,10,,true} - displays the products that match the search criteria 4 per rotw, 10 per page and hides the "No products found matching your query." if no products are found. The structure rendered is a table. When clicking the product name the detail view (rendered using theIndividual Product - Large layout) opens up in a new tab.
    {module_productresults,,_self,2,,,true} - displays the products that match the search criteria 2 per page and renders "No products found matching your query." if no products are found. The structure rendered is an unordered list. When clicking the product name the detail view (rendered using the Individual Product - Largelayout) opens up in the same tab.
    {module_productresults,2,_self,2,,,true template="/layouts/custom/moduleproductresults.tpl"} - displays the products that match the search criteria 2 per page and renders "No products found matching your query." if no products are found. The structure is no longer an unordered list as it is in the example above, thecustom template is used instead.

  • Line item only display after run RFSEPA01

    Hi expert,
    I set up all gl account with line item display but i need to block GL and run program RFSEPA01 so that line item will posted to BSIS table.
    Is this need to run every after new posting done in?
    As i run for one GL before with RFSEPA01 after new posting to that GL, i not able to view line item in FS10N, therefore i go and run RFSEPA01 again.
    Is this everyday i need to run & re-run for all gl? Is there any configure i missing?
    Please advice on menu path to configure the link to BSIS table.
    Thanks.
    regards,
    chuan

    Dear,
    What is your requirement?
    Why you are running RFSEPA01 daily when there is option "Open Item managed" ticked in FS00?
    Program description: Switch On Line Item Display by Changing Master Record.
    TABLES: bsis,
           *bsis,              "#EC NEEDED
            bsas,
           *bsas,             "#EC NEEDED
            bseg,
            bkpf,
            skb1,
           *skb1,
            ska1,
            t001.
    RFSEPA01 is used when the GL Account is not there in open item status and need to change that to open item managed.
    Check once again

  • Print or download ALV report with sort options

    Dear friends,
    How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
    Regards,
    Praveen Lobo

    Hi Praveen,
    Use this code, its working:-
    *FOR SORTING DATA
    DATA : it_sort TYPE slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    *          SORT W.R.T. CUSTOMER NAME
      wa_sort-spos = 1.
      wa_sort-fieldname = 'NAME1'. "field customer name
      wa_sort-tabname = 'IT_KNA1'. "internal table with records
      wa_sort-up = 'X'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    "this will sort the ALV o/p for customer with same name
    "now the name will not be repeated
    "records with same name will be grouped
    *          DISPLAY RECORDS IN ALV GRID
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program                = sy-repid "report id
        it_fieldcat                       = it_field "field catalog
        it_sort                           = it_sort "sort info
      TABLES
        t_outtab                          = it_kna1 "internal table
      EXCEPTIONS
        program_error                     = 1
        OTHERS                            = 2.
      IF sy-subrc <> 0.
      ENDIF.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir
    Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM

  • CS3 Bridge on OS X: Find - no items to display - the long, painful fix

    Moved this post from the Elements forum in the hopes of more useful replies.<br /><br />Recently upgraded from Photoshop Elements 4.0 on OS X to Photoshop Elements 6.0 on OS X. The 'find' dialog box does not work - which is to say that it returns no results despite various search strings - in Bridge CS3. This is the sort of crippling defect that will make me request a refund from Adobe. <br /><br />I'm cross-posting this with their support group to speed things along. <br /><br />Steps that I have taken. <br />1. Install PhotoShop Elements 6.0 on OS X. <br />2. Open Bridge CS3. <br />3. Help - updates <br />4. Install all updates. <br />  Current version of Bridge: 2.1.1.9 <br />  Current version of OS X: 10.5.5 <br />5. In Bridge, navigate to a folder with JPG files in it. <br />6. Edit - Find <br />  Set options to Filename Contains JPG <br />7. Shows "No items to display" <br />8. Press back button <br />9. Edit - Find <br />  Set options to File Size is greater than or equal to 0kb <br />10. Shows "No items to display" <br />11. Press Back. <br />12. Reset all options and clear cache, per http://kb.adobe.com/selfservice/viewContent.do?externalId=331083&sliceId=1 <br />13. Restart Bridge <br />14. Attempts steps 5 through 11. No difference <br />15. Uninstall Bridge 2, using AppDelete on OS X. <br />Here's the log file: <br /><br />Monday, November 10, 2008 11:11:04 AM <br />Here are your deleted items: <br />Macintosh HD:Applications:Adobe Bridge:Bridge.app: <br />Macintosh HD:Applications:Adobe Bridge: <br />Macintosh HD:Users:kaynemcgladrey:Library:Caches:bridge2: <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-01-075021_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-01-075049_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-01-075155_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-100901_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-101027_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-162251_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge CS3_2008-11-09-162431_K-MacBook-2.crash <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge.crash.log <br />Macintosh HD:Users:kaynemcgladrey:Library:Logs:CrashReporter:Bridge_2008-08-13-213115_K-MacBook-2.c rash <br />Macintosh HD:Users:kaynemcgladrey:Library:Preferences:com.adobe.bridge.plist <br />Macintosh HD:Users:kaynemcgladrey:Library:Preferences:com.adobe.bridge2.plist <br /><br />16. Repeat step 12 (clear all cache & preferences for CS3). <br />17. Repeat steps 5 through 11 again. No difference. <br />18. Post message to Adobe Support.<br /><br />I'm also getting a LOT of this message in system.log: <br /><br />Nov 10 13:02:39 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:02:39 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:02:42 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:02:42 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:03:02 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:03:02 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:03:04 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:03:04 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:03:05 K-MacBook-2 [0x0-0x5e05e].com.adobe.bridge2[554]: 081110 13:03:05 [ERROR] mysql_embedded: Can't open file: 'filesystem_blobs.MYI' (errno: 145) <br />Nov 10 13:10:44 K-MacBook-2 Bridge CS3[554]: *** -[NSConditionLock dealloc]: lock (<NSConditionLock: 0x18467ce0> '(null)') deallocated while still in use <br />Nov 10 13:10:44 K-MacBook-2 Bridge CS3[554]: *** Break on _NSLockError() to debug. <br />Nov 10 13:10:44 K-MacBook-2 Bridge CS3[554]: *** -[NSLock unlock]: lock (<NSLock: 0x18467c60> '(null)') unlocked when not locked <br />Nov 10 13:10:44 K-MacBo

    Not many here (including me) use Elements and even less can understand crash reports.
    Can you confirm that:
    -The folder containing jpeg files are viewable in the finder and can be opened in PSCS3?
    -You did give Bridge the time to let it cache its contents?
    -You have installed Bridge to the application folder, in the user library cache folder there is a folder called Adobe, inhere there should be a folder called Bridge CS3 and this one contains a folder called cache?
    I would suggest that you quit Bridge and move this folder manually to the trash. This will be replaced with a fresh folder after restarting Bridge.
    Point Bridge to the folder and first let it cache its contents and then try again with the find option. Could you report back on this?

  • ABAP report - Check Po items Material group

    Hi All,
    I would like in my abap report to check efficiently each line item in the Purchase order and make sure each line item should have the same material group.
    Any ideas appreciated.
    Meghna

    You can gather all the PO items from the table EKPO into a STANDARD TABLE like the the EKPO. For each line of the table LT_EKPO you will searching into the MARA (MARA-MATNR = EKPO-MATNR) and you will collect the MARA-MATKL into an internal table that will have only one field, the Material Group. At the end you will check how many lines has the internal table. Becouse you wil you the COLLECT instead of APPEND, if the PO has only one Material Group then this table should have only one line.
    Check the following code (it has been written by hard)
    With Regards
    George
    TABLES: MARA, EKPO.
    TYPES: BEGIN OF TY_GROUP,
                     MATKL LIKE MARA-MATKL,
                 END OF TY_GROUP.
    DATA: lt_group TYPE STANDARD TABLE OF TY_GROUP,
                wa_group LIKE LINE OF lt_group.
    DATA: lt_ekpo LIKE EKPO occurs 0,
                wa_ekpo LIKE LINE OF lt_ekpo,
                lines_count TYPE I.
    SELECT * FROM EKPO INTO TABLE lt_ekpo
      WHERE EBELN = p_ebeln.
    SORT lt_ekpo.
    LOOP AT lt_ekpo INTO wa_ekpo.
        CLEAR MARA.
        SELECT SINGLE * FROM MARA
           WHERE MATNR = wa_ekpo-matnr.
        WA_GROUP-MATKL = MARA-MATKL.
       COLLECT wa_group INTO lt_group.
       CLEAR wa_group.
    ENDLOOP.
    DESCRIBE TABLE lt_group LINES lines_count.
    IF lines_count > 1.
    DO SOMETHING.
    ENDIF.

  • Problem in sorting tableview line item

    Hi,
    I have only one main page with with one tableview.
    For example, i have the fields in header say field1, field2, field3, field4, field5.
    When i click the header of the field say field2, it sorts the line item which is in table display w.r.t field2.
    But i intend to sort the internal table line item  , which is responsible to display the line item on page.
    Is it possible. If so how?
    Cheers
    RK

    Hi,
    You have to use SORT = "SERVER"  and in input processing validate the code:
    Please see the below example:
    In the view the code should something as below:
    <htmlb:tableView id="tv2"  table="<%=it_vbak%>"
                                          selectionMode     = "none"
                                         onHeaderClick    = "some"
                                         sort             = "SERVER"
                                         iterator        = "<%=controller%>" >
      <htmlb:tableViewColumn columnName="VBELN" > </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ERDAT" > </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ERZET" > </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ANGDT"> </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="ERNAM"> </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName="VBTYP" > </htmlb:tableViewColumn>
    </htmlb:tableView>
    In the event handler the code would be something as below:
    data: tv type ref to cl_htmlb_tableview.
    tv ?= cl_htmlb_manager=>get_data(
                            request      = runtime->server->request
                            name         = 'tableView'
                            id           = 'tv2' ).
    sort it_vbak by (tv->data->column_key).
    Bhavana.G

  • Sorting  the News Items

    Hi all
    <b>Can we sort the news items created using Xml Form Builder based on the Title in the display iview? </b>
    We are using the KM navigation iview for rendering the news and the user has to get the options for <b>sorting based on news title,date</b> etc in a dropdown in the top of the iview.
    (My problem is similar to the sorting options given for the discussion iview. Similar to the options like sorting based on title,author,modified etc provided for discussions we want the same for the news items also.)
    Thanks for any help in advance
    Geogi

    Hi Geogi,
    You can sort the News items based on Title. For this, you have to find out the layoutset of your iview. Then go to System Administration -> System Configuration -> KM -> CM ->  User Interface -> Settings -> LayoutSet. Then select your layoutset. There you will find Collection Renderer. Clicking on the collection renderer will take you to the details page of collection renderer. On the details page, click on Edit button and when the form is editable, click on "Show advanced options" link. There you will see two properties, Property For Sorting and Sorting Mode. For Property For Sorting give the value : <b>cm:displayname</b> and select the appropriate sorting mode.
    This should do the job for you.
    Try and get back.
    Ranjith
    For your second question, i.e. providing a drop down box for selecting the property on which to sort, I think you will have to go for a new layoutset. I am not sure if you can use the existing layoutset to get this functionality. Anyway I'm not sure about this. Let's wait to see what other SDNers have to say about that.
    Ranjith
    Message was edited by: Ranjith Vijayan

  • Item level display in adobe forms..

    Hi all,
             I have a problem on adobe forms....For my req. I have fields like delv no , delv item , matnr,
    Customer mat no, qty , batch no and split no to display in line item level...but for one delv no there are
    multiple batch and split no..If i tried to display the second delv is overlapping with second line item of
    the first delv ..can any tell me how to avoid this?

    Hi Dude...
    create separate internal tables for line item and field for which you want to display multiple values
    with common field..
    For your example..
    step 1. create an internal table for line item that contains the delivery no , del item, material no,
    material qty, customer mat no, batch no and serial no...
    Step 2. Create an internal table for batch and serial no with common fields , del item and del no.
    Step 3. Go to context ..assign this second internal table under line item internal table ..
    step 4. Double click on the second internal table and go to condition...there you to write the below
            condition....
            line item- delv = 2nd internal table-delv
                            and
            line item -delv item = 2nd internal table-delv item...
    I hope this will solve your problem...

Maybe you are looking for

  • Error while laoding data from ODS to infocube

    Hi all, I am trying to load data from ODS to Cube but its giving error. I am getting following error An error occurred while executing a transformation rule: The exact error message is: The argument 'Result dependent booking' cannot be interpreted as

  • Help with ti4200 please!

    Ok my problem is my moniter goes into standby at random mainly playing games and i have to press reset on my pc sometimes it does it when not gameing but comes back on after a couple of seconds. I done a clean install of win xp pro and still does it

  • Problems saving open files

    I've recently been having troubles saving an open PDF file. I'm getting the error message: "The document could not be saved. The file may be read-only, or another user may have it opened. Please save the document with a different name or in a differe

  • Files wont Load to edit

    I am admin for the site. I can load the index file but no other pages show up in the browser. I can use "CHOOSE A FILE" and see all the files there. selecting one will not allow it to preview anyway. selecting ok will not load the page for edit. Must

  • Ipod - iPhoto '06 photocasted album lost in recognition

    Can anyone please confirm if there is really a problem with iPod (aka iTunes) recognizing photo albums that are photocasted? Powerbook G4 1.5GHz 12"   Mac OS X (10.4.5)