Sorting on non-displayed items - can it be done ?

Hi,
I'm very new to Discoverer (and this forum), so apologies if I'm covering old ground.
I've created a simple discoverer table report and the folder I've based the data on has a number of columns that determine the sort order i.e. called 'activity_type_sort_order', 'activity_sort_order', 'enclosure_order_order' - this is because the related columns activity_type, activity and enclosure are VARCHAR but contain numeric values.
Hence, the existing application displays the data in the correct order in the Forms and Reports without showing the user the underlying columns that are determining the order.
I want to do something similar in Discover i.e. produce a report that displays the columns activity_type, activity, enclosure but sorts the data based on 'hidden' columns activity_type_sort_order, activity_sort_order and enclosure_sort_order.
I tried creating my first Discoverer report and it seems to need the activity_type_sort_order, activity_sort_order and enclosure_sort_order as displayed items in the workbook in order to all the rest of the data to be sorted.
Is there any way I can sort using these fields but not actually display them ?
I've read that I can create an alternate sort in the EUL but I've got 1000's of values.
Can anybody help ?
Many thanks
mknipe

Hi,
You should be able to use the hidden sort option. In the sort tab add the sort columns and then change the sort type to be hidden.
Rod West

Similar Messages

  • Sort a non database item

    I have one datablock (ma_erz) in my forms based on the table test1.
    Datase-Items of table test1:
    :ma_erz.MAE_ID,
    :ma_erz.MAE_SYSART
    Non-Database-Items:
    :ma_erz.L_KM_USERNAME
    My problem is, that I could not sort the records of a non-database-item.
    Does anybody know a workaround? I would like to sort the records to username.
    I am saving the username in :MA_ERZ.L_KM_USERNAME in Post-Query
    of datablock ma_erz:
    /* CGFK$QRY_LOOKUP_DATA */
    /* Query lookup data for the foreign key(s) */
    BEGIN
    IF (
            (name_in('MA_ERZ.MAE_SYSART') IS NOT NULL)
      THEN
        BEGIN
          CGFK$QRY_MA_ERZ_MA_ERZ_SYS_ERZ(
            :MA_ERZ.L_ERZSYS_ERZ_BEZEICHNUNG,    /* OUT: Value in item :MA_ERZ.L_ERZSYS_ERZ_BEZEICHNUNG */
            :MA_ERZ.MAE_SYSART);                 /* IN : Value in item :MA_ERZ.MAE_SYSART */
        EXCEPTION
          WHEN NO_DATA_FOUND THEN
            MESSAGE('Fehler : Sys Art does not exist');
          WHEN OTHERS THEN
            CGTE$OTHER_EXCEPTIONS;
        END;
        SET_RECORD_PROPERTY(:SYSTEM.TRIGGER_RECORD, 'MA_ERZ', STATUS , QUERY_STATUS);
      END IF;
      IF (
            (name_in('MA_ERZ.MAE_ID') IS NOT NULL)
      THEN
        BEGIN
          CGFK$QRY_MA_ERZ_MA_ERZ_SYS_KM_(
            :MA_ERZ.L_KM_VORNAME,    /* OUT: Value in item :MA_ERZ.L_KM_VORNAME */
            :MA_ERZ.L_KM_NAME,       /* OUT: Value in item :MA_ERZ.L_KM_NAME */
            :MA_ERZ.L_KM_USERNAME,   /* OUT: Value in item :MA_ERZ.L_KM_USERNAME */
            :MA_ERZ.MAE_ID);         /* IN : Value in item :MA_ERZ.MAE_ID */
        EXCEPTION
          WHEN NO_DATA_FOUND THEN
            MESSAGE('Error :  does not exist');
          WHEN OTHERS THEN
            CGTE$OTHER_EXCEPTIONS;
        END;
        SET_RECORD_PROPERTY(:SYSTEM.TRIGGER_RECORD, 'MA_ERZ', STATUS , QUERY_STATUS);
      END IF;
    END;
    /* CGFK$RESET_BLOCK_WHERE_CLAUSE */
    BEGIN
      IF (CG$PROTOTYP_MA_ERZ_V01_GLOBALS.MA_ERZ_WHERE <> 'first_time') OR
        CG$PROTOTYP_MA_ERZ_V01_GLOBALS.MA_ERZ_WHERE IS NULL THEN
        set_block_property('MA_ERZ', DEFAULT_WHERE, CG$PROTOTYP_MA_ERZ_V01_GLOBALS.MA_ERZ_WHERE);
        CG$PROTOTYP_MA_ERZ_V01_GLOBALS.MA_ERZ_WHERE := 'first_time';
      END IF;
    END;

    Or, even simpler, put the following in your order by:
    ORDER BY (SELECT THELOOKUPCOLUMN
                FROM THELOOKUPTABLE X
               WHERE X.MAE_ID=Y.MAE_ID)Additionally, set the ALIAS of the block to Y
    p.s. you could even skip the "ORDER BY" itself.

  • Display item Can't update error in apex 4.2.2

    Hi I was running some forms in 4.2 and was working fine for update and insert. but after 4.2.2. upgrade I am having problem with the forms. such as
    the screen displays value for the item but when I save the page I get  an error Item should have some value.
    I have change the item to text field but still some issue.
    The item is basically created date and created by field and I have a default value as sysdate with type PL/sql , item type is display and it was working fine in 4.2. The other thing is I am doing the update and insert via a package.

    if I change the item save session state to 'Y' then I get this error
    Session state protection violation: This may be caused by manual alteration of protected page item P18_DIHE_CREATED_DATE. If you are unsure what caused this error, please contact the application administrator for assistance.
    if i change to 'N' then I get error can not update item P18_DIHE_CREATED_DATE with null.

  • About UNZIP with password, is there any non-free tool can get it done? Than

    I am trying to use JAVA on our web application to unzip some ZIP file, however, those ZIP has password on it. Although I know what the password is, I can not make program unzip for me, since we all know that JAVA's bulit-in unzip engine does not support password.
    My question is: If I like to pay for whatever the solution is, is there one JAVA version that support unzip with password? If not, is there any other way to solve this?
    Thank you very much

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode] after enabling only the PDF plugin in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons''' > '''Plugins'''. You can also '''Disable''' the PDF plugin and try an alternative, for eg. [https://addons.mozilla.org/en-US/firefox/addon/pdfjs/?src=cb-dl-created pdf.js]. Please also go through the add-on reviews, ratings, help and FAQ.
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    [http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on Cannot Uninstall Add-on]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

  • What  is use of  Item Category N(non-stock item) in BOM creation

    Dear Experts,
                       What  is use of  Item Category N(non-stock item) in BOM creation ?
    regards
    rajakarthik

    Hi,
    This item category is used for components which are not kept in stock if they are used in a bill of material (BOM). Non-stock items can be entered in the BOM with or without a master record. To enter a non-stock item without a master record, you must simply enter a descriptive text.
    When you use this item category, the system automatically creates a purchase requisition for these components,
    Special functions
    The following functions are supported for non-stock items
    • You maintain purchasing data for non-stock items in the bill of material.
    • In the planning run, the system generates purchase requisitions
    instead of dependent requirements for components that are procured directly. When you configure your R/3 System for MRP, you can define whether direct procurement is triggered by the planning run or by production order management.
    • Product costing processes take valuation data from the BOM item.
    The system determines the release strategy on the basis of the price data you enter. The material group is required to produce a purchase requisition.
    Pavan

  • MR11- for non material item

    I just try to do for one PO with all non material item and
    I can't do MR11 for non material item..
    error:      Error  while determining the currency types for 6302400500 00010

    Hello,
    a non material item can be a text item but it can be also a service item.
    This depends from your customizing. Which item type is relevant for your non material item.
    In the item type you can maintain if an item is relvant for pricing or not.
    Please have a look in transaction VOV7. Here you can set the flag 'Pricing'.
    This flag can have the following specification:
          Blank  No pricing
    X     Pricing standard
    A     Pricing for empties
    B     Pricing for free goods (100% discount)  
    I hope that the information are helpful.
    Best regards
    Claudia
    Edited by: Claudia Neudeck on Jul 17, 2008 8:17 AM

  • How can we run MDBT transaction for non-valuated items only

    HI,
    We want to run the MDBT transaction for non-valuated items only...but through this transaction we can run for all items..
    How can we run only for non-valuated items???
    Regards,

    Dear Anil,
    MD02 - Material level planning ( Multilevel )
    MD01 - Plant level planning ( Multilevel )
    MDBT - Back ground MRP ( Multilevel )
    coming to ur query if all 20 materials belongs to one storage location or one MRP controller
    Then you perform MRP for that 20 materials with the above given user exit
    Also Plz refer my reply from this thread
    [Re: MD01 Replanification.]
    Regards
    Madhu

  • Avoid bar to display or not non secure items

    When I insert to
    http://paphoscarhire.com/
    pickup date bigger than drop off date, to get error (in ie7 only) ,
    appears a window to display or not non secure items, and to
    document window a bar, well why this ? what to do to avoid this
    ?

    please clarify what it is you are asking?
    there are two possibles i see-
    One, you have a flash .swf file that will need to be
    double-clicked to work
    and will probably bring up an activeX warning.
    The fix for that is to edit the page in dw8.02 or CS3 or to
    use different
    code to display it. Google .swf eolas lawsuit
    the other possible is that the form's action is to an https
    url.
    I don't know why that is used, unless in the next step or so
    of the form
    process you are asking for credit card or other sensitive
    info.
    If i load the script page itself without submitting, i see
    there the css
    file has a path to Your hard drive.
    <link
    href="file:///C|/Documents%20and%20Settings/User/My%20Documents/My%20Webs/pc
    h/styles.css"
    that could cause the page to display a warning that there is
    a mix of secure
    and insecure data on the page.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Displaying non contract items also in the contract catalogue

    Hi SRM guru's
    While i am doing a shop using the contract catalogue in SRM 5.0.The non contract items are also displaying in the contract catalogue.
    Please let me know what i have to do for displaying only contract items in the contract catalogue.
    Thanks in advance.

    Hi,
    Please check help.sap.com.
    http://help.sap.com/saphelp_ccm20/helpdata/en/6e/89c4e2038c49969ab5ede5f6e24bd5/frameset.htm
    Regards,
    Masa

  • ITunes store displays items in 'Recent Bestsellers'order by default-can I change it?

    I'm a new convert to the iPhone and iTunes world and generally I find things are easy to use and it's easy to get answers to questions
    if I get a little confused,however I do have one question that I can't seem to find an answer to.
    I am a big comedy fan and lately I have been downloading episodes of my favorite shows from the iTunes store but one thing I find
    annoying is that if I go to the store,click on tv shows,then comedy,iTunes displays items available in 'Recent Bestsellers' order by default,
    I can click the arrow in the corner and it will display them in alphabetical order for me but if I click on an item to view the synopsis of the
    particular episode then use the back arrow to return to the category iTunes has changed it back again!
    Is there any way that I can change it to display items alphabetically by default? I can't seem to find any option for doing so but maybe
    I wasn't looking hard enough,may seem a trivial issue but if I want to find an episode of a series that isn't that popular I have to go looking for it.
    Anyone able to help?
    Cheers
    N'oz

    Hi rodtheprod,
    I apologize, I'm a bit unclear on the issue you are describing. If a movie from the iTunes Store supports multiple languages, they can usually be changed as outlined in the following article:
    iTunes: Language settings for video
    http://support.apple.com/kb/HT5562
    If this is not possible and no changes have been made to the country settings for the iTunes Store, you may want to try redownloading the movie (if it is still available):
    Download past purchases
    http://support.apple.com/kb/HT2519
    Regards,
    - Brenden

  • AppStore displays permanently an update avaible and there is none really, how can I solve these little problem?

    AppStore displays permanently an update avaible and there is none really, how can I solve these little problem?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Sync with iTunes
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    I myself would live with it before doing the following 
    - Restore to factory settings/new iOS device.

  • Display non-secure items browser alert

    Hi All,
    I am working on Portal version 7.0 and I get an annoying browser security alert asking whether to display non-secure items whenever I navigate to another workset. If I click 'NO' it displays a Action Canceled screen.
    Is there any way to avoid this alert from appearing? Thanks in advance.
    Kiran

    if it IE do like this
    tools-internet options-advanced-security-uncheck warn if changing between secure and nonsecure mode
    if it firefox
    tools-options-security-settings-deselect the appropriate security warning
    reward points if helpful

  • Display a database item on display item

    please i have a varchar database item and i want to display the last item in this field on a display item what should i do and i used the row id to get the last value but it didn't work

    Still not clear what you are trying to achieve...
    it is just a non database item that i want to view the data in the database item in itIf it a "non database item", how can it have a relationship with a database value?

  • Portlet Item Attr: "Link That Displays Item in New Browser Window"

    I have been searching the forums for a similar experience, but haven't found anything quite like this:
    I have a couple of portlets. One is a Discoverer Portlet, the other is something more basic: The "Developer News" portlet from the 9iAS Community portlet provider.
    After defining the portlets and looking at them, I edit the page and click the Edit button (little pencil) to edit the attributes.
    There are radio buttons for Display Options.
    One option is: "Link that Displays Item in New Browser Window."
    When I select this, OK, and then go back to the page, **the portlet doesn't show at all any more! There is no link, no nothing. Note that I have defined a Display Name, which should be the text for the link.
    It would seem that this feature flat out doesn't work.
    This technique for a popup works fine for an "Item" defined in an item region.
    Anyone?

    Yes -- I did do that after reading an article on metalink about such issues.
    This actually changes the problem.
    When I add the "Display name and image link" attribute to the region, I now do get a link.
    However, clicking it brings up an undefined Discoverer portlet.
    It works great for non-Disco portlets. For instance, I was able to pop up the "Developer News" portlet from the Oracle 9iAS Community portlet provider.
    I think the problem is that the link that Disco produces does not provide enough information to bring up the particular portlet. For instance, the URL does not have the workbook name, the worksheet name, the parameter values, etc.
    If anyone uses Disco w/ the portal, I would be curious to hear if anyone can reproduce this apparent bug / limitation.

  • Function not returning database rows properly in non-database item

    Hi,
    I have 3 database items that I'd like to concatenate into one field and display it in a non-database item. I have setup two different methods to do this for testing purposes. First, I created three separate database items (SECTION, ROW, & SEAT_NUM) and a non-database item (SEAT). I created a formula (in SEAT) to do the concatenation and this way works fine. For my second method, I created a function where I selected the 3 fields and performed a concatenation into a single value to be returned in a seperate non-database item (SEAT_TEST).
    Here's my function:
    FUNCTION SeatLocation(p_id IN event.id%TYPE)
    RETURN VARCHAR2 IS
    CURSOR a IS
    (SELECT ltrim(rtrim(event.section,' '),' ')||' '||
    ltrim(rtrim(event.row,' '),' ')||' '||
    ltrim(rtrim(event.seat_num,' '),' ') seat
    FROM event
    WHERE event.id = p_id);
    BEGIN
    FOR rec IN a LOOP
    IF rec.seat IS NOT NULL THEN
    RETURN rec.seat;
    ELSE
    RETURN ' ';
    END IF;
    END LOOP;
    END SeatLocation;
    And I'm calling it in a POST_QUERY trigger with the following: :event.seat_test := SeatLocation(:event.id);
    I put both non-database items side-by-side, run the form, and the first method works fine. I doesn't quite work for the function to display in SEAT_TEST. For my program, an ID can have multiple seat locations and I'd like to display all those seats as I scroll through the form (for a given ID). What the function is returning is only the first records seat location even though there are two more locations (from the remaining two records) that need to be displayed, but are not. It works fine for the formula method. Is there a work around this within my function code and/or the SEAT_TEST item? I'd like to keep my function instead because I could use the code elsewhere. I thought that since there is more than one record retrieved for a particular ID, the for loop would return one value each loop iteration and display the different value seat locations as I scroll/arrow down through the form. I didn't know if you had to call the POST-QUERY trigger multiple times for the number or records you retrieve in the cursor. I hope this makes sense.
    Any advice would be greatly appreciated.
    Thank you,
    Eric

    Even though your function is written to loop through multiple records, as soon as it hits the first one inside the FOR loop, it returns that value. The Return command is an exit, so the function is done, and you cannot expect it to magically run a second time just because the cursor found more than one row.
    You need to pass the function all the parameters to form a unique key into the row you are looking up. ID is not unique.

Maybe you are looking for

  • How do i pare my iPhone 6 to my car?

    How do I pare my iphone6 to my car?

  • Ipad wont power on

    iPad less than a year old.  suddenly won't power on or charge

  • Java Test Help.  Very little experience

    Ok, first off I am taking a Java test for my school's computer science team. I was just placed on the team because they needed an extra person, so my Java experience is close to 0. I would just like to know how to find out some of the answers and wha

  • InDesign CMYK question

    How do you prepare a document for CMYK print in InDesign? I've already made sure that all imported images are in CMYK mode (by previusly editing them in Photoshop) - but how am I suposed to save the whole document in CMYK color mode? I tought it has

  • Printing over Windows Network

    Hi, I wonder if anyone can help me with this. I'm at University, trying to connect my MacBook to a printer, but my Uni doesn't support Macs. I've got the instructions for connecting to the address in command prompt in Windows. Does anyone know of a w