HOW TO ADD GROUP BY CLAUSE WHEN USING Jbo:Datatable

Would like to know if there are any provisions for adding a Group by clause so the data shown using DataTable Component cn be grouped.
eg:
Currently using DataTable component shows data as shown below.
Dept Name
10 ABC
10 DEF
10 PQR
20 XYZ
20 QQQ
Can this be done as shown bewlow
Dept Name
10 ABC
DEF
PQR
20 XYZ
QQQ
Thanks

Hi Sashi,
For a bc4j view object, the shape of the result set needs to be consistent. So, there can not be a groupby directly in the result set.
However, that does not prevent you from inserting a calculated column that performs a similar calculation.
Another mechanism might be to consider a master detail arrangement of the views where the master contains an aggregation of data from its children. You are then free to access and display this data as you choose.
Hope this helps,
Pete

Similar Messages

  • Please can you explain how to add adobe flash player when using Mozilla ?

    I cannot view videos without them constantly stopping.
    I have been told that I need to use adobe flash player.
    When I try to load this, though, the download will not work.
    A message apprears to say I must turn Mozilla Firefox off.
    Please can you explain how I can get around this ?
    Please note, I am not very good with computers, so it would be good if you can make the instructions as basic as possible.
    Many thanks !
    Trev Stafford
    <sub>edit: removed your mail address from public display, since the only thing it will attract are spam bots. you will be notified per mail once somebody replies to the thread. (philipp)</sub>

    Download the non-IE version of Adobe Flash for your system here:
    https://support.mozilla.org/en-US/kb/keep-flash-up-to-date-and-troubleshoot-problems
    Close the browser, and temporarily disable your anti-virus
    Install the non-IE version of Adobe Flash
    Re-enable anti-virus
    See that you have the current version here
    http://www.adobe.com/software/flash/about/
    replaced unofficial third-party download site link.

  • Oracle Text: How to add/get stopwords list when using Oracle Text world lexer?

    I have a use case that we currently use Oracle Text World Lexer to index and search multilingual documents. As we know that World Lexer does the language auto detection. I would like to know the following questions:
    Is there anyway I can get the current document's language that Oracle Text detected?
    Is there anyway to get the language's stopwords list?
    Any thoughts and points will be appreciated.
    - Charles

    1. If you're using 12c, you can use ctx_doc.policy_languages. (https://docs.oracle.com/database/121/CCREF/cdocpkg011.htm#CCREF24102)
    2. If you want multiple stoplists based on each document's language, you have to use the multi-lexer. For world_lexer, there is one stoplist; since the stoplists are somewhat dynamic (you can add but not remove them), the most accurate way to fetch the list is using ctx_report.describe_index or ctx_report.create_index_script and parse the report.

  • How to add field length constraints when using an existing JavaBean model

    Within our current project we used a O/R mapping tool to generate our JavaBean model. For e.g.
    <b>public class Person{
      private String name; ...getName() ...setName(...)
    }</b>
    The whole model is used within our Web Dynpro project. Now it's a requirement to implement field length constraints. Normally this is no problem using ISimpleType like the following:
    <b>attributeInfo = wdContext.nodePerson().getNodeInfo().getAttribute
    (IPrivate...IPersonElement.NAME);
    ISimpleTypeModifiable type = attributeInfo.getModifiableSimpleType();
    type.setLength(60);</b>
    But we've got an runtime exception that it is not allowed to modify the models datatype:
    com.sap.tc.webdynpro.progmodel.context.ContextException: AttributeInfo
    <b>(Basics.Person.name): must not modify the datatype of a mapped attribute</b>
        at
    com.sap.tc.webdynpro.progmodel.context.AttributeInfo.getModifiableSimpleType
    (AttributeInfo.java:337)
    The question is how could a workaround look like. Or is there nothing like that and we have to build a dictionary type tier upon our JavaBean model. Any ideas ?
    thx,
    s.w.

    Sabine,
    You may:
    1. Import JavaBeans model
    2. Create DDIC type with necessary constarints (string-based, max. length 60)
    3. Open editor for target model class and change type of property.
    See my blog /people/valery.silaev/blog/2005/06/29/apojo--almostplain-old-java-objects-as-model (section "Tweaking model classes") for details.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How to add 'Save Layout' button when use OO ALV?

    thx

    Hi,
    Try passing this parameter :
    <b>
    wa_variant-report     = sy-repid.</b>
    *-- Display Report
      CALL METHOD o_alvgrid->set_table_for_first_display
        EXPORTING
          it_toolbar_excluding    = lt_excl_func
    <b>      is_variant                   = wa_variant</b>
          i_save                        = c_a
          is_layout                    = p_layout
        CHANGING
          it_outtab                     = p_output[]
          it_fieldcatalog               = p_fieldcat[]
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                         = 2
          too_many_lines                      = 3
          OTHERS                               = 4.
      IF sy-subrc <> 0.
        MESSAGE i050 WITH text-004.    " Error in Displaying
        LEAVE LIST-PROCESSING.
      ENDIF.

  • How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one?

    Based on http://forums.adobe.com/thread/1308132?tstart=0 I decided to add each question seperately:
    Hello, I'm quite interested in buying Lightroom 5.2. I tried the RC which ran out now. Yet, I have a several questions that I can't really find good conclusive answers to, that I'd like to get answered before buying LR. Please don't write maybe like this or that (assumptions), since I don't want to start my whole workflow and then realize that I have to change everything around, so please answer, if you know for sure that something works and you are, preferably, using that method too.
    This is the biggest question, where I mainly want a conclusive answer:  How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one of them, using the same photos for editing. I won't use DNG. Details: I mainly use my older MacBook Pro, but would like to be able to use my PC as it's way better (Specs: i5 2500K, 16GB RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HDs that I could use, one for Backup and one for the actual Photos/Edits. I'll probably need to use it as my internal HDs are quite full, and I can't just delete stuff or move it to an (Developer programs, Lossless music, etc.).
    Based on this, how do I back up the whole thing e.g. Photos folder (all photos and edits, and preferably presets too)?

    I believe it should be possible to work cross-platform without having to relink files each time, or without having to keep exporting/importing the catalog, by keeping the single catalog and the image library on the one external drive which is then switched between systems as needed.
    Obvious first requirement is an external drive that is formatted in such a way (e.g FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalog AND the images parent folder are both established at the same level in one overall parent folder, then it should be possible to take advatage of Lightroom's ability to use relative paths rather than absolute paths to detect the images, no matter if the drive is named (Mac) or lettered (PC). This is how "export as Catalog" works, i.e. it creates a "package", aka a parent folder, containing the catalog and a replica of the exported images folder hierarchy alongside the catalog. Take that "package" to another system (same OS or not) and "it just works" even if the drive letter is different or the OS is different....because the relative path from catalog to images is still the same.
    I haven't tested this cross-platform (though I have between different PC systems with different drive letters) so for me it's still just a theory, but there may be others who have done this successfully.

  • How do I close a JInternalFrame when using subclasses and a separate cla...

    The heading should be: How do I close a JInternalFrame when using subclasses and a separate class for the actionListener?
    I have just created a JInternalFrame appclication and now I want to structure up my code. I have a Superclass that contains the usual settings for the two JInternalFrame:s, and the two subclasses with frame specific information. Both the JInternalFrames use the same OK button. I want to have the actionListener outside the classes to avoid repetition of code. But the dispose()-function does not work properly, it does not close the opened JInternalFrame. What�s wrong?
    class Superclass extends JFrame
         JButton b= new JButton("ok");    
         Superclass()
    class Subclass1 extends Superclass
         Subclass1 ()
              add(ok);
           ok.addActionListener(new Listener());
    class Subclass2 extends Superclass
         Subclass2 ()
              add(ok);
           ok.addActionListener(new Listener());
    class Listener extends Superclass implements ActionListener
         public void actionPerformed(ActionEvent e)
                   dispose();
    }How do I controll in the Listener class that the button in Subclass1 is beeing pressed?

    First of all I think I misunderstood your question. You said you had two internal frames, so I thought you wanted to close the internal frame.
    It now looks to me like you want to close the entire JFrame, which makes the code even a little easier. Something like:
    JComponent component = (JComponent)event.getSource();
    JFrame frame = (JFrame)SwingUtilities.windowForComponent( component );
    frame.dispose();
    Ok, I will make a try:
    public static Container getAncestorOfClass(Class c, Component comp)
    w.getAncestorOfClass(w, this); Fiirst you need to learn the basics of reading the API.
    "getAncestorOfClass()" is a static method. That means you don't use a variable to invoke the method. You use the class itself.
    "w" is a variable, which is a JFrame, but that is not what the first parameter should be. The first parameter is a "Class".
    "this" will refer to your Listener class, but you need the Component that generated the ActionEvent.
    When I thought you wanted to close an internal frame then the code would have been something like:
    JComponent component = (JComponent)event.getSource();
    Container container = SwingUtilities.getAncesterOfClass( JInternalFrame.class, component );
    JInternalFrame internalFrame = (JInternalFrame)container;
    internalFrame.invokeSomeMethodHere();If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)", that demonstrates the incorrect behaviour.
    http://homepage1.nifty.com/algafield/sscce.html

  • How to add group

    hi,
    pls tell me how to add group for the new instance... i created the user.. now i need to add group...
    pls tell me the commands.... waiting for reply....

    Hi user;
    When i create user and group i follow this
    -Login as root
    - groupadd dba (dba is my group which i want to create)
    or
    groupadd oinstall
    - create user and add it to group
    useradd -g dba -d /home/applmgr applmgr << you can give different user home if you want
    Please check
    http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/
    http://linux.about.com/od/commands/l/blcmdl8_groupad.htm
    Or simply type in shell man groupadd or man useradd << man mean is the user manuel
    Hope it helps
    Regard
    Helios

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • How to add an image over another using af:image

    How to add an image over another using af:image
    Thanks,
    Veera

    i have a image which is black strip. i have added that to af:image
    <af:image source="image1" id="image" />
    on the black strip, i need to add company logo.
    how to achieve it.
    Thanks,
    Veera.

  • How do I stop system sounds when using AirPlay on my MacBook Pro?

    Hi all,
    Probably a quick question, but I'm fairly new to Macs. I've a Macbook Pro 13 Late 2011 and now I've got an Apple TV, I use AirPlay. But how do I stop system sounds when using AirPlay?
    Many thanks in advance, Jon.

    Open AirPort Utility located in HD > Applications > Utilities
    From the AirPort Utility menu bar click AirPort Utility > Preferences
    Deselect:   Monitor AirPort base stations for problems

  • How to add target to jmsSystemResource MBean using JMX

    Does anybody know how to add target to jmsSystemResource MBean using JMX in WebLogic 9.0?(I am not using WSLT) I always get "NoSuchMethodException":
              [jmsServer] Caused by: java.lang.NoSuchMethodException: addTarget(weblogic.management.configuration.
              TargetMBean,) for com.bea:Name=admin01DefaultJMSServer,Type=JMSSystemResource

    go to the object which u want to compare
    go to->version management->select the TR request no->and select remote comparision there->and give the system where u need to compare this object
    and next press compare
    hope it will work
    cheer
    s.janagar

  • HT5654 how to add videos to the ipad using the latest version of itunes

    how to add videos to the ipad using the latest version of itunes ?

    Hello zaraa90,
    After reviewing your post, I have located an article that can help with syncing content. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
    Sync your iPhone, iPad and iPod with iTunes using USB
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How can I customize the toolbar when using the attribute browser

    In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
    Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
    Solved!
    Go to Solution.

    Luis,
    It's nice to have you back 
    Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
    So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)... 
    Thanks
    Wolfgang
    Source code:
    UI editor:
    Attribute browser:

  • How to add discussions to Collaboration Room using Rooms API

    Hi All,
    How to add discussions to any room using the Rooms API?
    I looked at the NW04s javadocs, but could not find which would help?
    Any pointers will be appreciated.
    Regards,Sandip

    Hi All,
    Any help!
    Any help from SAP? Are the discussion APIs available?
    Any input is appreciated. Thanks
    Regards
    Sandip
    Message was edited by:
            Sandip Agarwal

Maybe you are looking for

  • Songs cannot be synced: playlists selected for syncing no longer exist

    "Songs on the ipod cannot be synced because all of the playlists selected for syncing no longer exist" I finally filled all of the memory in my nano for the first time, and I got a popup to put all of my playlists in one file so it wouldn't take up a

  • How determine album site of a photo in iphoto library?

    I have a collection of about 10,000 photos, many of them vintage from scans, and desperately need to know the multiple album locations of each one. One reason for this need is if I determine the ancestory for a particular individual is not as first t

  • Unable to read messages in PC Suite

    Good afternoon. I have done a search for similar threads on this topic but have been unable to find any. Currently using Windows 2000 Pro, PC Suite 6.82.22.0 and bluetooth connection to Nokia 6230i. My problem is that I have some messages that are qu

  • Can't update my iPad Air to iOS 7.0.6

    I bought a new iPad Air WI-FI only its on iOS Version 7.0.4 and when i try to update it to 7.0.6 in the settings menu when its about half way through it sais something like sorry an error occured the update was cancelled.

  • Extractors in CRM returning 0 records

    hello evryone, could anyone please let me know, if they have come across these Extractors such as 0CRM_CONTACT_OUT,0CRM_OPPT_H,0CRM_OPPT_I how do they really work, upon some requirement i need these datasources in use. when i try to extractor check i