QUESTION NOT YET SOLVED

i have table snp_op_detail in payman shema, I have another table organisation_t in hrman schema. i want to select payman.segment3, hrman.descr, hrman.leader and SUM(payman.period_activity_a). I also want the total of payman.period_activity_a, not subtotal. where payman.segment3 = hrman.org_member_id. I used rollup as given below, it gave me 3 copies of the same row.
Question: How can I get total without using rollup? my boss doesn't want the triplicate rows.
select a.segment3, b.descr, b.leader, sum(a.period_activity_a) from payman.snp_op_detail a,
hrman.organisation_t b
where a.segment3 = b.org_member_id and
a.segment3 between 4000 and 5999 and
a.segment2 != 6651 and
a.segment2 between 5400 and 8999 and
a.period_name in ('JAN-11', 'FEB-11', 'MAR-11', 'APR-11', 'MAY-11', 'JUN-11',
'JUL-11', 'AUG-11', 'SEP-11','OCT-11','NOV-11', 'DEC-11')
group by rollup (a.segment3, b.descr, b.leader) ;

Hi,
OlaTunde wrote:
Question: How can I get total without using rollup? my boss doesn't want the triplicate rows.you mean that ? :select a.segment3, b.descr, b.leader, sum(a.period_activity_a) from payman.snp_op_detail a,
hrman.organisation_t b
where a.segment3 = b.org_member_id and
a.segment3 between 4000 and 5999 and
a.segment2 != 6651 and
a.segment2 between 5400 and 8999 and
a.period_name in ('JAN-11', 'FEB-11', 'MAR-11', 'APR-11', 'MAY-11', 'JUN-11',
                   'JUL-11', 'AUG-11', 'SEP-11','OCT-11','NOV-11', 'DEC-11')
group by rollup (a.segment3, b.descr, b.leader)
having (
grouping(a.segment3)=0 and grouping(b.descr)=0 and grouping(b.leader)=0)
or
grouping(a.segment3)=1 and grouping(b.descr)=1 and grouping(b.leader)=1)
);Or just a normal group by (ie: remove the word rollup) ?select a.segment3, b.descr, b.leader, sum(a.period_activity_a) from payman.snp_op_detail a,
hrman.organisation_t b
where a.segment3 = b.org_member_id and
a.segment3 between 4000 and 5999 and
a.segment2 != 6651 and
a.segment2 between 5400 and 8999 and
a.period_name in ('JAN-11', 'FEB-11', 'MAR-11', 'APR-11', 'MAY-11', 'JUN-11',
                   'JUL-11', 'AUG-11', 'SEP-11','OCT-11','NOV-11', 'DEC-11')
group by a.segment3, b.descr, b.leader;

Similar Messages

  • "Did not respond" (similar threads have not yet solved)

    Please help.
    Background: new mac user who bought powerbook g4 to keep in touch with family overseas on iChat. continually receiving 'did not respond' message whether initiator or receiver of video chat invitation (text chat is OK). I've read several threads on the subject and reconfiguration attempts to date have not yet solved the problem.
    Current setup:
    Westell 6100 modem with DSL connection >>
    Linksys RT31P2 voip router >>
    Linksys WRT54GX4 wireless router
    --Ports open on both devices per thread and portforward.com suggestions: 5060, 5190, 5220, 5222, 5297, 5298, 5353, 5678, 16384-16403
    --mac firewall off
    --tc/ip airport connection using DHCP
    Other solutions attempted:
    re-order of routers, modem>>wireless router >> voip router = no success
    Thank you kindly in advance for any advice.
    --Betsey
    powerbook g4   Mac OS X (10.4.5)  

    Hi betseygkeely,
    Welcome To The Apple Discussion Pages.
    If you are using a VoIP service reorder the devices.
    Modem <-> Linksys WRT44GX4 <-> Computers and Linksys RT31P2 on different ports from the Links WRT
    Make sure the Westell is not doing DHCP.
    Get the Linksys WRT45GX4 to do any DHCP if anything does.
    Set the UPnP in the Linksys WRT45GX4 in the Adminsration tab.
    9:39 PM Sunday; February 26, 2006

  • Not yet solve....TAX Report regarding (client)question

    Client asked to me in interview, please give me answer
    This is regarding US PAYROLL
    1  Transaction PU19 Reports for tax reporting/Tax Returns / Files for State Unemployment Reporting on CD or Diskette :-
      We have issues on some reports regarding address, page numbers and totals. Alex worked on it and told that we need to contact SAP         for help as he thinks problem is with SAP Forms itself.  Currently typing manual returns pending changes to forms.
    2 Deposits on 941 form:-
       Can we update the form to include tax deposits made on the 941 line for deposits?
    3 State Tax Returns not configured in SAP:-
       Can we have state tax returns configured in the PDF format also?
    4 Printing of W-2:-
    Need to be able to print W-2s so we can fold/seal so address apprears on outside for mailing.  Duplex or 11/14 form?  Our folder/sealer uses pressure seal self sealing forms.
    5 Documentation of Processes (Benefit and Garnishment):-
    6 Configure benefit changes for 2009:-
    7 Update benefit tables / rates for 2009:-
    8 'Update SUT rates for new year:-
    9 New 401k Limits Entered :-
    Documentation how to do this
    10 W-2 Reporting, Non Taxable Relocation, Personal Use of Company car (Box 12 and 14 items) for W-2 Reporting:-
    11 Deceased Employee Payments:-
    How do we handle so W-2 is correct and any 1099 items handled correctly
    12 'Mag Media File - Federal (annual):-
    'RS record missing from Magnetic Media file.  Can this be included in the Federal Mag Media file?  Kathy has sent some changes that need to be made to Frank.
    13 'State Mag Media Files and State annual returns:-
    Have some states that we must file by diskette file.  Can we also have annual state tax returns configured in the PDF format?
    14 Federal 940 Return:-
    Make sure this form is configured correctly
    15 Pension Plan Indicator box on W-2:-
    Tested and is not showing on the W-2 or in the Mag Media file
    16 Third Party Sick Pay indicator box  on W-2:-
    Tested and is not showing on the W-2 or in the Mag Media file
    17 Retirement Calculation:-
    18 Year end close procedure:-
    What all has to be done before we can close the year and print W-2's.  Do we have to do any zeroing of wages, taxes and deductions before the first check of the new year can happen?
    19 Sort order for W-2 printing:-
    20 941 Correction Form (941C):-
    Need training on how this is handled
    21 'W-2 correction form (W-2C):-
    Need training on how this is handled
    22 'Payments received in January that affect prior year W-2:-
    'How do we handle.  We receive info in January that must be included on the prior year W-2.  Want to be able to include on original W-2 without filing a W-2C. (Third Party Sick Pay, Payments made in Mexico, Germany, etc) Usually don't receive.
    Regards

    Aswin,
    The client session is your primary TopLink interface abstracting over the shared cache and connection pooling. Depending if you are using internal or external connection pooling and the transaction state you are in TopLink may have a JDBC connection allocated to your client session. A client session does equate to a single dedicated JDBC connection for its entire lifecycle.
    Assuming you are using an external connection pool (Application server's data source) your client session will have a connection from this data source when required to perform a read and during the commit of its UnitOfWork.
    Doug

  • Radio Button problem (not yet solved !!! --- Top Urgent )

    In Forms 5.0,I have created a entry screen which consists a
    radiogroup with 2 radio buttons. In new-form-instance trigger, I
    have written: execute_query ;: last_record;
    It shows me the last record but it shows my radio group with no
    button selected.: If I go back to the previous record, it shows
    me the record
    with : one of the radio button selected.
    My question is why it does not show radio button selected when my
    when-new-form-instance trigger fires ?
    Please note : Property palette of Radio Group & Radio buttons
    have been correctly assigned .
    null

    Shamsad Khan (guest) wrote:
    : In Forms 5.0,I have created a entry screen which consists a
    : radiogroup with 2 radio buttons. In new-form-instance trigger,
    I
    : have written: execute_query ;: last_record;
    : It shows me the last record but it shows my radio group with no
    : button selected.: If I go back to the previous record, it shows
    : me the record
    : with : one of the radio button selected.
    : My question is why it does not show radio button selected when
    my
    : when-new-form-instance trigger fires ?
    : Please note : Property palette of Radio Group & Radio buttons
    : have been correctly assigned .
    Shamsad Khan,
    In Forms5.0, try setting Mapping of other values properties.
    regards.
    null

  • Management of Global Employees-Already raised not yet solved still now

    Hi Guys
    I had created Compensation package Item In Table Define compensation package item T76MGE_CPI_N.
    I had maintain the Comp. package item in Mapping table to Wage types While i am generating Policy Tracking its showing that maintain Particular (CG-Base is my CPI) in Customizing table T76MGE_ACPI and T76MGE_BCPI for calculation purpose.
    my problem is,while i am maintaing the data in T76MGE_ACPI and T76MGE_BCPI,its not showing my Compensation Package Item.
    Is there any navigation path in IMG?If so,where?
    regards
    thiru

    Hi SAP gurus
    Wether u understand the quries ?
    otherwise ,wether i want to give details more than this.
    If u need ,i will
    i am expecting quick response from ur side.
    Your consideration is highly appreciateable
    regards
    Thiru

  • Not yet solved, /usr/lib/systemd/systemd does not exit

    Hi,
    I was on 3.8.2 kernel, and did a full system backup with rsync to later upgrade, but after upgrading and rebooting, it just shows me
    Error: Root device mounted successfully, but /bin/systemd does not exist.
    Bailing out, you are on your own. Good Luck
    tty's could not initialize [*or something similar, I'm not sure]
    [root /]#
    Then I just replaced my system with the backup I did earlier. But it shows the same
    I did search for info but no clue.
    Currently trying with an older backup.
    Thanks in advance
    Last edited by arcaid (2013-05-14 23:58:26)

    progandy wrote:
    Error: Root device mounted successfully, but /usr/lib/systemd/systemd does not exist.
    The initscript tests if init is executable, so "does not exist" could also mean "is not executable"
    Somehow your root has a problem with its execute permissions. Did you somehow remove them, /usr/lib/systemd/systemd should be 755 or "-rwxr-xr-x"?
    While I'm not sure why is this modified, maybe the backups I did doesn't hold the attributes, I'm storing them in an NTFS partition but it can store the attributes doesn't it?
    Well I changed the attributes as you mentioned, but then it makes me wonder if then pretty much the other root files are too with other attributes..which is really bad.
    Nevertheless I changed it and now it shows permission denied and a kernel panic, sigh.
    Here is an image of it: http://imageshack.us/photo/my-images/689/dsc06698b.jpg
    Thanks in advance
    @Pantera
    The problem here is kinda different, while at the beggining it was the problem you mention and solution, now the thing is that it says that "/usr/lib/systemd/systemd does not exit" and not /bin/systemd which it was in the beggining. thanks though.

  • Do I have to change to a Verizon Plan for a new smartphone?  Issue not yet solved....

    Hey everyone,
    I am an old Alltel customer who is still using the same Alltel plan.  I am on a family plan and I believe we pay around $233 which includes 5 phones will unlimited texting/picture messaging, and of those 5, 2 are smartphones. 
    I am wanting to upgrade my own "basic" non-smartphone to a smartphone this year, but have been told that I will have to change to a Verizon plan.  I understand that I have to buy a $30.00/month plan for the smartphone, but I have to actually rechange my whole plan? 
    I have been told from the 1-800 number that nothing will change, besides adding the $30.00 fee, but I have been told at a local office that I will lose my unlimited texting, hence, going onto a Verizon contract and paying more money.
    Please tell me that VZW is not that money driven, and if they are, what is the best possible plan that can get me the same features for around the price I am paying, with a 3rd smartphone?
    I thought I'd post this because there haven't been any posts of this nature lately after VZW got sued for $25 million, thinking maybe VZW will allow Alltel customers to updgrade to a data phone.   
    Thanks in advance for the help!

    Actually it was brought up this AM and I replied there. Here is the link.

  • Hydrobuddy Not-yet-solved

    I would like to use a program called HydroBuddd, a nutrient solution formulation program. It has a linux build, but I am unable to install it. Is there anyone who would be kind enough to put it in the AUR?
    link to program: http://scienceinhydroponics.com/2013/02 … ram-o.html
    Last edited by Japanlinux (2014-10-04 17:47:13)

    Yeah, if you read the PKGBUILD I posted, it uses Lazarus. I'm going through some bug reports right now, then I'll have time to get back to this.
    Edit: Figures, this program is very much written for Windows. Had to dump it to /opt to make things work right.
    Please test this and let me know how it goes. If everything's fine, we can upload it to the AUR.
    # Contributor: Doug Newgard <scimmia at archlinux dot info>
    pkgname=hydrobuddy
    pkgver=1.50
    pkgrel=1
    pkgdesc="Hydroponic Nutrient Calculator"
    arch=('i686' 'x86_64')
    url="http://scienceinhydroponics.com/2013/02/the-first-free-hydroponic-nutrient-calculator-program-o.html"
    license=('GPL' 'BSD')
    depends=('gtk2')
    makedepends=('lazarus')
    source=("http://scienceinhydroponics.com/${pkgname}_v${pkgver/./_}_src.zip")
    sha256sums=('52b575cf09f4b0891cee51abb1c9f3aa26df139ca2e0292fda5b54af17e6f509')
    prepare() {
    cd "$srcdir/${pkgname}_v${pkgver/./_}_src"
    sed -i 's/, TCIOFLUSH/, Pointer(PtrInt(TCIOFLUSH))/g' synaser.pas
    build() {
    cd "$srcdir/${pkgname}_v${pkgver/./_}_src"
    lazbuild --lazarusdir=/usr/lib/lazarus hydrobuddy.lpi
    package() {
    cd "$srcdir/${pkgname}_v${pkgver/./_}_src"
    install -d "$pkgdir/opt/hydrobuddy/" "$pkgdir/usr/bin/" "$pkgdir/usr/share/licenses/$pkgname/"
    install -m755 hydrobuddy "$pkgdir/opt/hydrobuddy/"
    install -m666 -t "$pkgdir/opt/hydrobuddy/" *.dbf *.mdx update.ini
    echo "cd /opt/hydrobuddy; ./hydrobuddy" > "$pkgdir/usr/bin/hydrobuddy"
    chmod 755 "$pkgdir/usr/bin/hydrobuddy"
    sed -n '/Copyright/,$p;/DAMAGE\./q' synautil.pas > "$pkgdir/usr/share/licenses/$pkgname/BSD.txt"
    Last edited by Scimmia (2014-09-16 04:57:12)

  • I'm trying to change my secret question because I forgot to answer. Followed all the instructions, but not yet I receive a message to let me change the answer, I tried more than once, but without an answer

    I'm trying to change my secret question because I forgot to answer.
    Followed all the instructions, but not yet I receive a message to let me change the answer, I tried more than once, but without an answer

    See this thread:
    https://discussions.apple.com/message/23280567#23280567

  • Requests to change the security question but have not yet found an email

    Requests to change the security question but have not yet found an email

    If you aren't receiving the email on your rescue email account (and you've checked the spam folder on the account and tried clicking the reset link again) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699

  • Question for the people who have a not yet shipped

    my 3gs status is not yet shipped and after seeing all of the progress people are getting with their phones, I am naturally feeling a little left out. My question is, is this normal? With such a high volume moving in the matter days, is it possible that people aren't receiving an update on any web source but the phone has shipped anyway? Or on the other side of things, is it possible that some or many may slip through the cracks (even though they ordered on or a little after last Monday) and not get a Friday delivery?
    Maybe some can shed some experience from the 3g launch.
    Thanks

    I am in the same situation as you. Is this normal... no idea. I have called Apple 3 times about it, and they assure me each time that the order is normal and will deliver by June 19. I must admit I am nervous about it though.
    Apple did not have pre-orders for the other iPhone releases. I have an original iPhone (non-3G).
    They did have pre-orders for the original iPod I remember... I had ordered that and got it on release day in 2001; shipped from China like the iPhones now.

  • How can i analize and solve Table /BI0/XCOMP_CODE has not yet been analyzed

    Hi All,
    i made a cube and among its chars is 0COMP_CODE, but the statistics appears in red, and the performance of the query is really bad, now in the TR RSRV i tried to solve it, in:
    All Elementary Tests - Database -Database Statistics for an InfoCube and Its Aggregates
    And appeared this message, i took the 0COMP_CODE in "Check Master Data for a Characteristic" and this doesnt tell me about something wrong,  and now i dont know how can i solve this:
    Message:
    ORACLE: Table /BI0/XCOMP_CODE has not yet been analyzed
    Message no. RSCV520
    Diagnosis
    Table /BI0/XCOMP_CODE has not yet been analyzed. There is, therefore, no statistical information in the database optimizer. This can lead to bad run schedules and, as a result, poor performance levels.
    Procedure
    Analyze table /BI0/XCOMP_CODE. Use a repair routine that is assigned to this analysis routine (function Remove error in transaction RSRV).
    Help...

    About "run your query using display run schedule. There your IOBJ field will come in yellow - click on the same and select analyze from the window that pops up..."
    Hi Arun,
    i did it, i clicked analyze, this take me to other window, the IO not appear, i suppose it doesnt appear because 0COMP_CODE is part of the cube, but the query that i execute in the RSRT with display run schedule doesnt has this IO, but  anyway in the next screen when i clicked Analyze,  i execute the table /BI0/XCOMP_CODE  and it said, was succesfull, i go to the RSRV to check if the problem was solved, but its still in red, i dont know if there is something more to do in the window "Analysis of oracle tables for creating statistics"
    i dont know what else can you tell me or i m doing something wrong?

  • I'm tired of constantly reading "not yet" for any questions regarding a 64-bit Firefox. Exactly WHEN will there be a FF 64-bit?

    I'm tired of constantly reading the simplified answer of "not yet" for any questions regarding a 64-bit Firefox. Exactly WHEN will there be a Firefox 64-bit?

    That hasn't been decided yet for Windows PC's. So instead of "not yet", how about '''when it is ready for release'''?

  • According your advice reset my home screen layout but not yet show apple store application and another question when I any thing brows from apple site by safari then show "this address is invalided" please advice me......

    According your advice reset my home screen layout but not yet show apple store application and another question when I any thing brows from apple site by safari then show "this address is invalided" please advice me......

    I am using windows Vista and having this problem also (not exactly, but iTunes gives pop-up that "files are in use"). Acting a suggestion from another answer in this thread, I clicked on Computer and selected eject...windows did warn me that the device was in use, but also gave me a CONTINUE button, which I clicked and it was ejected...had to go back to iTunes and eject the iPod there also, but it did eject

  • ORA-16525: the Data Guard broker is not yet available while conneting ...

    Hi,
    I am trying to connect oracle database instance in dgmgrl prompt.
    Following error message appear ...
    DGMGRL>
    DGMGRL> connect sys/<password>@<oracle_service_name>
    Connected.
    Error:
    ORA-16525: the Data Guard broker is not yet available
    ORA-06512: at "SYS.DBMS_DRS", line 124
    ORA-06512: at line 1
    DGMGRL> exit
    $ e
    We are using oracle enterprise manager ...
    SSM

    DG broker is the way to go. There are only minor points you can't control - like when you have standby redo logs and no redo application delay, dg broker will always start real-time apply.
    Also, DG broker is the only way if you want fast-start failover (10gR2 feature).
    What is the latency of your nework, especially under load? Add this latency to each commit - will the commit time be acceptable? If not, you cannot use sync.
    What version do you use? In 10gR1, there are issues with async - there is only about 50MB buffer, and if you get such backlog, even with async commit will wait for standby. (In 10gR2 this is solved, async will read from disk redo logs.)
    NET_TIMEOUT - set it low for sync (so commits won't hang long), higher for async. Default is 180 seconds, Oracle recommends minimum value to 10 seconds. I would start with 10 sec for sync, 180 for sync. The main question is, how reliable your network is, and how long brownouts you want to survive without affecting data protection (with the expense of performance).
    Regarding the proper setting of all bells and whistles of archive_log_dest_n - I had best experience with leaving it to dg broker. Just set LogXptMode property to sync/async/arch, and let dg broker set everything else (service, valid_for, affirm, retries...).
    The authoritative source: http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm#Publications
    If you are on 10.2.0.1 - 10.2.0.3, please see metalink bug 5578157, 5587231 - if sqlnet.outbound_connection_timeout is not set, the lgwr can hang even if net_timeout is set. (Yes, real-world experience:-)

Maybe you are looking for

  • How to post in March 2008 ?

    Hi, Fiscal yr var is V3 - Apr - Mar. Special period 13-16. Now the period is 3 -June 2009 .So i have open the period. But i have closed period 12 2009. -March 2009. But  now i want to post some pending entries in Mar 2009. Then how to post the entry

  • EAP-TLS

    I have been tasked to implement user certificate for mobile devices The certificate works on my laptop but keeps failing on the S3 device. has anyone successfully deployed this solution ? 03/25/2014 08:17:26 Authen failed Theo-Android Default Group 9

  • HFM - Max Number of Entities ?

    Hello HFM Community, We are currently in the process of building out a new HFM application that requires loading of 180,000+ entities. The 180k entities is a requirement and cannot be deviated from. My question, is there a system limitation on the ma

  • Last Logon Time in Iplanet Directory Server 4.1

    Hi, It would be great help if any one of you could let me know the attribute in Iplanet Directory Server 4.1 to get the Last Logon Time of a particular account. The Directory Server is on solaris. Thanks

  • Page erring if FND Diagnostics profile is not set

    Hi, I did see the old thread, but I do not have the same code issue.  Here is the part of my CO code that seems to be erring.  This is a dialog page with Yes/No button and error occurs when the Yes button is clicked.  If is set the FND Diagnostics pr