Sorting is disabled in Result view?

Sort option in worklist is coimg in development server but at prod server it is disabled.
What setting and configuration need to be checked?
Please suggest.
Saurabh

Hi,
please set an external breakpoint for the attribute you would like to sort in:
GET_P method - here the coding should have a part like this:
CASE IV_PROPERTY.
   WHEN IF_BSP_WD_MODEL_SETTER_GETTER=>FP_SORTABLE.
     RV_VALUE = 'true'.                                   "#EC NOTEXT
ENDCASE.
The sorting happens in a lot of cases in the GET_R method of the attribute - please check this also.
Kind regards
Manfred

Similar Messages

  • Why is manual sort order disabled in album view

    I created an album and added pictures. By default, the photos are displayed in sort order by date. I'd like to manually order them. However, when I select the sort order drop down box, the option to manually order the photos is disabled. How can I enable it or why is it disabled.

    It is not available because you have yet to create a manual sort for that Album, and so there is no "Manual Sort" available. Create a manual sort manually (re-arrange the photos). Then the "Manual Sort" menu choice should become available.
    The menu switches between the existing sorts.
    I didn't design it. This makes sense to engineers, but not so much to users. Any time you manually re-arrange your images, the sort is automatically changed to "Manual". Aperture remembers the last manual sort; it is always available via the sort selector.

  • How to get value in custom field(Part OF BOL) in search result view.

    Hi All,
    I am new to CRM WEBUI and i am facing issue in populating value in one field of search result view.
    Current requirement is .
    On product f4 , we get search help and search result view.
    one custom field need to be added in search result view ( for eg any description field).
    This description field is already  available in one of z relation  maintained in PRODUCT root object.
    Solution tried so Far:
    1. We enhance one Standard Product structure and add that description field .
    2. Add new  field( description) in result view context node as attribute by using bol attribute.
    3. Customize search result view and display that description field in result.
    By doing above three steps, field is available in  search result view.
    but issue is we are not able to get values.
    1st Approach: write code in getter and setter method . Pass the relation name and get the property of description  field
    in setter method, set the property.
    Issue : we were not able to sort the values on this description field. so scrap this 1st approach
    2nd Approach: In Event EH_Onsearch Help, we try to use collection wrapper to get current value of description
    by using relation name .
    We use component controller to set the value of description since  searchresult view-conext node->result node is bound to one comp controller node.
    but this solution also does not work..
    Please advice us  what approach we should use to get value in description field  and sorting should also work.
    Thanks in Advance.

    Hi Girish,
    1. We enhance one Standard Product structure and add that description field .
    2. Add new  field( description) in result view context node as attribute by using bol attribute.
    3. Customize search result view and display that description field in result.
    By doing above three steps, field is available in  search result view.
    but issue is we are not able to get values.
    1st Approach: write code in getter and setter method . Pass the relation name and get the property of description  field  and by using this approach we are able to get value but sorting was not working so we disable the sorting as it was not required by business.
    if u need sorting on that field.
    then u should go for value node approach and write code for getting value in get set method
    and for sorting also , need to write code.
    This is my understanding on this .
    Please reward if this solution is helpful

  • Options to control display performance of CLOBs, etc. in Query Result view?

    Whenever I attempt to query a table that contains LOBs (e.g. a CLOB or XMLTYPE), the lack of performance pretty much makes the "Query Result" view (from F9) unusable. Any time I attempt to scroll the results, SQL developer apparently continues to query the database for the additional characters to populate the view.
    Resizing the columns containing the LOB to only a few characters almost solves the issue. Unfortunately, the size of the columns showing the LOBs apparently attempt to resize to the length of the LOB, making the column several pages long - and the same performance issue prevents resizing it smaller.
    Ideally, there would be some way to resize a column to a given or even a predefined and small size, without having to drag the resize handle the entire width of the desired resize amount. Alternatively, there could be a user preference to never set default column widths above a given number of pixels or characters. Another option would be a user preference to disable the in-line display of LOB contents, displaying only and requiring a click on the "..." (or pencil icon) button to open the "View Value" dialog. Ideally, all 3 of these options could be implemented.
    One crude work-around I'm using for now is to exclude the LOB columns from the results, requiring me to make secondary queries to see the LOB contents when necessary, and doesn't allow for scrolling through and viewing the LOB contents at all. Another work-around is to run the query as a script (F5) instead of a query (F9), and view the results in the "Script Output" view instead.
    I'm currently using SQL Developer 2.1.0.63, but experienced this same issue with all previous versions, including 1.5.5.
    Thanks!

    I agree.
    When I requested to auto-width the columns, I said to build in a maximum, but apparently they didn't.
    I suggest you log 2 feature requests on the SQL Developer Exchange; 1 for the maximum width, 1 for the CLOB contents/performance. Like this others can vote too and add weight for future implementation (I will).
    Have fun,
    K.

  • How to set filters to a Result view

    Hi All,
       How to set filters to a result view in web UI.
    Thanks & Regards
    Nitish.

    Hi Nitish Kumar,
    if you want to sort the table fields like ascending , Descending create one event ex: eh_on_sorting.
    in that get the event using thtmlb_event. then check whether sorting is necessary or not.
    then get the name of column to be sort by using tableview->column_key.
    based on that arrange the field ascending or descending using tableview->column_sort_directin.
    ascending or descending.
    then sort the collection using collection_wrappor->sort( lv_attrname .. etc).
    here is the sample code..
    data: lv_bo               type ref to if_bol_bo_property_access,
             lv_thtmlb_tableview type ref to cl_thtmlb_table_view,
             lv_attr_name        type name_komp,
             lv_sort_order       type char1,
             lv_stable           type abap_bool value abap_false.
       try.
           lv_thtmlb_tableview ?= iv_htmlb_event_ex.
         catch cx_sy_move_cast_error.
           exit.
       endtry.
       if lv_thtmlb_tableview is bound.
    *   check whether its realy a sorting event
         check lv_thtmlb_tableview->event_type = cl_thtmlb_table_view=>co_header_click.
    *   get name of column to be sorted
         lv_attr_name  = lv_thtmlb_tableview->column_key.
         check lv_attr_name is not initial.
    *   get sorting direction
         case lv_thtmlb_tableview->column_sort_direction.
           when 'U'.
             lv_sort_order = cl_bsp_wd_collection_wrapper=>sort_ascending.
           when 'D'.
             lv_sort_order = cl_bsp_wd_collection_wrapper=>sort_descending.
           when others.
             return.
         endcase.
    *   sort
         try.
             me->collection_wrapper->sort( iv_attr_name     = lv_attr_name
                                           iv_sort_order    = lv_sort_order
                                           iv_stable        = lv_stable
    *                                  IV_SORT_CALLBACK =
           catch cx_crm_cic_parameter_error.
    *     could be a renamed attribute or field which does not belong to the collection
         endtry.
    *   in case of single selection restore the selected row index
         if   me->selection_mode = selmode_single
           or me->selection_mode = selmode_lineedit.
           if me->selected_index <> '0'.
             me->selected_index = me->collection_wrapper->get_current_index( ).
           endif.
         endif.
       else.
         exit.
       endif.
    Thanks & Regards,
    Srinivask

  • Results view does not display any data

    Hi
    Every time I execute a query in the sql worksheet, I do not see anything in the results view. I only see the ouput in the output script folder. The output script view display is just like the usual sqlplus screen results. I want to look at the results in a table format that is suppose to be displayed in the results view.I used F5 and F9 to execute the query.
    Can anyone tell me why this is so?
    Example below is what I see in the output script view, when I run the query below.
    select file_name,tablespace_name from dba_data_files;
    FILE_NAME
    D:\ORACLE\ORADATA\ORA92\SYSTEM01.DBF
    D:\ORACLE\ORADATA\ORA92\UNDOTBS01.DBF
    D:\ORACLE\ORADATA\ORA92\CWMLITE01.DBF
    D:\ORACLE\ORADATA\ORA92\DRSYS01.DBF
    D:\ORACLE\ORADATA\ORA92\EXAMPLE01.DBF
    D:\ORACLE\ORADATA\ORA92\INDX01.DBF
    D:\ORACLE\ORADATA\ORA92\ODM01.DBF
    D:\ORACLE\ORADATA\ORA92\TOOLS01.DBF
    D:\ORACLE\ORADATA\ORA92\USERS01.DBF
    D:\ORACLE\ORADATA\ORA92\XDB01.DBF
    D:\ORACLE\ORADATA\ORA92\TEST01.DBF
    11 rows selected.
    I want to be able to see the results in the results view in a table format. Why is this not happening?
    Thanks.

    It works for me, when I use F9. Ensure you select the statement (unless it's the only statement) then press F9, or click the triangle button.
    I guess it makes sense for F5, or execute script, to not show a table as there may be many selects, and other statements, in a script and there is no specific return value from a script.
    Message was edited by:
    TonyW

  • Adding Z field in Opportunity search and result view BT111S_OPPT/Search

    Hi,
    I have been searching this forum on adding Z fields in search and result view but couldnt find the precise information.
    We have Z field in ultimately residing in BUT000.
    Now when this field is used in BP_HEAD_SEARCH for search and result, it could be easily done via configuration. (since the field was added to CRMT_BUPA_IL_HEADER_SEARCH during EEWB extension.
    Now, the requirement is to add the fields in Opportunity BT111S_OPPT/Search & BT111S_OPPT/Result.
    I am confused with regard to the approach we need to use to get this field in search and result.
    I thought the easiest option is to add the Model node and and give the BOL attribute. This works fine but I can't see this field (with dynamic getter/setter) in the UI configuration.
    During the attribute creation wizard, I gave BOL entity as BTQROpp (system defaulted) and the relation was
    BTADVSOpp/BTOrderHeader/BTHeaderPartnerSet/BTPartnerAll/BTBusinessPartner/ZZZGEOG_REGI
    is this correct? or am I doing something wrong?
    Why can't I see the fields in configuration?
    So alternatively I created a field through AET and i could see this field is in the structure and in UI config, but what logic I need to put to retrieve the value?
    Any advice?
    Many thanks in advance for your help
    Rakesh

    Hi Rakesh,
    Please follow below steps:
    1. Append your custom field to structure associated with your search/result structure.
    2. After you append this field to structure, this field would be available in context node.
    3.  Check if the field is reflected in available fields in configuration.
    4. If field is not present in configuration then please follow steps stated by me in:
    Re: New Column can not be added in chtmlb:configTable
    5. Once you add this field to design layer, you would be able to configure it to your search query. Check if your query works with this field.
    If not then please go through below forum :
    Re: BADI for Claims search in trade promotion management
    Let me know if this helps.
    Regards,
    Bhushan

  • PSE 7 Sort order in file folder view

    In Thumbnail view I can order the photos by oldest first or newest first. When I change my display option to folder view the photos do not display in any order. Not the order taken (oldest to newest) or (newest to oldest) or by filename. I am unable to determine the logic that is applied in folder view. Further, I can not locate a sort tool either in folder view. I am running Vista, and am new to PSE. I have been running Macintosh with iPhoto, so this is my mindset. Any migration advice from iPhoto Mac to Vista PSE7 would also be of interest.
    Barry in St. Louis

    Ernst,
    The PSE Organizer is designed for organizing photos by date/time and keyword tags, not folders and filenames. So most people find that once their photos have the right date/time, they can profitably ignore folders and filenames. A couple of suggestions for getting all your photos to have the right date/time:
    1. Adjust the date/time of each folder of images as described in the previous message, so they all have the correct date/time. That may be a little tedious, but if you have 20 different such folders, youll be done soon enough. Then in the Organizers Thumbnail view, all the photos will be arranged by date/time.
    2. Create a new album in the Organize pane. Then put each folder of images with wrong date/times into the album. Then click on the album name in the Organize pane to show just those images. Now you can freely rearrange their order within the album. Once theyre ordered correctly, you can select all of them and use Edit > Adjust Date And Time to shift them to the correct starting time(s).

  • Best approach to add Z custom field to IC Agent Inbox search and results view

    Hi Experts,
    We are having a requirement to add a Z custom field to IC Agent Inbox search and results view. I got multiple forums and ideas, but looking for the best approach for handling this. I am sure, you experts, would have already done this.
    Thanks in advance.
    Regards
    Siva

    Hi Sivakumar,
    AET is the best way by far to create a custom field in this area. It is easy and simple.
    Also, field once added in one business object it can be used at different objects as well.
    There is also a demo available for AET on sdn.
    Please let me know if any more help is required.
    Thanks,
    Bhushan

  • Custom component Search and Result view using value node :pls help

    Hi Experts,
    I am creating a Custom component with Search and Result view using value nodes.
    This is the code I wrote in the Search button event handler method.
    The data which gets in lv_search I need to put in lv_col .
    Can somebody guide me for this.
    Points will be awarded .
    METHOD eh_onsearch.
      DATA : lv_current TYPE REF TO if_bol_bo_property_access,
             lv_search  TYPE zcrm_orgstruct_search,     "Search value node structure
             lv_result  TYPE zcrm_orgstruct_result,         "Result value node structure
             lv_col     TYPE REF TO if_bol_bo_col.
      lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
      CALL METHOD lv_current->get_properties
        IMPORTING
          es_attributes = lv_search.
      me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
      op_toresultview( ).
    ENDMETHOD.
    Regards,
    Lakshmi

    Hi Lakshmi,
    Could you please share with us how it was solved.
    "CALL METHOD lv_current->get_properties
    IMPORTING
    es_attributes = lv_search."
    Did you get any values in lv_search ?
    Because while using value nodes for search view (which inherits from advance search controller  class), the above method does not return any search values entered in the fields.
    Please let me know how did you solve it.
    Thanks & Regards
    Vidhya

  • How to view complete date stamp in query result view in sql developer?

    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    Vineet

    864793 wrote:
    Hi,
    In the query result, the date present in db is shown as DD-MM-YYYY format but I want to view the complete date stamp. When I view the same data in aqua data studio, I see the complete time stamp. Please let me know if I need to do some settings in Oracle SQL Developer so that complete date is shown?
    How to view complete date stamp in query result view in sql developer?
    Thanks in advance,
    VineetAlternatively you can execute below
    set nls_date_format='DD-MM-YYYY HH24:MI:SS';Regards,
    Achyut K

  • Adding new field in search help result view

    Dear Experts,
    I want to include one more field in search help result. The field shoud give description.
    How can i do this in UI result view?
    If I try to add attribute in result view, the result view is of type table, and it does not allow us to add value node. It will allow us to add model attribute. If I add attribute in search help resut table view then will i be able to see it in table form.
    Thanks and regards
    Pankaj Kumar

    Hi Pankaj,
    Its not that difficult.
    There are two ways
    1. You can enhance your Result BOL object through EEWB and append your z-field to std. BOL result object. This then appears automatically for your result context node and then you can pull it to the view in config tool.
    2. Directly go to your context node class (CN00 , CN01 etc ) , now copy method GET_S_XYZ , paste it and rename as GET_yourfieldname. Similarly copy SET_S_XYZ, GET_M_XYZ and GET_I_XYZ and paste and rename. Once activated. Quit the component browser completely. Open again using bsp_wd_cmpwb. open you view and then your node. You can find you new attribut present as struct.YourField.
    You can then copy code from available setter-getter methods for this attribute. You must handle setter getter by urself in this case. In may std. nodes, this is done for description field. I have personally done this for product descripton field.
    if you dont want the field to be part of structure ( i.e. as struct.Yourfield ) then you can also copy paste GET_XYZ, SET_XYZ methods. your filed then do not appear as Struct.YourField but it just appears as YourField name under context node.
    Hope this helps you.
    Thanks & Regards.
    You can check PRODUCTDESCRIPTION  attribute of BTAdminI node of BT115QIT_SLSQ/Items  view of BT115QIT_SLSQ component. They have added it the same way as i described above. You see the GET_ method to see how they are retrieving product description. In my object, i wrote direct query to Comm_prshtext table to retriev short_text by passing product guid and then assigen it to value variable of Get method.
    Edited by: suchita P on Sep 20, 2008 2:22 AM

  • Unable to hide Refresh link in "No Result" view in BISE1 10.1.3.2.1 version

    Hi experts,
    I am using Business Intelligence Standard Edition One 10.1.3.2.1 version.
    I am unable to hide the Refresh link in No Result view, I have checked all the blogs and forums related to this problem. They have asked to use the following script but it is not working for me in my BI version, still the refresh link exists.
    <script type="text/javascript">
    <!--
    function removeRefresh(){
    cols = document.getElementsByTagName('td');
    for (x=0; x<cols.length; x++) {
    if (cols[x].className == 'ResultLinksCell' && cols[x].innerHTML.indexOf('Refresh')!=-1)
    cols[x].innerHTML = '';
    window.onload=removeRefresh;
    //-->
    </script>
    Please provide me a solution with exact script which suite to my version.
    Thanks & Regards,
    Raj

    Hi,
    Thanks for your help.
    The code worked well.
    Then I am showing my report as "Link - Within the dashboard" as a option in display result of report property.
    So there is Return link and refresh link shown in my No Result view. If I use your code it removes both the link. But I need only the Refresh link to be removed. So I just added a code with your code to have the return link without the refresh link.
    <!--
    <style>
    .ResultLinksCell
    display: none;
    </style>
    <div align=center>Return</div>-->
    Regards,
    Raj

  • Dynamci Query Result View - New Field with domain values

    Hi,
    I added to the result list a new field (using an append structure). Than I added it to the layout. This field contains a number, which will be translated into text by domain values. But in my result view only the number will be displayed. Any idea how I can display the text instead of the ID?
    Thanks in advance Paul.

    Hi Paul,
    You can display the domain text by fetching it in the corresponding GETTER method. The GETTER will be sending the ID; you can add extra code to fetch the corresponding text ID in the getter and return this in rv_value.
    Regards,
    Shiromani

  • Automatically exit window when a line in result view is selected

    Dear Experts,
    I am stuck with a small problem. I have create a custom component with search view and result view. Now in Component BT111h_oppt, when i have an item list assignment block. When i search for a product using F4, i have a standard search coming up. When i do the search and select a line in the result view, the system automatically shuts the window and comes back to the oppt overview page. Now i have replaced the standard search with my custom search, upon pressing F4, my custom search windows opens up and search words as normal. however, when i select any item, my window doesnt close and i have to close the window manually to come back to the oppt overview page. So, i need help to automatically close the search window when my table line is selected.
    Any pointers would certainly help.
    Thank you all,
    Regards,
    Pradeep

    Hi Pradeep,
    Try this..in the do_output_prepare ..write the code to check if the line is selected  ..
    lr_col ?= me->typed_context->contextname->collection_wrapper->get_marked( ).
      check lr_col is bound.
    If marked (selected)  call a outbound plug of that view (eg : OP_CLOSE( ).). In that outbound plug call the outbound plug of the window using the code below :
    DATA: lr_window TYPE REF TO cl_bsp_wd_window,
            lv_collection TYPE REF TO IF_BOL_BO_COL.
      lv_collection = me->typed_context->contextname->collection_wrapper.
      lr_window = me->view_manager->get_window_controller( ).
      lr_window->call_outbound_plug( iv_outbound_plug   = 'Windowoutboundplug name'
                                     iv_data_collection = lv_collection ).
    and in the window outbound plug , fire that plug using the code
    me->fire_outbound_plug('Windowoutboundplugname').
    I had similar requirement and it worked.

Maybe you are looking for