ROUTINE: Still can't get this SELECT .... GROUP BY  error to go away

Hi,
I am testing the code below suggested on this site. When I tried it code and during my CHECK, and it gets to the GROUP BY line, and jumps back to the SELECT statement with the following message (even though DATE2 is in the GROUP BY statement):
E:The field "/BIC/AODSSSS00~DATE2" from the SELECT list is is
missing in the GROUP BY clause. is missing in the GROUP BY clause. Is
missing in the GROUP BY clause. is missing in the GROUP BY clause. is
I have played around, changing DATE2 in the GROUP By line with /BIC/AODSSSS00~DATE2 or /BIC/AODSSSS00-DATE2 or /BIC/DATE2, but still I get likewise.
data : wa_RESULT_PACKAGE TYPE tys_TG_1.
loop at RESULT_PACKAGE into wa_RESULT_PACKAGE.
SELECT NUM ITEM /BIC/DATE1 DATE2 sum( QTY ) as QTY
INTO corresponding fields of table it_TABLE1
FROM /BIC/AODSSSS00
where /BIC/DATE1 <= wa_RESULT_PACKAGE-DATE2
AND NUM = wa_RESULT_PACKAGE-NUM
AND ITEM = wa_RESULT_PACKAGE-ITEM
GROUP BY NUM ITEM /BIC/DATE1 DATE2.
wa_RESULT_PACKAGE-/BIC/AONTIMQTY = sum.
MODIFY RESULT_PACKAGE from wa_RESULT_PACKAGE.
Endloop.
I tried the following suggestion but still I can't get the errors to go away:
DATE2 and NUM and ITEM from the wa should be replaced with /BIC/DATE2, /BIC/ITEM, /BIC/NUM just like you did for the table fields. You don't need the /BIC/ if it's an SAP info object like 0material or 0plant. If it's an object you created, then you need to include the /BIC/.
Thanks

So, you tried:
SELECT /BIC/NUM /BIC/ITEM /BIC/DATE1 /BIC/DATE2 sum(/BIC/QTY ) as QTY
INTO corresponding fields of table it_TABLE1
FROM /BIC/AODSSSS00
where /BIC/DATE1 <= wa_RESULT_PACKAGE-/BIC/DATE2
AND /BIC/NUM = wa_RESULT_PACKAGE-/BIC/NUM
AND /BIC/ITEM = wa_RESULT_PACKAGE-/BIC/ITEM
GROUP BY /BIC/NUM /BIC/ITEM /BIC/DATE1 /BIC/DATE2.
Double click on /BIC/AODSSSS00 and list the field names there.  I suspect a field naming problem, but without knowing what the field names are, I can't be certain.  Also get the fields names of wa_RESULT_PACKAGE, and those defined for it_table1.
Chances are, you're using infoobject names instead of the field names.
matt

Similar Messages

  • Downloaded Flip4Mac and still can't get WMV file online to play - help!!

    I downloaded Flip4Mac and still can't get this WMV file (http://www.bis.doc.gov/asfroot/snapr-webinar-12-19-2007.wmv) to play - no sound and no video. Any help would be greatly appreciated!

    MSS2 is Windows Media Video Screen codec which, as noted, does not play on Mac with Flip4Mac or anything else I know of. You'll also fine Windows Media Video Image and those coming from PhotoStory won't play on Mac at all either. Not even the ancient WMP9Mac will play those.

  • I just read the tutorial and did exactly what it was telling me to do, and I still can't get it done. Once I have selected the file, I get a box that pops up that says "Subscribe now to convert unlimited number of files to PDFs. Subscribe Now.  I already

    I just watched the tutorial and did exactly what it was telling me to do, and I still can't get it done. Once I have selected the file, I get a box that pops up that says "Subscribe now to convert unlimited number of files to PDFs. Subscribe Now.  I already have done this! I am a subscriber!  Arrrrhhhgggg!

    Hello Kathie,
    Please let me know what exactly are you trying to do using Adobe online service.
    You might try accessing the same service for some other PDFs and check.
    Have you signed up correctly at "https://cloud.acrobat.com/" using your Adobe ID credentials.
    If the same message pops up, then please visit Contact Customer Care as they could let you know if there is any problem with your account.
    Hope to get your response.
    regards,
    Anubha

  • I have windows xp. I downloaded quick time no problem still can't get itunes to install. Still get same message (a program for this install to complete could not be run).

    I have windows xp. I downloaded quick time no problem still can't get itunes to install. Still get same message (a program for this install to complete could not be run).

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • A website I frequently visit will no longer come up. Safaris says that my connection has been lost but it hasn't. I even get emails from the website but I still can't get on it. Why would it all of a sudden do this?

    A website I frequently visit will no longer come up. Safaris says that my connection has been lost but it hasn't. I even get emails from the website but I still can't get on it. Why would it all of a sudden do this?

    The reason, I included the annotation that I'd upgraded my Itunes, (On my Computer) is B/C in many forums - the very first question, *HELPERS* ask, is. "Do you have the latest version of Itunes downloaded on your computer." I wanted to knock out any obvious replies.
    Now-  "DO YOU have any idea,"... how your UNHELPFUL remarks, do absolutely nothing but hurt others that might not have the EXPERIENCE you have? How do you expect people to know things without asking questions? Whew! RUDE!!
    Message was edited by: Apple I0S Help Team

  • Thanks so much for the offer of help. I'm using 10.9.2 OSX. I have Numbers 2.3 (554). I tried the new version but it was "dumbed down" so much (to make it usable on multiple platforms) that it was of no use on iMac.   I still can't get my contacts to open

    Thanks so much for the offer of help. I'm using 10.9.2 OSX. I have Numbers 2.3 (554). I tried the new version but it was "dumbed down" so much (to make it usable on multiple platforms) that it was of no use on iMac.
    I still can't get my contacts to open in Numbers like they used to do. I have a group of five addresses in a test folder in Mail called "untitled group." But no amount of pasting, dragging, etc can get them to open up in Numbers. My "real" folder has almost 100 addresses so I can't do it one by one.
    Thoughts?
    Thanks again.
    Bob

    Bob,
    You can place contacts in a table In Numbers by the following methods:
    Numbers 2.3:
    drag from contacts
    Numbers 3.2
    copy from contacts, then paste into Numbers
    In both cases you need to open System preferences, then select the "Security & Privacy panel and allow Numbers aaccess your contacts information.

  • [SQL] how can i get this result....??(accumulation distinct count)

    [SQL] how can i get this result....??(accumulation distinct count)
    Hi everybody,
    pls tell me how can it possible to get result?
    ### sample data
    date visitor
    10-01 A
    10-01 A
    10-01 B
    10-01 B
    10-01 C
    10-01 C
    10-02 A
    10-02 C
    10-02 C
    10-02 D
    10-02 D
    10-03 B
    10-03 B
    10-03 B
    10-03 A
    10-03 A
    10-03 F
    10-04 A
    10-04 A
    10-04 F
    result that i want...like this.
    date date_unqiue_visitors acc_date_unique_visitors
    10-01 3 3
    10-02 3 4
    10-03 3 5
    10-04 2 5
    date distinct visitors : count(distinct visitor)
    but how can i get accumulation distinct visitor count???
    Thanks to every body..

    SQL> select dt,cnt,sum(cnt1) over(order by dt) cnt1
      2  from(
      3  select dt,count(distinct visitor) cnt,sum(flg) cnt1
      4  from
      5   (select dt,visitor,(select decode(count(*),0,1,0)
      6                           from test
      7                           where rowid < t.rowid
      8                           and visitor = t.visitor) flg
      9   from test t)
    10  group by dt);
    DT                CNT       CNT1
    10-01               3          3
    10-02               3          4
    10-03               3          5
    10-04               2          5
    Message was edited by:
            jeneesh
    Wrong...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I have tried to reindex my messages but I still can not get the search function to work in email

    I have tried reindecing my messages by rebuilding the library but I still can't get my message function to work in mail.  Any proposed solutions much appreciated.

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock all your user files, reset their ownership, and remove their access-control lists. If you've set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Back up all data.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I have downloaded an audio talk from Audio Audible, and have authorised my computer to for my Audible Account, yet I still can't get the computer to play the download.

    I have downloaded an audio talk from Audio Audible, and have authorised my computer to for my Audible Account, yet I still can't get the computer to play the download.

    The apps I currently have are for the i phone and i pad but i would like to see this on this computer
    On the Mac Air launch iTunes. Then connect either the iPad or iPhone.
    Select the iPad or iPhone under Devices left side of the iTunes window in the source list.
    Then select Apps from the menu on the right.
    If you don't see the apps listed there, from your iTunes menu bar (top of your screen), click Store > Authorize This Computer.
    See if that makes a difference...

  • HT201412 I have tried all of the above and still can't get my ipad to respond

    I have tried all of the above and still can't get my ipad to respond

    Everything? Did you see the very last part about restoring the iPad and did you notice that there is another link in that step in case you cannot restore the iPad?
    Symptoms
    Your iPhone, iPad, or iPod touch may occasionally stop responding to buttons, switches, or touchscreen input and may exhibit one or more of the symptoms listed below.
    Resolution
    If any of these symptoms occurs, follow the steps in this article to resolve the issue. The device:
    Does not return to the Home screen after pressing the Home button
    Does not wake from sleep after pressing the Sleep/Wake button
    Does not turn on (or power on) when pressing any button
    Appears frozen or unresponsive
    Is unable to "Slide to Unlock" or "Slide to Power Off"
    If a single application is not responding or freezes when it opens, you can force it to close
    Press and hold the Sleep/Wake button until the red slider appears. When the red slider appears, release the Sleep/Wake button.
    Instead of dragging the red slider, press and hold the Home button for six seconds.
    If the device does not return to the Home screen, see the steps below to restart.
    If the device is unresponsive or certain controls aren't working as expected, try restarting
    To turn off the device, press and hold the Sleep/Wake button until the red slider appears.
    Slide your finger across the slider to turn off the device.
    To turn on the device, press and hold the Sleep/Wake button until the Apple logo appears.
    If the device remains unresponsive or does not turn on (or power on), try resetting
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds.
    If there is no video, verify that the device has enough charge to turn on
    If you are using an iPad, ensure that it's connected to the 10W USB Power Adapter.
    Let charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Home button to attempt to wake the device.
    If the screen displays a red battery icon, let the device to continue to charge until it turns on.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane.
    If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.
    Additional Information
    Ensuring that your iOS device is kept updated to the latest software should minimize the occurrence of these issues.

  • Some websites keep asking to enable cookies in my browser when they are and I can't get this sites to see that, they worked fine yesturday but not now, any help

    Some websites keep asking to enable cookies in my browser when they are and I can't get this sites to see that, they worked fine yesterday but not now. I've restarted the browser, restarted the computer, disabled then enabled cookies in the privacy settings and still nothing. Any help?

    Hi,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • TS4268 Ever since I uploaded i0s7 I haven't been able to receive I messages or face time. I have took it to the apple store and they couldn't figure it out. I have also followed the trouble shooting from I tunes and still can't get it working

    Ever since I uploaded i0s7 I haven't been able to receive I messages or face time. I have took it to the apple store and they couldn't figure it out. I have also followed the trouble shooting from I tunes and still can't get it working

    Hi,
    Strikes -
    Go into compositionReady and have 3 variables you will be able to set them like this
    strike1 = 0;
    strike2 = 0;
    strike3 = 0;
    So on the wrong item click have
    if(strike1 == 0) {
    PLAY STRIKE1 ANIMATION
    strike1 = 1;
    else if(strike2 == 0) {
    PLAY STRIKE2 ANIMATION
    strike2 = 1;
    else if(strike3 == 0) {
    PLAY STRIKE2 ANIMATION
    strike3 = 1;
    So this will make it so when the wrong item is clicked each strike will be played in order.
    Random Scrolling -
    You should look into the Math.Random function to make things random in edge.
    This is an example of the Random function. It will generate a random number up to 100.
    var random = Math.floor (Math.random () * 100);
    Lose Screen Score -
    So we can create another variable in compositionReady for the lose score.
    score = 0;
    Now when the user gains a point to add to the score you could do this code on the click
    score++;
    which would add 1 to the score, However you can add however much you like to the score doing "score + 2" and so on.
    To edit a text with the score at the end which I'm assuming you will want to do you will use .html
    so $("Text").html("You score is " + score);
    I hope this helps!

  • TS1702 My cars 2 app mate app is not working after upgrading from ipad to ipad 2...... synced.... uninstalled and re installed several times as well as wiped ne ipad out and re did the whole proccess several times. how can I get this app working?

    I have installed the cars 2 app mate on a ipad 2 from an ipad 1 synced with itunes account.. all is working except this app. After many times of un installing and re installing aswell as talking to apple tech suport this app is still not working.... its there it just has no function...... how can i get this installed and working, my grandson is autistic and uses this app many hours a day........ it is important for me to get this up and running again for him.......

    (1) So, I found a youtube video showing how to open up my iMac and replace a Disk drive. I opened it. I removed the disk drive. I opened the metal cover of the lid of the disk drive. It was clean and immaculate; so, it destroyed and debunked the dirty drive theory. But, just to make sure I sucked around the optical sensor with a vacuum and gently brushed it with a Q-tip.
    (2) I then watched a you tube video showing how the drive operated (it was a drive supplied with power outside an iMac with a transparent cover unlike the opaque metal cover that we have on our drives). My scientific curiosity started to wonder if somehow the mechanical part (of the electro-mechanical assembly) was locked or jammed. So, I started messing with the arms with the utmost care after watching the video to see if i could move them manually. Yes on some. The main arm that is linked with the drive motor was immovable. The rest I played with a little bit, took great notice in the start of the video to see how the arms looked before inserting a disk. I then put it all back together.
    It works now. My guess is that taking it out and then placing it back in along with the resetting options that others have done was the trick. I believe it is a possibility that the hard drive became locked mechanically in some strange manner after ejecting a DVD in conjunction with the uploading of the new OS. I believe the actual removal, reinstallation, and resetting of the drive put everything back into sync. My computer sits in a climate controlled dust free environment. I knew for a fact that this hard drive was OKAY.

  • TS4424 I still can't get my mail to work.I have reinstalled Security update and combo 3 times. About ready to call Apple but mI don't think I should pay for it!!!!

    I can't my Apple mail to work.  It started when I did an up date.  When I went to use mail  (the little stamp at bottom)  it said, "you can't use this version of mail with this version of OS X.  I looked on support and was told to solve the problem  by downloading combo package and security update. Did it 3 times.  I did everything.  Still doesn't work.  I even took everything mail out of applications and the library and did those two updates and still can't get it.  Could I reinstall OS X Snow Leopard and would that affect any of my documents like i photo or i tunes?  I don't want to loose anything!  I have spent way too long on this problem.  I feel like I own  PC with windows again.  Please help!!!!!!    Frustated

    No need to reinstall Snow. Try trashing all the Mail.apps you have. (But don't empty the trash yet!) Do a search for those. Reinstall Mail from the DVD in Optional Installs. This will put Mail 4.2 in Applications, then run the Combo Update, which will update Mail to 4.5, and then the Security Update again, in that order.

  • My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4 Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job
    7. Check for third-party software conflicts.
    <Link Edited By Host>

Maybe you are looking for

  • Report service is not working after install Discoverer..............

    Hello, I have installed Oracle Developer Suite 10gR2 (Forms/Reports) on my desktop, they were both working fine for a long time. I installed Discoverer 10gR2 (Administrator and Desktop) on the same machine recently. The Oracle Forms is still good, I

  • Board game - pawn help.. I need some experts here.. i need this now.. beg..

    i have these whole junk of coding here.. where should i insert my pawns? lets say pinkpawn.jpg is my pawn.. then what code should i type & at where? import java.util.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.uti

  • How do I set a microphone recording device?

    I have downloaded Audacity , a freeware audio playback program, for which I have to 'set [ mic] recording device' and can't figure out how to do that. I have plugged a desktop mic into the right panel port and have looked for the right location to ac

  • Mail will not open after update.

    I have just updated my Mac with the latest download. When I went to open mail it went to sync my messages and completed this and then crashed. Now every time I goto open mail I get the error message , that mail quit unexpectedly. This happens every t

  • Reserve Invoice, reserve items and what about the batch's?

    Hi Guys, i have a problem that i can't solve in 2005A, we know that we can't make Reserve Invoices at this version (no object), i haven't found the way to make obligatory the batch id selection in the lines of this document at standard way, but the r