"SUM" keyword does not show results in query manager

Im using the sql keyword sum in my query which displays sum of doctotal for all sales order created by a particular sales employee.. but it is just showing the doctotal row wise. Is there sum limitations on the sql syntax that can be used?
Also is it possible to show the sum of doctotals without callin it at row level,as we are printing redundant data. Im not using PLD as the requirement is just to show the result of the query.
Please help
Regards
Aris

Try the query as
select sum(t.total) from
SELECT T0.DocNum, T0.DocTotal,T0.DocTotal - T0.VatSum, T0.DocDate, Sum(T0.DocTotal) as Total,Sum(T0.DocTotal - T0.VatSum) as withoutTax FROM ORDR T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.SlpName ='Rajesh Nair' and T1.SlpCode -1
GROUP BY T0.DocNum, T0.DocDate, T0.VatSum, T0.DocTotal
) t
or in one query at the end as sum as
SELECT T0.DocNum, T0.DocTotal,T0.DocTotal - T0.VatSum, T0.DocDate, Sum(T0.DocTotal) as Total,Sum(T0.DocTotal - T0.VatSum) as withoutTax FROM ORDR T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.SlpName ='Rajesh Nair' and T1.SlpCode -1
GROUP BY T0.DocNum, T0.DocDate, T0.VatSum, T0.DocTotal
UNION
select null, null, null, null, sum(t.total), null from
SELECT T0.DocNum, T0.DocTotal,T0.DocTotal - T0.VatSum, T0.DocDate, Sum(T0.DocTotal) as Total,Sum(T0.DocTotal - T0.VatSum) as withoutTax FROM ORDR T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE T1.SlpName ='Rajesh Nair' and T1.SlpCode -1
GROUP BY T0.DocNum, T0.DocDate, T0.VatSum, T0.DocTotal
) t

Similar Messages

  • Sometimes Firefox will not open, telling me, it is already running. It does not show in the task manager and the only solution is to reboot.

    Firefox is running. I close the program. I try to reopen it. I get an error message: Firefox is already running. It does not show in the task manager, nor anywhere else. I can not close the old version, nor start a new one. I have to reboot.

    Did you look in the Processes tab in the Task Manager?
    See also "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • W520 Smart Card reader does not show up in Device Manager

    W520 Smart Card reader does not show up in Device Manager.
    It was working before and now nothing.  Nothing happens when SD card plugges in.
    Could my smart card reader stop working or is this a configuration issue?
    Any thoughts?
    thanks
    Ian

    Hi  Ian,
    Welcome to the community, and thanks for the post.
    The issue is related with software, to resolve this you need to re-install the card reader driver from the below mentioned web link.
    http://support.lenovo.com/en_SG/downloads/default.page?
    After that check if the issue get resolved.
    Regards,
    Sameer
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Graphics Card Does Not Show Up In Device Manager (Re: Installing AMD Video Drivers - Windows 8.1 (Step-By-Step Tutorial)

    This tutorial is a step-by-step tutorial on how to "fix" issues of a new graphics card not appearing in Windows 8.1 Pro, or not appearing (as a device) in Device Manager, or it's not being detected by Windows 8.1.
    This is the "second part" of a Step-by-Step Tutorial on how to install AMD Radeon graphics card drivers in Windows 8.1 Pro.
    GRAPHICS CARD IS NOT DETECTED AND DOES NOT SHOW UP IN WINDOWS 8.1 DEVICE MANAGER
    This problem can appear if the video card is not installed properly in the PCI slot and as a result the card is not detected in device manager. Check the physical connections again, reinsert the card properly in the PCI slot, check the connections (including the power cables going to the video card, and ensure that the fan on the graphics card is spinning and the card does have power and is properly seated/inserted) and then install the drivers from the manufacturer’s website.
    If the video card is in fact installed properly, but the problem of the video card not being discovered/found by the operating system persists, then try these following methods below to check if this solves the problem.
    Method 1:
    First, I would suggest you to run the following Microsoft Fixit to get the problem automatically detected and fixed. This Microsoft "fixit" App checks if the device is currently disabled or turned off or the driver is not installed.
    Hardware devices are not working or are not detected in Windows.
    http://support.microsoft.com/mats/hardware_device_problems/en-us
    Method 2:
    Sometimes, some devices in device manager are hidden due to corrupt or missing drivers.
    Follow the steps below to show hidden devices in the device manager and troubleshoot accordingly.
    Press the Windows key + X
    Select Command Prompt (Admin)
    Type set devmgr_show_nonpresent_devices=1 and hit enter
    Type Start DEVMGMT.MSC and hit enter.
    Once in Device Manager hit the View menu and select show hidden devices.
    From here, remove each instance of the AMD or Nvidia card you see as well as each unknown device. Exit Device Manager and reinstall the latest drivers you can find for your graphics card.
    After you install the drivers, reboot and see if you get any different results.
    If the above solved your problems and the Graphics Card is now working and is now being properly detected/displayed in Windows Device Manager:
    If your graphics card is now being detected by Windows 8.1 in Device Manager, but has a "yellow exclamation" mark (or video drivers are not found or not properly installed or the device is disabled) then install the latest graphics card drivers and proceed with this Step-by-Step Tutorial on how to install AMD Radeon graphics card drivers in Windows 8.1 Pro.
    Method 3:
    If methods suggested above does not help, I would recommend you to contact Apple/AMD/NVIDIA to get the latest chipset, BIOS, graphics card drivers installed properly.

    This tutorial is a step-by-step tutorial on how to "fix" issues of a new graphics card not appearing in Windows 8.1 Pro, or not appearing (as a device) in Device Manager, or it's not being detected by Windows 8.1.
    This is the "second part" of a Step-by-Step Tutorial on how to install AMD Radeon graphics card drivers in Windows 8.1 Pro.
    GRAPHICS CARD IS NOT DETECTED AND DOES NOT SHOW UP IN WINDOWS 8.1 DEVICE MANAGER
    This problem can appear if the video card is not installed properly in the PCI slot and as a result the card is not detected in device manager. Check the physical connections again, reinsert the card properly in the PCI slot, check the connections (including the power cables going to the video card, and ensure that the fan on the graphics card is spinning and the card does have power and is properly seated/inserted) and then install the drivers from the manufacturer’s website.
    If the video card is in fact installed properly, but the problem of the video card not being discovered/found by the operating system persists, then try these following methods below to check if this solves the problem.
    Method 1:
    First, I would suggest you to run the following Microsoft Fixit to get the problem automatically detected and fixed. This Microsoft "fixit" App checks if the device is currently disabled or turned off or the driver is not installed.
    Hardware devices are not working or are not detected in Windows.
    http://support.microsoft.com/mats/hardware_device_problems/en-us
    Method 2:
    Sometimes, some devices in device manager are hidden due to corrupt or missing drivers.
    Follow the steps below to show hidden devices in the device manager and troubleshoot accordingly.
    Press the Windows key + X
    Select Command Prompt (Admin)
    Type set devmgr_show_nonpresent_devices=1 and hit enter
    Type Start DEVMGMT.MSC and hit enter.
    Once in Device Manager hit the View menu and select show hidden devices.
    From here, remove each instance of the AMD or Nvidia card you see as well as each unknown device. Exit Device Manager and reinstall the latest drivers you can find for your graphics card.
    After you install the drivers, reboot and see if you get any different results.
    If the above solved your problems and the Graphics Card is now working and is now being properly detected/displayed in Windows Device Manager:
    If your graphics card is now being detected by Windows 8.1 in Device Manager, but has a "yellow exclamation" mark (or video drivers are not found or not properly installed or the device is disabled) then install the latest graphics card drivers and proceed with this Step-by-Step Tutorial on how to install AMD Radeon graphics card drivers in Windows 8.1 Pro.
    Method 3:
    If methods suggested above does not help, I would recommend you to contact Apple/AMD/NVIDIA to get the latest chipset, BIOS, graphics card drivers installed properly.

  • My Laptop Pavilion 9700 will not recognize DVD/CD drive. Does not show up in Device Manager

    My laptop Pavilion 9700 will not recognize the DVD/CD drive:
    The drive does not show up in the Device Manager’s list:  The disk spins and the light is on: Use a
    paper clip to open the door;  I updated
    to Sevice Pak 2 recently, but I am not sure if this has anything to cause this
    problem:  Please Help, anyone!
    Thanks

    Hi,
    Follow the procedure on the link below to create a bootable Ubuntu CD and follow the steps in Part 3 to 'Try it' to see if this OS will run from the CD without the need to install on your HDD.  This will show whether the problem is with Windows or a Hardware problem with the optical drive.
    http://www.ubuntu.com/desktop/get-ubuntu/download
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • PLD Report does not show data from Query

    Hello,
    SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
    Thanks,
    Nick

    Hi Nicholas,
    Please check below links.
    query based print layout design
    Print Layout Designer \Custom Reports
    How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
    http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • Album Art does not show when you Manually Manage your ipod

    I currently have a 80gb ipod using itunes7 and when i add mp3s with artwork to my ipod manually the artwork does not appear. the option to display album artwork is one. if i change the settings so that my ipod syncs with itunes, and i drag the same mp3 to my library (then sync the ipod), the artwork will then appear.
    the artwork does appear when i right click on the song and "get info"
    i have already tried disabling then re-enabling the "display album artwork" setting. when enabled i waited for the "optimizing artwork" for quite a bit, disconnected and there was still no artwork showing.
    is there a setting i am missing or is this just a bug? using the library is NOT an option for me.
    sager   Windows XP  

    I've had the same issue -- but you'll find when you disconnect the iPod and try to play the albums on your iPod itself that the artwork is actually there on the iPod. It just doesn't show in iTunes when you select info on particular songs on your iPod.

  • Application does not show up in the manager console -- Java Web Start

    Hi...
    I have downloaded the jnlp file so many times but still the aplcation is not displayed in the JWS manager console.
    This my jnlp file : -
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://2m6:8100/jws/" href="ChatApplication.jnlp">
    <information>
    <title>Chat Trial</title>
    <vendor>SAI</vendor>
    <description>Just an example</description>
    <icon href="images/icon.gif"/>
    </information>
    <security>
    <all-permissions />
    </security>
    <resources>
    <j2se version="1.3"/>
    <jar href="chatapplication.jar"/>
    </resources>
    <application-desc main-class="ChatImpl"/>
    </jnlp>
    Can anyone give me any suggestions???? They are welcome.
    -Sid

    Actually this problem usually occurs as a result of the way you have configured your href line for the jnlp file. If you are still having some problems try putting in:
    href="http://2m6:8100/jws/ChatApplication.jnlp"
    See if that helps it at all. It's possible that it's not using the relative reference combined with the codebase URL given.

  • Second HDD on my HP Envy 17 j013cl is not recognized. It does not show up in Disk Management.

    I'm trying to install a second HDD (Western Digital Blue, 1 tb). I just purhcased the caddy & cable that works with my HP Envy 17 j013cl model. Everything looks good, but the computer does not recognized the hard drive. The HDD definitely works becasue I can use the SATA to USB cable to access the drive and put files in it. The format is in NTFS.
    What are your recommendations?? Is the second port broken?

    Thanks for the reply.
    I got it from amazon, but the title says it is from Newmodeus as well:
    http://www.amazon.com/gp/product/B00GIGJYBG/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
    I'm pretty sure I'm aligning the cable right, but my laptop is not recognizing it.

  • Sound and audio does not show up in device manager hp pavillion dv6500

    No audio output device installed. Sound and audio not listed under device manager hp pavillion dv6500 system bios f.2a-02/22/2008

    Hi @Cynthia0 
    I understand that you have no audio device showing up in device manager.  I am happy to help you with this.
    Please post the full product number for your notebook. See the following, if you need help with that information.
    How Do I Find My Model Number or Product Number?
    Once I have that, I can find the proper driver and support page for you.
    For now check through this page: Resolving No Sound or Audio Problems (Windows Vista)
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Easy query is not showing on Easy query Management(Browser)

    Dear all,
              I want to consume a bex query into SAP UI5. For that I found this document:-
         http://cms.int13h.nl/wordpress/wp-content/uploads/2013/01/How-to-Create-OData-Services-for-Analytic-Queries.pdf
         In this document, the first step is to define a query as EasyQuery. So I checked the option "By Easy Query" under Release for External Access.
         After this I checked in Easy Query Management using EQMANAGER tcode, but there was no entry found for this query. It was blank.
         Please help me in this issue.

    HI Antony Jerald J,
    Do you have variables in your Bex Query.
    Please check the pre requisites in the following link:
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/b6/53d6c4e26a4504b8971c6e690d2105/frameset.htm
    BR
    Prabhith

  • Google search does not show results must press RELOAD button for it to work

    Hello,
    I am using FF 17.0. This just started recently.
    When I go to Google and enter a search word and hit "enter" the results page loads with just the top header and a blank screen otherwise. I need to hit the RELOAD button in the address bar for everything to complete with results..
    Then, after scrolling thru the results to the bottom of the page and hitting ENTER to go to the next page, again the same thing happens. I need to hit the RELOAD button again for more results.
    This happens for every search I do when using FireFox.
    It works perfectly fine in IE. I hate IE.
    Any help would be greatly appreciated.

    Is is best not to use extensions like Fasterfox that change network.http settings.<br />
    You should leave them at the default as changing them can cause problems with some servers.
    You can check the network.http.* prefs on the about:config page.<br />
    Reset network.http prefs to the default value via the right-click context menu -> Reset if they are user set (bold).

  • Visual Studio profiler does not show results for XAML + DirectX project

    The case is simple: 
    1) The solution consists of 3 projects:  2 C# ones  (C# XAML project + C# library project) and one C++ runtime component initially created by the wizard, as this is a DirectX project.
    2) "Start Windows Phone application analysis"  runs OK, but when stopped  no profiling results are shown. The message is "0 total samples collected", "No call tree data is available".
    How can this problem be fixed?  What are the assumed reasons?

    (I know the thread is old - but I have found some threads on the net asking about this problem, but nowhere answered, so I'll rectify this here)
    Hey,
    do you happen to have been profiling the *release build* ?
    If so, try this:
    In solution explorer, right-click on the native C++ project -> Properties -> Configuration Properties -> Linker -> Debugging
    The top-most field "Generate Debugging Info" is probabyl empty, which is default for release build. But debugging info is needed to sample-profile functions! So select "Yes" there, and make sure the next option, "generate program
    database file" has a sensible entry.
    For me, this did it.

  • URGENT Lenovo g550 webcam does not show up in Device Manager and all drivers cannot be installed

    Hello everyone. So my lenovo g550 webcam stopped working after I did a clean install of windows 7 home. When I go under device manager I do not see any unknow devices. When I also go to show hidden devices it is not there. Could anyone give me information about how to fix this and if the cable to the webcam might be broken. If so, is there a way I could convert the webcam's pin outs to usb to test it. I have split an old usb cable into four colored spots. Not sure if i want to test it though. That would be my last resort. If needbe, can you tell me the pin outs for the webcam. It has five connectors. The reason I know this is usb is because my older installation on windows 7 detected it and said that the usb could be faster. Thanks.

    Sorry about that. I've only been a member for a few days. I will remove the post with all Capps. Have a nice day!

  • T61p - IEEE 1394 (Firewire) port does not show up in device manager in Windows 7 x64

    I have a T61p.  On the front, in the left corner, right next to the wireless on/off switch, is a IEEE 1394 (Firewire) port.  However, if I plug anything into it, it's not recognized by Windows, and if I go into the device manager in Windows, there is no IEEE 1394 host manager or ports or anything listed there.
    I have rebooted and gone into the BIOS, and I don't see anything in there about 1394 either.  Is the port there, but the hardwire inside is missing?  Do I need to enable it somehow?

    Let me clarify that.  I have something in the device manager called "SD Host Adapters", and under that "SDA Standard Compliant SD Host Controller".  That thing has a Microsoft driver.
    However, under "IDE ATA/ATAPI contollers", I do see "Ricoh Memory Stick Contoller", "Ricoh SD/MMC Host Contoller", and "Ricoh xD-Picture Card Contoller".
    I also have "PCMCIA adapters" that has "Ricoh R/RL/5C476(II) or Compatible CardBus Contoller".
    So, it would seem I have the right drivers for the card reader, I'm just missing anything for the IEEE 1394 contoller...

Maybe you are looking for

  • How do I graph multiple bit values on one time axis?

    I want to graph multiple bit values, all of which will change back and forth from 0 to 1, on the same time axis, but I don't want any visual overlap between the different bit value traces.  Now I could do this by graphing bit one as either 0 or 1, bi

  • X-Fi XtremeGamer Fatality Pro Series & WIN 7 - help !

    As mentioned in the subject of this post, I have a Fatality Pro Series Xfi Xgamer PCI card. Everything seems to be working fine in WIN7-64bit except..... I cannot seem to locate a version of the THX Console Launcher. Granted, there isn't much I canno

  • Offline Media

    I have AME 2014.1 set to not render when there is any offline media.  The render will fail with the sheep sound and provide the offline media explanation.  That's fine, it stops me from wasting time on an export that I won't be able to use. The probl

  • Converting Vector shapes from Photoshop to Indesign

    I am trying to convert a Photoshop document to an Indesign document. I have vector shapes that I want to transfer to the new INDD document. However, I cannot seem to find a workaround that maintains the ability to edit the vector shapes once placed i

  • Search for a string

    Hello! It´s me again... I´ve created a VI that outputs a sting with a filepath if an error has occured. This is to be displayed on the screen when the measurement is stopped. So, this VI is located in a FOR loop. Enable indexing is active. I have wir